Activity #92
User #148 attached image/jpeg (45225988 bytes)
9/8/2025, 5:28:47 PM
Overview
attachments / #92
User #148 attached image/jpeg (45225988 bytes)
9/8/2025, 5:28:47 PM
User #148 attached image/jpeg (45225988 bytes)
9/8/2025, 5:28:47 PM
View recordUser #148 attached image/jpeg (45225988 bytes) · 9/8/2025, 5:28:47 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/92" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/92" ); 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/92"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/92"
)
attachment = res.json() Response
{
"id": 92,
"userId": 148,
"targetType": "recipe",
"targetId": 42,
"url": "https://picsum.photos/seed/attachment-92/400/800",
"mimeType": "image/jpeg",
"sizeBytes": 45225988,
"createdAt": "2025-09-08T17:28:47.165Z"
}