Activity #575
User #25 attached image/png (9803442 bytes)
8/10/2025, 1:24:09 PM
Overview
attachments / #575
User #25 attached image/png (9803442 bytes)
8/10/2025, 1:24:09 PM
User #25 attached image/png (9803442 bytes)
8/10/2025, 1:24:09 PM
View recordUser #25 attached image/png (9803442 bytes) · 8/10/2025, 1:24:09 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/575" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/575" ); 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/575"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/575"
)
attachment = res.json() Response
{
"id": 575,
"userId": 25,
"targetType": "product",
"targetId": 78,
"url": "https://picsum.photos/seed/attachment-575/400/300",
"mimeType": "image/png",
"sizeBytes": 9803442,
"createdAt": "2025-08-10T13:24:09.687Z"
}