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