# Retrieve a Category index chunk

> Returns one fixed ID-range chunk of the Category index, ordered by ascending ID.

`GET /categories/chunks/{chunk}` on `https://api.mediux.io`

Use the `path` from the manifest at `/categories`. `meta` is `{chunk, itemCount, updatedAt}`: the newest change in the chunk, which is the manifest's value for it. A chunk that has no entries is not found.

## Parameters

- `chunk` (path, integer, required): The chunk number, as listed in the manifest.

## Responses

### 200

A chunk of the Category index.

- `data` (array of object, required)
  - `id` (integer, required)
  - `name` (string, required)
  - `hasSets` (boolean, required)
  - `updatedAt` (string, required): ISO 8601 UTC instant with milliseconds, such as `2026-11-14T15:03:02.000Z`.
  - `artworkUpdatedAt` (string, required): ISO 8601 UTC instant with milliseconds, such as `2026-11-14T15:03:02.000Z`.
- `meta` (object, required)
  - `chunk` (integer | string, required)
  - `itemCount` (integer, required)
  - `updatedAt` (string, required): ISO 8601 UTC instant with milliseconds, such as `2026-11-14T15:03:02.000Z`.

### 304

Not modified. The `If-None-Match` validator still matches; no body.

### 400

The path is not a valid route, or the request carried a query string or body.

### 404

The resource does not exist or is not public.

### 405

Only `GET`, `HEAD` and `OPTIONS` are supported.

### 429

Too many cache misses from this address. Retry after the `Retry-After` delay.

### 503

Temporarily unavailable. Retry after the `Retry-After` delay.

## Example response (200)

```json
{
  "data": [
    {
      "id": 1,
      "name": "Action",
      "hasSets": false,
      "updatedAt": "2026-11-15T16:05:44.895Z",
      "artworkUpdatedAt": "2026-11-15T16:05:44.895Z"
    },
    {
      "id": 2,
      "name": "Adventure",
      "hasSets": false,
      "updatedAt": "2026-11-15T16:05:44.895Z",
      "artworkUpdatedAt": "2026-11-15T16:05:44.895Z"
    },
    {
      "id": 3,
      "name": "Animation",
      "hasSets": false,
      "updatedAt": "2026-11-15T16:05:44.895Z",
      "artworkUpdatedAt": "2026-11-15T16:05:44.895Z"
    }
  ],
  "meta": {
    "chunk": 0,
    "itemCount": 3,
    "updatedAt": "2026-11-15T16:05:44.895Z"
  }
}
```
