Activity #541
User #19 attached video/mp4 (35028656 bytes)
6/19/2025, 5:33:24 AM
Overview
attachments / #541
User #19 attached video/mp4 (35028656 bytes)
6/19/2025, 5:33:24 AM
User #19 attached video/mp4 (35028656 bytes)
6/19/2025, 5:33:24 AM
View recordUser #19 attached video/mp4 (35028656 bytes) · 6/19/2025, 5:33:24 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/541" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/541" ); 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/541"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/541"
)
attachment = res.json() Response
{
"id": 541,
"userId": 19,
"targetType": "post",
"targetId": 219,
"url": "https://example.com/files/attachment-541.mp4",
"mimeType": "video/mp4",
"sizeBytes": 35028656,
"createdAt": "2025-06-19T05:33:24.193Z"
}