Activity #398
User #221 attached image/png (31929552 bytes)
2/12/2026, 7:47:24 PM
Overview
attachments / #398
User #221 attached image/png (31929552 bytes)
2/12/2026, 7:47:24 PM
User #221 attached image/png (31929552 bytes)
2/12/2026, 7:47:24 PM
View recordUser #221 attached image/png (31929552 bytes) · 2/12/2026, 7:47:24 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/398" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/398" ); 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/398"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/398"
)
attachment = res.json() Response
{
"id": 398,
"userId": 221,
"targetType": "restaurant",
"targetId": 12,
"url": "https://picsum.photos/seed/attachment-398/800/800",
"mimeType": "image/png",
"sizeBytes": 31929552,
"createdAt": "2026-02-12T19:47:24.297Z"
}