Activity #383
User #69 attached image/webp (10167881 bytes)
6/12/2025, 8:15:11 PM
Overview
attachments / #383
User #69 attached image/webp (10167881 bytes)
6/12/2025, 8:15:11 PM
User #69 attached image/webp (10167881 bytes)
6/12/2025, 8:15:11 PM
View recordUser #69 attached image/webp (10167881 bytes) · 6/12/2025, 8:15:11 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/383" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/383" ); 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/383"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/383"
)
attachment = res.json() Response
{
"id": 383,
"userId": 69,
"targetType": "restaurant",
"targetId": 4,
"url": "https://picsum.photos/seed/attachment-383/800/600",
"mimeType": "image/webp",
"sizeBytes": 10167881,
"createdAt": "2025-06-12T20:15:11.911Z"
}