Activity #320
User #58 attached image/webp (34497026 bytes)
12/23/2025, 4:22:06 PM
Overview
attachments / #320
User #58 attached image/webp (34497026 bytes)
12/23/2025, 4:22:06 PM
User #58 attached image/webp (34497026 bytes)
12/23/2025, 4:22:06 PM
View recordUser #58 attached image/webp (34497026 bytes) · 12/23/2025, 4:22:06 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/320" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/320" ); 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/320"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/320"
)
attachment = res.json() Response
{
"id": 320,
"userId": 58,
"targetType": "post",
"targetId": 495,
"url": "https://picsum.photos/seed/attachment-320/800/800",
"mimeType": "image/webp",
"sizeBytes": 34497026,
"createdAt": "2025-12-23T16:22:06.189Z"
}