Petstore
This is a sample Pet Store Server based on the OpenAPI 3.0 specification. You can find out more about Swagger at [http://swagger.io](http://swagger.io). In the third iteration of the pet store, we've switched to the design first approach! You can now help us improve the API whether it's by making changes to the definition itself or to the code. That way, with time, we can improve the API in…
Petstore endpoints
| Method | Endpoint | Description |
|---|---|---|
| pet | ||
| POST |
updatePetWithForm /pet/{petId} |
|
| DELETE |
deletePet /pet/{petId} |
|
| PUT |
updatePet /pet |
Update an existing pet by Id |
| POST |
uploadFile /pet/{petId}/uploadImage |
|
| POST |
addPet /pet |
Add a new pet to the store |
| GET |
findPetsByTags /pet/findByTags |
Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing. |
| GET |
getPetById /pet/{petId} |
Returns a single pet |
| GET |
findPetsByStatus /pet/findByStatus |
Multiple status values can be provided with comma separated strings |
| store | ||
| POST |
placeOrder /store/order |
Place a new order in the store |
| DELETE |
deleteOrder /store/order/{orderId} |
For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors |
| GET |
getOrderById /store/order/{orderId} |
For valid response try integer IDs with value 10. Other values will generated exceptions |
| GET |
getInventory /store/inventory |
Returns a map of status codes to quantities |
| user | ||
| GET |
logoutUser /user/logout |
|
| POST |
createUser /user |
This can only be done by the logged in user. |
| GET |
loginUser /user/login |
|
| POST |
createUsersWithListInput /user/createWithList |
Creates list of users with given input array |
| DELETE |
deleteUser /user/{username} |
This can only be done by the logged in user. |
| PUT |
updateUser /user/{username} |
This can only be done by the logged in user. |
| GET |
getUserByName /user/{username} |
|
Petstore pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|