Activity #789
User #210 attached image/jpeg (23346226 bytes)
9/27/2025, 6:22:58 PM
Overview
attachments / #789
User #210 attached image/jpeg (23346226 bytes)
9/27/2025, 6:22:58 PM
User #210 attached image/jpeg (23346226 bytes)
9/27/2025, 6:22:58 PM
View recordUser #210 attached image/jpeg (23346226 bytes) · 9/27/2025, 6:22:58 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/789" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/789" ); 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/789"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/789"
)
attachment = res.json() Response
{
"id": 789,
"userId": 210,
"targetType": "recipe",
"targetId": 29,
"url": "https://picsum.photos/seed/attachment-789/400/400",
"mimeType": "image/jpeg",
"sizeBytes": 23346226,
"createdAt": "2025-09-27T18:22:58.829Z"
}