Activity #613
User #87 attached image/jpeg (17317712 bytes)
10/20/2025, 10:00:16 AM
Overview
attachments / #613
User #87 attached image/jpeg (17317712 bytes)
10/20/2025, 10:00:16 AM
User #87 attached image/jpeg (17317712 bytes)
10/20/2025, 10:00:16 AM
View recordUser #87 attached image/jpeg (17317712 bytes) · 10/20/2025, 10:00:16 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/613" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/613" ); 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/613"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/613"
)
attachment = res.json() Response
{
"id": 613,
"userId": 87,
"targetType": "product",
"targetId": 22,
"url": "https://picsum.photos/seed/attachment-613/400/800",
"mimeType": "image/jpeg",
"sizeBytes": 17317712,
"createdAt": "2025-10-20T10:00:16.055Z"
}