Activity #244
User #242 attached application/pdf (995920 bytes)
12/15/2025, 3:57:08 PM
Overview
attachments / #244
User #242 attached application/pdf (995920 bytes)
12/15/2025, 3:57:08 PM
User #242 attached application/pdf (995920 bytes)
12/15/2025, 3:57:08 PM
View recordUser #242 attached application/pdf (995920 bytes) · 12/15/2025, 3:57:08 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/244" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/244" ); 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/244"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/244"
)
attachment = res.json() Response
{
"id": 244,
"userId": 242,
"targetType": "restaurant",
"targetId": 52,
"url": "https://example.com/files/attachment-244.pdf",
"mimeType": "application/pdf",
"sizeBytes": 995920,
"createdAt": "2025-12-15T15:57:08.106Z"
}