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