Activity #359
User #106 attached image/webp (34089430 bytes)
6/7/2025, 10:19:50 AM
Overview
attachments / #359
User #106 attached image/webp (34089430 bytes)
6/7/2025, 10:19:50 AM
User #106 attached image/webp (34089430 bytes)
6/7/2025, 10:19:50 AM
View recordUser #106 attached image/webp (34089430 bytes) · 6/7/2025, 10:19:50 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/359" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/359" ); 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/359"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/359"
)
attachment = res.json() Response
{
"id": 359,
"userId": 106,
"targetType": "recipe",
"targetId": 204,
"url": "https://picsum.photos/seed/attachment-359/800/800",
"mimeType": "image/webp",
"sizeBytes": 34089430,
"createdAt": "2025-06-07T10:19:50.513Z"
}