Activity #500
User #48 attached image/jpeg (33766596 bytes)
10/5/2025, 1:10:15 PM
Overview
attachments / #500
User #48 attached image/jpeg (33766596 bytes)
10/5/2025, 1:10:15 PM
User #48 attached image/jpeg (33766596 bytes)
10/5/2025, 1:10:15 PM
View recordUser #48 attached image/jpeg (33766596 bytes) · 10/5/2025, 1:10:15 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/500" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/500" ); 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/500"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/500"
)
attachment = res.json() Response
{
"id": 500,
"userId": 48,
"targetType": "post",
"targetId": 460,
"url": "https://picsum.photos/seed/attachment-500/400/300",
"mimeType": "image/jpeg",
"sizeBytes": 33766596,
"createdAt": "2025-10-05T13:10:15.256Z"
}