pets / #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
- updatedAt
Component variants
curl -sS \
"https://example-data.com/api/v1/pets/3" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/pets/3"
);
const pet = await res.json();import type { Pet } from "https://example-data.com/types/pets.d.ts";
const res = await fetch(
"https://example-data.com/api/v1/pets/3"
);
const pet = (await res.json()) as Pet;import requests
res = requests.get(
"https://example-data.com/api/v1/pets/3"
)
pet = res.json() {
"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"
}