Activity #54
User #41 attached image/png (45865208 bytes)
1/3/2026, 11:21:25 AM
Overview
attachments / #54
User #41 attached image/png (45865208 bytes)
1/3/2026, 11:21:25 AM
User #41 attached image/png (45865208 bytes)
1/3/2026, 11:21:25 AM
View recordUser #41 attached image/png (45865208 bytes) · 1/3/2026, 11:21:25 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/54" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/54" ); 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/54"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/54"
)
attachment = res.json() Response
{
"id": 54,
"userId": 41,
"targetType": "restaurant",
"targetId": 93,
"url": "https://picsum.photos/seed/attachment-54/600/800",
"mimeType": "image/png",
"sizeBytes": 45865208,
"createdAt": "2026-01-03T11:21:25.714Z"
}