Activity #658
User #74 attached image/jpeg (48623615 bytes)
5/30/2025, 9:40:49 AM
Overview
attachments / #658
User #74 attached image/jpeg (48623615 bytes)
5/30/2025, 9:40:49 AM
User #74 attached image/jpeg (48623615 bytes)
5/30/2025, 9:40:49 AM
View recordUser #74 attached image/jpeg (48623615 bytes) · 5/30/2025, 9:40:49 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/658" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/658" ); 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/658"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/658"
)
attachment = res.json() Response
{
"id": 658,
"userId": 74,
"targetType": "restaurant",
"targetId": 1,
"url": "https://picsum.photos/seed/attachment-658/400/600",
"mimeType": "image/jpeg",
"sizeBytes": 48623615,
"createdAt": "2025-05-30T09:40:49.567Z"
}