v1.0.0
  • latest
  • v1.0.0
Platform
Platform
  • Staging
  • Prod
CRM
CRM
  • Staging
  • Staging
App
App
  • AppStore (PROD)
  • Playstore (PROD)
  • AppStore (Staging)
  • Playstore (Staging)
Infra
Infra
  • GCP (Cloud)
  • Resend (Email)
  • Cloudflare (CDN)
Platform
Platform
  • Staging
  • Prod
CRM
CRM
  • Staging
  • Staging
App
App
  • AppStore (PROD)
  • Playstore (PROD)
  • AppStore (Staging)
  • Playstore (Staging)
Infra
Infra
  • GCP (Cloud)
  • Resend (Email)
  • Cloudflare (CDN)
v1.0.0
  • latest
  • v1.0.0
v1.0.0
  • latest
  • v1.0.0
  1. Sample APIs
  • Start your Apidog journey
  • Sample APIs
    • Find pet by ID
      GET
    • Add a new pet to the store
      POST
    • Update an existing pet
      PUT
    • Deletes a pet
      DELETE
    • Finds Pets by status
      GET
  • Schemas
    • Sample Schemas
      • Pet
      • Category
      • Tag
Platform
Platform
  • Staging
  • Prod
CRM
CRM
  • Staging
  • Staging
App
App
  • AppStore (PROD)
  • Playstore (PROD)
  • AppStore (Staging)
  • Playstore (Staging)
Infra
Infra
  • GCP (Cloud)
  • Resend (Email)
  • Cloudflare (CDN)
Platform
Platform
  • Staging
  • Prod
CRM
CRM
  • Staging
  • Staging
App
App
  • AppStore (PROD)
  • Playstore (PROD)
  • AppStore (Staging)
  • Playstore (Staging)
Infra
Infra
  • GCP (Cloud)
  • Resend (Email)
  • Cloudflare (CDN)
v1.0.0
  • latest
  • v1.0.0
v1.0.0
  • latest
  • v1.0.0
  1. Sample APIs

Find pet by ID

Local Env
https://api.local.bidancer.com
Local Env
https://api.local.bidancer.com
GET
https://api.local.bidancer.com
/pet/{petId}
Last modified:2025-01-26 10:34:50

Request

Path Params

Responses

🟢200OK
application/json
Body

🟠404Record not found
🟠400Invalid input
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.local.bidancer.com/pet/1'
Response Response Example
200 - Success example
{
    "code": 0,
    "data": {
        "name": "Hello Kitty",
        "photoUrls": [
            "http://dummyimage.com/400x400"
        ],
        "id": 3,
        "category": {
            "id": 71,
            "name": "Cat"
        },
        "tags": [
            {
                "id": 22,
                "name": "Cat"
            }
        ],
        "status": "sold"
    }
}
Modified at 2025-01-26 10:34:50
Previous
Start your Apidog journey
Next
Add a new pet to the store
Built with