rest-api/api-docs: Correct basePath in resources to match top resources file
authorMatthew Jordan <mjordan@digium.com>
Sat, 20 Sep 2014 23:41:55 +0000 (23:41 +0000)
committerMatthew Jordan <mjordan@digium.com>
Sat, 20 Sep 2014 23:41:55 +0000 (23:41 +0000)
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
........

Merged revisions 423617 from http://svn.asterisk.org/svn/asterisk/branches/12
........

Merged revisions 423618 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@423619 65c4cc65-6c06-0410-ace0-fbb531ad65f3

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

index 4234282..9ac1c23 100644 (file)
@@ -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": [
                {
index fd8f6d3..34e3894 100644 (file)
@@ -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": [
                {
index cadf4ae..de72067 100644 (file)
@@ -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": [
                {
index 945c333..d88434b 100644 (file)
@@ -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": [
                {
index 95decd9..c14b55d 100644 (file)
@@ -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": [
                {
index e8434ba..f30ce9a 100644 (file)
@@ -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": [
                {
index 2623801..80bc6d6 100644 (file)
@@ -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": [
                {
index 002c79b..0deb5fb 100644 (file)
@@ -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": [
                {
index 79cedb7..f892fb3 100644 (file)
@@ -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": [
                {
index 0e077e2..89c55d5 100644 (file)
@@ -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": [
                {
index b97f725..dd0b717 100644 (file)
@@ -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": [
                {