pets / #39
- ownerUserId
- 45
- name
- Malvina
- species
- cat
- breedId
- —
- gender
- female
- birthDate
- 2017-02-10
- weightKg
- 4.2
- color
- Calico
- imageUrl
- https://picsum.photos/seed/pet-39/600/600
- createdAt
- updatedAt
Component variants
Medium
Malvina
#39
Small
pets/39 curl -sS \
"https://example-data.com/api/v1/pets/39" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/pets/39"
);
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/39"
);
const pet = (await res.json()) as Pet;import requests
res = requests.get(
"https://example-data.com/api/v1/pets/39"
)
pet = res.json() {
"id": 39,
"ownerUserId": 45,
"name": "Malvina",
"species": "cat",
"breedId": null,
"gender": "female",
"birthDate": "2017-02-10",
"weightKg": 4.2,
"color": "Calico",
"imageUrl": "https://picsum.photos/seed/pet-39/600/600",
"createdAt": "2025-05-16T06:17:51.124Z",
"updatedAt": "2026-01-31T21:12:05.428Z"
}