Activity #495
User #150 attached image/png (20856430 bytes)
4/4/2026, 12:43:03 AM
Overview
attachments / #495
User #150 attached image/png (20856430 bytes)
4/4/2026, 12:43:03 AM
User #150 attached image/png (20856430 bytes)
4/4/2026, 12:43:03 AM
View recordUser #150 attached image/png (20856430 bytes) · 4/4/2026, 12:43:03 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/495" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/495" ); 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/495"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/495"
)
attachment = res.json() Response
{
"id": 495,
"userId": 150,
"targetType": "recipe",
"targetId": 191,
"url": "https://picsum.photos/seed/attachment-495/600/400",
"mimeType": "image/png",
"sizeBytes": 20856430,
"createdAt": "2026-04-04T00:43:03.360Z"
}