Activity #790
User #218 attached image/webp (34216873 bytes)
12/25/2025, 11:08:25 PM
Overview
attachments / #790
User #218 attached image/webp (34216873 bytes)
12/25/2025, 11:08:25 PM
User #218 attached image/webp (34216873 bytes)
12/25/2025, 11:08:25 PM
View recordUser #218 attached image/webp (34216873 bytes) · 12/25/2025, 11:08:25 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/790" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/790" ); 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/790"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/790"
)
attachment = res.json() Response
{
"id": 790,
"userId": 218,
"targetType": "product",
"targetId": 69,
"url": "https://picsum.photos/seed/attachment-790/400/600",
"mimeType": "image/webp",
"sizeBytes": 34216873,
"createdAt": "2025-12-25T23:08:25.206Z"
}