Activity #167
User #245 attached application/pdf (5230516 bytes)
1/12/2026, 3:02:52 AM
Overview
attachments / #167
User #245 attached application/pdf (5230516 bytes)
1/12/2026, 3:02:52 AM
User #245 attached application/pdf (5230516 bytes)
1/12/2026, 3:02:52 AM
View recordUser #245 attached application/pdf (5230516 bytes) · 1/12/2026, 3:02:52 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/167" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/167" ); 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/167"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/167"
)
attachment = res.json() Response
{
"id": 167,
"userId": 245,
"targetType": "product",
"targetId": 19,
"url": "https://example.com/files/attachment-167.pdf",
"mimeType": "application/pdf",
"sizeBytes": 5230516,
"createdAt": "2026-01-12T03:02:52.067Z"
}