-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3692/
-----------------------------------------------------------

(Updated July 3, 2014, 11:07 a.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers.


Changes
-------

Committed in revision 417878


Bugs: ASTERISK-23975
    https://issues.asterisk.org/jira/browse/ASTERISK-23975


Repository: Asterisk


Description
-------

The userEvent operation on the events resource fails to mention that the 
variables body parameter must be wrapped in a variables key in order for custom 
variables to be sent to the custom user event. This adds documentation to make 
this clear.

In addition, the originate and originate with id operations on the channels 
resource show single quotes in the example json, which is invalid (sending the 
example json to ARI results in an error parsing request body). This changes the 
examples to show properly formatted json with double quotes.


Diffs
-----

  trunk/rest-api/api-docs/events.json 417717 
  trunk/rest-api/api-docs/channels.json 417717 
  trunk/res/ari/resource_events.h 417717 
  trunk/res/ari/resource_channels.h 417717 

Diff: https://reviewboard.asterisk.org/r/3692/diff/


Testing
-------

Verified that swagger clients can consume the modified json api docs and that 
the the modified operations are still working correctly.


Thanks,

Samuel Galarneau

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to