Activity #128
User #147 attached image/jpeg (5389961 bytes)
2/28/2026, 6:45:40 PM
Overview
attachments / #128
User #147 attached image/jpeg (5389961 bytes)
2/28/2026, 6:45:40 PM
User #147 attached image/jpeg (5389961 bytes)
2/28/2026, 6:45:40 PM
View recordUser #147 attached image/jpeg (5389961 bytes) · 2/28/2026, 6:45:40 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/128" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/128" ); 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/128"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/128"
)
attachment = res.json() Response
{
"id": 128,
"userId": 147,
"targetType": "comment",
"targetId": 694,
"url": "https://picsum.photos/seed/attachment-128/800/800",
"mimeType": "image/jpeg",
"sizeBytes": 5389961,
"createdAt": "2026-02-28T18:45:40.286Z"
}