Skip to content

Info for a specific pet

GET
/pets/{petId}
curl --request GET \
--url https://example.com/pets/example
petId
required
string

Expected response to a valid request

Media type application/json
object
id
required
integer format: int64
name
required
string
tag
string
Example generated
{
"id": 1,
"name": "example",
"tag": "example"
}
Suggest an edit to this page