Activity #672
User #97 attached image/jpeg (17543273 bytes)
5/17/2026, 7:36:45 AM
Overview
attachments / #672
User #97 attached image/jpeg (17543273 bytes)
5/17/2026, 7:36:45 AM
User #97 attached image/jpeg (17543273 bytes)
5/17/2026, 7:36:45 AM
View recordUser #97 attached image/jpeg (17543273 bytes) · 5/17/2026, 7:36:45 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/672" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/672" ); 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/672"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/672"
)
attachment = res.json() Response
{
"id": 672,
"userId": 97,
"targetType": "product",
"targetId": 84,
"url": "https://picsum.photos/seed/attachment-672/600/600",
"mimeType": "image/jpeg",
"sizeBytes": 17543273,
"createdAt": "2026-05-17T07:36:45.457Z"
}