JOC API

Version 2.2.0

Download RAML
JOC API
/agents/cluster/store
POST

Stores Cluster Agents persistently


Parameters in the POST body schema

Name Type Description Example Default
controllerId required, string Controller ID myController
clusterAgents required, array[object] Collection of Agents
each Cluster Agent has the following fields
agentId required, integer The agentId is the (technical) name that is used in the Controller to identify an Agent. This value is set once and cannot be overwritten
agentName required, string The agentName is the (logical) name that is used for the configuration of a Job to identify an Agent
agentNameAliases optional, array[string] Aliases of the agentName
disabled optional, boolean A disabled Agent will not be offered in JOC Cockpit during the Job configuration false
subagents required, array[object] Collection of Subagents
each Subagent has the following fields where one of them has to be a primary director and another optionally a standby director
subagentId required, string The subagentId is the name that is used in the Controller to identify a Subagent. This value is set once and cannot be overwritten
url required, string URL of the Subagent
isDirector required, string Possible values are
  • NO_DIRECTOR
  • PRIMARY_DIRECTOR
  • SECONDARY_DIRECTOR
position required, integer It indicates the ordering in a passive cluster. The higher the position the lower the priority
auditLog optional, object Object that contains comment, timeSpent and ticketLink. {
"comment":"Operational requirement!",
"timeSpent":2
}
comment optional, string Field in auditLog to comment this action, e.g. the reason.
timeSpent optional, integer Field in auditLog to enter the time spent in minutes. 5
ticketLink optional, string Field in auditLog to enter a link to a corresponding ticket.