pets / #191
- ownerUserId
- 195
- name
- Rosendo
- species
- dog
- breedId
- —
- gender
- female
- birthDate
- 2022-01-23
- weightKg
- 66.8
- color
- Gray
- imageUrl
- https://picsum.photos/seed/pet-191/600/600
- createdAt
- updatedAt
Component variants
Medium
Rosendo
#191
Small
pets/191 curl -sS \
"https://example-data.com/api/v1/pets/191" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/pets/191"
);
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/191"
);
const pet = (await res.json()) as Pet;import requests
res = requests.get(
"https://example-data.com/api/v1/pets/191"
)
pet = res.json() {
"id": 191,
"ownerUserId": 195,
"name": "Rosendo",
"species": "dog",
"breedId": null,
"gender": "female",
"birthDate": "2022-01-23",
"weightKg": 66.8,
"color": "Gray",
"imageUrl": "https://picsum.photos/seed/pet-191/600/600",
"createdAt": "2023-04-18T17:50:52.458Z",
"updatedAt": "2024-04-20T02:08:59.247Z"
}