diff options
| author | diogo464 <[email protected]> | 2025-08-11 16:16:01 +0100 |
|---|---|---|
| committer | diogo464 <[email protected]> | 2025-08-11 16:16:01 +0100 |
| commit | 68afafc281103c32b193d5f116d87f74187bdc63 (patch) | |
| tree | eb69225e0e9d0f9edc0475933669a1dee2a3eb31 /src | |
| parent | 8bba15d57502e97b1b96590bd21e0e8f541eaac5 (diff) | |
add delete api endpoint with authentication
- Added Drive_remove() function to drive_server.ts using fctdrive remove command
- Created /api/delete route with POST method, JSON body input, and authentication
- Added development mode AUTH header bypass for testing authenticated endpoints
- Updated CLAUDE.md with API testing instructions using AUTH: 1 header
- Endpoint validates user authentication and upload permissions before deletion
- Returns success response even for non-existent files (CLI ignores them)
🤖 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
