AutoPatrol, Bureaucrats, Administrators
481
edits
(Created page with "The NetXMS WebAPI is being developed to support larger integration possibilities for the NetXMS server and is based on the RESTful philosophy. The API currently supports Net...") |
m (Text replacement - "^" to "{{deprecated}}") |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
The NetXMS WebAPI is being developed to support larger integration possibilities for the NetXMS server and is based on the RESTful philosophy. The API currently supports [[NetXMS Grafana datasource setup|Grafana integration]] and external tool authentication which will be described shortly. The NetXMS WebAPI is currently in very early development! | {{deprecated}}The NetXMS WebAPI is being developed to support larger integration possibilities for the NetXMS server and is based on the RESTful philosophy. The API currently supports [[NetXMS Grafana datasource setup|Grafana integration]] and external tool authentication which will be described shortly. The NetXMS WebAPI is currently in very early development! | ||
== Requirements == | == Requirements == | ||
Line 10: | Line 10: | ||
1. Clone the NetXMS git repository to a folder on your computer. | 1. Clone the NetXMS git repository to a folder on your computer. | ||
2. Navigate to {{#tag:syntaxhighlight|NETXMS_GIT/src/server/nxapisrv/java|lang=bash}} | 2. Navigate to {{#tag:syntaxhighlight|NETXMS_GIT/src/server/nxapisrv/java|lang=bash}} | ||
3. Run {{#tag:syntaxhighlight|mvn | 3. Run {{#tag:syntaxhighlight|mvn package|lang=bash}} | ||
4. Copy the resulting .war file from {{#tag:syntaxhighlight|/targets/netxms-websvc-2.1-M3.war|lang=bash}} to your web server. | 4. Copy the resulting .war file from {{#tag:syntaxhighlight|/targets/netxms-websvc-2.1-M3.war|lang=bash}} to your web server.<br /> | ||
5. Create a {{#tag:syntaxhighlight|nxapisrv.properties|lang=bash}} file and place it in the property file location of your web server and specify the NetXMS Server address with the {{#tag:syntaxhighlight| | 5. Create a {{#tag:syntaxhighlight|nxapisrv.properties|lang=bash}} file and place it in the property file location of your web server and specify the NetXMS Server address with the {{#tag:syntaxhighlight|netxms.server.address=|lang=bash}} property. If server is running on non-standard port specify it with {{#tag:syntaxhighlight|netxms.server.port=|lang=bash}} property. | ||
== External tool authentication == | == External tool authentication == |