Activity #447
User #86 attached image/png (704175 bytes)
7/17/2025, 1:23:06 PM
Overview
attachments / #447
User #86 attached image/png (704175 bytes)
7/17/2025, 1:23:06 PM
User #86 attached image/png (704175 bytes)
7/17/2025, 1:23:06 PM
View recordUser #86 attached image/png (704175 bytes) · 7/17/2025, 1:23:06 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/447" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/447" ); 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/447"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/447"
)
attachment = res.json() Response
{
"id": 447,
"userId": 86,
"targetType": "recipe",
"targetId": 237,
"url": "https://picsum.photos/seed/attachment-447/400/400",
"mimeType": "image/png",
"sizeBytes": 704175,
"createdAt": "2025-07-17T13:23:06.716Z"
}