Activity #319
User #132 attached application/pdf (8382259 bytes)
5/25/2025, 7:38:53 AM
Overview
attachments / #319
User #132 attached application/pdf (8382259 bytes)
5/25/2025, 7:38:53 AM
User #132 attached application/pdf (8382259 bytes)
5/25/2025, 7:38:53 AM
View recordUser #132 attached application/pdf (8382259 bytes) · 5/25/2025, 7:38:53 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/319" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/319" ); 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/319"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/319"
)
attachment = res.json() Response
{
"id": 319,
"userId": 132,
"targetType": "recipe",
"targetId": 33,
"url": "https://example.com/files/attachment-319.pdf",
"mimeType": "application/pdf",
"sizeBytes": 8382259,
"createdAt": "2025-05-25T07:38:53.272Z"
}