example-data.com

pets / #19

ownerUserId
26
name
Shea
species
dog
breedId
gender
unknown
birthDate
weightKg
17.1
color
White
imageUrl
https://picsum.photos/seed/pet-19/600/600
createdAt
updatedAt

Component variants

curl -sS \
  "https://example-data.com/api/v1/pets/19" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/pets/19"
);
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/19"
);
const pet = (await res.json()) as Pet;
import requests

res = requests.get(
    "https://example-data.com/api/v1/pets/19"
)
pet = res.json()
{
  "id": 19,
  "ownerUserId": 26,
  "name": "Shea",
  "species": "dog",
  "breedId": null,
  "gender": "unknown",
  "birthDate": null,
  "weightKg": 17.1,
  "color": "White",
  "imageUrl": "https://picsum.photos/seed/pet-19/600/600",
  "createdAt": "2023-11-16T12:59:26.321Z",
  "updatedAt": "2026-05-16T02:18:54.143Z"
}
Draftbit