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