Activity #125
User #210 attached image/webp (30277497 bytes)
5/8/2026, 11:38:08 PM
Overview
attachments / #125
User #210 attached image/webp (30277497 bytes)
5/8/2026, 11:38:08 PM
User #210 attached image/webp (30277497 bytes)
5/8/2026, 11:38:08 PM
View recordUser #210 attached image/webp (30277497 bytes) · 5/8/2026, 11:38:08 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/125" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/125" ); 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/125"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/125"
)
attachment = res.json() Response
{
"id": 125,
"userId": 210,
"targetType": "recipe",
"targetId": 29,
"url": "https://picsum.photos/seed/attachment-125/1200/300",
"mimeType": "image/webp",
"sizeBytes": 30277497,
"createdAt": "2026-05-08T23:38:08.350Z"
}