feat(api): remove redundant /env and /api/diagnostic/settings endpoints
- Remove `/api/diagnostic/settings` endpoint (superseded by `/api/settings/`) - Remove `/env` view route (superseded by `/settings` admin page) - Delete `env_debug.html` template - Remove `/env` nav links from base.html (desktop + mobile) - Update status_dashboard.html to link to /settings instead of /env - Remove corresponding tests for deleted endpoints - Update RateLimitingStrategy.md docs Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
@@ -60,7 +60,6 @@ All API endpoints are protected with a default rate limit unless explicitly exem
|
||||
- `GET /api/files/{file_id}/metadata` - Get file metadata
|
||||
- `GET /api/files/{file_id}/preview` - Get file preview
|
||||
- `GET /api/files/{file_id}/download` - Download file
|
||||
- `GET /api/diagnostic/settings` - Get settings
|
||||
- `GET /api/logs` - Get logs
|
||||
|
||||
**Rationale**: Read-only operations are less resource-intensive but still need protection against scraping and excessive polling. The default limit of 100 requests per minute allows legitimate applications while preventing abuse.
|
||||
|
||||
Reference in New Issue
Block a user