Activity #192
User #12 attached image/png (13635853 bytes)
11/30/2025, 5:56:39 PM
Overview
attachments / #192
User #12 attached image/png (13635853 bytes)
11/30/2025, 5:56:39 PM
User #12 attached image/png (13635853 bytes)
11/30/2025, 5:56:39 PM
View recordUser #12 attached image/png (13635853 bytes) · 11/30/2025, 5:56:39 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/192" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/192" ); 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/192"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/192"
)
attachment = res.json() Response
{
"id": 192,
"userId": 12,
"targetType": "comment",
"targetId": 886,
"url": "https://picsum.photos/seed/attachment-192/800/600",
"mimeType": "image/png",
"sizeBytes": 13635853,
"createdAt": "2025-11-30T17:56:39.220Z"
}