Activity #9
User #18 attached image/webp (7656022 bytes)
5/18/2026, 9:41:29 PM
Overview
attachments / #9
User #18 attached image/webp (7656022 bytes)
5/18/2026, 9:41:29 PM
User #18 attached image/webp (7656022 bytes)
5/18/2026, 9:41:29 PM
View recordUser #18 attached image/webp (7656022 bytes) · 5/18/2026, 9:41:29 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/9" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/9" ); 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/9"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/9"
)
attachment = res.json() Response
{
"id": 9,
"userId": 18,
"targetType": "comment",
"targetId": 1373,
"url": "https://picsum.photos/seed/attachment-9/600/600",
"mimeType": "image/webp",
"sizeBytes": 7656022,
"createdAt": "2026-05-18T21:41:29.259Z"
}