Activity #560
User #198 attached application/pdf (8948822 bytes)
10/21/2025, 4:15:14 PM
Overview
attachments / #560
User #198 attached application/pdf (8948822 bytes)
10/21/2025, 4:15:14 PM
User #198 attached application/pdf (8948822 bytes)
10/21/2025, 4:15:14 PM
View recordUser #198 attached application/pdf (8948822 bytes) · 10/21/2025, 4:15:14 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/560" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/560" ); 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/560"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/560"
)
attachment = res.json() Response
{
"id": 560,
"userId": 198,
"targetType": "post",
"targetId": 448,
"url": "https://example.com/files/attachment-560.pdf",
"mimeType": "application/pdf",
"sizeBytes": 8948822,
"createdAt": "2025-10-21T16:15:14.644Z"
}