Find pet by ID
get/pet/{petId}
getPetById
Find pet by ID
Parameters
path
| Name | Type | Required | Description | Default |
|---|---|---|---|---|
| petId | integer | required | ID of pet to return |
Responses
Authentication
api_key
Code Examples
| Name | Type | Required | Description | Default |
|---|---|---|---|---|
| petId | integer | required | ID of pet to return |
curl -X GET 'https://api.example.com/pet/{petId}'