Activity #44
User #226 attached video/mp4 (22097560 bytes)
5/30/2025, 1:28:14 PM
Overview
attachments / #44
User #226 attached video/mp4 (22097560 bytes)
5/30/2025, 1:28:14 PM
User #226 attached video/mp4 (22097560 bytes)
5/30/2025, 1:28:14 PM
View recordUser #226 attached video/mp4 (22097560 bytes) · 5/30/2025, 1:28:14 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/44" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/44" ); 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/44"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/44"
)
attachment = res.json() Response
{
"id": 44,
"userId": 226,
"targetType": "restaurant",
"targetId": 4,
"url": "https://example.com/files/attachment-44.mp4",
"mimeType": "video/mp4",
"sizeBytes": 22097560,
"createdAt": "2025-05-30T13:28:14.043Z"
}