Activity #656
User #230 attached image/jpeg (29856940 bytes)
12/4/2025, 2:33:28 PM
Overview
attachments / #656
User #230 attached image/jpeg (29856940 bytes)
12/4/2025, 2:33:28 PM
User #230 attached image/jpeg (29856940 bytes)
12/4/2025, 2:33:28 PM
View recordUser #230 attached image/jpeg (29856940 bytes) · 12/4/2025, 2:33:28 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/656" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/656" ); 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/656"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/656"
)
attachment = res.json() Response
{
"id": 656,
"userId": 230,
"targetType": "product",
"targetId": 30,
"url": "https://picsum.photos/seed/attachment-656/800/300",
"mimeType": "image/jpeg",
"sizeBytes": 29856940,
"createdAt": "2025-12-04T14:33:28.600Z"
}