jeus
v1.0.4
Published
Javascript jeusadmin json API package, Support Node.js
Downloads
11
Readme
jeus API for javascript
Javascript jeus API package, Support Node.js
Installation
npm install --save jeus
Getting Started
with Node.js
const jeus = require('jeus')
Authentication
basic auth
jeus API
- basic auth: jeusadmin id, password
jeus.admin.command(url: string, auth: object = {}, params: object = {})
execute jeus command
var url = 'http://localhost:9736/jsonCommand/command.json';
var auth = {
username : USERNAME,
password : PASSWORD
}
var params = {
"jeusadmin": {
"command": "server-info",
"options":[
"-server server1",
"-state"
],
"argument": null
}
};
jeus.admin.command(url, auth, params);
jeus.admin.api(url: string, auth: object = {}, params: object = {})
var url = 'http://localhost:9736/jsonCommand/command.json';
var auth = {
username : USERNAME,
password : PASSWORD
}
var params = {
"command": "server-info",
"options":[
"-server server1",
"-state"
],
"argument": null
}
jeus.admin.api(url, auth, params);
Details
https://technet.tmaxsoft.com/upload/download/online/jeus/pver-20170202-000001/reference-book/ch04.html#jeusadmin-json-support
License
Copyright 2018-2020. hkjang. All rights reserved.