Petstore
THIS IS FOR TEST PURPOSES ONLY!!! 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…
Petstore endpoints
| Method | Endpoint | Description |
|---|---|---|
| pet | ||
| GET |
getPetById /pet/{petId} |
Returns a single pet |
| 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 generate exceptions. |
| POST |
placeOrder /store/order |
Place a new order in the store |
| GET |
getInventory /store/inventory |
Returns a map of status codes to quantities |
| user | ||
| PUT |
updateUser /user/{username} |
This can only be done by the logged in user. |
| DELETE |
deleteUser /user/{username} |
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 |
| GET |
logoutUser /user/logout |
|
| POST |
createUser /user |
This can only be done by the logged in user. |
| GET |
getUserByName /user/{username} |
|
Petstore pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|