Activity #131
User #204 attached application/pdf (23289438 bytes)
9/4/2025, 10:07:47 AM
Overview
attachments / #131
User #204 attached application/pdf (23289438 bytes)
9/4/2025, 10:07:47 AM
User #204 attached application/pdf (23289438 bytes)
9/4/2025, 10:07:47 AM
View recordUser #204 attached application/pdf (23289438 bytes) · 9/4/2025, 10:07:47 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/131" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/131" ); 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/131"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/131"
)
attachment = res.json() Response
{
"id": 131,
"userId": 204,
"targetType": "restaurant",
"targetId": 74,
"url": "https://example.com/files/attachment-131.pdf",
"mimeType": "application/pdf",
"sizeBytes": 23289438,
"createdAt": "2025-09-04T10:07:47.200Z"
}