Summary: | ASTERISK-23975: Description of variables field for userEvent operation missing details. | ||
Reporter: | Samuel Galarneau (sgalarneau) | Labels: | |
Date Opened: | 2014-07-01 11:08:24 | Date Closed: | 2014-07-03 11:10:30 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Resources/res_ari |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | The variables body parameter on the userEvent operations states that it accepts arbitrary key value pairs as json to be passed to a user event.
Because the implementation copied the way variables work on a channel originate, the key value pairs must be passed in under a variables key in order to be parsed correctly. (i.e. {"variables":{"myvar":"myvarvalue"}}) The field description does not make this clear. The field description should be changed to make this clear for users of the API. | ||
Comments: |