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