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