Activity #702
User #165 attached image/png (30627619 bytes)
4/8/2026, 3:39:33 AM
Overview
attachments / #702
User #165 attached image/png (30627619 bytes)
4/8/2026, 3:39:33 AM
User #165 attached image/png (30627619 bytes)
4/8/2026, 3:39:33 AM
View recordUser #165 attached image/png (30627619 bytes) · 4/8/2026, 3:39:33 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/702" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/702" ); 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/702"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/702"
)
attachment = res.json() Response
{
"id": 702,
"userId": 165,
"targetType": "recipe",
"targetId": 261,
"url": "https://picsum.photos/seed/attachment-702/600/800",
"mimeType": "image/png",
"sizeBytes": 30627619,
"createdAt": "2026-04-08T03:39:33.354Z"
}