Activity #757
User #151 attached image/png (40222726 bytes)
12/8/2025, 5:29:56 AM
Overview
attachments / #757
User #151 attached image/png (40222726 bytes)
12/8/2025, 5:29:56 AM
User #151 attached image/png (40222726 bytes)
12/8/2025, 5:29:56 AM
View recordUser #151 attached image/png (40222726 bytes) · 12/8/2025, 5:29:56 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/757" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/757" ); 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/757"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/757"
)
attachment = res.json() Response
{
"id": 757,
"userId": 151,
"targetType": "restaurant",
"targetId": 50,
"url": "https://picsum.photos/seed/attachment-757/600/300",
"mimeType": "image/png",
"sizeBytes": 40222726,
"createdAt": "2025-12-08T05:29:56.133Z"
}