[PR #235] [CLOSED] feat: Add support and Spoolman endpoints to PUBLIC_API_ROUTES #963

Closed
opened 2026-05-06 12:34:13 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/maziggy/bambuddy/pull/235
Author: @deathly1987
Created: 2/2/2026
Status: Closed

Base: 0.1.7bHead: 0.1.7b


📝 Commits (1)

  • 24ee4ae feat: Add support and Spoolman endpoints to PUBLIC_API_ROUTES

📊 Changes

1 file changed (+14 additions, -0 deletions)

View changed files

📝 backend/app/main.py (+14 -0)

📄 Description

Description

Add missing support and Spoolman endpoints to PUBLIC_API_ROUTES to ensure they work correctly when authentication is enabled.

Fixes Spoolman integration failures with 401 Unauthorized errors
Fixes Support bundle download failures with 401 Unauthorized errors

Type of Change

  • New feature (non-breaking change that adds functionality)

Changes Made

  • Added /api/v1/support/* endpoints (bundle, debug-logging, logs) to PUBLIC_API_ROUTES
  • Added /api/v1/spoolman/* endpoints (status, connect, disconnect, sync, etc.) to PUBLIC_API_ROUTES
  • Added /api/v1/settings/spoolman endpoint to PUBLIC_API_ROUTES

These endpoints are:

  • Public when auth is disabled: Truly accessible without authentication
  • Protected when auth is enabled: JWT validation is enforced by middleware

Testing

  • Tested with authentication enabled
  • Spoolman connect/sync/status endpoints working with JWT token
  • Support bundle download working with JWT token

Checklist

  • My code follows the project's style
  • I have commented my code where necessary

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/maziggy/bambuddy/pull/235 **Author:** [@deathly1987](https://github.com/deathly1987) **Created:** 2/2/2026 **Status:** ❌ Closed **Base:** `0.1.7b` ← **Head:** `0.1.7b` --- ### 📝 Commits (1) - [`24ee4ae`](https://github.com/maziggy/bambuddy/commit/24ee4aee52f4c55ea65c0c16cc4bc658a925df08) feat: Add support and Spoolman endpoints to PUBLIC_API_ROUTES ### 📊 Changes **1 file changed** (+14 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `backend/app/main.py` (+14 -0) </details> ### 📄 Description ## Description Add missing support and Spoolman endpoints to PUBLIC_API_ROUTES to ensure they work correctly when authentication is enabled. ## Related Issue Fixes Spoolman integration failures with 401 Unauthorized errors Fixes Support bundle download failures with 401 Unauthorized errors ## Type of Change - [x] New feature (non-breaking change that adds functionality) ## Changes Made - Added `/api/v1/support/*` endpoints (bundle, debug-logging, logs) to PUBLIC_API_ROUTES - Added `/api/v1/spoolman/*` endpoints (status, connect, disconnect, sync, etc.) to PUBLIC_API_ROUTES - Added `/api/v1/settings/spoolman` endpoint to PUBLIC_API_ROUTES These endpoints are: - **Public when auth is disabled**: Truly accessible without authentication - **Protected when auth is enabled**: JWT validation is enforced by middleware ## Testing - [x] Tested with authentication enabled - [x] Spoolman connect/sync/status endpoints working with JWT token - [x] Support bundle download working with JWT token ## Checklist - [x] My code follows the project's style - [x] I have commented my code where necessary --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-06 12:34:13 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/bambuddy#963
No description provided.