Skip to main content

GET /brands

Returns a list of brands.

Address: GET https://instance_name/api/data/v1.3/brands/

Content-type: application/json

Request body parameters


limit integer

Number of results to return per page.


offset integer

The initial index from which to return the results.


Request example

curl –i –X GET
https://test.inspector-cloud.com/api/data/v1.3/brands/
-H ‘Authorization: Token <<your_token>>
–F "limit=30" \
–F "offset=30"

Response example

Response code: 200

{
"count": 100,
"next": "https://test.inspector-cloud.com/api/data/v1.0/brands/?limit=30&offset=30",
"previous": null,
"results": [
{
"id": 31,
"name": "ALPEN GOLD"
},
{
"id": 32,
"name": "BONVIDA"
},
{
"id": 33,
"name": "BUSHIDO"
},
{
"id": 34,
"name": "CARTE NOIRE"
},
{
"id": 35,
"name": "DAVIDOFF COFFEE"
},
{
"id": 36,
"name": "DIROL"
},
{
"id": 37,
"name": "DOLCE ALBERO"
}
...
]
}

Response definitions


count integer

Required. Number of brands.

next string (uri) Nullable

Next page.


previous string (uri) Nullable

Previous page.


results Array of objects

Required. Array of objects with information about brands.

id integer

Brand ID.


name string [ 1 .. 255 ] characters

Required. Brand name.