Activity #245
User #66 attached image/png (43743868 bytes)
2/2/2026, 7:18:38 AM
Overview
attachments / #245
User #66 attached image/png (43743868 bytes)
2/2/2026, 7:18:38 AM
User #66 attached image/png (43743868 bytes)
2/2/2026, 7:18:38 AM
View recordUser #66 attached image/png (43743868 bytes) · 2/2/2026, 7:18:38 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/245" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/245" ); 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/245"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/245"
)
attachment = res.json() Response
{
"id": 245,
"userId": 66,
"targetType": "comment",
"targetId": 1154,
"url": "https://picsum.photos/seed/attachment-245/800/400",
"mimeType": "image/png",
"sizeBytes": 43743868,
"createdAt": "2026-02-02T07:18:38.412Z"
}