API blocks
A first block:
Add a new pet to the store.
Authorizations
Body
idinteger · int64optionalExample:
10
namestringrequiredExample:
doggie
categoryobjectoptional
photoUrlsstring[]required
tagsobject[]optional
statusstring · enumoptionalAvailable options:
pet status in the store
Responses
cURL
JavaScript
Python
HTTP
200
400
422
default
application/json
application/xml
Update an existing pet by Id.
Authorizations
Body
idinteger · int64optionalExample:
10
namestringrequiredExample:
doggie
categoryobjectoptional
photoUrlsstring[]required
tagsobject[]optional
statusstring · enumoptionalAvailable options:
pet status in the store
Responses
cURL
JavaScript
Python
HTTP
200
400
404
422
default
application/json
application/xml
Multiple status values can be provided with comma separated strings.
Authorizations
Query parameters
statusstring · enumoptionalDefault:
Status values that need to be considered for filter
available
Available options: Responses
cURL
JavaScript
Python
HTTP
200
400
default
application/json
application/xml
Last updated