Activity #147
User #95 attached application/pdf (21215192 bytes)
7/21/2025, 5:13:04 PM
Overview
attachments / #147
User #95 attached application/pdf (21215192 bytes)
7/21/2025, 5:13:04 PM
User #95 attached application/pdf (21215192 bytes)
7/21/2025, 5:13:04 PM
View recordUser #95 attached application/pdf (21215192 bytes) · 7/21/2025, 5:13:04 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/147" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/147" ); 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/147"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/147"
)
attachment = res.json() Response
{
"id": 147,
"userId": 95,
"targetType": "product",
"targetId": 28,
"url": "https://example.com/files/attachment-147.pdf",
"mimeType": "application/pdf",
"sizeBytes": 21215192,
"createdAt": "2025-07-21T17:13:04.513Z"
}