@@ -264,6 +264,15 @@ <h6 class="card-title text-truncate mb-1" :title="api.path">{{ api.shortPath }}<
264264const { createApp, ref, reactive, computed, onMounted } = Vue ;
265265
266266const apiDef = [
267+ { method : 'POST' , path : '/runner' , tags : [ 'Runner' ] , summary : 'Run Config' , params : [ { name : 'domain' , required : true , schema : { type : 'string' } } , { name : 'sandbox' , required : false , schema : { type : 'integer' , enum : [ 0 , 1 ] } } ] , hasBody : true , bodyType : 'object' } ,
268+ { method : 'POST' , path : '/runner/cmd' , tags : [ 'Runner' ] , summary : 'Run Shell Cmd' , hasBody : false , params : [ { name : 'user' , required : true , schema : { type : 'string' } } , { name : 'cmd' , required : true , schema : { type : 'string' } } ] } ,
269+ { method : 'GET' , path : '/virtualmin/create-link' , tags : [ 'Virtualmin' ] , summary : 'Create Login Link' , params : [ { name : 'user' , required : true , schema : { type : 'string' } } ] } ,
270+ { method : 'GET' , path : '/virtualmin/list-domains' , tags : [ 'Virtualmin' ] , summary : 'List Specific Domains' , params : [ { name : 'domain' , required : true , schema : { type : 'string' } } ] } ,
271+ { method : 'GET' , path : '/virtualmin/list-subdomains' , tags : [ 'Virtualmin' ] , summary : 'List Subdomains' , params : [ { name : 'domain' , required : true , schema : { type : 'string' } } ] } ,
272+ { method : 'GET' , path : '/virtualmin/list-all-domains' , tags : [ 'Virtualmin' ] , summary : 'List All Domains' , params : [ ] } ,
273+ { method : 'GET' , path : '/virtualmin/list-bandwidth' , tags : [ 'Virtualmin' ] , summary : 'Bandwidth Info' , params : [ { name : 'domain' , required : true , schema : { type : 'string' } } ] } ,
274+ { method : 'GET' , path : '/virtualmin/list-databases' , tags : [ 'Virtualmin' ] , summary : 'List Databases' , params : [ { name : 'domain' , required : true , schema : { type : 'string' } } ] } ,
275+ { method : 'GET' , path : '/virtualmin/list-users' , tags : [ 'Virtualmin' ] , summary : 'List Users' , params : [ { name : 'domain' , required : true , schema : { type : 'string' } } ] } ,
267276 { method : 'GET' , path : '/logman/get' , tags : [ 'Logman' ] , summary : 'Get logs for user' , params : [ { name : 'dom' , required : true , schema : { type : 'string' } } , { name : 'user' , required : true , schema : { type : 'string' } } , { name : 'type' , required : true , schema : { type : 'string' , enum : [ 'access' , 'error' , 'php' , 'proxfix' , 'passenger' ] } } , { name : 'sub' , required : false , schema : { type : 'string' } } , { name : 'n' , required : false , schema : { type : 'integer' , default : 100 } } ] } ,
268277 { method : 'POST' , path : '/named/resync' , tags : [ 'Named' ] , summary : 'Resync zone' , params : [ { name : 'zone' , required : true , schema : { type : 'string' } } ] } ,
269278 { method : 'GET' , path : '/named/show' , tags : [ 'Named' ] , summary : 'Show zone' , params : [ { name : 'zone' , required : true , schema : { type : 'string' } } ] } ,
@@ -277,20 +286,11 @@ <h6 class="card-title text-truncate mb-1" :title="api.path">{{ api.shortPath }}<
277286 { method : 'GET' , path : '/redis/list' , tags : [ 'Redis' ] , summary : 'List Redis DBs' , params : [ { name : 'user' , required : true , schema : { type : 'string' } } ] } ,
278287 { method : 'POST' , path : '/redis/add' , tags : [ 'Redis' ] , summary : 'Add Redis DB' , params : [ { name : 'user' , required : true , schema : { type : 'string' } } , { name : 'name' , required : true , schema : { type : 'string' } } ] } ,
279288 { method : 'POST' , path : '/redis/del' , tags : [ 'Redis' ] , summary : 'Delete Redis DB' , params : [ { name : 'user' , required : true , schema : { type : 'string' } } , { name : 'name' , required : true , schema : { type : 'string' } } ] } ,
280- { method : 'POST' , path : '/runner' , tags : [ 'Runner' ] , summary : 'Run Config' , params : [ { name : 'domain' , required : true , schema : { type : 'string' } } , { name : 'sandbox' , required : false , schema : { type : 'integer' , enum : [ 0 , 1 ] } } ] , hasBody : true , bodyType : 'object' } ,
281- { method : 'POST' , path : '/runner/cmd' , tags : [ 'Runner' ] , summary : 'Run Shell Cmd' , hasBody : false , params : [ { name : 'user' , required : true , schema : { type : 'string' } } , { name : 'cmd' , required : true , schema : { type : 'string' } } ] } ,
282289 { method : 'GET' , path : '/status/about' , tags : [ 'Status' ] , summary : 'About Info' , params : [ ] } ,
283290 { method : 'GET' , path : '/status/ping' , tags : [ 'Status' ] , summary : 'Ping Daemon' , params : [ ] } ,
284291 { method : 'GET' , path : '/status/ip' , tags : [ 'Status' ] , summary : 'Get Requester IP' , params : [ ] } ,
285292 { method : 'GET' , path : '/status/check' , tags : [ 'Status' ] , summary : 'Check Status' , params : [ ] } ,
286293 { method : 'GET' , path : '/status/test' , tags : [ 'Status' ] , summary : 'Test Config' , params : [ ] } ,
287- { method : 'GET' , path : '/virtualmin/create-link' , tags : [ 'Virtualmin' ] , summary : 'Create Login Link' , params : [ { name : 'user' , required : true , schema : { type : 'string' } } ] } ,
288- { method : 'GET' , path : '/virtualmin/list-domains' , tags : [ 'Virtualmin' ] , summary : 'List Specific Domains' , params : [ { name : 'domain' , required : true , schema : { type : 'string' } } ] } ,
289- { method : 'GET' , path : '/virtualmin/list-subdomains' , tags : [ 'Virtualmin' ] , summary : 'List Subdomains' , params : [ { name : 'domain' , required : true , schema : { type : 'string' } } ] } ,
290- { method : 'GET' , path : '/virtualmin/list-all-domains' , tags : [ 'Virtualmin' ] , summary : 'List All Domains' , params : [ ] } ,
291- { method : 'GET' , path : '/virtualmin/list-bandwidth' , tags : [ 'Virtualmin' ] , summary : 'Bandwidth Info' , params : [ { name : 'domain' , required : true , schema : { type : 'string' } } ] } ,
292- { method : 'GET' , path : '/virtualmin/list-databases' , tags : [ 'Virtualmin' ] , summary : 'List Databases' , params : [ { name : 'domain' , required : true , schema : { type : 'string' } } ] } ,
293- { method : 'GET' , path : '/virtualmin/list-users' , tags : [ 'Virtualmin' ] , summary : 'List Users' , params : [ { name : 'domain' , required : true , schema : { type : 'string' } } ] } ,
294294] ;
295295
296296createApp ( {
0 commit comments