|
Make shared files and published content publicly accessible
Remove auth requirements from:
- GET /sessions/{id}/files/{filename} — direct download links (session ID
acts as unguessable capability token)
- GET /sessions/{id}/content — published inline content list
Both endpoints still verify session exists and protect against path
traversal. File upload and file listing remain auth-gated.
Update tests to match new signatures.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
|---|
|
|
| navi/api/routes/sessions.py |
|---|
| tests/unit/api/test_session_files.py |
|---|