A Node.js wrapper for the GleSYS API.
Note: Node 18.12.0 (LTS) or later is required.
npm install glesys-api
import GleSYSAPI from 'glesys-api';
const glesys = new GleSYSAPI({
apiKey: 'key',
apiUser: 'user',
});
try {
const { body } = await glesys.api.serviceInfo();
console.log(body);
} catch (e) {
console.error(e);
}
glesys.email.createAccount({
emailaccount: 'example@example.com',
password: 'password',
});
GleSYSAPI.archive.allowedArguments()
GleSYSAPI.archive.changeDescription()
GleSYSAPI.archive.changePassword()
GleSYSAPI.archive.create()
GleSYSAPI.archive.delete()
GleSYSAPI.archive.details()
GleSYSAPI.archive.list()
GleSYSAPI.archive.resize()
GleSYSAPI.customer.createProject()
GleSYSAPI.customer.editCollaborator()
GleSYSAPI.customer.listCollaborators()
GleSYSAPI.customer.listProjects()
GleSYSAPI.customer.removeCollaborator()
GleSYSAPI.customer.settings()
GleSYSAPI.domain.add()
GleSYSAPI.domain.addRecord()
GleSYSAPI.domain.allowedArguments()
GleSYSAPI.domain.available()
GleSYSAPI.domain.changeNameServers()
GleSYSAPI.domain.delete()
GleSYSAPI.domain.deleteRecord()
GleSYSAPI.domain.details()
GleSYSAPI.domain.edit()
GleSYSAPI.domain.export()
GleSYSAPI.domain.generateAuthCode()
GleSYSAPI.domain.list()
GleSYSAPI.domain.listRecords()
GleSYSAPI.domain.priceList()
GleSYSAPI.domain.register()
GleSYSAPI.domain.renew()
GleSYSAPI.domain.setAutoRenew()
GleSYSAPI.domain.transfer()
GleSYSAPI.domain.updateRecord()
GleSYSAPI.email.costs()
GleSYSAPI.email.createAccount()
GleSYSAPI.email.createAlias()
GleSYSAPI.email.delete()
GleSYSAPI.email.editAccount()
GleSYSAPI.email.editAlias()
GleSYSAPI.email.list()
GleSYSAPI.email.overview()
GleSYSAPI.email.quota()
GleSYSAPI.email.resetPassword()
GleSYSAPI.fileStorage.createVolume()
GleSYSAPI.fileStorage.deleteVolume()
GleSYSAPI.fileStorage.editVolume()
GleSYSAPI.fileStorage.listPlans()
GleSYSAPI.fileStorage.listVolumes()
GleSYSAPI.fileStorage.resourceUsage()
GleSYSAPI.fileStorage.volumeDetails()
GleSYSAPI.ip.add()
GleSYSAPI.ip.details()
GleSYSAPI.ip.estimatedCost()
GleSYSAPI.ip.listFree()
GleSYSAPI.ip.listOwn()
GleSYSAPI.ip.release()
GleSYSAPI.ip.remove()
GleSYSAPI.ip.resetPTR()
GleSYSAPI.ip.setPTR()
GleSYSAPI.ip.take()
GleSYSAPI.loadBalancer.addBackEnd()
GleSYSAPI.loadBalancer.addCertificate()
GleSYSAPI.loadBalancer.addFrontEnd()
GleSYSAPI.loadBalancer.addTarget()
GleSYSAPI.loadBalancer.addToBlocklist()
GleSYSAPI.loadBalancer.create()
GleSYSAPI.loadBalancer.destroy()
GleSYSAPI.loadBalancer.details()
GleSYSAPI.loadBalancer.disableTarget()
GleSYSAPI.loadBalancer.edit()
GleSYSAPI.loadBalancer.editBackEnd()
GleSYSAPI.loadBalancer.editFrontEnd()
GleSYSAPI.loadBalancer.editTarget()
GleSYSAPI.loadBalancer.enableTarget()
GleSYSAPI.loadBalancer.errors()
GleSYSAPI.loadBalancer.list()
GleSYSAPI.loadBalancer.listCertificate()
GleSYSAPI.loadBalancer.removeBackEnd()
GleSYSAPI.loadBalancer.removeCertificate()
GleSYSAPI.loadBalancer.removeFromBlocklist()
GleSYSAPI.loadBalancer.removeFrontEnd()
GleSYSAPI.loadBalancer.removeTarget()
GleSYSAPI.network.create()
GleSYSAPI.network.delete()
GleSYSAPI.network.details()
GleSYSAPI.network.edit()
GleSYSAPI.network.list()
GleSYSAPI.networkAdapter.create()
GleSYSAPI.networkAdapter.delete()
GleSYSAPI.networkAdapter.details()
GleSYSAPI.networkAdapter.edit()
GleSYSAPI.objectStorage.createCredential()
GleSYSAPI.objectStorage.createInstance()
GleSYSAPI.objectStorage.deleteCredential()
GleSYSAPI.objectStorage.deleteInstance()
GleSYSAPI.objectStorage.editInstance()
GleSYSAPI.objectStorage.estimatedCost()
GleSYSAPI.objectStorage.instanceDetails()
GleSYSAPI.objectStorage.listInstances()
GleSYSAPI.privateNetwork.create()
GleSYSAPI.privateNetwork.createSegment()
GleSYSAPI.privateNetwork.delete()
GleSYSAPI.privateNetwork.deleteSegment()
GleSYSAPI.privateNetwork.details()
GleSYSAPI.privateNetwork.edit()
GleSYSAPI.privateNetwork.editSegment()
GleSYSAPI.privateNetwork.estimatedCost()
GleSYSAPI.privateNetwork.list()
GleSYSAPI.privateNetwork.listSegments()
GleSYSAPI.server.allowedArguments()
GleSYSAPI.server.backup()
GleSYSAPI.server.clone()
GleSYSAPI.server.console()
GleSYSAPI.server.costs()
GleSYSAPI.server.create()
GleSYSAPI.server.createFromBackup()
GleSYSAPI.server.createManualBackup()
GleSYSAPI.server.deleteManualBackup()
GleSYSAPI.server.destroy()
GleSYSAPI.server.details()
GleSYSAPI.server.edit()
GleSYSAPI.server.estimatedBackupCost()
GleSYSAPI.server.estimatedCost()
GleSYSAPI.server.limits()
GleSYSAPI.server.list()
GleSYSAPI.server.listBackups()
GleSYSAPI.server.listISO()
GleSYSAPI.server.mountISO()
GleSYSAPI.server.networkAdapters()
GleSYSAPI.server.previewCloudConfig()
GleSYSAPI.server.reboot()
GleSYSAPI.server.reset()
GleSYSAPI.server.resetLimit()
GleSYSAPI.server.resetPassword()
GleSYSAPI.server.resourceUsage()
GleSYSAPI.server.start()
GleSYSAPI.server.status()
GleSYSAPI.server.stop()
GleSYSAPI.server.templates()
GleSYSAPI.serverDisk.create()
GleSYSAPI.serverDisk.delete()
GleSYSAPI.serverDisk.estimatedCost()
GleSYSAPI.serverDisk.limits()
GleSYSAPI.serverDisk.reconfigure()
GleSYSAPI.serverDisk.updateName()
GleSYSAPI.user.changePassword()
GleSYSAPI.user.confirm()
GleSYSAPI.user.createOrganization()
GleSYSAPI.user.details()
GleSYSAPI.user.disableTwoFactor()
GleSYSAPI.user.edit()
GleSYSAPI.user.enableTwoFactor()
GleSYSAPI.user.initiateSupportChallenge()
GleSYSAPI.user.listOrganizations()
GleSYSAPI.user.login()
GleSYSAPI.user.logout()
GleSYSAPI.user.searchData()
GleSYSAPI.user.signUp()
GleSYSAPI.user.supportChallenge()
GleSYSAPI.vpn.createUser()
GleSYSAPI.vpn.deleteUser()
GleSYSAPI.vpn.editUser()
GleSYSAPI.vpn.listUsers()
For more information about the GleSYS API, available arguments etc., please see the GleSYS API documentation.