Activity #752
User #24 attached image/png (26547384 bytes)
8/16/2025, 12:52:00 AM
Overview
attachments / #752
User #24 attached image/png (26547384 bytes)
8/16/2025, 12:52:00 AM
User #24 attached image/png (26547384 bytes)
8/16/2025, 12:52:00 AM
View recordUser #24 attached image/png (26547384 bytes) · 8/16/2025, 12:52:00 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/752" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/752" ); 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/752"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/752"
)
attachment = res.json() Response
{
"id": 752,
"userId": 24,
"targetType": "comment",
"targetId": 125,
"url": "https://picsum.photos/seed/attachment-752/800/400",
"mimeType": "image/png",
"sizeBytes": 26547384,
"createdAt": "2025-08-16T00:52:00.740Z"
}