pets / #100
- ownerUserId
- 115
- name
- Markus
- species
- dog
- breedId
- —
- gender
- female
- birthDate
- 2024-03-13
- weightKg
- 31.9
- color
- Spotted
- imageUrl
- https://picsum.photos/seed/pet-100/600/600
- createdAt
- updatedAt
Component variants
Medium
Markus
#100
Small
pets/100 curl -sS \
"https://example-data.com/api/v1/pets/100" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/pets/100"
);
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/100"
);
const pet = (await res.json()) as Pet;import requests
res = requests.get(
"https://example-data.com/api/v1/pets/100"
)
pet = res.json() {
"id": 100,
"ownerUserId": 115,
"name": "Markus",
"species": "dog",
"breedId": null,
"gender": "female",
"birthDate": "2024-03-13",
"weightKg": 31.9,
"color": "Spotted",
"imageUrl": "https://picsum.photos/seed/pet-100/600/600",
"createdAt": "2023-05-17T00:50:17.119Z",
"updatedAt": "2026-01-24T12:01:40.204Z"
}