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