type: error post: description: |

<>

___

Parameters in the POST body schema

<>
NameTypeDescriptionExampleDefault
``controllerId``optional, stringController ID (can be empty if and only if a new Controller (Cluster) will be registered)scheduler
``controllers``required, arrayControllers of a cluster or one standalone Controller
each Controller has the following fields
``url``required, stringURL of the Controller instance
``clusterUrl``optional, stringOnly for a Cluster: A URL that the Controller instances use to connect to each other``url``
``role``required, stringRole (STANDALONE, PRIMARY or BACKUP) of the Controller
``title``optional, stringA title that is used when displaying the Controller in JOC Cockpit
``clusterWatcher``optional, objectAgent as Cluster Watcher with the following fields.
It is required for a Controller Cluster otherwise it will be ignored.
``agentId``required, stringThe ``agentId`` is the (technical) name that is used by the Controller to identify an Agent. This value is set once and cannot be changed
``agentName``required, stringThe ``agentName`` is the (logical) name that is used with the configuration of a Job to reference an Agent
``url``required, stringURL of the Agent
``asStandaloneAgent``optional, booleanA new Cluster Watch Agent will be registered per default as a Cluster Agent.
ATTENTION! If the Cluster Watch Agent is already registered then this parameter will be ignored.
false
``primaryDirectorId``optional, stringIf the Cluster Watch Agent is a Cluster Agent then this parameter specifies the ID of its primary director``agentId``
body: application/json: schema: jsRegister example: | { "controllers": [{ "url": "https://controller-2-0-primary:4443", "title": "PRIMARY", "role": "PRIMARY", "clusterUrl": "https://controller-2-0-primary:4443" }, { "url": "https://controller-2-0-secondary:4443", "role": "BACKUP", "clusterUrl": "https://controller-2-0-secondary:4443", "title": "SECONDARY" }], "controllerId": "testsuite", "clusterWatcher": { "agentId": "agent_primary", "agentName": "agent-primary", "url": "https://agent-2-0-primary:4443" } } responses: 200: description: | **Confirm <> successfully** body: application/json: example: | { "deliveryDate":"2016-05-05T21:13:35Z", "ok":true } schema: ok