查询宠物详情
GET
/pet/{petId}Modified at: 2 年前
Maintainer: Not configured
请求参数
Path Params
petId
string
required
宠物 ID
Example:
1
示例代码
Responses
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
code
integer
required
状态码
>= 0<= 0
data
#/definitions/21955905required
宠物信息
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 年前