Activity #415
User #67 attached image/jpeg (20729834 bytes)
11/29/2025, 1:25:38 PM
Overview
attachments / #415
User #67 attached image/jpeg (20729834 bytes)
11/29/2025, 1:25:38 PM
User #67 attached image/jpeg (20729834 bytes)
11/29/2025, 1:25:38 PM
View recordUser #67 attached image/jpeg (20729834 bytes) · 11/29/2025, 1:25:38 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/415" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/415" ); 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/415"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/415"
)
attachment = res.json() Response
{
"id": 415,
"userId": 67,
"targetType": "comment",
"targetId": 1285,
"url": "https://picsum.photos/seed/attachment-415/1200/800",
"mimeType": "image/jpeg",
"sizeBytes": 20729834,
"createdAt": "2025-11-29T13:25:38.758Z"
}