Difference between revisions of "NetXMS WebAPI"

Jump to navigation Jump to search
153 bytes added ,  16:13, 13 September 2022
m
Text replacement - "^" to "{{deprecated}}"
m
m (Text replacement - "^" to "{{deprecated}}")
 
(2 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 11: Line 11:
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 package|lang=bash}}
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|NXServer=|lang=bash}} property.
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 ==

Navigation menu