Activity #322
User #2 attached image/webp (14228696 bytes)
12/7/2025, 12:21:20 AM
Overview
attachments / #322
User #2 attached image/webp (14228696 bytes)
12/7/2025, 12:21:20 AM
User #2 attached image/webp (14228696 bytes)
12/7/2025, 12:21:20 AM
View recordUser #2 attached image/webp (14228696 bytes) · 12/7/2025, 12:21:20 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/322" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/322" ); 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/322"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/322"
)
attachment = res.json() Response
{
"id": 322,
"userId": 2,
"targetType": "restaurant",
"targetId": 30,
"url": "https://picsum.photos/seed/attachment-322/400/600",
"mimeType": "image/webp",
"sizeBytes": 14228696,
"createdAt": "2025-12-07T00:21:20.248Z"
}