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