Link Search Menu Expand Document

Commander Config API

Jan 1 2022 at 12:00 AM

  1. APIs within the Commander Config API
    1. CommanderConfig
      1. API Calls

The Commander™ Config API service is used to manage the dashboard configuration settings e.g. Commander themes, live-stream and mapbox configuration.

APIs within the Commander Config API

CommanderConfig

API Calls

SubscribeToThemesChange

SIGNALR

Permission

ENTITIES_VIEWS_VIEW ; COMMANDERCONFIG_THEME_GET

Accessible

Tenant Only. See response and accessiblity information for more

URL

https://iotnxtinternal.commander.io/DAPI/v1/CommanderConfig/SubscribeToThemeChanges

URL Params

NONE

Data Params

NONE

Success Response

Response message with the following codes and JSON body formats. Refer to the API Response Types Success Response. See response and accessiblity information for more

Error Response

Response message with the following codes and HTMLs body formats. Refer to the API Response Types Error Response. See response and accessiblity information for more

Notes

The Subscribe and Unsubscribe calls cannot be used via REST. As they use SignalR context

UnSubscribeFromThemeChanges

SIGNALR

Permission

NONE

Accessible

Tenant Only. See response and accessiblity information for more

URL

https://iotnxtinternal.commander.io/DAPI/v1/CommanderConfig/UnSubscribeFromThemeChanges

URL Params

NONE

Data Params

NONE

Success Response

Response message with the following codes and JSON body formats. Refer to the API Response Types Success Response. See response and accessiblity information for more

Error Response

Response message with the following codes and HTMLs body formats. Refer to the API Response Types Error Response. See response and accessiblity information for more

Notes

The Subscribe and Unsubscribe calls cannot be used via REST. As they use SignalR context

GetActiveCommanderTheme

GET

Permission

ENTITIES_VIEWS_VIEW ; COMMANDERCONFIG_THEME_GET

Accessible

All

URL

https://iotnxtinternal.commander.io/DAPI/v1/CommanderConfig/GetActiveCommanderTheme

URL Params

NONE

Data Params

NONE

Success Response

Response message with the following codes and JSON body formats. Refer to the API Response Types Success Response. See response and accessiblity information for more

Error Response

Response message with the following codes and HTMLs body formats. Refer to the API Response Types Error Response. See response and accessiblity information for more

Notes

NONE

GetCommanderThemes

GET

Permission

ENTITIES_VIEWS_VIEW ; COMMANDERCONFIG_THEME_GET

Accessible

Tenant Only. See response and accessiblity information for more

URL

https://iotnxtinternal.commander.io/DAPI/v1/CommanderConfig/GetCommanderThemes

URL Params

NONE

Data Params

NONE

Success Response

Response message with the following codes and JSON body formats. Refer to the API Response Types Success Response. See response and accessiblity information for more

Error Response

Response message with the following codes and HTMLs body formats. Refer to the API Response Types Error Response. See response and accessiblity information for more

Notes

NONE

SetCommanderThemes

POST

Permission

ENTITIES_VIEWS_VIEW ; COMMANDERCONFIG_THEME_GET

Accessible

Tenant Only. See response and accessiblity information for more

URL

https://iotnxtinternal.commander.io/DAPI/v1/CommanderConfig/SetCommanderThemes

URL Params

NONE

Data Params

{
    “themes”: {
        “enabled”:”bool”,
        “activeThemeName”:”string”,
        “themes”:”Dictionary<string, CommanderTheme>”
    }
}

  • themes: CommanderThemes (required)

Success Response

Response message with the following codes and JSON body formats. Refer to the API Response Types Success Response. See response and accessiblity information for more

Error Response

Response message with the following codes and HTMLs body formats. Refer to the API Response Types Error Response. See response and accessiblity information for more

Notes

NONE

SetActiveCommanderTheme

POST

Permission

COMMANDERCONFIG_THEME_SET

Accessible

Tenant Only. See response and accessiblity information for more

URL

https://iotnxtinternal.commander.io/DAPI/v1/CommanderConfig/SetActiveCommanderTheme

URL Params

NONE

Data Params

{
  “themesName”: "string"
}

  • themeName: string (required)

Success Response

Response message with the following codes and JSON body formats. Refer to the API Response Types Success Response. See response and accessiblity information for more

Error Response

Response message with the following codes and HTMLs body formats. Refer to the API Response Types Error Response. See response and accessiblity information for more

Notes

NONE

GetLivestreamVideoConfig

GET

Permission

ENTITIES_VIEWS_VIEW ; COMMANDERCONFIG_LIVESTREAMVIDEO_GET

Accessible

Tenant Only. See response and accessiblity information for more

URL

https://iotnxtinternal.commander.io/DAPI/v1/CommanderConfig/GetLivestreamVideoConfig

URL Params

NONE

Data Params

NONE

Success Response

Response message with the following codes and JSON body formats. Refer to the API Response Types Success Response. See response and accessiblity information for more

Error Response

Response message with the following codes and HTMLs body formats. Refer to the API Response Types Error Response. See response and accessiblity information for more

Notes

NONE

SetLivestreamVideoConfig

POST

Permission

COMMANDERCONFIG_LIVESTREAMVIDEO_SET

Accessible

Tenant Only. See response and accessiblity information for more

URL

https://iotnxtinternal.commander.io/DAPI/v1/CommanderConfig/SetLivestreamVideoConfig

URL Params

NONE

Data Params

{
  “config”:{
    “AuthCode”:”string”,
    “StreamServerUrl”:”string”,
    “WebSocketServerUrl”:”string”
}

Success Response

Response message with the following codes and JSON body formats. Refer to the API Response Types Success Response. See response and accessiblity information for more

Error Response

Response message with the following codes and HTMLs body formats. Refer to the API Response Types Error Response. See response and accessiblity information for more

Notes

NONE

SubscribeToLivestreamVideoConfigChanges

SIGNALR

Permission

ENTITIES_VIEWS_VIEW ; COMMANDERCONFIG_LIVESTREAMVIDEO_GET

Accessible

Tenant Only. See response and accessiblity information for more

URL

https://iotnxtinternal.commander.io/DAPI/v1/CommanderConfig/SubscribeToLivestreamVideoConfigChanges

URL Params

NONE

Data Params

NONE

Success Response

Response message with the following codes and JSON body formats. Refer to the API Response Types Success Response. See response and accessiblity information for more

Error Response

Response message with the following codes and HTMLs body formats. Refer to the API Response Types Error Response. See response and accessiblity information for more

Notes

NONE

UnSubscribeFromLivestreamVideoConfigChanges

SIGNALR

Permission

NONE

Accessible

Tenant Only. See response and accessiblity information for more

URL

https://iotnxtinternal.commander.io/DAPI/v1/CommanderConfig/UnSubscribeFromLivestreamVideoConfigChanges

URL Params

NONE

Data Params

NONE

Success Response

Response message with the following codes and JSON body formats. Refer to the API Response Types Success Response. See response and accessiblity information for more

Error Response

Response message with the following codes and HTMLs body formats. Refer to the API Response Types Error Response. See response and accessiblity information for more

Notes

NONE

GetMapboxConfig

GET

Permission

ENTITIES_VIEWS_VIEW ; COMMANDERCONFIG_MAPBOX_GET

Accessible

Tenant Only. See response and accessiblity information for more

URL

https://iotnxtinternal.commander.io/DAPI/v1/CommanderConfig/GetMapboxConfig

URL Params

NONE

Data Params

NONE

Success Response

Response message with the following codes and JSON body formats. Refer to the API Response Types Success Response. See response and accessiblity information for more

Error Response

Response message with the following codes and HTMLs body formats. Refer to the API Response Types Error Response. See response and accessiblity information for more

Notes

NONE

SetMapboxConfig

POST

Permission

ENTITIES_VIEWS_VIEW ; COMMANDERCONFIG_MAPBOX_GET - VARIABLES NOT IN USE ; COMMANDERCONFIG_MAPBOX_SET

Accessible

Tenant Only. See response and accessiblity information for more

URL

https://iotnxtinternal.commander.io/DAPI/v1/CommanderConfig/SetMapboxConfig

URL Params

NONE

Data Params

{
  “config”: {
    “key”:”string”,
    “CustomStyle”:”string”
            }
}

Success Response

Response message with the following codes and JSON body formats. Refer to the API Response Types Success Response. See response and accessiblity information for more

Error Response

Response message with the following codes and HTMLs body formats. Refer to the API Response Types Error Response. See response and accessiblity information for more

Notes

NONE

SubscribeToMapboxConfigChanges

SIGNALR

Permission

ENTITIES_VIEWS_VIEW ; COMMANDERCONFIG_MAPBOX_GET

Accessible

Tenant Only. See response and accessiblity information for more

URL

https://iotnxtinternal.commander.io/DAPI/v1/CommanderConfig/SubscribeToMapboxConfigChanges

URL Params

NONE

Data Params

NONE

Success Response

Response message with the following codes and JSON body formats. Refer to the API Response Types Success Response. See response and accessiblity information for more

Error Response

Response message with the following codes and HTMLs body formats. Refer to the API Response Types Error Response. See response and accessiblity information for more

Notes

NONE

UnSubscribeFromMapboxConfigChanges

SIGNALR

Permission

NONE

Accessible

Tenant Only. See response and accessiblity information for more

URL

https://iotnxtinternal.commander.io/DAPI/v1/CommanderConfig/UnSubscribeFromMapboxConfigChanges

URL Params

NONE

Data Params

NONE

Success Response

Response message with the following codes and JSON body formats. Refer to the API Response Types Success Response. See response and accessiblity information for more

Error Response

Response message with the following codes and HTMLs body formats. Refer to the API Response Types Error Response. See response and accessiblity information for more

Notes

NONE

GetDynamicConfig

GET

Permission

COMMANDERCONFIG_DYNAMICCONFIG_GET

Accessible

Tenant Only. See response and accessiblity information for more

URL

https://iotnxtinternal.commander.io/DAPI/v1/CommanderConfig/GetDynamicConfig

URL Params

NONE

Data Params

NONE

Success Response

Response message with the following codes and JSON body formats. Refer to the API Response Types Success Response. See response and accessiblity information for more

Error Response

Response message with the following codes and HTMLs body formats. Refer to the API Response Types Error Response. See response and accessiblity information for more

Notes

NONE

SetDynamicConfig

POST

Permission

COMMANDERCONFIG_DYNAMICCONFIG_SET

Accessible

Tenant Only. See response and accessiblity information for more

URL

https://iotnxtinternal.commander.io/DAPI/v1/CommanderConfig/SetDynamicConfig

URL Params

NONE

Data Params

{
  “config”: {
    “TaggedEntitiesLimiter”:int,
    “MaxTileCountVariance”:int,
    “MaxViewTileCount”:int,
    “DataFilterPacketSize”:int
            }
}

Success Response

Response message with the following codes and JSON body formats. Refer to the API Response Types Success Response. See response and accessiblity information for more

Error Response

Response message with the following codes and HTMLs body formats. Refer to the API Response Types Error Response. See response and accessiblity information for more

Notes

NONE