Admin Configuration
Run a cache management action
Changed onRuns one cache action, the same set the Cache Management screen offers. Clear actions: clear-all, clear-config, clear-cache, clear-compiled, clear-events, clear-routes, clear-views. Build actions: build-all, build-config, build-routes, build-views. Any other value returns 422 with success: false; a command that fails also returns 422 with its output.
post/configuration/cache
Request
- Base URLhttp://localhost:8000/api/admin
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
The action ran.
Changes
- info
endpoint added
- info