Pet Store API
Version: 1.0.0
Pet Store API
A sample API for managing a pet store
/pets
GET
List all petsParameters
- limit (query): How many items to return at one time (max 100)Type: integer (int32)
Responses
200: A paged array of pets
application/json:
Type: array
POST
Create a petRequest Body
application/json:
Type: object
Properties:
- name: string*
- tag: string
Responses
201: Created pet
application/json:
Type: object
Properties:
- id: integer (int64)*
- name: string*
- tag: string
/pets/{petId}
GET
Info for a specific petParameters
- petId (path): The id of the pet to retrieve*Type: string
Responses
200: Expected response to a valid request
application/json:
Type: object
Properties:
- id: integer (int64)*
- name: string*
- tag: string
Select an endpoint and method to see examples.