Activity #73
User #156 attached image/webp (43309932 bytes)
7/1/2025, 1:50:45 PM
Overview
attachments / #73
User #156 attached image/webp (43309932 bytes)
7/1/2025, 1:50:45 PM
User #156 attached image/webp (43309932 bytes)
7/1/2025, 1:50:45 PM
View recordUser #156 attached image/webp (43309932 bytes) · 7/1/2025, 1:50:45 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/73" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/73" ); 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/73"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/73"
)
attachment = res.json() Response
{
"id": 73,
"userId": 156,
"targetType": "product",
"targetId": 150,
"url": "https://picsum.photos/seed/attachment-73/400/600",
"mimeType": "image/webp",
"sizeBytes": 43309932,
"createdAt": "2025-07-01T13:50:45.196Z"
}