pet

Finds Pets by status

Multiple status values can be provided with comma separated strings

get/pet/findByStatus

Request

  • Base URL
    /v3 (relative, and the document’s source URL is not known)
  • URL
    /v3/pet/findByStatus
  • Auth
    OAuth 2
    Implicit: https://petstore.swagger.io/oauth/authorize
    Scopes: write:pets, read:pets

Query parameters

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

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

No recorded changes to this operation across all 1 revision of this API.