Current system configuration

Overview

Getting the active configuration and its parts.

Available only in the master domain.

Requests

HTTP verb Endpoint Description

GET

/rest/v1/master/currentconfiguration

Getting the active configuration

GET

/rest/v1/master/currentconfiguration/<part>

Getting a part of the active configuration

Getting the active configuration

The method returns the current (active) configuration.

Request

Example request
GET /rest/v1/master/currentconfiguration HTTP/1.1

Response

Example response
HTTP/1.1 200 OK

active configuration entity

Getting a part of the active configuration

The method returns a part of the active configuration or 404 if absent.

Request

Example request
GET /rest/v1/master/currentconfiguration/servers HTTP/1.1

Response

Example response
HTTP/1.1 200 OK

[
  {
    "descr": "Main server",
    "erlangtcp": 4369,
    "globalsharepath": "alias://paths/default_globalshare",
    "ifaces": [
      {
        "key": "eth0",
        "value": "127.0.0.1"
      }
    ],
    "localpath": "alias://paths/default_local",
    "logiface": "eth0",
    "name": "testserv",
    "recstorepaths": [
      {
        "key": "srvx_default_recpath",
        "value": "alias://paths/default_recpath"
      }
    ],
    "sitesharepath": "alias://paths/default_siteshare",
    "syncrootpath": "alias://paths/default_syncroot"
  }
]