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