Activity #559
User #28 attached image/png (4216688 bytes)
12/8/2025, 3:46:59 AM
Overview
attachments / #559
User #28 attached image/png (4216688 bytes)
12/8/2025, 3:46:59 AM
User #28 attached image/png (4216688 bytes)
12/8/2025, 3:46:59 AM
View recordUser #28 attached image/png (4216688 bytes) · 12/8/2025, 3:46:59 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/559" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/559" ); 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/559"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/559"
)
attachment = res.json() Response
{
"id": 559,
"userId": 28,
"targetType": "post",
"targetId": 70,
"url": "https://picsum.photos/seed/attachment-559/600/600",
"mimeType": "image/png",
"sizeBytes": 4216688,
"createdAt": "2025-12-08T03:46:59.469Z"
}