Activity #704
User #122 attached image/jpeg (23016694 bytes)
1/22/2026, 5:53:34 AM
Overview
attachments / #704
User #122 attached image/jpeg (23016694 bytes)
1/22/2026, 5:53:34 AM
User #122 attached image/jpeg (23016694 bytes)
1/22/2026, 5:53:34 AM
View recordUser #122 attached image/jpeg (23016694 bytes) · 1/22/2026, 5:53:34 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/704" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/704" ); 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/704"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/704"
)
attachment = res.json() Response
{
"id": 704,
"userId": 122,
"targetType": "post",
"targetId": 420,
"url": "https://picsum.photos/seed/attachment-704/400/600",
"mimeType": "image/jpeg",
"sizeBytes": 23016694,
"createdAt": "2026-01-22T05:53:34.833Z"
}