[asterisk-commits] dlee: branch dlee/stasis-http r384783 - /team/dlee/stasis-http/rest-api/api-d...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Apr 4 15:12:13 CDT 2013


Author: dlee
Date: Thu Apr  4 15:12:09 2013
New Revision: 384783

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=384783
Log:
Fixed self-patch for api-docs

Modified:
    team/dlee/stasis-http/rest-api/api-docs/asterisk.json
    team/dlee/stasis-http/rest-api/api-docs/bridges.json
    team/dlee/stasis-http/rest-api/api-docs/channels.json
    team/dlee/stasis-http/rest-api/api-docs/endpoints.json
    team/dlee/stasis-http/rest-api/api-docs/events.json
    team/dlee/stasis-http/rest-api/api-docs/recordings.json

Modified: team/dlee/stasis-http/rest-api/api-docs/asterisk.json
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/rest-api/api-docs/asterisk.json?view=diff&rev=384783&r1=384782&r2=384783
==============================================================================
--- team/dlee/stasis-http/rest-api/api-docs/asterisk.json (original)
+++ team/dlee/stasis-http/rest-api/api-docs/asterisk.json Thu Apr  4 15:12:09 2013
@@ -5,7 +5,7 @@
     "apiVersion": "0.0.1",
     "swaggerVersion": "1.1",
     "basePath": "http://localhost:8088/stasis",
-    "resourcePath": "/asterisk.{format}",
+    "resourcePath": "/api-docs/asterisk.{format}",
     "apis": [
         {
             "path": "/asterisk/info",

Modified: team/dlee/stasis-http/rest-api/api-docs/bridges.json
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/rest-api/api-docs/bridges.json?view=diff&rev=384783&r1=384782&r2=384783
==============================================================================
--- team/dlee/stasis-http/rest-api/api-docs/bridges.json (original)
+++ team/dlee/stasis-http/rest-api/api-docs/bridges.json Thu Apr  4 15:12:09 2013
@@ -5,7 +5,7 @@
     "apiVersion": "0.0.1",
     "swaggerVersion": "1.1",
     "basePath": "http://localhost:8088/stasis",
-    "resourcePath": "/bridges.{format}",
+    "resourcePath": "/api-docs/bridges.{format}",
     "apis": [
         {
             "path": "/bridges",

Modified: team/dlee/stasis-http/rest-api/api-docs/channels.json
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/rest-api/api-docs/channels.json?view=diff&rev=384783&r1=384782&r2=384783
==============================================================================
--- team/dlee/stasis-http/rest-api/api-docs/channels.json (original)
+++ team/dlee/stasis-http/rest-api/api-docs/channels.json Thu Apr  4 15:12:09 2013
@@ -5,7 +5,7 @@
     "apiVersion": "0.0.1",
     "swaggerVersion": "1.1",
     "basePath": "http://localhost:8088/stasis",
-    "resourcePath": "/channels.{format}",
+    "resourcePath": "/api-docs/channels.{format}",
     "apis": [
         {
             "path": "/channels",
@@ -99,6 +99,14 @@
                     "nickname": "dial",
                     "responseClass": "Dialed",
                     "parameters": [
+                        {
+                            "name": "channelId",
+                            "description": "Channel's id",
+                            "paramType": "path",
+                            "required": true,
+                            "allowMultiple": false,
+                            "dataType": "string"
+                        },
                         {
                             "name": "endpoint",
                             "description": "Endpoint to call. If not specified, dial is routed via dialplan",

Modified: team/dlee/stasis-http/rest-api/api-docs/endpoints.json
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/rest-api/api-docs/endpoints.json?view=diff&rev=384783&r1=384782&r2=384783
==============================================================================
--- team/dlee/stasis-http/rest-api/api-docs/endpoints.json (original)
+++ team/dlee/stasis-http/rest-api/api-docs/endpoints.json Thu Apr  4 15:12:09 2013
@@ -5,7 +5,7 @@
     "apiVersion": "0.0.1",
     "swaggerVersion": "1.1",
     "basePath": "http://localhost:8088/stasis",
-    "resourcePath": "/endpoints.{format}",
+    "resourcePath": "/api-docs/endpoints.{format}",
     "apis": [
         {
             "path": "/endpoints",

Modified: team/dlee/stasis-http/rest-api/api-docs/events.json
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/rest-api/api-docs/events.json?view=diff&rev=384783&r1=384782&r2=384783
==============================================================================
--- team/dlee/stasis-http/rest-api/api-docs/events.json (original)
+++ team/dlee/stasis-http/rest-api/api-docs/events.json Thu Apr  4 15:12:09 2013
@@ -5,7 +5,7 @@
     "apiVersion": "0.0.1",
     "swaggerVersion": "1.1",
     "basePath": "http://localhost:8088/stasis",
-    "resourcePath": "/events.{format}",
+    "resourcePath": "/api-docs/events.{format}",
     "apis": [
         {
             "path": "/events",

Modified: team/dlee/stasis-http/rest-api/api-docs/recordings.json
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-http/rest-api/api-docs/recordings.json?view=diff&rev=384783&r1=384782&r2=384783
==============================================================================
--- team/dlee/stasis-http/rest-api/api-docs/recordings.json (original)
+++ team/dlee/stasis-http/rest-api/api-docs/recordings.json Thu Apr  4 15:12:09 2013
@@ -5,7 +5,7 @@
     "apiVersion": "0.0.1",
     "swaggerVersion": "1.1",
     "basePath": "http://localhost:8088/stasis",
-    "resourcePath": "/recordings.{format}",
+    "resourcePath": "/api-docs/recordings.{format}",
     "apis": [
         {
             "path": "/recordings",




More information about the asterisk-commits mailing list