Activity #118
User #37 attached application/pdf (30914525 bytes)
8/17/2025, 5:30:10 AM
Overview
attachments / #118
User #37 attached application/pdf (30914525 bytes)
8/17/2025, 5:30:10 AM
User #37 attached application/pdf (30914525 bytes)
8/17/2025, 5:30:10 AM
View recordUser #37 attached application/pdf (30914525 bytes) · 8/17/2025, 5:30:10 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/118" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/118" ); 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/118"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/118"
)
attachment = res.json() Response
{
"id": 118,
"userId": 37,
"targetType": "restaurant",
"targetId": 85,
"url": "https://example.com/files/attachment-118.pdf",
"mimeType": "application/pdf",
"sizeBytes": 30914525,
"createdAt": "2025-08-17T05:30:10.595Z"
}