pets / #190
- ownerUserId
- 194
- name
- Abel
- species
- bird
- breedId
- 57
- gender
- female
- birthDate
- 2015-11-03
- weightKg
- 0.72
- color
- Green
- imageUrl
- https://picsum.photos/seed/pet-190/600/600
- createdAt
- updatedAt
Component variants
curl -sS \
"https://example-data.com/api/v1/pets/190" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/pets/190"
);
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/190"
);
const pet = (await res.json()) as Pet;import requests
res = requests.get(
"https://example-data.com/api/v1/pets/190"
)
pet = res.json() {
"id": 190,
"ownerUserId": 194,
"name": "Abel",
"species": "bird",
"breedId": 57,
"gender": "female",
"birthDate": "2015-11-03",
"weightKg": 0.72,
"color": "Green",
"imageUrl": "https://picsum.photos/seed/pet-190/600/600",
"createdAt": "2020-03-03T19:19:30.477Z",
"updatedAt": "2024-04-23T02:15:34.497Z"
}