Activity #723
User #68 attached image/png (9603061 bytes)
9/24/2025, 12:14:36 PM
Overview
attachments / #723
User #68 attached image/png (9603061 bytes)
9/24/2025, 12:14:36 PM
User #68 attached image/png (9603061 bytes)
9/24/2025, 12:14:36 PM
View recordUser #68 attached image/png (9603061 bytes) · 9/24/2025, 12:14:36 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/723" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/723" ); 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/723"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/723"
)
attachment = res.json() Response
{
"id": 723,
"userId": 68,
"targetType": "product",
"targetId": 60,
"url": "https://picsum.photos/seed/attachment-723/600/300",
"mimeType": "image/png",
"sizeBytes": 9603061,
"createdAt": "2025-09-24T12:14:36.293Z"
}