Activity #225
User #136 attached image/png (4612015 bytes)
10/28/2025, 4:50:10 AM
Overview
attachments / #225
User #136 attached image/png (4612015 bytes)
10/28/2025, 4:50:10 AM
User #136 attached image/png (4612015 bytes)
10/28/2025, 4:50:10 AM
View recordUser #136 attached image/png (4612015 bytes) · 10/28/2025, 4:50:10 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/225" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/225" ); 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/225"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/225"
)
attachment = res.json() Response
{
"id": 225,
"userId": 136,
"targetType": "product",
"targetId": 170,
"url": "https://picsum.photos/seed/attachment-225/800/600",
"mimeType": "image/png",
"sizeBytes": 4612015,
"createdAt": "2025-10-28T04:50:10.524Z"
}