Activity #222
User #124 attached application/pdf (16980815 bytes)
10/10/2025, 12:24:09 PM
Overview
attachments / #222
User #124 attached application/pdf (16980815 bytes)
10/10/2025, 12:24:09 PM
User #124 attached application/pdf (16980815 bytes)
10/10/2025, 12:24:09 PM
View recordUser #124 attached application/pdf (16980815 bytes) · 10/10/2025, 12:24:09 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/222" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/222" ); 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/222"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/222"
)
attachment = res.json() Response
{
"id": 222,
"userId": 124,
"targetType": "post",
"targetId": 316,
"url": "https://example.com/files/attachment-222.pdf",
"mimeType": "application/pdf",
"sizeBytes": 16980815,
"createdAt": "2025-10-10T12:24:09.324Z"
}