Activity #290
User #236 attached image/png (40040943 bytes)
8/14/2025, 5:32:37 PM
Overview
attachments / #290
User #236 attached image/png (40040943 bytes)
8/14/2025, 5:32:37 PM
User #236 attached image/png (40040943 bytes)
8/14/2025, 5:32:37 PM
View recordUser #236 attached image/png (40040943 bytes) · 8/14/2025, 5:32:37 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/290" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/290" ); 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/290"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/290"
)
attachment = res.json() Response
{
"id": 290,
"userId": 236,
"targetType": "post",
"targetId": 355,
"url": "https://picsum.photos/seed/attachment-290/800/300",
"mimeType": "image/png",
"sizeBytes": 40040943,
"createdAt": "2025-08-14T17:32:37.527Z"
}