pet
Add a new pet to the store
Add a new pet to the store
post/pet
Request
- Base URL/v3 (relative, and the document’s source URL is not known)
- URL/v3/pet
- AuthOAuth 2Implicit: https://petstore.swagger.io/oauth/authorizeScopes: write:pets, read:pets
Request body
Example request
{
"id": 10,
"name": "doggie",
"category": {
"id": 1,
"name": "Dogs"
}
}Response
Successful operation
Example response
{
"id": 10,
"name": "doggie",
"category": {
"id": 1,
"name": "Dogs"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.