diff options
author | Matthew Jordan <mjordan@digium.com> | 2014-09-20 23:41:17 +0000 |
---|---|---|
committer | Matthew Jordan <mjordan@digium.com> | 2014-09-20 23:41:17 +0000 |
commit | d74dee638c5280e52e865acc4c365f7a16df4a60 (patch) | |
tree | 27aff51413534e66828fbe0118bec5e0a2947d96 /rest-api | |
parent | 9a988639f42ec01b4da35d8dd1998bd866a57720 (diff) |
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
........
Merged revisions 423617 from http://svn.asterisk.org/svn/asterisk/branches/12
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@423618 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'rest-api')
-rw-r--r-- | rest-api/api-docs/applications.json | 2 | ||||
-rw-r--r-- | rest-api/api-docs/asterisk.json | 2 | ||||
-rw-r--r-- | rest-api/api-docs/bridges.json | 2 | ||||
-rw-r--r-- | rest-api/api-docs/channels.json | 2 | ||||
-rw-r--r-- | rest-api/api-docs/deviceStates.json | 2 | ||||
-rw-r--r-- | rest-api/api-docs/endpoints.json | 2 | ||||
-rw-r--r-- | rest-api/api-docs/events.json | 2 | ||||
-rw-r--r-- | rest-api/api-docs/mailboxes.json | 2 | ||||
-rw-r--r-- | rest-api/api-docs/playbacks.json | 2 | ||||
-rw-r--r-- | rest-api/api-docs/recordings.json | 2 | ||||
-rw-r--r-- | rest-api/api-docs/sounds.json | 2 |
11 files changed, 11 insertions, 11 deletions
diff --git a/rest-api/api-docs/applications.json b/rest-api/api-docs/applications.json index 4234282c5..9ac1c2383 100644 --- a/rest-api/api-docs/applications.json +++ b/rest-api/api-docs/applications.json @@ -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": [ { diff --git a/rest-api/api-docs/asterisk.json b/rest-api/api-docs/asterisk.json index fd8f6d3d6..34e3894a2 100644 --- a/rest-api/api-docs/asterisk.json +++ b/rest-api/api-docs/asterisk.json @@ -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": [ { diff --git a/rest-api/api-docs/bridges.json b/rest-api/api-docs/bridges.json index cadf4ae0d..de7206720 100644 --- a/rest-api/api-docs/bridges.json +++ b/rest-api/api-docs/bridges.json @@ -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": [ { diff --git a/rest-api/api-docs/channels.json b/rest-api/api-docs/channels.json index 945c333b7..d88434b3e 100644 --- a/rest-api/api-docs/channels.json +++ b/rest-api/api-docs/channels.json @@ -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": [ { diff --git a/rest-api/api-docs/deviceStates.json b/rest-api/api-docs/deviceStates.json index 95decd988..c14b55dea 100644 --- a/rest-api/api-docs/deviceStates.json +++ b/rest-api/api-docs/deviceStates.json @@ -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": [ { diff --git a/rest-api/api-docs/endpoints.json b/rest-api/api-docs/endpoints.json index e8434ba9b..f30ce9a00 100644 --- a/rest-api/api-docs/endpoints.json +++ b/rest-api/api-docs/endpoints.json @@ -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": [ { diff --git a/rest-api/api-docs/events.json b/rest-api/api-docs/events.json index 2623801ae..80bc6d66f 100644 --- a/rest-api/api-docs/events.json +++ b/rest-api/api-docs/events.json @@ -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": [ { diff --git a/rest-api/api-docs/mailboxes.json b/rest-api/api-docs/mailboxes.json index 002c79bbb..0deb5fb41 100644 --- a/rest-api/api-docs/mailboxes.json +++ b/rest-api/api-docs/mailboxes.json @@ -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": [ { diff --git a/rest-api/api-docs/playbacks.json b/rest-api/api-docs/playbacks.json index 79cedb7a8..f892fb3d2 100644 --- a/rest-api/api-docs/playbacks.json +++ b/rest-api/api-docs/playbacks.json @@ -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": [ { diff --git a/rest-api/api-docs/recordings.json b/rest-api/api-docs/recordings.json index 0e077e206..89c55d59e 100644 --- a/rest-api/api-docs/recordings.json +++ b/rest-api/api-docs/recordings.json @@ -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": [ { diff --git a/rest-api/api-docs/sounds.json b/rest-api/api-docs/sounds.json index b97f725d4..dd0b71755 100644 --- a/rest-api/api-docs/sounds.json +++ b/rest-api/api-docs/sounds.json @@ -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": [ { |