{"name":"MariaDB Universal API","version":"2.0.0","description":"Dynamic REST API for accessing MariaDB databases with Yandex Object Storage","authentication":{"method":"Bearer Token","header":"Authorization: Bearer YOUR_TOKEN"},"endpoints":{"authentication":{"POST /api/authenticate":"Get access token"},"database_access":{"GET /api/databases":"List all accessible databases","GET /api/database/:dbname/tables":"List tables in database","GET /api/database/:dbname/table/:tablename":"Get table data with pagination","POST /api/query":"Execute custom SELECT query"},"storage":{"POST /api/storage/upload":"Upload a file","GET /api/storage/list":"List files","GET /api/storage/file/:id":"Get file by ID","DELETE /api/storage/delete/:id":"Delete a file"},"dynamic_crud":{"POST /api/:database/:table":"Create record in any table","GET /api/:database/:table":"Get records from any table","GET /api/:database/:table/:id":"Get single record","PUT /api/:database/:table/:id":"Update record","DELETE /api/:database/:table/:id":"Delete record"}},"examples":{"authenticate":"curl -X POST http://localhost:3005/api/authenticate -H \"Content-Type: application/json\" -d '{\"code\":\"qu9JKw7dOiOwWPwpkQ9hq6v5POBHOyMB\"}'","upload_file":"curl -X POST http://localhost:3005/api/storage/upload -H \"Authorization: Bearer qu9JKw7dOiOwWPwpkQ9hq6v5POBHOyMB\" -F \"file=@test.txt\" -F \"taskId=DEM-KL-001\"","list_files":"curl -H \"Authorization: Bearer qu9JKw7dOiOwWPwpkQ9hq6v5POBHOyMB\" \"http://localhost:3005/api/storage/list?taskId=DEM-KL-001\""}}