Activity #280
User #222 attached image/png (16059781 bytes)
11/1/2025, 2:49:25 AM
Overview
attachments / #280
User #222 attached image/png (16059781 bytes)
11/1/2025, 2:49:25 AM
User #222 attached image/png (16059781 bytes)
11/1/2025, 2:49:25 AM
View recordUser #222 attached image/png (16059781 bytes) · 11/1/2025, 2:49:25 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/280" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/280" ); 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/280"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/280"
)
attachment = res.json() Response
{
"id": 280,
"userId": 222,
"targetType": "restaurant",
"targetId": 95,
"url": "https://picsum.photos/seed/attachment-280/800/800",
"mimeType": "image/png",
"sizeBytes": 16059781,
"createdAt": "2025-11-01T02:49:25.276Z"
}