Activity #325
User #142 attached application/pdf (40469882 bytes)
1/20/2026, 3:31:47 AM
Overview
attachments / #325
User #142 attached application/pdf (40469882 bytes)
1/20/2026, 3:31:47 AM
User #142 attached application/pdf (40469882 bytes)
1/20/2026, 3:31:47 AM
View recordUser #142 attached application/pdf (40469882 bytes) · 1/20/2026, 3:31:47 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/325" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/325" ); 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/325"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/325"
)
attachment = res.json() Response
{
"id": 325,
"userId": 142,
"targetType": "post",
"targetId": 388,
"url": "https://example.com/files/attachment-325.pdf",
"mimeType": "application/pdf",
"sizeBytes": 40469882,
"createdAt": "2026-01-20T03:31:47.062Z"
}