Skip to main content

Get all parent categories for a specific category

GET 

/category/:categoryId

Get all parent categories for a specific category

Request

Path Parameters

    categoryId stringrequired

    ID of the category to retrieve parent categories for

Query Parameters

    name string

    Search for categories by name

    page integer

    Possible values: >= 1

    Default value: 1

    Specify the page number for pagination (default is 1).

    limit integer

    Default value: 10

    Specify the number of projects per page (default is 10, 0 gets all results).

    sortBy string

    Possible values: [name]

    Field to order the results by. Default is 'name'.

    sortOrder string

    Possible values: [asc, desc]

    Default value: desc

    'asc' for ascending or 'desc' for descending order. Default is 'desc'.

Responses

Categories successfully retrieved

Schema

  • Array [

  • name string
    id string
  • ]

Loading...