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