Activity #218
User #157 attached image/webp (42581268 bytes)
1/12/2026, 9:16:34 PM
Overview
attachments / #218
User #157 attached image/webp (42581268 bytes)
1/12/2026, 9:16:34 PM
User #157 attached image/webp (42581268 bytes)
1/12/2026, 9:16:34 PM
View recordUser #157 attached image/webp (42581268 bytes) · 1/12/2026, 9:16:34 PM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/218" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/218" ); 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/218"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/218"
)
attachment = res.json() Response
{
"id": 218,
"userId": 157,
"targetType": "recipe",
"targetId": 102,
"url": "https://picsum.photos/seed/attachment-218/800/800",
"mimeType": "image/webp",
"sizeBytes": 42581268,
"createdAt": "2026-01-12T21:16:34.686Z"
}