Activity #440
User #1 attached image/jpeg (43940689 bytes)
10/25/2025, 7:52:37 AM
Overview
attachments / #440
User #1 attached image/jpeg (43940689 bytes)
10/25/2025, 7:52:37 AM
User #1 attached image/jpeg (43940689 bytes)
10/25/2025, 7:52:37 AM
View recordUser #1 attached image/jpeg (43940689 bytes) · 10/25/2025, 7:52:37 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/440" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/440" ); 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/440"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/440"
)
attachment = res.json() Response
{
"id": 440,
"userId": 1,
"targetType": "product",
"targetId": 112,
"url": "https://picsum.photos/seed/attachment-440/600/300",
"mimeType": "image/jpeg",
"sizeBytes": 43940689,
"createdAt": "2025-10-25T07:52:37.770Z"
}