Activity #229
User #63 attached image/png (12155484 bytes)
10/20/2025, 10:09:27 AM
Overview
attachments / #229
User #63 attached image/png (12155484 bytes)
10/20/2025, 10:09:27 AM
User #63 attached image/png (12155484 bytes)
10/20/2025, 10:09:27 AM
View recordUser #63 attached image/png (12155484 bytes) · 10/20/2025, 10:09:27 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/229" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/229" ); 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/229"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/229"
)
attachment = res.json() Response
{
"id": 229,
"userId": 63,
"targetType": "restaurant",
"targetId": 38,
"url": "https://picsum.photos/seed/attachment-229/400/600",
"mimeType": "image/png",
"sizeBytes": 12155484,
"createdAt": "2025-10-20T10:09:27.083Z"
}