---
title: "Return details of an interest category by ID."
method: GET
path: "/api/v1/Categories/{id}"
tags: ["Categories"]
---

# Return details of an interest category by ID.

`GET /api/v1/Categories/{id}`

## Request

- The document declares no server URL.
- Auth: none declared

## Path parameters

- `id` integer, required

## Response `200`

OK

- PublishedCategory: Category an interest can be registered with.
  - `id` integer: ID of the category.
  - `number` string, nullable: Number of the category in the code of conduct.
  - `name` string, nullable: Name of the category.
  - `parentCategoryIds` integer[], nullable: The unique ID for any parent category to which this category is associated, if the category is associated with another category.
  - `type` 'Commons': The type of register of interests
  - `links` Link[], nullable: A list of HATEOAS Links for retrieving further information about this category.
    - `rel` string, nullable: Relationship of the link to the object requested.
    - `href` string, nullable: A complete URL that shows how the action can be performed.
    - `method` string, nullable: Request method of the link.

## Other responses

- `404`: Not Found

---

[API](https://skmtc.dev/parliament/apis/register-of-interests-api.md) - [All operations](https://skmtc.dev/parliament/apis/register-of-interests-api/llms.txt) - [OpenAPI document](https://skmtc.dev/parliament/apis/register-of-interests-api/revisions/884839d1c6c4?raw)
