Activity #379
User #120 attached image/webp (7921144 bytes)
3/11/2026, 12:32:48 PM
Overview
attachments / #379
User #120 attached image/webp (7921144 bytes)
3/11/2026, 12:32:48 PM
User #120 attached image/webp (7921144 bytes)
3/11/2026, 12:32:48 PM
View recordUser #120 attached image/webp (7921144 bytes) · 3/11/2026, 12:32:48 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/379" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/379" ); 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/379"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/379"
)
attachment = res.json() Response
{
"id": 379,
"userId": 120,
"targetType": "comment",
"targetId": 515,
"url": "https://picsum.photos/seed/attachment-379/800/600",
"mimeType": "image/webp",
"sizeBytes": 7921144,
"createdAt": "2026-03-11T12:32:48.127Z"
}