Pet
Find pet by ID
Returns a single pet.
GET
Returns a single pet.
petId*integerID of the pet to return
Format
int64Successful operation
application/json- response
id?integerFormat
int64name*stringcategory?photoUrls*array<string>status?stringpet status in the store
Value in
"available""pending""sold"curl -X GET 'https://petstore3.swagger.io/api/v3/pet/0'{ "id": 10, "name": "doggie", "category": { "id": 1, "name": "Dogs" }, "photoUrls": [ "string" ], "status": "available"}How is this guide?