Activity #132
User #6 attached image/webp (24019339 bytes)
8/18/2025, 4:19:03 AM
Overview
attachments / #132
User #6 attached image/webp (24019339 bytes)
8/18/2025, 4:19:03 AM
User #6 attached image/webp (24019339 bytes)
8/18/2025, 4:19:03 AM
View recordUser #6 attached image/webp (24019339 bytes) · 8/18/2025, 4:19:03 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/132" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/132" ); 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/132"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/132"
)
attachment = res.json() Response
{
"id": 132,
"userId": 6,
"targetType": "restaurant",
"targetId": 48,
"url": "https://picsum.photos/seed/attachment-132/1200/800",
"mimeType": "image/webp",
"sizeBytes": 24019339,
"createdAt": "2025-08-18T04:19:03.882Z"
}