Activity #795
User #90 attached image/png (24729234 bytes)
10/9/2025, 9:37:06 AM
Overview
attachments / #795
User #90 attached image/png (24729234 bytes)
10/9/2025, 9:37:06 AM
User #90 attached image/png (24729234 bytes)
10/9/2025, 9:37:06 AM
View recordUser #90 attached image/png (24729234 bytes) · 10/9/2025, 9:37:06 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/795" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/795" ); 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/795"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/795"
)
attachment = res.json() Response
{
"id": 795,
"userId": 90,
"targetType": "recipe",
"targetId": 9,
"url": "https://picsum.photos/seed/attachment-795/1200/600",
"mimeType": "image/png",
"sizeBytes": 24729234,
"createdAt": "2025-10-09T09:37:06.785Z"
}