Activity #240
User #196 attached image/webp (29559454 bytes)
12/23/2025, 2:57:37 AM
Overview
attachments / #240
User #196 attached image/webp (29559454 bytes)
12/23/2025, 2:57:37 AM
User #196 attached image/webp (29559454 bytes)
12/23/2025, 2:57:37 AM
View recordUser #196 attached image/webp (29559454 bytes) · 12/23/2025, 2:57:37 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/240" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/240" ); 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/240"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/240"
)
attachment = res.json() Response
{
"id": 240,
"userId": 196,
"targetType": "recipe",
"targetId": 241,
"url": "https://picsum.photos/seed/attachment-240/1200/300",
"mimeType": "image/webp",
"sizeBytes": 29559454,
"createdAt": "2025-12-23T02:57:37.192Z"
}