Current system configuration

Overview

Obtaining the active configuration and its parts.

Available in the master domain only.

Requests

HTTP verb Endpoint Description

GET

/rest/v1/master/currentconfiguration

Obtaining the active configuration

GET

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

Retrieving a partition from the active configuration

Obtaining the active configuration

The method returns the current (active) configuration

Request

Request example
GET /rest/v1/master/currentconfiguration HTTP/1.1

Response

Response example
HTTP/1.1 200 OK

active configuration entity

Retrieving a partition from the active configuration

The method returns the rzdel from the active configuration or 404 in case of absence.

Request

Request example
GET /rest/v1/master/currentconfiguration/servers HTTP/1.1

Response

Response example
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",
    "perfmon_tick": 0,
    "recstorepaths": [
      {
        "key": "srvx_default_recpath",
        "value": "alias://paths/default_recpath"
      }
    ],
    "sitesharepath": "alias://paths/default_siteshare",
    "syncrootpath": "alias://paths/default_syncroot"
  }
]