cURL
curl --request GET \ --url http://api/v3/pet/{petId} \ --header 'api_key: <api-key>'
{ "id": 10, "name": "doggie", "category": { "id": 1, "name": "Dogs" }, "photoUrls": [ "<string>" ], "tags": [ { "id": 123, "name": "<string>" } ], "status": "available" }
Returns a single pet.
ID of pet to return
successful operation
"doggie"
10
Show child attributes
pet status in the store
available
pending
sold