Activity #12
User #83 attached image/png (31793284 bytes)
1/18/2026, 5:50:06 AM
Overview
attachments / #12
User #83 attached image/png (31793284 bytes)
1/18/2026, 5:50:06 AM
User #83 attached image/png (31793284 bytes)
1/18/2026, 5:50:06 AM
View recordUser #83 attached image/png (31793284 bytes) · 1/18/2026, 5:50:06 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/12" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/12" ); 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/12"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/12"
)
attachment = res.json() Response
{
"id": 12,
"userId": 83,
"targetType": "recipe",
"targetId": 3,
"url": "https://picsum.photos/seed/attachment-12/800/300",
"mimeType": "image/png",
"sizeBytes": 31793284,
"createdAt": "2026-01-18T05:50:06.698Z"
}