根据状态查找宠物列表
GET
/pet/findByStatus请求参数
Query 参数
status
必需
Status values that need to be considered for filter
示例代码
返回响应
成功(200)
错误的 status 值(400)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
array of:
id
integer <int64>
宠物ID
category
object (Category)
分类
id
integer <int64>
分类ID
name
string
分类名
name
string
宠物名称
示例值:
doggie
photoUrls
array[string]
照片URL
tags
array[object (Tag) {2}]
标签
id
integer <int64>
可选
name
string
标签名
status
enum<string>
销售状态
枚举值:
availablependingsold
createTime
string
创建时间
location
object (Localtion)
位置
province
string
省份
city
string
城市
district
string
区
示例
未设置
最后修改时间: 3 年前