Activity #98
User #211 attached image/png (15290486 bytes)
10/16/2025, 12:48:39 AM
Overview
attachments / #98
User #211 attached image/png (15290486 bytes)
10/16/2025, 12:48:39 AM
User #211 attached image/png (15290486 bytes)
10/16/2025, 12:48:39 AM
View recordUser #211 attached image/png (15290486 bytes) · 10/16/2025, 12:48:39 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/98" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/98" ); 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/98"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/98"
)
attachment = res.json() Response
{
"id": 98,
"userId": 211,
"targetType": "product",
"targetId": 41,
"url": "https://picsum.photos/seed/attachment-98/600/300",
"mimeType": "image/png",
"sizeBytes": 15290486,
"createdAt": "2025-10-16T00:48:39.241Z"
}