pet

Find pet by ID

Returns a single pet

get/pet/{petId}

Request

  • Base URL: http://petstore.swagger.io/v2
  • URL: http://petstore.swagger.io/v2/pet/{petId}
  • Auth: API key in header api_key

Path parameters

petIdinteger required

ID of pet to return

Response

successful operation

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

pet status in the store

Example response

{
  "name": "doggie"
}

Changes

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