pets / #172
- ownerUserId
- 179
- name
- Hertha
- species
- rabbit
- breedId
- 54
- gender
- unknown
- birthDate
- 2018-01-10
- weightKg
- 2.5
- color
- Gray
- imageUrl
- https://picsum.photos/seed/pet-172/600/600
- createdAt
- updatedAt
Component variants
Medium
Hertha
#172
Small
pets/172 curl -sS \
"https://example-data.com/api/v1/pets/172" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/pets/172"
);
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/172"
);
const pet = (await res.json()) as Pet;import requests
res = requests.get(
"https://example-data.com/api/v1/pets/172"
)
pet = res.json() {
"id": 172,
"ownerUserId": 179,
"name": "Hertha",
"species": "rabbit",
"breedId": 54,
"gender": "unknown",
"birthDate": "2018-01-10",
"weightKg": 2.5,
"color": "Gray",
"imageUrl": "https://picsum.photos/seed/pet-172/600/600",
"createdAt": "2018-08-29T08:26:53.382Z",
"updatedAt": "2026-02-07T17:35:51.549Z"
}