Activity #314
User #24 attached image/jpeg (31085071 bytes)
1/7/2026, 7:03:17 PM
Overview
attachments / #314
User #24 attached image/jpeg (31085071 bytes)
1/7/2026, 7:03:17 PM
User #24 attached image/jpeg (31085071 bytes)
1/7/2026, 7:03:17 PM
View recordUser #24 attached image/jpeg (31085071 bytes) · 1/7/2026, 7:03:17 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/314" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/314" ); 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/314"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/314"
)
attachment = res.json() Response
{
"id": 314,
"userId": 24,
"targetType": "product",
"targetId": 9,
"url": "https://picsum.photos/seed/attachment-314/800/400",
"mimeType": "image/jpeg",
"sizeBytes": 31085071,
"createdAt": "2026-01-07T19:03:17.970Z"
}