Activity #511
User #109 attached image/webp (3728111 bytes)
12/13/2025, 8:44:01 AM
Overview
attachments / #511
User #109 attached image/webp (3728111 bytes)
12/13/2025, 8:44:01 AM
User #109 attached image/webp (3728111 bytes)
12/13/2025, 8:44:01 AM
View recordUser #109 attached image/webp (3728111 bytes) · 12/13/2025, 8:44:01 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/511" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/511" ); 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/511"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/511"
)
attachment = res.json() Response
{
"id": 511,
"userId": 109,
"targetType": "product",
"targetId": 110,
"url": "https://picsum.photos/seed/attachment-511/800/800",
"mimeType": "image/webp",
"sizeBytes": 3728111,
"createdAt": "2025-12-13T08:44:01.516Z"
}