Activity #688
User #238 attached image/png (773199 bytes)
7/19/2025, 2:04:46 PM
Overview
attachments / #688
User #238 attached image/png (773199 bytes)
7/19/2025, 2:04:46 PM
User #238 attached image/png (773199 bytes)
7/19/2025, 2:04:46 PM
View recordUser #238 attached image/png (773199 bytes) · 7/19/2025, 2:04:46 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/688" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/688" ); 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/688"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/688"
)
attachment = res.json() Response
{
"id": 688,
"userId": 238,
"targetType": "restaurant",
"targetId": 62,
"url": "https://picsum.photos/seed/attachment-688/400/800",
"mimeType": "image/png",
"sizeBytes": 773199,
"createdAt": "2025-07-19T14:04:46.995Z"
}