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

Zenodo to InvenioRDM - update record management methods with new API endpoint #133

Closed
20 tasks done
Tracked by #127
eblondel opened this issue Oct 16, 2023 · 0 comments
Closed
20 tasks done
Tracked by #127
Assignees
Labels
enhancement New feature or request Invenio RDM
Milestone

Comments

@eblondel
Copy link
Owner

eblondel commented Oct 16, 2023

Creation / Update

  • depositRecord / createEmptyRecord
    • create: api/deposit/depositions --> api/records
    • update: api/deposit/depositions/{id} --> api/records/{id}/draft
  • reserveDOI (new method)
  • deleteDOI (new method)
  • depositRecordVersion: deposit/depositions/%s/actions/newversion --> /records/{id}/versions
  • publishRecord --> records/{id}/draft/actions/publish
  • editRecord: deposit/depositions/{id}/actions/edit --> records/{id}/draft
  • discardChanges: deposit/depositions/{id}/actions/discard --> records/{id}/draft (DELETE)

Read

User records / drafts (Depositions)

  • getDepositions
    • api/deposit/depositions --> api/user/records
    • all_versions query param changed to allversions
    • change response resp to resp$hits$hits
  • getDepositionById --> api/records/{id}/draft
  • getDepositionByDOI
  • getDepositionByConceptId
  • getDepositionByConceptDOI

Published records

  • getRecords
    • trailing slash to remove from API endpoint
    • all_versions query param changed to allversions
  • getRecordById
  • getRecordByDOI
  • getRecordByConceptId
  • getRecordByConceptDOI

Deletion

  • deleteRecord
    • api/deposit/depositions/{id} --> api/records/{id}/draft
  • deleteRecordByDOI
  • deleteRecords
@eblondel eblondel added this to the 1.0 milestone Oct 16, 2023
@eblondel eblondel self-assigned this Oct 16, 2023
eblondel added a commit that referenced this issue Oct 16, 2023
@eblondel eblondel changed the title Zenodo to InvenioRDM - update depositRecord method with new API endpoint Zenodo to InvenioRDM - update record management methods with new API endpoint Oct 19, 2023
eblondel added a commit that referenced this issue Oct 20, 2023
eblondel added a commit that referenced this issue Oct 31, 2023
eblondel added a commit that referenced this issue Nov 1, 2023
eblondel added a commit that referenced this issue Nov 1, 2023
eblondel added a commit that referenced this issue Nov 1, 2023
eblondel added a commit that referenced this issue May 13, 2024
eblondel added a commit that referenced this issue May 14, 2024
eblondel added a commit that referenced this issue May 14, 2024
eblondel added a commit that referenced this issue May 14, 2024
eblondel added a commit that referenced this issue May 14, 2024
eblondel added a commit that referenced this issue May 14, 2024
eblondel added a commit that referenced this issue May 14, 2024
@eblondel eblondel reopened this May 15, 2024
eblondel added a commit that referenced this issue May 15, 2024
eblondel added a commit that referenced this issue May 16, 2024
@eblondel eblondel added ongoing and removed ongoing labels May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Invenio RDM
Projects
None yet
Development

No branches or pull requests

1 participant