v1

latestOpenAPI 3.0.0Open Government Licence v3.02026-07-14355492.7 KB
Private

Update the state of a version

Update the state of a version of a static dataset.

put/datasets/{id}/editions/{edition}/versions/{version}/state

Path parameters

idstring required

ID that represents a dataset

editionstring required

An edition of a dataset

versionstring required

A version of a dataset

Request body

state'created' | 'completed' | 'failed' | 'edition-confirmed' | 'associated' | 'published'

The state of the resource, can only be one of the following:

  • created
  • completed (instances only)
  • failed (instances only)
  • edition-confirmed (instances and versions only)
  • associated (not editions)
  • published

Example request

{
  "state": "published"
}

Response

State updated successfully