Activity #631
User #31 attached image/png (277540 bytes)
9/7/2025, 9:46:48 AM
Overview
attachments / #631
User #31 attached image/png (277540 bytes)
9/7/2025, 9:46:48 AM
User #31 attached image/png (277540 bytes)
9/7/2025, 9:46:48 AM
View recordUser #31 attached image/png (277540 bytes) · 9/7/2025, 9:46:48 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/631" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/631" ); 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/631"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/631"
)
attachment = res.json() Response
{
"id": 631,
"userId": 31,
"targetType": "restaurant",
"targetId": 36,
"url": "https://picsum.photos/seed/attachment-631/600/800",
"mimeType": "image/png",
"sizeBytes": 277540,
"createdAt": "2025-09-07T09:46:48.598Z"
}