Activity #346
User #249 attached image/webp (23317892 bytes)
3/21/2026, 7:11:31 AM
Overview
attachments / #346
User #249 attached image/webp (23317892 bytes)
3/21/2026, 7:11:31 AM
User #249 attached image/webp (23317892 bytes)
3/21/2026, 7:11:31 AM
View recordUser #249 attached image/webp (23317892 bytes) · 3/21/2026, 7:11:31 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/346" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/346" ); 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/346"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/346"
)
attachment = res.json() Response
{
"id": 346,
"userId": 249,
"targetType": "product",
"targetId": 138,
"url": "https://picsum.photos/seed/attachment-346/1200/300",
"mimeType": "image/webp",
"sizeBytes": 23317892,
"createdAt": "2026-03-21T07:11:31.202Z"
}