mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
ARI: Improve wiki documentation
This patch improves the documentation of ARI on the wiki. Specifically, it addresses the following: * Allowed values and allowed ranges weren't documented. This was particularly frustrating, as Asterisk would reject query parameters with disallowed values - but we didn't tell anyone what the allowed values were. * The /play/id operation on /channels and /bridges failed to document all of the added media resource types. * Documentation for creating a channel into a Stasis application failed to note when it occurred, and that creating a channel into Stasis conflicts with creating a channel into the dialplan. * Some other minor tweaks in the mustache templates, including italicizing the parameter type, putting the default value on its own sub-bullet, and some other nicities. Review: https://reviewboard.asterisk.org/r/4351 ........ Merged revisions 431145 from http://svn.asterisk.org/svn/asterisk/branches/13 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@431148 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -940,8 +940,8 @@ void ast_ari_bridges_create(struct ast_variable *headers,
|
||||
ast_bridge_snapshot_to_json(snapshot, stasis_app_get_sanitizer()));
|
||||
}
|
||||
|
||||
void ast_ari_bridges_create_or_update_with_id(struct ast_variable *headers,
|
||||
struct ast_ari_bridges_create_or_update_with_id_args *args,
|
||||
void ast_ari_bridges_create_with_id(struct ast_variable *headers,
|
||||
struct ast_ari_bridges_create_with_id_args *args,
|
||||
struct ast_ari_response *response)
|
||||
{
|
||||
RAII_VAR(struct ast_bridge *, bridge, find_bridge(response, args->bridge_id), ao2_cleanup);
|
||||
|
Reference in New Issue
Block a user