Activity #521
User #210 attached application/pdf (13348084 bytes)
11/29/2025, 11:10:16 AM
Overview
attachments / #521
User #210 attached application/pdf (13348084 bytes)
11/29/2025, 11:10:16 AM
User #210 attached application/pdf (13348084 bytes)
11/29/2025, 11:10:16 AM
View recordUser #210 attached application/pdf (13348084 bytes) · 11/29/2025, 11:10:16 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/521" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/521" ); 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/521"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/521"
)
attachment = res.json() Response
{
"id": 521,
"userId": 210,
"targetType": "recipe",
"targetId": 143,
"url": "https://example.com/files/attachment-521.pdf",
"mimeType": "application/pdf",
"sizeBytes": 13348084,
"createdAt": "2025-11-29T11:10:16.875Z"
}