/code-lists

GET

Get a set of code lists containing information about dimensions which are used for all datasets at the ONS

Parameters

Name Type Description
limit query Maximum number of items that will be returned. A value of zero will return zero items. The default value is 20 and the maximum allowed is 1000.
offset query 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.

Responses

200: A Json message containing a set of code lists

Example value
{
  "count": "string",
  "items": [
    {
      "links": {
        "editions": {
          "href": "string"
        },
        "self": {
          "href": "string",
          "id": "string"
        }
      }
    }
  ],
  "limit": "string",
  "offset": "string",
  "total_count": "string"
}

404: Code lists not found

500: Failed to process the request due to an internal error