Find pet by ID
GET
/pet/{petId}Request
Path Params
petId
string
required
pet ID
Example:
1
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
code
integer
required
status code
>= 0<= 0
data
#/definitions/3412053required
pet details
Example
{
"code": 0,
"data": {
"name": "Hello Kitty",
"photoUrls": [
"http://dummyimage.com/400x400"
],
"id": 3,
"category": {
"id": 71,
"name": "Cat"
},
"tags": [
{
"id": 22,
"name": "Cat"
}
],
"status": "sold"
}
}
Last modified: 2 months ago