findPetByID

GET {{baseUrl}}/pet/2

This endpoint returns a single pet by passing a petID.

Parameters

NameDescription
petId *integer($int64)(path)ID of pet to return

Responses

CodeDescription
200Successful Operation
Example{
id: 0,
category: {
id: 0,
name: string
},
name: doggie,
photoUrls: [
string
],
tags: [
{
id: 0,
name: string
}
],
status: available
}
404Pet not found
400invalid ID supplied