Activity #506
User #221 attached application/pdf (31627007 bytes)
10/18/2025, 6:04:21 AM
Overview
attachments / #506
User #221 attached application/pdf (31627007 bytes)
10/18/2025, 6:04:21 AM
User #221 attached application/pdf (31627007 bytes)
10/18/2025, 6:04:21 AM
View recordUser #221 attached application/pdf (31627007 bytes) · 10/18/2025, 6:04:21 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/506" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/506" ); 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/506"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/506"
)
attachment = res.json() Response
{
"id": 506,
"userId": 221,
"targetType": "product",
"targetId": 108,
"url": "https://example.com/files/attachment-506.pdf",
"mimeType": "application/pdf",
"sizeBytes": 31627007,
"createdAt": "2025-10-18T06:04:21.883Z"
}