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