Activity #556
User #247 attached video/mp4 (18772944 bytes)
6/30/2025, 8:40:55 PM
Overview
attachments / #556
User #247 attached video/mp4 (18772944 bytes)
6/30/2025, 8:40:55 PM
User #247 attached video/mp4 (18772944 bytes)
6/30/2025, 8:40:55 PM
View recordUser #247 attached video/mp4 (18772944 bytes) · 6/30/2025, 8:40:55 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/556" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/556" ); 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/556"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/556"
)
attachment = res.json() Response
{
"id": 556,
"userId": 247,
"targetType": "post",
"targetId": 333,
"url": "https://example.com/files/attachment-556.mp4",
"mimeType": "video/mp4",
"sizeBytes": 18772944,
"createdAt": "2025-06-30T20:40:55.922Z"
}