Activity #524
User #180 attached video/mp4 (23230120 bytes)
9/5/2025, 3:09:25 AM
Overview
attachments / #524
User #180 attached video/mp4 (23230120 bytes)
9/5/2025, 3:09:25 AM
User #180 attached video/mp4 (23230120 bytes)
9/5/2025, 3:09:25 AM
View recordUser #180 attached video/mp4 (23230120 bytes) · 9/5/2025, 3:09:25 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/524" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/524" ); 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/524"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/524"
)
attachment = res.json() Response
{
"id": 524,
"userId": 180,
"targetType": "comment",
"targetId": 128,
"url": "https://example.com/files/attachment-524.mp4",
"mimeType": "video/mp4",
"sizeBytes": 23230120,
"createdAt": "2025-09-05T03:09:25.051Z"
}