Activity #707
User #122 attached image/jpeg (38140396 bytes)
4/30/2026, 11:03:39 AM
Overview
attachments / #707
User #122 attached image/jpeg (38140396 bytes)
4/30/2026, 11:03:39 AM
User #122 attached image/jpeg (38140396 bytes)
4/30/2026, 11:03:39 AM
View recordUser #122 attached image/jpeg (38140396 bytes) · 4/30/2026, 11:03:39 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/707" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/707" ); 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/707"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/707"
)
attachment = res.json() Response
{
"id": 707,
"userId": 122,
"targetType": "restaurant",
"targetId": 28,
"url": "https://picsum.photos/seed/attachment-707/600/600",
"mimeType": "image/jpeg",
"sizeBytes": 38140396,
"createdAt": "2026-04-30T11:03:39.777Z"
}