hubmapconsortium / entity-api

A set of web service calls to return information about HuBMAP entities
https://entity.api.hubmapconsortium.org
MIT License
3 stars 1 forks source link

Disable Dataset Multi-revision #648

Closed shirey closed 1 month ago

shirey commented 3 months ago

Currently Datasets allow multiple [:REVISION_OF] links to and from Datasets. Revert this to allowing only a single revision link to and a single revision link from a dataset by validating on PUT and POST that we aren't creating multiples.

UPDATE: Just checked with Harvard and it is okay to remove the previous_revision_uuids and next_revision_uuids arrays as they aren't being used yet.

The ingest-ui relies on previous_revision_uuids and next_revision_uuids. This dependency will be removed in ingest-ui #1386, so please coordinate release with this issue.