example-data.com

pets / #49

ownerUserId
56
name
Mustafa
species
dog
breedId
1
gender
unknown
birthDate
2024-05-08
weightKg
8
color
Brindle
imageUrl
https://picsum.photos/seed/pet-49/600/600
createdAt
updatedAt

Component variants

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

res = requests.get(
    "https://example-data.com/api/v1/pets/49"
)
pet = res.json()
{
  "id": 49,
  "ownerUserId": 56,
  "name": "Mustafa",
  "species": "dog",
  "breedId": 1,
  "gender": "unknown",
  "birthDate": "2024-05-08",
  "weightKg": 8,
  "color": "Brindle",
  "imageUrl": "https://picsum.photos/seed/pet-49/600/600",
  "createdAt": "2022-12-02T01:10:04.321Z",
  "updatedAt": "2025-08-27T05:30:11.542Z"
}
Draftbit