Activity #175
User #162 attached image/png (46660993 bytes)
8/22/2025, 12:11:29 PM
Overview
attachments / #175
User #162 attached image/png (46660993 bytes)
8/22/2025, 12:11:29 PM
User #162 attached image/png (46660993 bytes)
8/22/2025, 12:11:29 PM
View recordUser #162 attached image/png (46660993 bytes) · 8/22/2025, 12:11:29 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/175" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/175" ); 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/175"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/175"
)
attachment = res.json() Response
{
"id": 175,
"userId": 162,
"targetType": "product",
"targetId": 173,
"url": "https://picsum.photos/seed/attachment-175/400/600",
"mimeType": "image/png",
"sizeBytes": 46660993,
"createdAt": "2025-08-22T12:11:29.525Z"
}