Activity #386
User #161 attached image/jpeg (28529728 bytes)
2/2/2026, 2:12:50 AM
Overview
attachments / #386
User #161 attached image/jpeg (28529728 bytes)
2/2/2026, 2:12:50 AM
User #161 attached image/jpeg (28529728 bytes)
2/2/2026, 2:12:50 AM
View recordUser #161 attached image/jpeg (28529728 bytes) · 2/2/2026, 2:12:50 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/386" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/386" ); 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/386"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/386"
)
attachment = res.json() Response
{
"id": 386,
"userId": 161,
"targetType": "post",
"targetId": 463,
"url": "https://picsum.photos/seed/attachment-386/1200/800",
"mimeType": "image/jpeg",
"sizeBytes": 28529728,
"createdAt": "2026-02-02T02:12:50.129Z"
}