Activity #608
User #179 attached image/png (8565060 bytes)
10/8/2025, 5:46:39 PM
Overview
attachments / #608
User #179 attached image/png (8565060 bytes)
10/8/2025, 5:46:39 PM
User #179 attached image/png (8565060 bytes)
10/8/2025, 5:46:39 PM
View recordUser #179 attached image/png (8565060 bytes) · 10/8/2025, 5:46:39 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/608" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/608" ); 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/608"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/608"
)
attachment = res.json() Response
{
"id": 608,
"userId": 179,
"targetType": "product",
"targetId": 83,
"url": "https://picsum.photos/seed/attachment-608/400/600",
"mimeType": "image/png",
"sizeBytes": 8565060,
"createdAt": "2025-10-08T17:46:39.456Z"
}