Skip to content
Get started

Pets

Everything about your Pets

Finds Pets by status
GET/pet/findByStatus
Finds Pets by tags
GET/pet/findByTags
Find pet by ID
GET/pet/{petId}
Deletes a pet
DELETE/pet/{petId}
uploads an image
POST/pet/{petId}/uploadImage
ModelsExpand Collapse
Category object { id, name }
id: optional number
formatint64
name: optional string
Pet object { name, photoUrls, id, 3 more }
name: string
photoUrls: array of string
id: optional number
formatint64
category: optional Category { id, name }
id: optional number
formatint64
name: optional string
status: optional "available" or "pending" or "sold"

pet status in the store

One of the following:
"available"
"pending"
"sold"
tags: optional array of Tag { id, name }
id: optional number
formatint64
name: optional string
Tag object { id, name }
id: optional number
formatint64
name: optional string
PetFindByStatusResponse = array of Pet { name, photoUrls, id, 3 more }
name: string
photoUrls: array of string
id: optional number
formatint64
category: optional Category { id, name }
id: optional number
formatint64
name: optional string
status: optional "available" or "pending" or "sold"

pet status in the store

One of the following:
"available"
"pending"
"sold"
tags: optional array of Tag { id, name }
id: optional number
formatint64
name: optional string
PetFindByTagsResponse = array of Pet { name, photoUrls, id, 3 more }
name: string
photoUrls: array of string
id: optional number
formatint64
category: optional Category { id, name }
id: optional number
formatint64
name: optional string
status: optional "available" or "pending" or "sold"

pet status in the store

One of the following:
"available"
"pending"
"sold"
tags: optional array of Tag { id, name }
id: optional number
formatint64
name: optional string
PetUploadImageResponse object { code, message, type }
code: optional number
formatint32
message: optional string
type: optional string