Activity #558
User #180 attached image/png (41562864 bytes)
4/27/2026, 1:24:44 AM
Overview
attachments / #558
User #180 attached image/png (41562864 bytes)
4/27/2026, 1:24:44 AM
User #180 attached image/png (41562864 bytes)
4/27/2026, 1:24:44 AM
View recordUser #180 attached image/png (41562864 bytes) · 4/27/2026, 1:24:44 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/558" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/558" ); 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/558"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/558"
)
attachment = res.json() Response
{
"id": 558,
"userId": 180,
"targetType": "restaurant",
"targetId": 34,
"url": "https://picsum.photos/seed/attachment-558/600/300",
"mimeType": "image/png",
"sizeBytes": 41562864,
"createdAt": "2026-04-27T01:24:44.977Z"
}