Activity #722
User #83 attached image/jpeg (40435901 bytes)
8/5/2025, 4:20:04 AM
Overview
attachments / #722
User #83 attached image/jpeg (40435901 bytes)
8/5/2025, 4:20:04 AM
User #83 attached image/jpeg (40435901 bytes)
8/5/2025, 4:20:04 AM
View recordUser #83 attached image/jpeg (40435901 bytes) · 8/5/2025, 4:20:04 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/722" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/722" ); 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/722"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/722"
)
attachment = res.json() Response
{
"id": 722,
"userId": 83,
"targetType": "product",
"targetId": 116,
"url": "https://picsum.photos/seed/attachment-722/800/300",
"mimeType": "image/jpeg",
"sizeBytes": 40435901,
"createdAt": "2025-08-05T04:20:04.079Z"
}