Skip to content

Commit

Permalink
adding check for dataset order incorrect
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenwinship committed Nov 6, 2024
1 parent fa0389d commit 91fef44
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ The following API have been added:
/api/datasets/{persistentId}/versions/{versionId0}/compare/{versionId1}

This API lists the changes between 2 dataset versions. The Json response shows the changes per field within the Metadata block and the Terms Of Access. Also listed are the files that have been added or removed. Files that have been modified will also display the new file data plus the fields that have been modified.
When compare includes an unpublished/draft version the api token must be associated with a user having view unpublished privileges
An error will be returned if VERSION0 was not created before VERSION1

Example of Metadata Block field change:
```json
Expand Down

0 comments on commit 91fef44

Please sign in to comment.