Activity #549
User #103 attached image/jpeg (13632181 bytes)
7/18/2025, 8:18:27 PM
Overview
attachments / #549
User #103 attached image/jpeg (13632181 bytes)
7/18/2025, 8:18:27 PM
User #103 attached image/jpeg (13632181 bytes)
7/18/2025, 8:18:27 PM
View recordUser #103 attached image/jpeg (13632181 bytes) · 7/18/2025, 8:18:27 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/549" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/549" ); 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/549"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/549"
)
attachment = res.json() Response
{
"id": 549,
"userId": 103,
"targetType": "comment",
"targetId": 737,
"url": "https://picsum.photos/seed/attachment-549/600/400",
"mimeType": "image/jpeg",
"sizeBytes": 13632181,
"createdAt": "2025-07-18T20:18:27.560Z"
}