async fn list_scripts(__arg0: State<Arc<SharedState>>) -> impl IntoResponseExpand description
GET /api/scripts — lists scripted-plugin files found in the plugins/
directory next to the config directory (currently .lua only).
A missing or unreadable directory yields an empty list rather than an error.
{ "scripts": [ { "name": "my_filter", "file": "plugins/my_filter.lua", "runtime": "lua" } ] }