Files
bambuddy/icons/27ca5e207eb045a7949048ab41fda285.svg
T
maziggy 83cbac04b7 - Add interactive API Browser to Settings > API Keys
- New APIBrowser component with full OpenAPI schema integration
    - Fetches and parses /openapi.json automatically
    - Groups endpoints by API tags (printers, archives, settings, etc.)
    - Expandable endpoint sections with color-coded method badges
    - Path parameter, query parameter, and JSON body editors
    - Auto-populates request body with schema examples
    - Live API request execution with response display
    - Response shows status code, timing, and formatted JSON
    - Copy response button with clipboard fallback
    - Search to filter endpoints across all categories
    - Expand All / Collapse All buttons
    - Link to Swagger UI (/docs)

  - Two-column layout for API Keys tab
    - Left: API key management + webhook documentation
    - Right: API Browser with dedicated test key input

  - Parameter validation
    - Shows warning for missing required parameters
    - Validates before sending requests to avoid 422 errors

  - UX improvements
    - "Use in API Browser" button on newly created keys
    - Responsive layout (stacked on mobile, side-by-side on xl+)
2026-01-02 15:00:21 +01:00

2 lines
2.2 KiB
XML

<svg id="Capa_1" enable-background="new 0 0 512 512" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><g><path d="m280.199 256c0-36.303-29.535-65.838-65.838-65.838s-65.838 29.535-65.838 65.838 29.535 65.838 65.838 65.838 65.838-29.535 65.838-65.838zm-101.676 0c0-19.761 16.077-35.838 35.838-35.838s35.838 16.077 35.838 35.838-16.077 35.838-35.838 35.838-35.838-16.077-35.838-35.838z"/><path d="m292.904 192.457c3.839 0 7.678-1.464 10.606-4.394l20-20c5.858-5.858 5.858-15.355 0-21.213-5.857-5.858-15.355-5.858-21.213 0l-20 20c-5.858 5.858-5.858 15.355 0 21.213 2.929 2.93 6.768 4.394 10.607 4.394z"/><path d="m125.211 188.063c2.929 2.929 6.768 4.394 10.606 4.394s7.678-1.464 10.606-4.394c5.858-5.858 5.858-15.355 0-21.213l-20-20c-5.857-5.858-15.355-5.858-21.213 0s-5.858 15.355 0 21.213z"/><path d="m303.51 323.937c-5.857-5.858-15.355-5.858-21.213 0s-5.858 15.355 0 21.213l20 20c2.929 2.929 6.768 4.394 10.606 4.394s7.678-1.464 10.606-4.394c5.858-5.858 5.858-15.355 0-21.213z"/><path d="m125.211 323.937-20 20c-5.858 5.858-5.858 15.355 0 21.213 2.929 2.929 6.768 4.394 10.606 4.394s7.678-1.464 10.606-4.394l20-20c5.858-5.858 5.858-15.355 0-21.213-5.856-5.859-15.354-5.859-21.212 0z"/><path d="m310.438 256c0 8.284 6.716 15 15 15h28.284c8.284 0 15-6.716 15-15s-6.716-15-15-15h-28.284c-8.285 0-15 6.716-15 15z"/><path d="m214.361 159.923c8.284 0 15-6.716 15-15v-28.284c0-8.284-6.716-15-15-15s-15 6.716-15 15v28.284c0 8.285 6.716 15 15 15z"/><path d="m229.361 395.361v-28.284c0-8.284-6.716-15-15-15s-15 6.716-15 15v28.284c0 8.284 6.716 15 15 15s15-6.716 15-15z"/><path d="m118.284 256c0-8.284-6.716-15-15-15h-28.284c-8.284 0-15 6.716-15 15s6.716 15 15 15h28.284c8.284 0 15-6.716 15-15z"/><path d="m497 440.361h-173.11c15.138-9.029 29.259-19.997 42.047-32.785 40.487-40.487 62.785-94.318 62.785-151.576s-22.297-111.089-62.785-151.576-94.318-62.785-151.576-62.785-111.089 22.298-151.576 62.785-62.785 94.318-62.785 151.576 22.297 111.089 62.785 151.576 94.318 62.785 151.576 62.785h282.639c8.284 0 15-6.716 15-15s-6.716-15-15-15zm-467-184.361c0-101.657 82.704-184.361 184.361-184.361s184.361 82.704 184.361 184.361-82.704 184.361-184.361 184.361-184.361-82.704-184.361-184.361z"/></g><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/></svg>