Activity #538
User #246 attached image/webp (18739612 bytes)
1/20/2026, 9:51:00 PM
Overview
attachments / #538
User #246 attached image/webp (18739612 bytes)
1/20/2026, 9:51:00 PM
User #246 attached image/webp (18739612 bytes)
1/20/2026, 9:51:00 PM
View recordUser #246 attached image/webp (18739612 bytes) · 1/20/2026, 9:51:00 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/538" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/538" ); 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/538"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/538"
)
attachment = res.json() Response
{
"id": 538,
"userId": 246,
"targetType": "post",
"targetId": 202,
"url": "https://picsum.photos/seed/attachment-538/800/300",
"mimeType": "image/webp",
"sizeBytes": 18739612,
"createdAt": "2026-01-20T21:51:00.323Z"
}