GET
/pet/{petId}Get a pet by ID
Retrieves a pet record from the store by its identifier. Use petId to select the pet whose details you want to retrieve.
petIdintegerrequired
The int64 identifier of the pet to retrieve.
200Returns the pet object, including its identifier, name, photo URLs, status, category, and tags.
categoryobjectoptional
idintegeroptional
namestringrequired
photoUrlsarray<string>required
statusstringoptional
pet status in the store
tagsarray<object>optional
400Returned when the supplied pet ID is invalid.
404Returned when no pet is found with the supplied ID.
defaultUnexpected error
Error handling
A 400 is returned when the supplied pet ID is invalid. A 404 is returned when no pet is found for the petId path parameter.