[asterisk-commits] mjordan: branch 12 r423617 - /branches/12/rest-api/api-docs/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Sep 20 18:40:42 CDT 2014


Author: mjordan
Date: Sat Sep 20 18:40:31 2014
New Revision: 423617

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=423617
Log:
rest-api/api-docs: Correct basePath in resources to match top resources file

The resources.json file that defines the resource JSON files used with ARI
references a basePath of 'http://localhost:8088/ari'. This does not match what
is defined in the resource files themselves, 'http://localhost:8088/stasis'.
The correct base path is the one that includes 'ari' in the URL; this patch
updates the various resource JSON files to have the correct basePath.

ASTERISK-24339 #close
Reported by: Bradley Watkins

Modified:
    branches/12/rest-api/api-docs/applications.json
    branches/12/rest-api/api-docs/asterisk.json
    branches/12/rest-api/api-docs/bridges.json
    branches/12/rest-api/api-docs/channels.json
    branches/12/rest-api/api-docs/deviceStates.json
    branches/12/rest-api/api-docs/endpoints.json
    branches/12/rest-api/api-docs/events.json
    branches/12/rest-api/api-docs/mailboxes.json
    branches/12/rest-api/api-docs/playbacks.json
    branches/12/rest-api/api-docs/recordings.json
    branches/12/rest-api/api-docs/sounds.json

Modified: branches/12/rest-api/api-docs/applications.json
URL: http://svnview.digium.com/svn/asterisk/branches/12/rest-api/api-docs/applications.json?view=diff&rev=423617&r1=423616&r2=423617
==============================================================================
--- branches/12/rest-api/api-docs/applications.json (original)
+++ branches/12/rest-api/api-docs/applications.json Sat Sep 20 18:40:31 2014
@@ -4,7 +4,7 @@
 	"_svn_revision": "$Revision$",
 	"apiVersion": "1.5.0",
 	"swaggerVersion": "1.1",
-	"basePath": "http://localhost:8088/stasis",
+	"basePath": "http://localhost:8088/ari",
 	"resourcePath": "/api-docs/applications.{format}",
 	"apis": [
 		{

Modified: branches/12/rest-api/api-docs/asterisk.json
URL: http://svnview.digium.com/svn/asterisk/branches/12/rest-api/api-docs/asterisk.json?view=diff&rev=423617&r1=423616&r2=423617
==============================================================================
--- branches/12/rest-api/api-docs/asterisk.json (original)
+++ branches/12/rest-api/api-docs/asterisk.json Sat Sep 20 18:40:31 2014
@@ -4,7 +4,7 @@
 	"_svn_revision": "$Revision$",
 	"apiVersion": "1.5.0",
 	"swaggerVersion": "1.1",
-	"basePath": "http://localhost:8088/stasis",
+	"basePath": "http://localhost:8088/ari",
 	"resourcePath": "/api-docs/asterisk.{format}",
 	"apis": [
 		{

Modified: branches/12/rest-api/api-docs/bridges.json
URL: http://svnview.digium.com/svn/asterisk/branches/12/rest-api/api-docs/bridges.json?view=diff&rev=423617&r1=423616&r2=423617
==============================================================================
--- branches/12/rest-api/api-docs/bridges.json (original)
+++ branches/12/rest-api/api-docs/bridges.json Sat Sep 20 18:40:31 2014
@@ -4,7 +4,7 @@
 	"_svn_revision": "$Revision$",
 	"apiVersion": "1.5.0",
 	"swaggerVersion": "1.1",
-	"basePath": "http://localhost:8088/stasis",
+	"basePath": "http://localhost:8088/ari",
 	"resourcePath": "/api-docs/bridges.{format}",
 	"apis": [
 		{

Modified: branches/12/rest-api/api-docs/channels.json
URL: http://svnview.digium.com/svn/asterisk/branches/12/rest-api/api-docs/channels.json?view=diff&rev=423617&r1=423616&r2=423617
==============================================================================
--- branches/12/rest-api/api-docs/channels.json (original)
+++ branches/12/rest-api/api-docs/channels.json Sat Sep 20 18:40:31 2014
@@ -4,7 +4,7 @@
 	"_svn_revision": "$Revision$",
 	"apiVersion": "1.5.0",
 	"swaggerVersion": "1.1",
-	"basePath": "http://localhost:8088/stasis",
+	"basePath": "http://localhost:8088/ari",
 	"resourcePath": "/api-docs/channels.{format}",
 	"apis": [
 		{

Modified: branches/12/rest-api/api-docs/deviceStates.json
URL: http://svnview.digium.com/svn/asterisk/branches/12/rest-api/api-docs/deviceStates.json?view=diff&rev=423617&r1=423616&r2=423617
==============================================================================
--- branches/12/rest-api/api-docs/deviceStates.json (original)
+++ branches/12/rest-api/api-docs/deviceStates.json Sat Sep 20 18:40:31 2014
@@ -4,7 +4,7 @@
 	"_svn_revision": "$Revision$",
 	"apiVersion": "1.5.0",
 	"swaggerVersion": "1.1",
-	"basePath": "http://localhost:8088/stasis",
+	"basePath": "http://localhost:8088/ari",
 	"resourcePath": "/api-docs/deviceStates.{format}",
 	"apis": [
 		{

Modified: branches/12/rest-api/api-docs/endpoints.json
URL: http://svnview.digium.com/svn/asterisk/branches/12/rest-api/api-docs/endpoints.json?view=diff&rev=423617&r1=423616&r2=423617
==============================================================================
--- branches/12/rest-api/api-docs/endpoints.json (original)
+++ branches/12/rest-api/api-docs/endpoints.json Sat Sep 20 18:40:31 2014
@@ -4,7 +4,7 @@
 	"_svn_revision": "$Revision$",
 	"apiVersion": "1.5.0",
 	"swaggerVersion": "1.1",
-	"basePath": "http://localhost:8088/stasis",
+	"basePath": "http://localhost:8088/ari",
 	"resourcePath": "/api-docs/endpoints.{format}",
 	"apis": [
 		{

Modified: branches/12/rest-api/api-docs/events.json
URL: http://svnview.digium.com/svn/asterisk/branches/12/rest-api/api-docs/events.json?view=diff&rev=423617&r1=423616&r2=423617
==============================================================================
--- branches/12/rest-api/api-docs/events.json (original)
+++ branches/12/rest-api/api-docs/events.json Sat Sep 20 18:40:31 2014
@@ -4,7 +4,7 @@
 	"_svn_revision": "$Revision$",
 	"apiVersion": "1.5.0",
 	"swaggerVersion": "1.2",
-	"basePath": "http://localhost:8088/stasis",
+	"basePath": "http://localhost:8088/ari",
 	"resourcePath": "/api-docs/events.{format}",
 	"apis": [
 		{

Modified: branches/12/rest-api/api-docs/mailboxes.json
URL: http://svnview.digium.com/svn/asterisk/branches/12/rest-api/api-docs/mailboxes.json?view=diff&rev=423617&r1=423616&r2=423617
==============================================================================
--- branches/12/rest-api/api-docs/mailboxes.json (original)
+++ branches/12/rest-api/api-docs/mailboxes.json Sat Sep 20 18:40:31 2014
@@ -4,7 +4,7 @@
 	"_svn_revision": "$Revision$",
 	"apiVersion": "1.5.0",
 	"swaggerVersion": "1.1",
-	"basePath": "http://localhost:8088/stasis",
+	"basePath": "http://localhost:8088/ari",
 	"resourcePath": "/api-docs/mailboxes.{format}",
 	"apis": [
 		{

Modified: branches/12/rest-api/api-docs/playbacks.json
URL: http://svnview.digium.com/svn/asterisk/branches/12/rest-api/api-docs/playbacks.json?view=diff&rev=423617&r1=423616&r2=423617
==============================================================================
--- branches/12/rest-api/api-docs/playbacks.json (original)
+++ branches/12/rest-api/api-docs/playbacks.json Sat Sep 20 18:40:31 2014
@@ -4,7 +4,7 @@
 	"_svn_revision": "$Revision$",
 	"apiVersion": "1.5.0",
 	"swaggerVersion": "1.1",
-	"basePath": "http://localhost:8088/stasis",
+	"basePath": "http://localhost:8088/ari",
 	"resourcePath": "/api-docs/playbacks.{format}",
 	"apis": [
 		{

Modified: branches/12/rest-api/api-docs/recordings.json
URL: http://svnview.digium.com/svn/asterisk/branches/12/rest-api/api-docs/recordings.json?view=diff&rev=423617&r1=423616&r2=423617
==============================================================================
--- branches/12/rest-api/api-docs/recordings.json (original)
+++ branches/12/rest-api/api-docs/recordings.json Sat Sep 20 18:40:31 2014
@@ -4,7 +4,7 @@
 	"_svn_revision": "$Revision$",
 	"apiVersion": "1.5.0",
 	"swaggerVersion": "1.1",
-	"basePath": "http://localhost:8088/stasis",
+	"basePath": "http://localhost:8088/ari",
 	"resourcePath": "/api-docs/recordings.{format}",
 	"apis": [
 		{

Modified: branches/12/rest-api/api-docs/sounds.json
URL: http://svnview.digium.com/svn/asterisk/branches/12/rest-api/api-docs/sounds.json?view=diff&rev=423617&r1=423616&r2=423617
==============================================================================
--- branches/12/rest-api/api-docs/sounds.json (original)
+++ branches/12/rest-api/api-docs/sounds.json Sat Sep 20 18:40:31 2014
@@ -4,7 +4,7 @@
 	"_svn_revision": "$Revision$",
 	"apiVersion": "1.5.0",
 	"swaggerVersion": "1.1",
-	"basePath": "http://localhost:8088/stasis",
+	"basePath": "http://localhost:8088/ari",
 	"resourcePath": "/api-docs/sounds.{format}",
 	"apis": [
 		{




More information about the asterisk-commits mailing list