Activity #470
User #74 attached image/png (35593401 bytes)
4/21/2026, 3:39:24 AM
Overview
attachments / #470
User #74 attached image/png (35593401 bytes)
4/21/2026, 3:39:24 AM
User #74 attached image/png (35593401 bytes)
4/21/2026, 3:39:24 AM
View recordUser #74 attached image/png (35593401 bytes) · 4/21/2026, 3:39:24 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/470" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/470" ); 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/470"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/470"
)
attachment = res.json() Response
{
"id": 470,
"userId": 74,
"targetType": "post",
"targetId": 490,
"url": "https://picsum.photos/seed/attachment-470/600/600",
"mimeType": "image/png",
"sizeBytes": 35593401,
"createdAt": "2026-04-21T03:39:24.983Z"
}