Activity #418
User #156 attached image/jpeg (30635190 bytes)
4/3/2026, 9:52:15 PM
Overview
attachments / #418
User #156 attached image/jpeg (30635190 bytes)
4/3/2026, 9:52:15 PM
User #156 attached image/jpeg (30635190 bytes)
4/3/2026, 9:52:15 PM
View recordUser #156 attached image/jpeg (30635190 bytes) · 4/3/2026, 9:52:15 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/418" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/418" ); 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/418"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/418"
)
attachment = res.json() Response
{
"id": 418,
"userId": 156,
"targetType": "post",
"targetId": 20,
"url": "https://picsum.photos/seed/attachment-418/400/400",
"mimeType": "image/jpeg",
"sizeBytes": 30635190,
"createdAt": "2026-04-03T21:52:15.033Z"
}