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