Skip to main content

GET /categories/{id}

Returns information about the category by ID.

Address: GET https://instance_name/api/data/v1.3/categories/{id}

Path parameters


id integer

Required. Category ID.

Request example

curl –i –X GET
https://test.inspector-cloud.com/api/data/v1.3/categories/19765/
-H ‘Authorization: Token <<your_token>>

Response example

Response code: 200

{
"id": 19765,
"name": "CAT FOOD"
}

Response definitions


id integer

Category ID.


name string [ 1 .. 255 ] characters

Required. Category name.