/code-lists/{id}/editions/{edition}/codes/{code_id}
GET
Get information about a code within a code list
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 |
Responses
200: Get in depth information about a code
Example value
{
"type": "object",
"properties": {
"id": {
"description": "The value of a code",
"type": "string"
},
"label": {
"description": "A label used by the code",
"type": "string"
},
"links": {
"type": "object",
"properties": {
"code_list": {
"type": "object",
"properties": {
"href": {
"description": "The URL to the resource",
"type": "string"
}
}
},
"datasets": {
"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"
}
}
}
}
}
}
}
404: Code list edition or code not found
Example value
null
500: Failed to process the request due to an internal error
Example value
null