跳到主要内容

Update an existing pet.

PUT 

/pet

Update an existing pet by Id.

Request

Body

unknown
Update an existent pet in the store

Responses

application/jsonapplication/xml
idinteger(int64)
Example: 10
integer (int64)
namestring
Example: "doggie"
string
categoryobject
idinteger(int64)
Example: 1
integer (int64)
namestring
Example: "Dogs"
string
photoUrlsarray
Array of:
string
tagsarray
Array of:
idinteger(int64)
integer (int64)
namestring
string
statusstring
pet status in the store
string
pet status in the store
idinteger(int64)
Example: 10
integer (int64)
namestring
Example: "doggie"
string
categoryobject
idinteger(int64)
Example: 1
integer (int64)
namestring
Example: "Dogs"
string
photoUrlsarray
Array of:
string
tagsarray
Array of:
idinteger(int64)
integer (int64)
namestring
string
statusstring
pet status in the store
string
pet status in the store

Response Info

Status Code:200
Description:Successful operation
Content Types:
application/jsonapplication/xml