Activity #224
User #142 attached application/pdf (16663775 bytes)
9/14/2025, 11:11:35 PM
Overview
attachments / #224
User #142 attached application/pdf (16663775 bytes)
9/14/2025, 11:11:35 PM
User #142 attached application/pdf (16663775 bytes)
9/14/2025, 11:11:35 PM
View recordUser #142 attached application/pdf (16663775 bytes) · 9/14/2025, 11:11:35 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/224" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/224" ); 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/224"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/224"
)
attachment = res.json() Response
{
"id": 224,
"userId": 142,
"targetType": "recipe",
"targetId": 253,
"url": "https://example.com/files/attachment-224.pdf",
"mimeType": "application/pdf",
"sizeBytes": 16663775,
"createdAt": "2025-09-14T23:11:35.579Z"
}