pets / #139
- ownerUserId
- 149
- name
- Keyon
- species
- dog
- breedId
- —
- gender
- female
- birthDate
- 2024-01-07
- weightKg
- 63
- color
- Brindle
- imageUrl
- https://picsum.photos/seed/pet-139/600/600
- createdAt
- updatedAt
Component variants
Medium
Keyon
#139
Small
pets/139 curl -sS \
"https://example-data.com/api/v1/pets/139" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/pets/139"
);
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/139"
);
const pet = (await res.json()) as Pet;import requests
res = requests.get(
"https://example-data.com/api/v1/pets/139"
)
pet = res.json() {
"id": 139,
"ownerUserId": 149,
"name": "Keyon",
"species": "dog",
"breedId": null,
"gender": "female",
"birthDate": "2024-01-07",
"weightKg": 63,
"color": "Brindle",
"imageUrl": "https://picsum.photos/seed/pet-139/600/600",
"createdAt": "2019-07-19T11:47:57.354Z",
"updatedAt": "2022-07-02T12:04:57.433Z"
}