Activity #274
User #84 attached image/png (18828425 bytes)
12/18/2025, 3:32:49 AM
Overview
attachments / #274
User #84 attached image/png (18828425 bytes)
12/18/2025, 3:32:49 AM
User #84 attached image/png (18828425 bytes)
12/18/2025, 3:32:49 AM
View recordUser #84 attached image/png (18828425 bytes) · 12/18/2025, 3:32:49 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/274" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/274" ); 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/274"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/274"
)
attachment = res.json() Response
{
"id": 274,
"userId": 84,
"targetType": "recipe",
"targetId": 156,
"url": "https://picsum.photos/seed/attachment-274/1200/800",
"mimeType": "image/png",
"sizeBytes": 18828425,
"createdAt": "2025-12-18T03:32:49.231Z"
}