addPet
Add a new pet to the store
/pet
Parameters
Name | Description |
---|---|
body * |
This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.
Add a new pet to the store
/pet
Name | Description |
---|---|
body * |
Deletes a pet
/pet/{petId}
Name | Description |
---|---|
petId* |
Name | Description |
---|---|
api_key |
Finds Pets by status
Multiple status values can be provided with comma separated strings
/pet/findByStatus
Name | Description |
---|---|
status* |
Finds Pets by tags
Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
/pet/findByTags
Name | Description |
---|---|
tags* |
Find pet by ID
Returns a single pet
/pet/{petId}
Name | Description |
---|---|
petId* |
Update an existing pet
/pet
Name | Description |
---|---|
body * |
Updates a pet in the store with form data
/pet/{petId}
Name | Description |
---|---|
petId* |
Name | Description |
---|---|
name | |
status |
uploads an image
/pet/{petId}/uploadImage
Name | Description |
---|---|
petId* |
Name | Description |
---|---|
additionalMetadata | |
file |
Delete purchase order by ID
For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
/store/order/{orderId}
Name | Description |
---|---|
orderId* |
Returns pet inventories by status
Returns a map of status codes to quantities
/store/inventory
Find purchase order by ID
For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
/store/order/{orderId}
Name | Description |
---|---|
orderId* |
Place an order for a pet
/store/order
Name | Description |
---|---|
body * |
Create user
This can only be done by the logged in user.
/user
Name | Description |
---|---|
body * |
Creates list of users with given input array
/user/createWithArray
Name | Description |
---|---|
body * |
Creates list of users with given input array
/user/createWithList
Name | Description |
---|---|
body * |
Delete user
This can only be done by the logged in user.
/user/{username}
Name | Description |
---|---|
username* |
Get user by user name
/user/{username}
Name | Description |
---|---|
username* |
Logs user into the system
/user/login
Name | Description |
---|---|
username* | |
password* |
Name | Type | Format | Description |
---|---|---|---|
X-Rate-Limit | Integer | int32 | calls per hour allowed by the user |
X-Expires-After | Date | date-time | date in UTC when toekn expires |
Logs out current logged in user session
/user/logout
Updated user
This can only be done by the logged in user.
/user/{username}
Name | Description |
---|---|
username* |
Name | Description |
---|---|
body * |