chodakipumew
  1. pet
chodakipumew
  • Start your Apidog journey
  • PDF EPUB Download Atlas of Brutalist Architecture by Phaidon Editors Full Book
  • Design User Experience and Usability 14th International Conference DUXU 2025 Held as Part of the 27th HCI International Conference HCII 2025 Gothenburg Sweden June 22
  • pet
    • Find pet by ID
      GET
    • Finds Pets by status
      GET
    • Finds Pets by tags
      GET
    • uploads an image
      POST
    • Add a new pet to the store
      POST
    • Update an existing pet
      PUT
    • Updates a pet in the store with form data
      POST
    • Deletes a pet
      DELETE
  • store
    • Returns pet inventories by status
      GET
    • Place an order for a pet
      POST
    • Find purchase order by ID
      GET
    • Delete purchase order by ID
      DELETE
  • user
    • Creates list of users with given input array
      POST
    • Get user by user name
      GET
    • Update user
      PUT
    • Delete user
      DELETE
    • Logs user into the system
      GET
    • Logs out current logged in user session
      GET
    • Creates list of users with given input array
      POST
    • Create user
      POST
  1. pet

Find pet by ID

GET
/pet/{petId}
Returns a single pet

Request

Authorization
API Key
Add parameter in header
api_key
Example:
api_key: ********************
or
Path Params

Responses

🟢200OK
application/json
successful operation
Body

🟠400Bad Request
🟠404Record Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/pet/' \
--header 'api_key: <api-key>'
Response Response Example
200 - Example 1
{
    "id": 100,
    "category": {
        "id": 101,
        "name": "dog"
    },
    "name": "Luna",
    "photoUrls": [
        "https://loremflickr.com/400/400?lock=2557291284045546",
        "https://loremflickr.com/400/400?lock=1603075073377479"
    ],
    "tags": [
        {
            "id": 15,
            "name": "Dalmatian"
        }
    ],
    "status": "available"
}
Modified at 2025-08-29 00:13:40
Previous
Design User Experience and Usability 14th International Conference DUXU 2025 Held as Part of the 27th HCI International Conference HCII 2025 Gothenburg Sweden June 22
Next
Finds Pets by status
Built with