/agent/subagents/store
POST
Stores Subagents to a Cluster Agent
Parameters in the POST body schema
Name | Type | Description | Example | Default |
---|---|---|---|---|
controllerId |
required, string | Controller ID | myController | |
agentId |
required, string | Agent ID | ||
subagents |
required, array[object] | Collection of Subagents each Subagent has the following fields |
||
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
|
||
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. |
Request