File tree Expand file tree Collapse file tree
truenas/webui/interfaces/api Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -881,6 +881,17 @@ export interface ApiCallDirectory {
881881 params : [ ServiceName , { silent : boolean } ] ;
882882 response : boolean ; // False indicates that service has been stopped.
883883 } ;
884+ 'service.reload' : {
885+ params : [
886+ service : string ,
887+ options ?: {
888+ ha_propagate ?: boolean ;
889+ silent ?: boolean ;
890+ timeout ?: number | null ;
891+ }
892+ ] ;
893+ response : boolean ;
894+ } ;
884895 'service.update' : { params : [ number | ServiceName , Partial < Service > ] ; response : number } ;
885896
886897 // Sharing
@@ -902,7 +913,20 @@ export interface ApiCallDirectory {
902913 response : null | { reason : string } ;
903914 } ;
904915 'sharing.smb.update' : { params : [ id : number , update : SmbShareUpdate ] ; response : SmbShare } ;
905- 'sharing.smb.sync_registry' : { params : [ ] }
916+ 'sharing.smb.sync_registry' : { params : [ ] ; response : void } ;
917+
918+ // Etc
919+ 'etc.generate' : {
920+ params : [
921+ name : string ,
922+ checkpoint ?: 'initial' | 'interface_sync' | 'post_init' | 'pool_import' | 'pre_interface_sync' | null
923+ ] ;
924+ response : Array < {
925+ path : string ;
926+ status : 'CHANGED' | 'REMOVED' ;
927+ changes : string [ ] ;
928+ } > ;
929+ } ;
906930
907931 // SMART
908932 'smart.config' : { params : void ; response : SmartConfig } ;
You can’t perform that action at this time.
0 commit comments