Activity #742
User #168 attached image/webp (10666917 bytes)
11/26/2025, 10:18:51 PM
Overview
attachments / #742
User #168 attached image/webp (10666917 bytes)
11/26/2025, 10:18:51 PM
User #168 attached image/webp (10666917 bytes)
11/26/2025, 10:18:51 PM
View recordUser #168 attached image/webp (10666917 bytes) · 11/26/2025, 10:18:51 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/742" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/742" ); 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/742"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/742"
)
attachment = res.json() Response
{
"id": 742,
"userId": 168,
"targetType": "restaurant",
"targetId": 37,
"url": "https://picsum.photos/seed/attachment-742/800/800",
"mimeType": "image/webp",
"sizeBytes": 10666917,
"createdAt": "2025-11-26T22:18:51.202Z"
}