Activity #423
User #246 attached image/webp (29755163 bytes)
11/10/2025, 7:39:35 AM
Overview
attachments / #423
User #246 attached image/webp (29755163 bytes)
11/10/2025, 7:39:35 AM
User #246 attached image/webp (29755163 bytes)
11/10/2025, 7:39:35 AM
View recordUser #246 attached image/webp (29755163 bytes) · 11/10/2025, 7:39:35 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/423" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/423" ); 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/423"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/423"
)
attachment = res.json() Response
{
"id": 423,
"userId": 246,
"targetType": "post",
"targetId": 172,
"url": "https://picsum.photos/seed/attachment-423/800/800",
"mimeType": "image/webp",
"sizeBytes": 29755163,
"createdAt": "2025-11-10T07:39:35.980Z"
}