Activity #396
User #44 attached image/jpeg (708355 bytes)
10/17/2025, 5:35:23 PM
Overview
attachments / #396
User #44 attached image/jpeg (708355 bytes)
10/17/2025, 5:35:23 PM
User #44 attached image/jpeg (708355 bytes)
10/17/2025, 5:35:23 PM
View recordUser #44 attached image/jpeg (708355 bytes) · 10/17/2025, 5:35:23 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/396" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/396" ); 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/396"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/396"
)
attachment = res.json() Response
{
"id": 396,
"userId": 44,
"targetType": "restaurant",
"targetId": 95,
"url": "https://picsum.photos/seed/attachment-396/600/800",
"mimeType": "image/jpeg",
"sizeBytes": 708355,
"createdAt": "2025-10-17T17:35:23.618Z"
}