Find pet by ID
GET
/pet/{petId}请求参数
Path Params
petId
string
required
pet ID
Example:
1
示例代码
Responses
OK(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
code
integer
required
status code
>= 0<= 0
data
#/definitions/22081388required
pet details
Example
{
"code": 0,
"data": {
"name": "Hello Kity",
"photoUrls": [
"http://dummyimage.com/400x400"
],
"id": 3,
"category": {
"id": 71,
"name": "Cat"
},
"tags": [
{
"id": 22,
"name": "Cat"
}
],
"status": "sold"
}
}
Modified at 2 年前