Activity #412
User #150 attached application/pdf (38943699 bytes)
12/13/2025, 7:54:18 PM
Overview
attachments / #412
User #150 attached application/pdf (38943699 bytes)
12/13/2025, 7:54:18 PM
User #150 attached application/pdf (38943699 bytes)
12/13/2025, 7:54:18 PM
View recordUser #150 attached application/pdf (38943699 bytes) · 12/13/2025, 7:54:18 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/412" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/412" ); 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/412"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/412"
)
attachment = res.json() Response
{
"id": 412,
"userId": 150,
"targetType": "post",
"targetId": 257,
"url": "https://example.com/files/attachment-412.pdf",
"mimeType": "application/pdf",
"sizeBytes": 38943699,
"createdAt": "2025-12-13T19:54:18.131Z"
}