Activity #197
User #125 attached application/pdf (41897372 bytes)
11/11/2025, 5:48:47 PM
Overview
attachments / #197
User #125 attached application/pdf (41897372 bytes)
11/11/2025, 5:48:47 PM
User #125 attached application/pdf (41897372 bytes)
11/11/2025, 5:48:47 PM
View recordUser #125 attached application/pdf (41897372 bytes) · 11/11/2025, 5:48:47 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/197" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/197" ); 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/197"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/197"
)
attachment = res.json() Response
{
"id": 197,
"userId": 125,
"targetType": "recipe",
"targetId": 123,
"url": "https://example.com/files/attachment-197.pdf",
"mimeType": "application/pdf",
"sizeBytes": 41897372,
"createdAt": "2025-11-11T17:48:47.344Z"
}