Activity #278
User #33 attached image/webp (26732108 bytes)
9/25/2025, 4:25:46 AM
Overview
attachments / #278
User #33 attached image/webp (26732108 bytes)
9/25/2025, 4:25:46 AM
User #33 attached image/webp (26732108 bytes)
9/25/2025, 4:25:46 AM
View recordUser #33 attached image/webp (26732108 bytes) · 9/25/2025, 4:25:46 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/278" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/278" ); 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/278"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/278"
)
attachment = res.json() Response
{
"id": 278,
"userId": 33,
"targetType": "comment",
"targetId": 1277,
"url": "https://picsum.photos/seed/attachment-278/600/600",
"mimeType": "image/webp",
"sizeBytes": 26732108,
"createdAt": "2025-09-25T04:25:46.195Z"
}