---
title: "Return a list of categories interests should be registered under, sorted by category number."
method: GET
path: "/api/v1/Categories"
tags: ["Categories"]
---

# Return a list of categories interests should be registered under, sorted by category number.

`GET /api/v1/Categories`

## Request

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

## Query parameters

- `Skip` integer
- `Take` integer

## Response `200`

OK

- PublishedCategoryApiLinkedSearchResult: Paginated search result with HATEOAS Links.
  - `skip` integer: The skip value that was used in the query.
  - `take` integer: The take value that was used in the query.
  - `totalResults` integer: The total number of results which matches the query.
  - `items` PublishedCategory[], nullable: The list of items found for the specified page (by requested skip and take).
    - `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.
  - `links` Link[], nullable: A list of HATEOAS Links for navigating through the paginated result.
    - `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

- `400`: Bad Request

---

[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)
