Activity #654
User #46 attached image/png (14491729 bytes)
5/10/2026, 9:26:37 AM
Overview
attachments / #654
User #46 attached image/png (14491729 bytes)
5/10/2026, 9:26:37 AM
User #46 attached image/png (14491729 bytes)
5/10/2026, 9:26:37 AM
View recordUser #46 attached image/png (14491729 bytes) · 5/10/2026, 9:26:37 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/654" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/654" ); 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/654"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/654"
)
attachment = res.json() Response
{
"id": 654,
"userId": 46,
"targetType": "product",
"targetId": 96,
"url": "https://picsum.photos/seed/attachment-654/600/300",
"mimeType": "image/png",
"sizeBytes": 14491729,
"createdAt": "2026-05-10T09:26:37.954Z"
}