Activity #384
User #204 attached image/webp (7677313 bytes)
4/3/2026, 1:18:26 PM
Overview
attachments / #384
User #204 attached image/webp (7677313 bytes)
4/3/2026, 1:18:26 PM
User #204 attached image/webp (7677313 bytes)
4/3/2026, 1:18:26 PM
View recordUser #204 attached image/webp (7677313 bytes) · 4/3/2026, 1:18:26 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/384" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/384" ); 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/384"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/384"
)
attachment = res.json() Response
{
"id": 384,
"userId": 204,
"targetType": "product",
"targetId": 129,
"url": "https://picsum.photos/seed/attachment-384/600/800",
"mimeType": "image/webp",
"sizeBytes": 7677313,
"createdAt": "2026-04-03T13:18:26.391Z"
}