pets / #114
- ownerUserId
- 126
- name
- Gustave
- species
- dog
- breedId
- —
- gender
- unknown
- birthDate
- 2025-12-09
- weightKg
- 10
- color
- Brown
- imageUrl
- https://picsum.photos/seed/pet-114/600/600
- createdAt
- updatedAt
Component variants
Medium
Gustave
#114
Small
pets/114 curl -sS \
"https://example-data.com/api/v1/pets/114" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/pets/114"
);
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/114"
);
const pet = (await res.json()) as Pet;import requests
res = requests.get(
"https://example-data.com/api/v1/pets/114"
)
pet = res.json() {
"id": 114,
"ownerUserId": 126,
"name": "Gustave",
"species": "dog",
"breedId": null,
"gender": "unknown",
"birthDate": "2025-12-09",
"weightKg": 10,
"color": "Brown",
"imageUrl": "https://picsum.photos/seed/pet-114/600/600",
"createdAt": "2019-02-11T05:24:39.629Z",
"updatedAt": "2021-07-08T22:48:47.179Z"
}