Activity #83
User #58 attached image/png (10728570 bytes)
12/21/2025, 2:16:57 AM
Overview
attachments / #83
User #58 attached image/png (10728570 bytes)
12/21/2025, 2:16:57 AM
User #58 attached image/png (10728570 bytes)
12/21/2025, 2:16:57 AM
View recordUser #58 attached image/png (10728570 bytes) · 12/21/2025, 2:16:57 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/83" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/83" ); 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/83"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/83"
)
attachment = res.json() Response
{
"id": 83,
"userId": 58,
"targetType": "recipe",
"targetId": 254,
"url": "https://picsum.photos/seed/attachment-83/800/600",
"mimeType": "image/png",
"sizeBytes": 10728570,
"createdAt": "2025-12-21T02:16:57.552Z"
}