1. Pet
多站点验证multiple sites
  • Default module
    • Sample APIs
      • markdown_请检查图片是否访问正常
      • Find pet by ID
      • Add a new pet to the store
      • Update an existing pet
      • Deletes a pet
      • Finds Pets by status
  • module2
    • markdown2
    • markdown1
    • Pet
      • 无 slug
        GET
      • 1slug-a
        POST
      • slug-multiple modified
        GET
      • Update Pet
        PUT
    • User
      • Create User
      • Get User
    • Webhooks
      • Order Status Changed Event
      • Payment Succeeded Event
    • Websocket, Socket.IO & more
      • gRPC API
      • Other protocol API example
      • WebSocket example
      • Socket.IO example
      • Webhook example
      • GraphQL example
      • SSE example
      • SOAP example
    • Dashboard
      • Get Dashboard Stats
    • User Management
      • List Users
      • Get User Details
      • Update User Status
    • Order Management
      • List All Orders
      • Force Cancel Order
    • Audit Logs
      • Get Audit Log Details
  1. Pet

slug-multiple modified

GET
/pets/{id}
Retrieve detailed information about a specific pet.

Request

Path Params

Query Params

Header Params

Cookie Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl -X GET 'https://api.petstoreapi.com/v1/pets/01936c8f-1234-7000-8000-111111111111' \
  -H 'Accept: application/json'

Responses

🟢200OK
application/json
Successful response with pet details
Headers

Bodyapplication/json

Example
{
    "id": "01936c8f-1234-7000-8000-111111111111",
    "species": "CAT",
    "name": "Whiskers",
    "breed": "Domestic Shorthair",
    "ageMonths": 18,
    "size": "MEDIUM",
    "color": "Orange Tabby",
    "gender": "MALE",
    "goodWithKids": true,
    "price": "75.00",
    "description": "Friendly and playful orange tabby looking for a loving home",
    "status": "AVAILABLE",
    "photos": [
        "https://cdn.petstoreapi.com/pets/01936c8f-1234-7000-8000-111111111111/photo1.jpg",
        "https://cdn.petstoreapi.com/pets/01936c8f-1234-7000-8000-111111111111/photo2.jpg"
    ],
    "medicalInfo": {
        "spayedNeutered": true,
        "vaccinated": true,
        "microchipped": true,
        "specialNeeds": false
    }
}
🟠400BadRequest
🟠401Unauthorized
🟠403Forbidden
🟠404NotFound
🟠429TooManyRequests
🔴500InternalServerError
Modified at 2026-07-13 05:59:21
Previous
1slug-a
Next
Update Pet
Built with