Swagger Petstore
1.0.0

Single example of Petstore API, with both endpoints and webhooks. Operations and webhooks are grouped by tag.

This is the documentation for version 1.0.0 of the API. Last update on Feb 24, 2021.

This API is provided under license MIT.

Base URL
http://petstore.swagger.io/v1

A new pet arrived

POST /newPet

A new pet arrived, let's come and discover it IRL.

Body

Information about a new pet in the system

Responses

  • 200

    Return a 200 status to indicate that the data was received successfully

POST newPet
Request example
{
  "id": 42,
  "name": "string",
  "tag": "string"
}