PoolCapability
A Pool-Capability assigns Capabilities to a Pool to define which actions can be scheduled using this pool. A config for the whole pool can be defined here.
Properties
Property | Possible Values | Example | Description |
---|---|---|---|
id | string | 0B | External ID of the PoolCapability. |
capability | see Capability | The Capability that is assigned to the superordinated Device by this PoolCapability. | |
config | string (JSON) |
CODE
| The values for the properties defined in the Capabilities. |
poolId | string | MX | The ID of the pool referenced by this PoolCapability. |
capabilityId | string | 2Mn | The ID of the capability referenced by this PoolCapability. |
Example JSON Snippet
{
"id": "0B",
"capability": {
"id": "0B",
"content": "{\"action\":\"Record\",\"input\":{\"targetPath\":{\"type\":\"string\",\"optional\":\"true\"},\"profileName\":{\"type\":\"string\",\"optional\":\"true\"}},\"output\":{\"pathToFile\":{\"type\":\"string\"}},\"properties\":{\"preroll\":{\"type\":\"integer\",\"kind\":\"fix\"}}, \"events\": [ \"RecorderMock.fileCreated\", \"RecorderMock.recordingFailed\", \"RecorderMock.recordingStarted\", \"RecorderMock.recordingFinished\" ]}",
"capabilityType": "Record",
"needsStopCommand": true
},
"config": "{\"preroll\":2}",
"poolId": "YDQ",
"capabilityId": "avN"
}