Activity #331
User #216 attached application/pdf (14880109 bytes)
12/2/2025, 6:39:52 AM
Overview
attachments / #331
User #216 attached application/pdf (14880109 bytes)
12/2/2025, 6:39:52 AM
User #216 attached application/pdf (14880109 bytes)
12/2/2025, 6:39:52 AM
View recordUser #216 attached application/pdf (14880109 bytes) · 12/2/2025, 6:39:52 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/331" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/331" ); 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/331"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/331"
)
attachment = res.json() Response
{
"id": 331,
"userId": 216,
"targetType": "comment",
"targetId": 1287,
"url": "https://example.com/files/attachment-331.pdf",
"mimeType": "application/pdf",
"sizeBytes": 14880109,
"createdAt": "2025-12-02T06:39:52.841Z"
}