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

Create functionality for adding and updating Submitter metadata to Metax catalog #329

Closed
Tracked by #292
genie9 opened this issue Jan 10, 2022 · 0 comments · Fixed by #356
Closed
Tracked by #292

Create functionality for adding and updating Submitter metadata to Metax catalog #329

genie9 opened this issue Jan 10, 2022 · 0 comments · Fixed by #356

Comments

@genie9
Copy link
Contributor

genie9 commented Jan 10, 2022

Update object endpoints POST, PUT and PATCH for Study and Dataset on successful submission to add metadata to the Metax service inside the SDS catalog as a draft dataset. Returned metax_id and generated DOI are saved to objects DB entry.

Mandatory fields for the draft Metax dataset are:

  • catalog_id
  • metadata_provider_user
  • metadata_provider_org
  • research_dataset title
  • research_dataset preferred identifier (DOI)

On Folder/Submission publish study and dataset objects' DOI and Metax information is moved to the Folder to keep it more consistent and provide means for front-end to query and display this information to users. This will be addressed in issue #367

Additional mandatory fields for the published Metax dataset are:

  • description
  • creator
  • access_rights (always restricted)

Things to consider:

  • How would frontend/api react to errors coming from the Metax
  • When an object is updated by a different user as created, should metadata_provider_user be changed?
@genie9 genie9 self-assigned this Jan 10, 2022
@genie9 genie9 changed the title Create API Endpoints for adding and updating Submitter metadata to Metax catalog Create functionality for adding and updating Submitter metadata to Metax catalog Jan 10, 2022
@genie9 genie9 mentioned this issue Feb 23, 2022
4 tasks
@blankdots blankdots modified the milestone: 0.12.0 Feb 28, 2022
@blankdots blankdots linked a pull request Feb 28, 2022 that will close this issue
4 tasks
@blankdots blankdots modified the milestones: 0.12.0, 0.13.0 Mar 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants