Activity #151
User #59 attached image/png (35027325 bytes)
2/22/2026, 3:22:54 PM
Overview
attachments / #151
User #59 attached image/png (35027325 bytes)
2/22/2026, 3:22:54 PM
User #59 attached image/png (35027325 bytes)
2/22/2026, 3:22:54 PM
View recordUser #59 attached image/png (35027325 bytes) · 2/22/2026, 3:22:54 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/151" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/151" ); 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/151"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/151"
)
attachment = res.json() Response
{
"id": 151,
"userId": 59,
"targetType": "post",
"targetId": 4,
"url": "https://picsum.photos/seed/attachment-151/1200/800",
"mimeType": "image/png",
"sizeBytes": 35027325,
"createdAt": "2026-02-22T15:22:54.403Z"
}