Activity #491
User #200 attached image/jpeg (6011077 bytes)
5/23/2025, 2:48:03 AM
Overview
attachments / #491
User #200 attached image/jpeg (6011077 bytes)
5/23/2025, 2:48:03 AM
User #200 attached image/jpeg (6011077 bytes)
5/23/2025, 2:48:03 AM
View recordUser #200 attached image/jpeg (6011077 bytes) · 5/23/2025, 2:48:03 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/491" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/491" ); 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/491"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/491"
)
attachment = res.json() Response
{
"id": 491,
"userId": 200,
"targetType": "restaurant",
"targetId": 68,
"url": "https://picsum.photos/seed/attachment-491/800/600",
"mimeType": "image/jpeg",
"sizeBytes": 6011077,
"createdAt": "2025-05-23T02:48:03.545Z"
}