pet

Finds Pets by status.

Multiple status values can be provided with comma separated strings.

get/pet/findByStatus

Query parameters

status'available' | 'pending' | 'sold' required

Status values that need to be considered for filter

Response

successful operation

idinteger
namestring required
photoUrlsstring[] required
status'available' | 'pending' | 'sold'

pet status in the store

Example response

[
  {
    "id": 10,
    "name": "doggie",
    "category": {
      "id": 1,
      "name": "Dogs"
    }
  }
]

Changes

Changed in 2 of the 53 revisions of this API.32

    • ▲

      the query request parameter status became required

      request-parameter-became-required

  • 253de9e0f0ae22See the full diff
    • ▲

      the response's body type changed from array to object for status

      response-body-type-changed

    • ▲

      removed the media type application/xml for the response with the status

      response-media-type-removed

    • ○

      added the required property to the response with the status

      response-required-property-added

    • ○

      added the required property to the response with the status

      response-required-property-added