Activity #676
User #55 attached image/webp (16157730 bytes)
8/5/2025, 6:12:08 AM
Overview
attachments / #676
User #55 attached image/webp (16157730 bytes)
8/5/2025, 6:12:08 AM
User #55 attached image/webp (16157730 bytes)
8/5/2025, 6:12:08 AM
View recordUser #55 attached image/webp (16157730 bytes) · 8/5/2025, 6:12:08 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/676" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/676" ); 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/676"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/676"
)
attachment = res.json() Response
{
"id": 676,
"userId": 55,
"targetType": "comment",
"targetId": 1315,
"url": "https://picsum.photos/seed/attachment-676/800/400",
"mimeType": "image/webp",
"sizeBytes": 16157730,
"createdAt": "2025-08-05T06:12:08.760Z"
}