Addprotocol
AddProtocol
This call can be used to add outputs, without modifying other outputs. It has two calling variants, each identical in behaviour:
//Either...
{
"addprotocol": {
"connector": "HTTP" //Name of the output to enable
//any required and/or optional settings may be given here as "name": "value" pairs inside this object.
}
}
//Or...
{
"addprotocol": [
{
"connector": "HTTP" //Name of the output to enable
//any required and/or optional settings may be given here as "name": "value" pairs inside this object.
},
//Multiple outputs may be added simultaneously
]
}
It's usage is identical to the call "protocols
" property, but outputs
are never deleted or updated when this call is used, only added. A new
output will not be added (silently) when it is already configured
identically to the newly added protocol.