Activity #643
User #25 attached application/pdf (46962991 bytes)
3/29/2026, 1:27:49 AM
Overview
attachments / #643
User #25 attached application/pdf (46962991 bytes)
3/29/2026, 1:27:49 AM
User #25 attached application/pdf (46962991 bytes)
3/29/2026, 1:27:49 AM
View recordUser #25 attached application/pdf (46962991 bytes) · 3/29/2026, 1:27:49 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/643" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/643" ); 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/643"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/643"
)
attachment = res.json() Response
{
"id": 643,
"userId": 25,
"targetType": "restaurant",
"targetId": 14,
"url": "https://example.com/files/attachment-643.pdf",
"mimeType": "application/pdf",
"sizeBytes": 46962991,
"createdAt": "2026-03-29T01:27:49.495Z"
}