Activity #199
User #126 attached image/webp (11551003 bytes)
1/11/2026, 11:34:18 PM
Overview
attachments / #199
User #126 attached image/webp (11551003 bytes)
1/11/2026, 11:34:18 PM
User #126 attached image/webp (11551003 bytes)
1/11/2026, 11:34:18 PM
View recordUser #126 attached image/webp (11551003 bytes) · 1/11/2026, 11:34:18 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/199" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/199" ); 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/199"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/199"
)
attachment = res.json() Response
{
"id": 199,
"userId": 126,
"targetType": "comment",
"targetId": 1202,
"url": "https://picsum.photos/seed/attachment-199/600/300",
"mimeType": "image/webp",
"sizeBytes": 11551003,
"createdAt": "2026-01-11T23:34:18.839Z"
}