API blocks
Required scopes
This endpoint requires the following scopes:
- : modify pets in your account
- : read your pets
Authorizations
OAuth2implicitRequired
Authorization URL:
Body
idinteger · int64OptionalExample:
10namestringRequiredExample:
doggiephotoUrlsstring[]Required
statusstring · enumOptionalPossible values:
pet status in the store
Responses
200
Successful operation
400
Invalid input
422
Validation exception
default
Unexpected error
post
/petRequired scopes
This endpoint requires the following scopes:
- : modify pets in your account
- : read your pets
Authorizations
OAuth2implicitRequired
Authorization URL:
Body
idinteger · int64OptionalExample:
10namestringRequiredExample:
doggiephotoUrlsstring[]Required
statusstring · enumOptionalPossible values:
pet status in the store
Responses
200
Successful operation
400
Invalid ID supplied
404
Pet not found
422
Validation exception
default
Unexpected error
put
/petRequired scopes
This endpoint requires the following scopes:
- : modify pets in your account
- : read your pets
Authorizations
OAuth2implicitRequired
Authorization URL:
Query parameters
statusstring · enumOptionalDefault:
Status values that need to be considered for filter
availablePossible values: Responses
200
successful operation
400
Invalid status value
default
Unexpected error
get
/pet/findByStatusRequired scopes
This endpoint requires the following scopes:
- : modify pets in your account
- : read your pets
Authorizations
OAuth2implicitRequired
Authorization URL:
Path parameters
petIdinteger · int64Required
Pet id to delete
Header parameters
api_keystringOptional
Responses
200
Pet deleted
No content
400
Invalid pet value
default
Unexpected error
delete
/pet/{petId}No content
Last updated