Private
Get a list of dataset series that have unpublished versions
Changed onGet a list of dataset series that have unpublished versions. This is used to easily determine versions/editions of series that are awaiting publication.
get/dataset-editions
Request
- Base URLhttps://api.beta.ons.gov.uk/v1
- AuthAPI key in header Authorization
Query parameters
statestring
A state value to filter on (e.g. ‘published’)
publishedboolean
A boolean value which indicates whether to include published editions/versions in the response
limitinteger
Maximum number of items that will be returned. A value of zero will return zero items.
offsetinteger
Starting index of the items array that will be returned. By default it is zero, meaning that the returned items will start from the beginning.
Response
A json list containing all dataset editions that have unpublished versions
Example response
[
{
"dataset_id": "my-dataset",
"title": "Consumer Prices Index",
"description": "CPIH is the most comprehensive measure of inflation. It extends CPI to include a measure of the costs associated with owning, maintaining and living in one's own home, known as owner occupiers' housing costs (OOH), along with council tax. This dataset provides CPIH time series (2005 to latest published month), allowing users to customise their own selection, view or download.",
"edition": "july-september-2017",
"edition_title": "January 2025",
"latest_version": {
"href": "https://api.beta.ons.gov.uk/v1/datasets/my-dataset/editions/july-september-2017/versions/5",
"id": "5"
},
"state": "published"
}
]Changes
- info
added the new optional
queryrequest parameterpublished
- info
- info
endpoint added
- info