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