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