Activity #58
User #170 attached application/pdf (7097046 bytes)
8/31/2025, 6:33:44 PM
Overview
attachments / #58
User #170 attached application/pdf (7097046 bytes)
8/31/2025, 6:33:44 PM
User #170 attached application/pdf (7097046 bytes)
8/31/2025, 6:33:44 PM
View recordUser #170 attached application/pdf (7097046 bytes) · 8/31/2025, 6:33:44 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/58" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/58" ); 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/58"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/58"
)
attachment = res.json() Response
{
"id": 58,
"userId": 170,
"targetType": "post",
"targetId": 35,
"url": "https://example.com/files/attachment-58.pdf",
"mimeType": "application/pdf",
"sizeBytes": 7097046,
"createdAt": "2025-08-31T18:33:44.064Z"
}