Activity #146
User #18 attached image/jpeg (32441522 bytes)
4/6/2026, 6:01:10 PM
Overview
attachments / #146
User #18 attached image/jpeg (32441522 bytes)
4/6/2026, 6:01:10 PM
User #18 attached image/jpeg (32441522 bytes)
4/6/2026, 6:01:10 PM
View recordUser #18 attached image/jpeg (32441522 bytes) · 4/6/2026, 6:01:10 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/146" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/146" ); 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/146"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/146"
)
attachment = res.json() Response
{
"id": 146,
"userId": 18,
"targetType": "post",
"targetId": 405,
"url": "https://picsum.photos/seed/attachment-146/600/400",
"mimeType": "image/jpeg",
"sizeBytes": 32441522,
"createdAt": "2026-04-06T18:01:10.133Z"
}