This is a sample server Petstore server. You can find out more about Swagger at http://swagger.io or on irc.freenode.net, #swagger. For this sample, you can use the api key special-key
to test the authorization filters.
OAuth2 implicit authentication through a dialog
Name | Description | |
---|---|---|
read:pets | Read your pets | |
write:pets | Modify pets in your account |
Pet
Everything about your Pets
Add a new pet to the store
Invalid input
Update an existing pet
Invalid ID supplied
Pet not found
Validation exception
Finds Pets by status
Multiple status values can be provided with comma separated strings
Successful Operation
Invalid status value
Finds Pets by tagsDeprecated
Muliple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
Successful Operation
Invalid tag value
Find pet by ID
Returns a single pet
Successful Operation
Invalid ID supplied
Pet not found
Updates a pet in the store with form data
Invalid input
Deletes a pet
Invalid ID supplied
Pet not found
Uploads an image
Successful Operation
Store
Access to Petstore orders
Returns pet inventories by status
Returns a map of status codes to quantities
Successful Operation
Place an order for a pet
Successful Operation
Invalid Order
Find purchase order by ID
For valid response try integer IDs with value >= 1 and <= 10. Other values will generated exceptions
Successful Operation
Invalid ID supplied
Order not found
Delete purchase order by ID
For valid response try integer IDs with positive integer value. Negative or non-integer values will generate API errors
Invalid ID supplied
Order not found
Create user
This can only be done by the logged in user.
Successful Operation
Creates list of users with given input array
Successful Operation
Creates list of users with given input array
Successful Operation
Logs user into the system
Successful Operation
Invalid username/password supplied
Logs out current logged in user session
Successful Operation
Get user by user name
Successful Operation
Invalid username supplied
User not found
Updated user
This can only be done by the logged in user.
Invalid user supplied
User not found
Delete user
This can only be done by the logged in user.
Invalid username supplied
User not found