pet

Add a new pet to the store

post/pet

Request

  • Base URL: http://petstore.swagger.io/v2
  • URL: http://petstore.swagger.io/v2/pet
  • Auth: OAuth 2 (implicit, authorization URL http://petstore.swagger.io/api/oauth/dialog, scopes: write:pets, read:pets)

Request body

idinteger
namestring required
photoUrlsstring[] required
status'available' | 'pending' | 'sold'

pet status in the store

Example request

{
  "name": "doggie"
}

Response

successful operation

idinteger
namestring required
photoUrlsstring[] required
status'available' | 'pending' | 'sold'

pet status in the store

Example response

{
  "name": "doggie"
}

Changes

No recorded changes to this operation across all 1 revision of this API.