Activity #514
User #118 attached image/jpeg (13967065 bytes)
8/8/2025, 2:18:02 AM
Overview
attachments / #514
User #118 attached image/jpeg (13967065 bytes)
8/8/2025, 2:18:02 AM
User #118 attached image/jpeg (13967065 bytes)
8/8/2025, 2:18:02 AM
View recordUser #118 attached image/jpeg (13967065 bytes) · 8/8/2025, 2:18:02 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/514" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/514" ); 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/514"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/514"
)
attachment = res.json() Response
{
"id": 514,
"userId": 118,
"targetType": "post",
"targetId": 88,
"url": "https://picsum.photos/seed/attachment-514/400/800",
"mimeType": "image/jpeg",
"sizeBytes": 13967065,
"createdAt": "2025-08-08T02:18:02.069Z"
}