summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordiogo464 <[email protected]>2025-08-11 16:28:59 +0100
committerdiogo464 <[email protected]>2025-08-11 16:28:59 +0100
commit2e02765e4b79d0d145520f9005c75d382805dc2e (patch)
tree08e0279988c804ad9e4e9301a2e23648decf292d /src
parent68afafc281103c32b193d5f116d87f74187bdc63 (diff)
implement RESTful API and remove legacy endpoints
- Created unified /api/fs/[...path] endpoint with full REST methods: - GET: List directory contents or file info - POST: Create directories using Drive_mkdir() - PUT: Upload files with multipart form data - DELETE: Remove files/directories using Drive_remove() - Added /api/fs route for root directory listing - Added Drive_mkdir() function to drive_server.ts using fctdrive mkdir command - Removed legacy /api/delete and /api/upload endpoints - Updated CLAUDE.md with comprehensive API documentation and examples - All endpoints support authentication with AUTH: 1 header in development - Proper error handling, file size validation, and cache revalidation 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions