Activity #302
User #179 attached image/jpeg (49217579 bytes)
2/1/2026, 12:36:02 AM
Overview
attachments / #302
User #179 attached image/jpeg (49217579 bytes)
2/1/2026, 12:36:02 AM
User #179 attached image/jpeg (49217579 bytes)
2/1/2026, 12:36:02 AM
View recordUser #179 attached image/jpeg (49217579 bytes) · 2/1/2026, 12:36:02 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/302" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/302" ); 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/302"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/302"
)
attachment = res.json() Response
{
"id": 302,
"userId": 179,
"targetType": "comment",
"targetId": 465,
"url": "https://picsum.photos/seed/attachment-302/1200/600",
"mimeType": "image/jpeg",
"sizeBytes": 49217579,
"createdAt": "2026-02-01T00:36:02.602Z"
}