Activity #536
User #154 attached image/jpeg (35115311 bytes)
8/26/2025, 2:57:03 AM
Overview
attachments / #536
User #154 attached image/jpeg (35115311 bytes)
8/26/2025, 2:57:03 AM
User #154 attached image/jpeg (35115311 bytes)
8/26/2025, 2:57:03 AM
View recordUser #154 attached image/jpeg (35115311 bytes) · 8/26/2025, 2:57:03 AM
Request
curl example
curl -sS \ "https://example-data.com/api/v1/attachments/536" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/attachments/536" ); 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/536"
);
const attachment = (await res.json()) as Attachment; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/attachments/536"
)
attachment = res.json() Response
{
"id": 536,
"userId": 154,
"targetType": "recipe",
"targetId": 154,
"url": "https://picsum.photos/seed/attachment-536/1200/800",
"mimeType": "image/jpeg",
"sizeBytes": 35115311,
"createdAt": "2025-08-26T02:57:03.100Z"
}