Activity #727
User #72 attached image/png (15890478 bytes)
3/9/2026, 10:48:32 AM
Overview
attachments / #727
User #72 attached image/png (15890478 bytes)
3/9/2026, 10:48:32 AM
User #72 attached image/png (15890478 bytes)
3/9/2026, 10:48:32 AM
View recordUser #72 attached image/png (15890478 bytes) · 3/9/2026, 10:48:32 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/727" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/727" ); 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/727"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/727"
)
attachment = res.json() Response
{
"id": 727,
"userId": 72,
"targetType": "restaurant",
"targetId": 18,
"url": "https://picsum.photos/seed/attachment-727/400/800",
"mimeType": "image/png",
"sizeBytes": 15890478,
"createdAt": "2026-03-09T10:48:32.471Z"
}