Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/direct workflow RO-Crate upload #183

Merged
merged 21 commits into from
Dec 16, 2021

Conversation

kikkomep
Copy link
Member

@kikkomep kikkomep commented Dec 4, 2021

This PR extends the API to support the registration of workflows directly embedded within a POST request.
The current implementation requires the RO-Crate to be encoded to base64 and included as rocrate attribute of the POST data:

{
  "rocrate": "UEsDBBQAAAAAAD2QEVMAAAAAAAAAAAAAAAAFAAAAdGVzdC9QSw....",
  "uuid": "123e4567-e89b-12d3-a456-426614174000",
  "name": "COVID-19 Workflow",
  "version": "1.0",
  "public": false
}

All the RO-Crates are stored and made available for download.

@ilveroluca
Copy link
Member

Does it support uploading zipped ro-crates?

@kikkomep
Copy link
Member Author

kikkomep commented Dec 4, 2021

Yes, it does.

@kikkomep kikkomep merged commit ca6c89a into crs4:develop Dec 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants