Activity #324
User #241 attached image/webp (32512788 bytes)
10/23/2025, 8:13:30 AM
Overview
attachments / #324
User #241 attached image/webp (32512788 bytes)
10/23/2025, 8:13:30 AM
User #241 attached image/webp (32512788 bytes)
10/23/2025, 8:13:30 AM
View recordUser #241 attached image/webp (32512788 bytes) · 10/23/2025, 8:13:30 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/324" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/324" ); 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/324"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/324"
)
attachment = res.json() Response
{
"id": 324,
"userId": 241,
"targetType": "recipe",
"targetId": 230,
"url": "https://picsum.photos/seed/attachment-324/400/600",
"mimeType": "image/webp",
"sizeBytes": 32512788,
"createdAt": "2025-10-23T08:13:30.058Z"
}