Service Data Type

Service

Properties
name data type constraints description
name string   data service name
role string   data service role
datasources array of Datasource   datasource list in this service
error boolean required boolean error set to true in case of fetching services
errorText string   error text in case of an error

Example

{
  "name" : "west",
  "role" : "master",
  "datasources" : [ {
    "name" : "db1",
    "role" : "master"
  }, {
    "name" : "db2",
    "role" : "slave"
  } ],
  "error" : true,
  "errorText" : "..."
}