Activity #8
User #37 attached image/jpeg (33139819 bytes)
3/15/2026, 6:14:46 AM
Overview
attachments / #8
User #37 attached image/jpeg (33139819 bytes)
3/15/2026, 6:14:46 AM
User #37 attached image/jpeg (33139819 bytes)
3/15/2026, 6:14:46 AM
View recordUser #37 attached image/jpeg (33139819 bytes) · 3/15/2026, 6:14:46 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/8" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/8" ); const attachment = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/attachments.d.ts https://example-data.com/types/attachments.d.ts
import type { Attachment } from "./types/attachments";
const res = await fetch(
"https://example-data.com/api/v1/attachments/8"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/8"
)
attachment = res.json() Response
{
"id": 8,
"userId": 37,
"targetType": "product",
"targetId": 24,
"url": "https://picsum.photos/seed/attachment-8/800/400",
"mimeType": "image/jpeg",
"sizeBytes": 33139819,
"createdAt": "2026-03-15T06:14:46.580Z"
}