Query parameters

  • limit integer(int32)

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

Responses

  • 200 application/json

    A paged array of pets

    Hide response attributes Show response attributes object
    • id integer(int64) Required
    • name string Required
    • tag string
GET /pets
curl \
 --request GET 'http://api.example.com/pets'
Response examples (200)
[
  {
    "id": 42,
    "name": "string",
    "tag": "string"
  }
]