Activity #259
User #6 attached image/png (33884328 bytes)
10/20/2025, 9:14:28 PM
Overview
attachments / #259
User #6 attached image/png (33884328 bytes)
10/20/2025, 9:14:28 PM
User #6 attached image/png (33884328 bytes)
10/20/2025, 9:14:28 PM
View recordUser #6 attached image/png (33884328 bytes) · 10/20/2025, 9:14:28 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/259" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/259" ); 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/259"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/259"
)
attachment = res.json() Response
{
"id": 259,
"userId": 6,
"targetType": "recipe",
"targetId": 33,
"url": "https://picsum.photos/seed/attachment-259/600/400",
"mimeType": "image/png",
"sizeBytes": 33884328,
"createdAt": "2025-10-20T21:14:28.087Z"
}