Activity #340
User #67 attached image/jpeg (31017785 bytes)
12/2/2025, 5:08:00 AM
Overview
attachments / #340
User #67 attached image/jpeg (31017785 bytes)
12/2/2025, 5:08:00 AM
User #67 attached image/jpeg (31017785 bytes)
12/2/2025, 5:08:00 AM
View recordUser #67 attached image/jpeg (31017785 bytes) · 12/2/2025, 5:08:00 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/340" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/340" ); 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/340"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/340"
)
attachment = res.json() Response
{
"id": 340,
"userId": 67,
"targetType": "restaurant",
"targetId": 4,
"url": "https://picsum.photos/seed/attachment-340/600/400",
"mimeType": "image/jpeg",
"sizeBytes": 31017785,
"createdAt": "2025-12-02T05:08:00.955Z"
}