Activity #623
User #39 attached image/png (41119938 bytes)
3/5/2026, 5:33:05 AM
Overview
attachments / #623
User #39 attached image/png (41119938 bytes)
3/5/2026, 5:33:05 AM
User #39 attached image/png (41119938 bytes)
3/5/2026, 5:33:05 AM
View recordUser #39 attached image/png (41119938 bytes) · 3/5/2026, 5:33:05 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/623" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/623" ); 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/623"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/623"
)
attachment = res.json() Response
{
"id": 623,
"userId": 39,
"targetType": "comment",
"targetId": 773,
"url": "https://picsum.photos/seed/attachment-623/1200/400",
"mimeType": "image/png",
"sizeBytes": 41119938,
"createdAt": "2026-03-05T05:33:05.441Z"
}