FLYWHEEL CloudVault API

v2.0 — Complete Reference · 14 Endpoints · Auto-generated from source

CloudVault

API Overview

Base URL: /api.php
Auth: None (all public)
Response: application/json
CORS: Origin: * (all)
Max Upload: 50 MB
Image Opt: Auto WebP + variants

Error Response Format

{ "success": false, "error": "Error message string" }
400 Bad request / validation error
401 Invalid credentials
403 Forbidden (e.g. delete root)
404 File or directory not found
405 Method not allowed
409 Conflict (name already exists)
500 Server error
System
Files & Folders
Upload
Advanced Operations
Architecture
LayerPathPurpose
Routerapi.phpSingle entry point, routes ?action= to controllers
Configconfig/config.phpConstants, CORS, directory bootstrap
Corecore/*.phpresponse, security (safePath), utils, filesystem helpers
Servicesservices/*.phpBusiness logic: upload, file, folder, search, thumbnail, image optimization
Controllerscontrollers/*.phpRequest handling: system, upload, file, folder