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