Activity #532
User #227 attached video/mp4 (24009262 bytes)
6/25/2025, 8:24:36 AM
Overview
attachments / #532
User #227 attached video/mp4 (24009262 bytes)
6/25/2025, 8:24:36 AM
User #227 attached video/mp4 (24009262 bytes)
6/25/2025, 8:24:36 AM
View recordUser #227 attached video/mp4 (24009262 bytes) · 6/25/2025, 8:24:36 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/532" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/532" ); 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/532"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/532"
)
attachment = res.json() Response
{
"id": 532,
"userId": 227,
"targetType": "comment",
"targetId": 416,
"url": "https://example.com/files/attachment-532.mp4",
"mimeType": "video/mp4",
"sizeBytes": 24009262,
"createdAt": "2025-06-25T08:24:36.524Z"
}