/topics/{id}/content
GET
Get a list of different content types for the specified ID.
Parameters
Name | Type | Description | Possible Values |
---|---|---|---|
id | path | The ID of a topic. | |
type | query | An option to select a subset of the possible types of content returned. | spotlight, articles, bulletins, methodologies, methodologyarticles, staticdatasets, timeseries, publications, datasets |
Responses
200: JSON object containing an array(s) of content types.
Example value
{
"context": "https://cdn.ons.gov.uk/assets/json-ld/context.json",
"count": 0,
"items": [
{
"links": {
"self": {
"href": "string",
"id": "string"
},
"topic": {
"href": "string",
"id": "string"
}
},
"state": "created",
"title": "string",
"type": "string"
}
],
"limit": 0,
"offset_index": 0,
"total_count": 0
}