unraid-api
Unofficial API for Unraid
yarn add unraid-api
Init
unraid.setAuth'root:password'unraid.setHost'https://Tower.local'unraid.setSecurefalse // ignore ssl certificate
or provide UNRAID_AUTH
, UNRAID_HOST
, or UNRAID_SECURE
env vars.
Available methods
setAuthauth: stringsetHosthost: stringsetSecuresecure: booleanrenewCsrf getConfiggetMACgetDisks unlockArrayencryptionKey: stringstartArraystopArray getVMsgetVMuuid: stringstartVMuuid: stringstopVMuuid: string rebootpoweroff
License
GNU General Public License v3.0