Activity #674
User #127 attached image/webp (18760670 bytes)
9/15/2025, 2:47:26 AM
Overview
attachments / #674
User #127 attached image/webp (18760670 bytes)
9/15/2025, 2:47:26 AM
User #127 attached image/webp (18760670 bytes)
9/15/2025, 2:47:26 AM
View recordUser #127 attached image/webp (18760670 bytes) · 9/15/2025, 2:47:26 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/674" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/674" ); 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/674"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/674"
)
attachment = res.json() Response
{
"id": 674,
"userId": 127,
"targetType": "restaurant",
"targetId": 48,
"url": "https://picsum.photos/seed/attachment-674/600/600",
"mimeType": "image/webp",
"sizeBytes": 18760670,
"createdAt": "2025-09-15T02:47:26.008Z"
}