Activity #714
User #55 attached image/jpeg (7819259 bytes)
6/1/2025, 5:32:37 AM
Overview
attachments / #714
User #55 attached image/jpeg (7819259 bytes)
6/1/2025, 5:32:37 AM
User #55 attached image/jpeg (7819259 bytes)
6/1/2025, 5:32:37 AM
View recordUser #55 attached image/jpeg (7819259 bytes) · 6/1/2025, 5:32:37 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/714" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/714" ); 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/714"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/714"
)
attachment = res.json() Response
{
"id": 714,
"userId": 55,
"targetType": "restaurant",
"targetId": 86,
"url": "https://picsum.photos/seed/attachment-714/800/300",
"mimeType": "image/jpeg",
"sizeBytes": 7819259,
"createdAt": "2025-06-01T05:32:37.131Z"
}