Activity #652
User #71 attached image/png (32892729 bytes)
11/27/2025, 12:24:39 AM
Overview
attachments / #652
User #71 attached image/png (32892729 bytes)
11/27/2025, 12:24:39 AM
User #71 attached image/png (32892729 bytes)
11/27/2025, 12:24:39 AM
View recordUser #71 attached image/png (32892729 bytes) · 11/27/2025, 12:24:39 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/652" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/652" ); 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/652"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/652"
)
attachment = res.json() Response
{
"id": 652,
"userId": 71,
"targetType": "recipe",
"targetId": 31,
"url": "https://picsum.photos/seed/attachment-652/600/600",
"mimeType": "image/png",
"sizeBytes": 32892729,
"createdAt": "2025-11-27T00:24:39.977Z"
}