Skip to content

List all cats

GET
/cats
curl --request GET \
--url https://example.com/relative-api/cats \
--header 'Authorization: Bearer <token>'

A paged array of cats

Media typeapplication/json
Array<object>
<= 100 items
object
id
required
integer format: int64
name
required
Name of the animal

A friendly name for the animal.

string
tag
string
Example
[
{
"id": 1,
"name": "dog",
"tag": "pet"
}
]

Unexpected error

Media typeapplication/json
object
code
required
integer format: int32
message
required
string
Examplegenerated
{
"code": 1,
"message": "example"
}