Activity #307
User #112 attached image/jpeg (22467257 bytes)
10/29/2025, 5:13:03 AM
Overview
attachments / #307
User #112 attached image/jpeg (22467257 bytes)
10/29/2025, 5:13:03 AM
User #112 attached image/jpeg (22467257 bytes)
10/29/2025, 5:13:03 AM
View recordUser #112 attached image/jpeg (22467257 bytes) · 10/29/2025, 5:13:03 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/307" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/307" ); 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/307"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/307"
)
attachment = res.json() Response
{
"id": 307,
"userId": 112,
"targetType": "restaurant",
"targetId": 25,
"url": "https://picsum.photos/seed/attachment-307/800/400",
"mimeType": "image/jpeg",
"sizeBytes": 22467257,
"createdAt": "2025-10-29T05:13:03.379Z"
}