Activity #104
User #172 attached image/webp (13379137 bytes)
8/13/2025, 3:25:42 PM
Overview
attachments / #104
User #172 attached image/webp (13379137 bytes)
8/13/2025, 3:25:42 PM
User #172 attached image/webp (13379137 bytes)
8/13/2025, 3:25:42 PM
View recordUser #172 attached image/webp (13379137 bytes) · 8/13/2025, 3:25:42 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/104" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/104" ); 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/104"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/104"
)
attachment = res.json() Response
{
"id": 104,
"userId": 172,
"targetType": "product",
"targetId": 142,
"url": "https://picsum.photos/seed/attachment-104/1200/400",
"mimeType": "image/webp",
"sizeBytes": 13379137,
"createdAt": "2025-08-13T15:25:42.539Z"
}