Zenodo to InvenioRDM - update record management methods with new API endpoint
eblondel opened this issue · 0 comments
eblondel commented
Creation / Update
-
depositRecord
/createEmptyRecord
- create:
api/deposit/depositions
-->api/records
- update:
api/deposit/depositions/{id}
-->api/records/{id}/draft
- create:
-
depositRecordVersion
Read
User records / drafts (Depositions)
-
getDepositions
api/deposit/depositions
-->api/user/records
all_versions
query param changed toallversions
- change response
resp
toresp$hits$hits
-
getDepositionById
-
getDepositionByDOI
-
getDepositionByConceptId
-
getDepositionByConceptDOI
Published records
-
getRecords
- trailing slash to remove from API endpoint
all_versions
query param changed toallversions
-
getRecordById
-
getRecordByDOI
-
getRecordByConceptId
-
getRecordByConceptDOI
Deletion
-
deleteRecord
api/deposit/depositions/{id}
-->api/records/{id}/draft
-
deleteRecordByDOI
-
deleteRecords