Activity #510
User #16 attached image/jpeg (47204335 bytes)
8/5/2025, 8:21:55 PM
Overview
attachments / #510
User #16 attached image/jpeg (47204335 bytes)
8/5/2025, 8:21:55 PM
User #16 attached image/jpeg (47204335 bytes)
8/5/2025, 8:21:55 PM
View recordUser #16 attached image/jpeg (47204335 bytes) · 8/5/2025, 8:21:55 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/510" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/510" ); 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/510"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/510"
)
attachment = res.json() Response
{
"id": 510,
"userId": 16,
"targetType": "restaurant",
"targetId": 77,
"url": "https://picsum.photos/seed/attachment-510/400/400",
"mimeType": "image/jpeg",
"sizeBytes": 47204335,
"createdAt": "2025-08-05T20:21:55.883Z"
}