Pets
Creating a new pet
Create pet.
Request Body
Name
Type
Description
{
"name"="Wilson",
"owner": {
"id": "sha7891bikojbkreuy",
"name": "Samuel Passet",
"species": "Dog",}
"breed": "Golden Retriever",
}Updating a pet
必需范围
此端点需要以下范围:
- : read your pets
- : modify pets in your account
授权
OAuth2implicit必填
Authorization URL:
请求体
idinteger · int64可选
namestring必填Example:
doggiephotoUrlsstring[]必填
statusstring · enum可选可能的值:
pet status in the store
响应
400
Invalid ID supplied
404
Pet not found
405
Validation exception
put
/pet无内容
最后更新于