Activity #694
User #187 attached image/jpeg (40359054 bytes)
6/6/2025, 10:57:52 AM
Overview
attachments / #694
User #187 attached image/jpeg (40359054 bytes)
6/6/2025, 10:57:52 AM
User #187 attached image/jpeg (40359054 bytes)
6/6/2025, 10:57:52 AM
View recordUser #187 attached image/jpeg (40359054 bytes) · 6/6/2025, 10:57:52 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/694" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/694" ); 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/694"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/694"
)
attachment = res.json() Response
{
"id": 694,
"userId": 187,
"targetType": "product",
"targetId": 182,
"url": "https://picsum.photos/seed/attachment-694/400/600",
"mimeType": "image/jpeg",
"sizeBytes": 40359054,
"createdAt": "2025-06-06T10:57:52.914Z"
}