Activity #661
User #51 attached image/webp (41967601 bytes)
7/16/2025, 6:34:20 AM
Overview
attachments / #661
User #51 attached image/webp (41967601 bytes)
7/16/2025, 6:34:20 AM
User #51 attached image/webp (41967601 bytes)
7/16/2025, 6:34:20 AM
View recordUser #51 attached image/webp (41967601 bytes) · 7/16/2025, 6:34:20 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/661" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/661" ); 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/661"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/661"
)
attachment = res.json() Response
{
"id": 661,
"userId": 51,
"targetType": "restaurant",
"targetId": 3,
"url": "https://picsum.photos/seed/attachment-661/1200/800",
"mimeType": "image/webp",
"sizeBytes": 41967601,
"createdAt": "2025-07-16T06:34:20.717Z"
}