[asterisk-commits] file: branch file/ari-extended-bridge-type r410668 - in /team/file/ari-extend...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Mar 17 08:47:04 CDT 2014


Author: file
Date: Mon Mar 17 08:46:57 2014
New Revision: 410668

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=410668
Log:
Change how the bridge type attributes are documented.

Modified:
    team/file/ari-extended-bridge-type/res/ari/resource_bridges.h
    team/file/ari-extended-bridge-type/rest-api/api-docs/bridges.json

Modified: team/file/ari-extended-bridge-type/res/ari/resource_bridges.h
URL: http://svnview.digium.com/svn/asterisk/team/file/ari-extended-bridge-type/res/ari/resource_bridges.h?view=diff&rev=410668&r1=410667&r2=410668
==============================================================================
--- team/file/ari-extended-bridge-type/res/ari/resource_bridges.h (original)
+++ team/file/ari-extended-bridge-type/res/ari/resource_bridges.h Mon Mar 17 08:46:57 2014
@@ -52,7 +52,7 @@
 void ast_ari_bridges_list(struct ast_variable *headers, struct ast_ari_bridges_list_args *args, struct ast_ari_response *response);
 /*! \brief Argument struct for ast_ari_bridges_create() */
 struct ast_ari_bridges_create_args {
-	/*! \brief Type of bridge to create. */
+	/*! \brief Comma separated list of bridge type attributes (mixing, holding, dtmf_events, proxy_media). */
 	const char *type;
 	/*! \brief Unique ID to give to the bridge being created. */
 	const char *bridge_id;
@@ -82,7 +82,7 @@
 void ast_ari_bridges_create(struct ast_variable *headers, struct ast_ari_bridges_create_args *args, struct ast_ari_response *response);
 /*! \brief Argument struct for ast_ari_bridges_create_or_update_with_id() */
 struct ast_ari_bridges_create_or_update_with_id_args {
-	/*! \brief Set the type of bridge. */
+	/*! \brief Comma separated list of bridge type attributes (mixing, holding, dtmf_events, proxy_media) to set. */
 	const char *type;
 	/*! \brief Unique ID to give to the bridge being created. */
 	const char *bridge_id;

Modified: team/file/ari-extended-bridge-type/rest-api/api-docs/bridges.json
URL: http://svnview.digium.com/svn/asterisk/team/file/ari-extended-bridge-type/rest-api/api-docs/bridges.json?view=diff&rev=410668&r1=410667&r2=410668
==============================================================================
--- team/file/ari-extended-bridge-type/rest-api/api-docs/bridges.json (original)
+++ team/file/ari-extended-bridge-type/rest-api/api-docs/bridges.json Mon Mar 17 08:46:57 2014
@@ -26,21 +26,11 @@
 					"parameters": [
 						{
 							"name": "type",
-							"description": "Type of bridge to create.",
-							"paramType": "query",
-							"required": false,
-							"allowMultiple": false,
-							"dataType": "string",
-							"allowableValues": {
-								"valueType": "LIST",
-								"values": [
-									"mixing",
-									"mixing,dtmf_events",
-									"mixing,proxy_media",
-									"mixing,dtmf_events,proxy_media",
-									"holding"
-								]
-							}
+							"description": "Comma separated list of bridge type attributes (mixing, holding, dtmf_events, proxy_media).",
+							"paramType": "query",
+							"required": false,
+							"allowMultiple": false,
+							"dataType": "string"
 						},
 						{
 							"name": "bridgeId",
@@ -75,21 +65,11 @@
 					"parameters": [
 						{
 							"name": "type",
-							"description": "Set the type of bridge.",
-							"paramType": "query",
-							"required": false,
-							"allowMultiple": false,
-							"dataType": "string",
-							"allowableValues": {
-								"valueType": "LIST",
-								"values": [
-									"mixing",
-									"mixing,dtmf_events",
-									"mixing,proxy_media",
-									"mixing,dtmf_events,proxy_media",
-									"holding"
-								]
-							}
+							"description": "Comma separated list of bridge type attributes (mixing, holding, dtmf_events, proxy_media) to set.",
+							"paramType": "query",
+							"required": false,
+							"allowMultiple": false,
+							"dataType": "string"
 						},
 						{
 							"name": "bridgeId",




More information about the asterisk-commits mailing list