Using the Nexfs Management API
A running Nexfs server can be managed using the integrated management api.
By default the integrated api can be accessed over port 9200 using the endpoint /nexfsconsoleapi, for example http://nexfshost:9200/nexfsconsoleapi
The Management Webconsole must be enabled to access the Management API. The Webconsole itself uses the Management API.
Additionally, the management API uses the same accounts as the webconsole, but the webconsole access role can be removed from any or all uses, allowing only the management API to be utilised.
The API is started by default, but can be disabled along with the Web Console with the MGMTWEBSERVERENABLED Nexfs configuration. The port that the webconsole and API listen on can be set using the MGMTWEBSERVERPORT configuration.
The default login and secret password to access the management api is:
Most configuration changed as well as Nexfs management can be made using the API, a small set of less used actions can only be performed using nexfscli (or the file based administration method).
Being integrated the API can only be used to configure and manage Nexfs if the Nexfs server is online, you will use nexfscli when Nexfs is offline.
Using the API
The API has very similar methods to Amazon AWS. Before any call can be made a temporary session management token must be created using the GetSessionToken method.
All API requests must be signed using AWS Version 4 style signatures, more information including a index of Nexfs API methods can be found here