Activity #728
User #151 attached image/jpeg (33908141 bytes)
11/15/2025, 11:39:19 PM
Overview
attachments / #728
User #151 attached image/jpeg (33908141 bytes)
11/15/2025, 11:39:19 PM
User #151 attached image/jpeg (33908141 bytes)
11/15/2025, 11:39:19 PM
View recordUser #151 attached image/jpeg (33908141 bytes) · 11/15/2025, 11:39:19 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/728" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/728" ); 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/728"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/728"
)
attachment = res.json() Response
{
"id": 728,
"userId": 151,
"targetType": "product",
"targetId": 200,
"url": "https://picsum.photos/seed/attachment-728/400/600",
"mimeType": "image/jpeg",
"sizeBytes": 33908141,
"createdAt": "2025-11-15T23:39:19.638Z"
}