Activity #258
User #33 attached image/jpeg (35362483 bytes)
10/31/2025, 10:31:30 PM
Overview
attachments / #258
User #33 attached image/jpeg (35362483 bytes)
10/31/2025, 10:31:30 PM
User #33 attached image/jpeg (35362483 bytes)
10/31/2025, 10:31:30 PM
View recordUser #33 attached image/jpeg (35362483 bytes) · 10/31/2025, 10:31:30 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/258" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/258" ); 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/258"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/258"
)
attachment = res.json() Response
{
"id": 258,
"userId": 33,
"targetType": "restaurant",
"targetId": 89,
"url": "https://picsum.photos/seed/attachment-258/600/400",
"mimeType": "image/jpeg",
"sizeBytes": 35362483,
"createdAt": "2025-10-31T22:31:30.595Z"
}