Activity #515
User #128 attached image/png (9475319 bytes)
1/24/2026, 8:34:37 PM
Overview
attachments / #515
User #128 attached image/png (9475319 bytes)
1/24/2026, 8:34:37 PM
User #128 attached image/png (9475319 bytes)
1/24/2026, 8:34:37 PM
View recordUser #128 attached image/png (9475319 bytes) · 1/24/2026, 8:34:37 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/515" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/515" ); 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/515"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/515"
)
attachment = res.json() Response
{
"id": 515,
"userId": 128,
"targetType": "comment",
"targetId": 1157,
"url": "https://picsum.photos/seed/attachment-515/600/800",
"mimeType": "image/png",
"sizeBytes": 9475319,
"createdAt": "2026-01-24T20:34:37.628Z"
}