Activity #231
User #108 attached image/png (4743607 bytes)
1/9/2026, 2:45:06 AM
Overview
attachments / #231
User #108 attached image/png (4743607 bytes)
1/9/2026, 2:45:06 AM
User #108 attached image/png (4743607 bytes)
1/9/2026, 2:45:06 AM
View recordUser #108 attached image/png (4743607 bytes) · 1/9/2026, 2:45:06 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/231" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/231" ); 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/231"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/231"
)
attachment = res.json() Response
{
"id": 231,
"userId": 108,
"targetType": "comment",
"targetId": 460,
"url": "https://picsum.photos/seed/attachment-231/1200/600",
"mimeType": "image/png",
"sizeBytes": 4743607,
"createdAt": "2026-01-09T02:45:06.860Z"
}