Activity #246
User #24 attached image/jpeg (20161472 bytes)
3/8/2026, 9:56:47 AM
Overview
attachments / #246
User #24 attached image/jpeg (20161472 bytes)
3/8/2026, 9:56:47 AM
User #24 attached image/jpeg (20161472 bytes)
3/8/2026, 9:56:47 AM
View recordUser #24 attached image/jpeg (20161472 bytes) · 3/8/2026, 9:56:47 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/246" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/246" ); 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/246"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/246"
)
attachment = res.json() Response
{
"id": 246,
"userId": 24,
"targetType": "recipe",
"targetId": 203,
"url": "https://picsum.photos/seed/attachment-246/1200/600",
"mimeType": "image/jpeg",
"sizeBytes": 20161472,
"createdAt": "2026-03-08T09:56:47.447Z"
}