Activity #186
User #4 attached application/pdf (36258521 bytes)
12/20/2025, 7:21:06 PM
Overview
attachments / #186
User #4 attached application/pdf (36258521 bytes)
12/20/2025, 7:21:06 PM
User #4 attached application/pdf (36258521 bytes)
12/20/2025, 7:21:06 PM
View recordUser #4 attached application/pdf (36258521 bytes) · 12/20/2025, 7:21:06 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/186" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/186" ); 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/186"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/186"
)
attachment = res.json() Response
{
"id": 186,
"userId": 4,
"targetType": "restaurant",
"targetId": 98,
"url": "https://example.com/files/attachment-186.pdf",
"mimeType": "application/pdf",
"sizeBytes": 36258521,
"createdAt": "2025-12-20T19:21:06.254Z"
}