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

GET

Get a list of the datasets that use this code

Parameters

Name Type Description
id path The ID of a code list
edition path The edition of the code list
code_id path The ID of the code within a 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: Get a list of the datasets that use this code

Example value
{
  "type": "object",
  "properties": {
    "count": {
      "description": "The number of results returned in this response",
      "type": "string"
    },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "dimension_label": {
            "description": "The code label used by this dataset",
            "type": "string"
          },
          "editions": {
            "items": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "links": {
                    "type": "object",
                    "properties": {
                      "dataset_dimension": {
                        "type": "object",
                        "properties": {
                          "href": {
                            "description": "The URL to the resource",
                            "type": "string"
                          }
                        }
                      },
                      "latest_version": {
                        "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"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "links": {
            "type": "object",
            "properties": {
              "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"
    },
    "total_count": {
      "description": "The total number of results available",
      "type": "string"
    }
  }
}

404: Code not found

Example value
null

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

Example value
null