Activity #621
User #194 attached image/jpeg (10856881 bytes)
11/12/2025, 7:47:47 PM
Overview
attachments / #621
User #194 attached image/jpeg (10856881 bytes)
11/12/2025, 7:47:47 PM
User #194 attached image/jpeg (10856881 bytes)
11/12/2025, 7:47:47 PM
View recordUser #194 attached image/jpeg (10856881 bytes) · 11/12/2025, 7:47:47 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/621" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/621" ); 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/621"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/621"
)
attachment = res.json() Response
{
"id": 621,
"userId": 194,
"targetType": "restaurant",
"targetId": 6,
"url": "https://picsum.photos/seed/attachment-621/800/300",
"mimeType": "image/jpeg",
"sizeBytes": 10856881,
"createdAt": "2025-11-12T19:47:47.052Z"
}