Activity #143
User #173 attached application/pdf (29849400 bytes)
3/10/2026, 9:21:00 PM
Overview
attachments / #143
User #173 attached application/pdf (29849400 bytes)
3/10/2026, 9:21:00 PM
User #173 attached application/pdf (29849400 bytes)
3/10/2026, 9:21:00 PM
View recordUser #173 attached application/pdf (29849400 bytes) · 3/10/2026, 9:21:00 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/143" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/143" ); 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/143"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/143"
)
attachment = res.json() Response
{
"id": 143,
"userId": 173,
"targetType": "restaurant",
"targetId": 79,
"url": "https://example.com/files/attachment-143.pdf",
"mimeType": "application/pdf",
"sizeBytes": 29849400,
"createdAt": "2026-03-10T21:21:00.148Z"
}