Find pet by ID
Returns a single pet
Path Parameters
- petId int64 requiredID of pet to return 
- 200
- 400
- 404
successful operation
- application/json
- application/xml
- Schema
- Example (from schema)
Schema
- id object
- category Categoryid int64- Category ID name string- Possible values: - non-empty- Category name - sub object- Test Sub Category prop1 string- Dumb Property 
- name stringThe name given to a pet 
- photoUrls url[]Possible values: <= 20The list of URL to a cute photos featuring pet 
- friend circular(pet)
- tags Tag[]- Possible values: - >= 1- Tags attached to the pet Array [id objectname string- Possible values: - non-empty- Tag name ]
- status stringPossible values: [ available,pending,sold]Pet status in the store 
- cat
- dog
- bee
- huntingSkill stringPossible values: [ clueless,lazy,adventurous,aggressive]Default value: lazyThe measured skill for hunting 
- packSize int32Possible values: >= 1Default value: 1The size of the pack the dog is from 
- honeyPerDay numberAverage amount of honey produced per day in ounces 
Possible values: [cat, dog, bee]
Type of a pet
{
  "id": 0,
  "category": {
    "id": 0,
    "name": "string",
    "sub": {
      "prop1": "string"
    }
  },
  "name": "Guru",
  "photoUrls": [
    "string"
  ],
  "friend": {},
  "tags": [
    {
      "id": 0,
      "name": "string"
    }
  ],
  "status": "available",
  "petType": {
    "huntingSkill": "adventurous"
  }
}
- Schema
- Example (from schema)
Schema
- id object
- category Categoryid int64- Category ID name string- Possible values: - non-empty- Category name - sub object- Test Sub Category prop1 string- Dumb Property 
- name stringThe name given to a pet 
- photoUrls url[]Possible values: <= 20The list of URL to a cute photos featuring pet 
- friend circular(pet)
- tags Tag[]- Possible values: - >= 1- Tags attached to the pet Array [id objectname string- Possible values: - non-empty- Tag name ]
- status stringPossible values: [ available,pending,sold]Pet status in the store 
- cat
- dog
- bee
- huntingSkill stringPossible values: [ clueless,lazy,adventurous,aggressive]Default value: lazyThe measured skill for hunting 
- packSize int32Possible values: >= 1Default value: 1The size of the pack the dog is from 
- honeyPerDay numberAverage amount of honey produced per day in ounces 
Possible values: [cat, dog, bee]
Type of a pet
<root>
  <id>0</id>
  <category>
    <id>0</id>
    <name>string</name>
    <sub>
      <prop1>string</prop1>
    </sub>
  </category>
  <name>Guru</name>
  <photoUrls>string</photoUrls>
  <friend/>
  <tags>
    <id>0</id>
    <name>string</name>
  </tags>
  <status>available</status>
  <petType>
    <huntingSkill>adventurous</huntingSkill>
  </petType>
</root>
Invalid ID supplied
Pet not found