Restore dataset to a previous version
Restores the dataset to a previous version state. All draft items are replaced with items from the specified version. If the version is not the latest, a new version snapshot is created. If the version is the latest, only draft items are replaced (revert functionality).
Path parameters
id
Request
This endpoint expects an object.
version_ref
Version hash or tag to restore from
Response
Version restored successfully
id
dataset_id
version_hash
items_total
Total number of items in this version
items_added
Number of items added since last version
items_modified
Number of items modified since last version
items_deleted
Number of items deleted since last version
change_description
metadata
created_at
created_by
last_updated_at
last_updated_by