Activity #637
User #238 attached application/pdf (27317999 bytes)
12/22/2025, 6:25:33 PM
Overview
attachments / #637
User #238 attached application/pdf (27317999 bytes)
12/22/2025, 6:25:33 PM
User #238 attached application/pdf (27317999 bytes)
12/22/2025, 6:25:33 PM
View recordUser #238 attached application/pdf (27317999 bytes) · 12/22/2025, 6:25:33 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/637" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/637" ); 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/637"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/637"
)
attachment = res.json() Response
{
"id": 637,
"userId": 238,
"targetType": "product",
"targetId": 96,
"url": "https://example.com/files/attachment-637.pdf",
"mimeType": "application/pdf",
"sizeBytes": 27317999,
"createdAt": "2025-12-22T18:25:33.189Z"
}