Activity #37
User #117 attached image/png (9409851 bytes)
3/9/2026, 6:31:07 AM
Overview
attachments / #37
User #117 attached image/png (9409851 bytes)
3/9/2026, 6:31:07 AM
User #117 attached image/png (9409851 bytes)
3/9/2026, 6:31:07 AM
View recordUser #117 attached image/png (9409851 bytes) · 3/9/2026, 6:31:07 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/37" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/37" ); 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/37"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/37"
)
attachment = res.json() Response
{
"id": 37,
"userId": 117,
"targetType": "comment",
"targetId": 1026,
"url": "https://picsum.photos/seed/attachment-37/400/600",
"mimeType": "image/png",
"sizeBytes": 9409851,
"createdAt": "2026-03-09T06:31:07.949Z"
}