Activity #646
User #217 attached image/jpeg (39601907 bytes)
11/26/2025, 3:47:04 AM
Overview
attachments / #646
User #217 attached image/jpeg (39601907 bytes)
11/26/2025, 3:47:04 AM
User #217 attached image/jpeg (39601907 bytes)
11/26/2025, 3:47:04 AM
View recordUser #217 attached image/jpeg (39601907 bytes) · 11/26/2025, 3:47:04 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/646" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/646" ); 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/646"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/646"
)
attachment = res.json() Response
{
"id": 646,
"userId": 217,
"targetType": "restaurant",
"targetId": 98,
"url": "https://picsum.photos/seed/attachment-646/1200/800",
"mimeType": "image/jpeg",
"sizeBytes": 39601907,
"createdAt": "2025-11-26T03:47:04.407Z"
}