Petstore API

Update an existing pet.

Update an existing pet by Id.

put
/api/v3/pet

Body

Update an existent pet in the store

Pet

idinteger(int64)

Example:10

namestringrequired

Example:doggie

categoryobject
Show Child Parameters
photoUrlsarray[string]required
tagsarray[object]
Show Child Parameters
statusstring

pet status in the store

Allowed values:availablependingsold

Response

Successful operation

Pet

idinteger(int64)

Example:10

namestringrequired

Example:doggie

categoryobject
Show Child Parameters
photoUrlsarray[string]required
tagsarray[object]
Show Child Parameters
statusstring

pet status in the store

Allowed values:availablependingsold

put/pet

Body

{ "name": "doggie", "photoUrls": [ "[]" ] }
 
Invalid URL value '/api/v3/pet'
- missing protocol

Add a new pet to the store.

Add a new pet to the store.

post
/api/v3/pet

Body

Create a new pet in the store

Pet

idinteger(int64)

Example:10

namestringrequired

Example:doggie

categoryobject
Show Child Parameters
photoUrlsarray[string]required
tagsarray[object]
Show Child Parameters
statusstring

pet status in the store

Allowed values:availablependingsold

Response

Successful operation

Pet

idinteger(int64)

Example:10

namestringrequired

Example:doggie

categoryobject
Show Child Parameters
photoUrlsarray[string]required
tagsarray[object]
Show Child Parameters
statusstring

pet status in the store

Allowed values:availablependingsold

post/pet

Body

{ "name": "doggie", "photoUrls": [ "[]" ] }
 
Invalid URL value '/api/v3/pet'
- missing protocol

Finds Pets by status.

Multiple status values can be provided with comma separated strings.

get
/api/v3/pet/findByStatus

Query Parameters

statusstringrequired

Status values that need to be considered for filter

Allowed values:availablependingsold

Default:available

Response

successful operation

idinteger(int64)

Example:10

namestringrequired

Example:doggie

categoryobject
Show Child Parameters
photoUrlsarray[string]required
tagsarray[object]
Show Child Parameters
statusstring

pet status in the store

Allowed values:availablependingsold

get/pet/findByStatus
 
Invalid URL value '/api/v3/pet/findByStatus'
- missing protocol

Finds Pets by tags.

Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.

get
/api/v3/pet/findByTags

Query Parameters

tagsarray[string]required

Tags to filter by

Response

successful operation

idinteger(int64)

Example:10

namestringrequired

Example:doggie

categoryobject
Show Child Parameters
photoUrlsarray[string]required
tagsarray[object]
Show Child Parameters
statusstring

pet status in the store

Allowed values:availablependingsold

get/pet/findByTags
 
Invalid URL value '/api/v3/pet/findByTags'
- missing protocol

Find pet by ID.

Returns a single pet.

get
/api/v3/pet/{petId}

Path Parameters

petIdinteger(int64)required

Response

successful operation

Pet

idinteger(int64)

Example:10

namestringrequired

Example:doggie

categoryobject
Show Child Parameters
photoUrlsarray[string]required
tagsarray[object]
Show Child Parameters
statusstring

pet status in the store

Allowed values:availablependingsold

get/pet/{petId}
 
Invalid URL value '/api/v3/pet/'
- missing protocol