Activity #720
User #203 attached image/jpeg (2150284 bytes)
9/11/2025, 2:12:04 AM
Overview
attachments / #720
User #203 attached image/jpeg (2150284 bytes)
9/11/2025, 2:12:04 AM
User #203 attached image/jpeg (2150284 bytes)
9/11/2025, 2:12:04 AM
View recordUser #203 attached image/jpeg (2150284 bytes) · 9/11/2025, 2:12:04 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/720" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/720" ); 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/720"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/720"
)
attachment = res.json() Response
{
"id": 720,
"userId": 203,
"targetType": "product",
"targetId": 196,
"url": "https://picsum.photos/seed/attachment-720/800/400",
"mimeType": "image/jpeg",
"sizeBytes": 2150284,
"createdAt": "2025-09-11T02:12:04.719Z"
}