Skip to content

List all dogs

GET
/dogs
curl --request GET \
--url 'https://example.com/api/dogs?limit=20' \
--header 'Authorization: Bearer <token>'
limit
integer

How many birds to return at one time (max 100)

Examples

A single dog

A unique dog

https://example.com/dogs/1

1

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"
}