Isidro
- ownerUserId
-
Conner Bernhard @conner.bernhard33
- name
- Isidro
- species
- dog
- breedId
- Maltese
- gender
- male
- birthDate
- 2017-03-09
- weightKg
- 43.2
- color
- Tan
- imageUrl
- https://picsum.photos/seed/pet-3/600/600
- createdAt
- updatedAt
Overview
pets / #3
Request
curl example
curl -sS \ "https://example-data.com/api/v1/pets/3" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/pets/3" ); const pet = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/pets.d.ts https://example-data.com/types/pets.d.ts
import type { Pet } from "./types/pets";
const res = await fetch(
"https://example-data.com/api/v1/pets/3"
);
const pet = (await res.json()) as Pet; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/pets/3"
)
pet = res.json() Response
{
"id": 3,
"ownerUserId": 3,
"name": "Isidro",
"species": "dog",
"breedId": 20,
"gender": "male",
"birthDate": "2017-03-09",
"weightKg": 43.2,
"color": "Tan",
"imageUrl": "https://picsum.photos/seed/pet-3/600/600",
"createdAt": "2025-11-08T04:56:44.598Z",
"updatedAt": "2026-04-18T23:59:34.579Z"
}