Activity #283
User #65 attached image/webp (21730194 bytes)
6/15/2025, 12:07:42 PM
Overview
attachments / #283
User #65 attached image/webp (21730194 bytes)
6/15/2025, 12:07:42 PM
User #65 attached image/webp (21730194 bytes)
6/15/2025, 12:07:42 PM
View recordUser #65 attached image/webp (21730194 bytes) · 6/15/2025, 12:07:42 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/283" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/283" ); 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/283"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/283"
)
attachment = res.json() Response
{
"id": 283,
"userId": 65,
"targetType": "product",
"targetId": 35,
"url": "https://picsum.photos/seed/attachment-283/1200/800",
"mimeType": "image/webp",
"sizeBytes": 21730194,
"createdAt": "2025-06-15T12:07:42.079Z"
}