Activity #18
User #169 attached image/png (36529680 bytes)
10/21/2025, 9:23:10 AM
Overview
attachments / #18
User #169 attached image/png (36529680 bytes)
10/21/2025, 9:23:10 AM
User #169 attached image/png (36529680 bytes)
10/21/2025, 9:23:10 AM
View recordUser #169 attached image/png (36529680 bytes) · 10/21/2025, 9:23:10 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/18" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/18" ); 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/18"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/18"
)
attachment = res.json() Response
{
"id": 18,
"userId": 169,
"targetType": "product",
"targetId": 120,
"url": "https://picsum.photos/seed/attachment-18/800/800",
"mimeType": "image/png",
"sizeBytes": 36529680,
"createdAt": "2025-10-21T09:23:10.448Z"
}