Activity #721
User #14 attached image/jpeg (43548547 bytes)
7/30/2025, 6:58:51 AM
Overview
attachments / #721
User #14 attached image/jpeg (43548547 bytes)
7/30/2025, 6:58:51 AM
User #14 attached image/jpeg (43548547 bytes)
7/30/2025, 6:58:51 AM
View recordUser #14 attached image/jpeg (43548547 bytes) · 7/30/2025, 6:58:51 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/721" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/721" ); 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/721"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/721"
)
attachment = res.json() Response
{
"id": 721,
"userId": 14,
"targetType": "post",
"targetId": 102,
"url": "https://picsum.photos/seed/attachment-721/1200/400",
"mimeType": "image/jpeg",
"sizeBytes": 43548547,
"createdAt": "2025-07-30T06:58:51.462Z"
}