Activity #373
User #212 attached image/webp (24197624 bytes)
6/9/2025, 3:57:19 PM
Overview
attachments / #373
User #212 attached image/webp (24197624 bytes)
6/9/2025, 3:57:19 PM
User #212 attached image/webp (24197624 bytes)
6/9/2025, 3:57:19 PM
View recordUser #212 attached image/webp (24197624 bytes) · 6/9/2025, 3:57:19 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/373" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/373" ); 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/373"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/373"
)
attachment = res.json() Response
{
"id": 373,
"userId": 212,
"targetType": "product",
"targetId": 164,
"url": "https://picsum.photos/seed/attachment-373/400/600",
"mimeType": "image/webp",
"sizeBytes": 24197624,
"createdAt": "2025-06-09T15:57:19.100Z"
}