Activity #389
User #157 attached application/pdf (43048978 bytes)
11/2/2025, 10:59:02 AM
Overview
attachments / #389
User #157 attached application/pdf (43048978 bytes)
11/2/2025, 10:59:02 AM
User #157 attached application/pdf (43048978 bytes)
11/2/2025, 10:59:02 AM
View recordUser #157 attached application/pdf (43048978 bytes) · 11/2/2025, 10:59:02 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/389" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/389" ); 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/389"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/389"
)
attachment = res.json() Response
{
"id": 389,
"userId": 157,
"targetType": "post",
"targetId": 191,
"url": "https://example.com/files/attachment-389.pdf",
"mimeType": "application/pdf",
"sizeBytes": 43048978,
"createdAt": "2025-11-02T10:59:02.495Z"
}