ARI: Added paths to get and set multiple channel variables.#1869
ARI: Added paths to get and set multiple channel variables.#1869bkford wants to merge 1 commit intoasterisk:masterfrom
Conversation
|
cherry-pick-to: 23 |
|
Workflow Check completed successfully |
b2c026c to
7dbaf32
Compare
|
Workflow Check completed successfully |
|
In the commit message, I don't understand what the following means...
|
7dbaf32 to
d70d4e2
Compare
|
NOTE
|
|
Workflow Check completed successfully |
d70d4e2 to
d6f14cd
Compare
|
Workflow Check completed successfully |
d6f14cd to
3a4329b
Compare
|
Workflow Check completed successfully |
gtjoseph
left a comment
There was a problem hiding this comment.
LGTM pending the addition of the testsuite test.
When that's ready, don't forget to update this PR with a testsuite-test-pr: nnnn comment so the two PRs can be tested together.
Two new paths exist for ARI to get and set multiple channel variables at the same time. This is done via GET and POST like the single get and set variable equivalents. Leading and trailing whitespace will be stripped from the variable names for both paths. When setting variables, the values will be read as-is, whitespace included. GET takes in a single string with comma-separated values, while POST takes in a dictionary of key value pairs. The code follows the same paths as when setting multiple variables when originating a channel via ARI. UserNote: Added new ARI paths for getting and setting multiple channel variables at a time. For GET, this takes in a single string of comma-separated variable names, while POST takes in a dictionary of key value pairs. The behavior is the same as passing in variables when originating a channel.
3a4329b to
a420b63
Compare
|
testsuite-test-pr: 131 |
|
Workflow Check completed successfully |
|
Workflow Check failed |
Two new paths exist for ARI to get and set multiple channel variables at
the same time. This is done via GET and POST like the single get and set
variable equivalents. Leading and trailing whitespace will be stripped
from the variable names for both paths. When setting variables, the
values will be read as-is, whitespace included. GET takes in a single
string with comma-separated values, while POST takes in a dictionary of
key value pairs. The code follows the same paths as when setting
multiple variables when originating a channel via ARI.
UserNote: Added new ARI paths for getting and setting multiple channel
variables at a time. For GET, this takes in a single string of
comma-separated variable names, while POST takes in a dictionary of key
value pairs. The behavior is the same as passing in variables when
originating a channel.