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