Activity #286
User #200 attached image/png (43944744 bytes)
8/27/2025, 4:58:48 PM
Overview
attachments / #286
User #200 attached image/png (43944744 bytes)
8/27/2025, 4:58:48 PM
User #200 attached image/png (43944744 bytes)
8/27/2025, 4:58:48 PM
View recordUser #200 attached image/png (43944744 bytes) · 8/27/2025, 4:58:48 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/286" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/286" ); 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/286"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/286"
)
attachment = res.json() Response
{
"id": 286,
"userId": 200,
"targetType": "restaurant",
"targetId": 26,
"url": "https://picsum.photos/seed/attachment-286/800/600",
"mimeType": "image/png",
"sizeBytes": 43944744,
"createdAt": "2025-08-27T16:58:48.279Z"
}