Activity #454
User #228 attached image/webp (1629380 bytes)
10/4/2025, 1:25:00 AM
Overview
attachments / #454
User #228 attached image/webp (1629380 bytes)
10/4/2025, 1:25:00 AM
User #228 attached image/webp (1629380 bytes)
10/4/2025, 1:25:00 AM
View recordUser #228 attached image/webp (1629380 bytes) · 10/4/2025, 1:25:00 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/454" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/454" ); 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/454"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/454"
)
attachment = res.json() Response
{
"id": 454,
"userId": 228,
"targetType": "product",
"targetId": 67,
"url": "https://picsum.photos/seed/attachment-454/800/600",
"mimeType": "image/webp",
"sizeBytes": 1629380,
"createdAt": "2025-10-04T01:25:00.755Z"
}