Swagger Petstore (1.0.2)

Download OpenAPI specification:Download

A petshop example API

user

Creates list of users with given input array

header Parameters
Content-Type
required
string

Responses

Creates list of users with given input array

header Parameters
Content-Type
required
string

Responses

Logs user into the system

query Parameters
username
required
string
password
required
string

Responses

Logs out current logged in user session

Responses

Get user by user name

Responses

Updated user

header Parameters
Content-Type
required
string

Responses

Delete user

Responses

pet

Update an existing pet

header Parameters
Content-Type
required
string

Responses

Finds Pets by status

query Parameters
status
required
string

Responses

Finds Pets by tags

query Parameters
tags
required
string

Responses

Find pet by ID

Responses

Updates a pet in the store with form data

Responses

Deletes a pet

header Parameters
api_key
required
string

Responses

store

Place an order for a pet

header Parameters
Content-Type
required
string

Responses

Find purchase order by ID

Responses

Delete purchase order by ID

Responses