Activity #598
User #170 attached image/png (40983028 bytes)
1/26/2026, 6:31:55 PM
Overview
attachments / #598
User #170 attached image/png (40983028 bytes)
1/26/2026, 6:31:55 PM
User #170 attached image/png (40983028 bytes)
1/26/2026, 6:31:55 PM
View recordUser #170 attached image/png (40983028 bytes) · 1/26/2026, 6:31:55 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/598" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/598" ); 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/598"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/598"
)
attachment = res.json() Response
{
"id": 598,
"userId": 170,
"targetType": "product",
"targetId": 19,
"url": "https://picsum.photos/seed/attachment-598/1200/600",
"mimeType": "image/png",
"sizeBytes": 40983028,
"createdAt": "2026-01-26T18:31:55.346Z"
}