ARI/AMI: Update versions; update UPGRADE/CHANGES notes for 12.1.0 changes
[asterisk/asterisk.git] / rest-api / api-docs / bridges.json
index 2339a96..b259ca8 100644 (file)
@@ -2,7 +2,7 @@
        "_copyright": "Copyright (C) 2012 - 2013, Digium, Inc.",
        "_author": "David M. Lee, II <dlee@digium.com>",
        "_svn_revision": "$Revision$",
-       "apiVersion": "0.0.1",
+       "apiVersion": "1.1.0",
        "swaggerVersion": "1.1",
        "basePath": "http://localhost:8088/stasis",
        "resourcePath": "/api-docs/bridges.{format}",
                                                                        "holding"
                                                                ]
                                                        }
+                                               },
+                                               {
+                                                       "name": "name",
+                                                       "description": "Name to give to the bridge being created.",
+                                                       "paramType": "query",
+                                                       "required": false,
+                                                       "allowMultiple": false,
+                                                       "dataType": "string"
                                                }
                                        ]
                                }
                                                },
                                                {
                                                        "code": 409,
-                                                       "reason": "Bridge not in Stasis application"
+                                                       "reason": "Bridge not in Stasis application; Channel currently recording"
                                                },
                                                {
                                                        "code": 422,
                                        "description": "Bridging class",
                                        "required": true
                                },
+                               "creator": {
+                                       "type": "string",
+                                       "description": "Entity that created the bridge",
+                                       "required": true
+                               },
+                               "name": {
+                                       "type": "string",
+                                       "description": "Name the creator gave the bridge",
+                                       "required": true
+                               },
                                "channels": {
                                        "type": "List[string]",
                                        "description": "Ids of channels participating in this bridge",