Activity #248
User #145 attached application/pdf (32637029 bytes)
3/4/2026, 5:39:01 AM
Overview
attachments / #248
User #145 attached application/pdf (32637029 bytes)
3/4/2026, 5:39:01 AM
User #145 attached application/pdf (32637029 bytes)
3/4/2026, 5:39:01 AM
View recordUser #145 attached application/pdf (32637029 bytes) · 3/4/2026, 5:39:01 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/248" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/248" ); 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/248"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/248"
)
attachment = res.json() Response
{
"id": 248,
"userId": 145,
"targetType": "post",
"targetId": 307,
"url": "https://example.com/files/attachment-248.pdf",
"mimeType": "application/pdf",
"sizeBytes": 32637029,
"createdAt": "2026-03-04T05:39:01.662Z"
}