Activity #268
User #233 attached application/pdf (25371071 bytes)
12/2/2025, 10:41:07 PM
Overview
attachments / #268
User #233 attached application/pdf (25371071 bytes)
12/2/2025, 10:41:07 PM
User #233 attached application/pdf (25371071 bytes)
12/2/2025, 10:41:07 PM
View recordUser #233 attached application/pdf (25371071 bytes) · 12/2/2025, 10:41:07 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/268" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/268" ); 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/268"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/268"
)
attachment = res.json() Response
{
"id": 268,
"userId": 233,
"targetType": "comment",
"targetId": 11,
"url": "https://example.com/files/attachment-268.pdf",
"mimeType": "application/pdf",
"sizeBytes": 25371071,
"createdAt": "2025-12-02T22:41:07.858Z"
}