Activity #295
User #231 attached image/jpeg (6653233 bytes)
1/26/2026, 11:46:59 AM
Overview
attachments / #295
User #231 attached image/jpeg (6653233 bytes)
1/26/2026, 11:46:59 AM
User #231 attached image/jpeg (6653233 bytes)
1/26/2026, 11:46:59 AM
View recordUser #231 attached image/jpeg (6653233 bytes) · 1/26/2026, 11:46:59 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/295" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/295" ); 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/295"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/295"
)
attachment = res.json() Response
{
"id": 295,
"userId": 231,
"targetType": "post",
"targetId": 423,
"url": "https://picsum.photos/seed/attachment-295/400/800",
"mimeType": "image/jpeg",
"sizeBytes": 6653233,
"createdAt": "2026-01-26T11:46:59.522Z"
}