pockaqakytink
  1. pet
pockaqakytink
  • Start your Apidog journey
  • Descargar pdf ESCUCHA A TU INTUICIÓN
  • 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 Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/pet/' \
--header '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"
}

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
Modified at 2025-08-22 00:44:21
Previous
Descargar pdf ESCUCHA A TU INTUICIÓN
Next
Finds Pets by status
Built with