/code-lists/{id}/editions/{edition}/codes

GET

Get a list of codes within a code list edition

Parameters

Name Type Description
id path The ID of a code list
edition path The edition of the code list
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 list of Codes

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

404: codes not found

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