Activity #791
User #9 attached image/webp (25234637 bytes)
1/25/2026, 11:57:29 AM
Overview
attachments / #791
User #9 attached image/webp (25234637 bytes)
1/25/2026, 11:57:29 AM
User #9 attached image/webp (25234637 bytes)
1/25/2026, 11:57:29 AM
View recordUser #9 attached image/webp (25234637 bytes) · 1/25/2026, 11:57:29 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/791" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/791" ); 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/791"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/791"
)
attachment = res.json() Response
{
"id": 791,
"userId": 9,
"targetType": "comment",
"targetId": 676,
"url": "https://picsum.photos/seed/attachment-791/800/400",
"mimeType": "image/webp",
"sizeBytes": 25234637,
"createdAt": "2026-01-25T11:57:29.213Z"
}