---
title: "Get a list of content"
method: GET
path: "/topics/{id}/content"
tags: ["Public"]
---

# Get a list of content

`GET /topics/{id}/content`

Get a list of different content types for the specified ID. This is currently unused.

## Path parameters

- `id` string, required

## Query parameters

- `type` 'spotlight' | 'articles' | 'bulletins' | 'methodologies' | 'methodologyarticles' | 'staticdatasets' | 'timeseries' | 'publications' | 'datasets'

## Response `200`

JSON object containing an array(s) of content types.

- ListOfContent — A list of content items.
  - `count` integer — The number of results returned in this response.
  - `items` Content[]
    - `links` object
      - `self` SelfHref
        - `id` string — The ID of the resource.
        - `href` string — The URL to the resource.
      - `topic` TopicLink — A link to the topic for this content.
        - `href` string — The URL to the topic.
        - `id` string — The ID for the topic that this content is associated with.
    - `state` 'created' | 'published' | 'completed' — The state of the resource.
    - `title` string — Title of the information.
    - `type` string — Name of the containing type.
  - `limit` integer — The limit applied to the number of results returned.
  - `offset_index` integer — The offset applied to the number of results returned
  - `total_count` integer — The total number of results available.

## Other responses

- `400` — The request was invalid.
- `404` — The specified resource was not found.
- `500` — Failed to process the request due to an internal error.

---

[API](https://skmtc.net/office-of-national-statistics/apis/topic-api.md) · [All operations](https://skmtc.net/office-of-national-statistics/apis/topic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/office-of-national-statistics/topic-api/revisions/84b8391c5030/schema)
