/code-lists/{id}/editions
GET
Get a list of editions associated with a code list
Parameters
Name | Type | Description |
---|---|---|
id | path | The ID of 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: Json object containing an array of editions
Example value
{
"type": "object",
"properties": {
"count": {
"description": "The number of results returned in this response",
"type": "string"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"edition": {
"description": "The edition",
"type": "string"
},
"label": {
"description": "A label used by the edition",
"type": "string"
},
"links": {
"type": "object",
"properties": {
"codes": {
"type": "object",
"properties": {
"href": {
"description": "The URL to the resource",
"type": "string"
}
}
},
"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 list editions not found
Example value
null
500: Failed to process the request due to an internal error
Example value
null