/code-lists

GET

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

Responses

200: A Json message containing a set of code lists

Example value
{
  "type": "object",
  "properties": {
    "count": {
      "description": "The number of results returned in this response",
      "type": "string"
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "links": {
            "type": "object",
            "properties": {
              "editions": {
                "type": "object",
                "properties": {
                  "href": {
                    "description": "The URL to the resource",
                    "type": "string"
                  }
                }
              },
              "self": {
                "type": "object",
                "properties": {
                  "href": {
                    "description": "The URL to the resource",
                    "type": "string"
                  },
                  "id": {
                    "description": "The id of the resource",
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    },
    "limit": {
      "description": "The limit applied to the number of results returned",
      "type": "string"
    },
    "offset": {
      "description": "The offset applied to the number of results returned",
      "type": "string"
    },
    "total_count": {
      "description": "The total number of results available",
      "type": "string"
    }
  }
}

404: Code lists not found

Example value
null

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

Example value
null