summaryrefslogtreecommitdiff
path: root/rest-api
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2014-09-20 23:41:55 +0000
committerMatthew Jordan <mjordan@digium.com>2014-09-20 23:41:55 +0000
commitde6e467db7b9bba52500182455c577e031dd9365 (patch)
tree178226eaa2e9100d5750785d824fd6ceb0d48636 /rest-api
parent354fff327ddca6225c5f0be76fdaa5950b95620d (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 ........ 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
Diffstat (limited to 'rest-api')
-rw-r--r--rest-api/api-docs/applications.json2
-rw-r--r--rest-api/api-docs/asterisk.json2
-rw-r--r--rest-api/api-docs/bridges.json2
-rw-r--r--rest-api/api-docs/channels.json2
-rw-r--r--rest-api/api-docs/deviceStates.json2
-rw-r--r--rest-api/api-docs/endpoints.json2
-rw-r--r--rest-api/api-docs/events.json2
-rw-r--r--rest-api/api-docs/mailboxes.json2
-rw-r--r--rest-api/api-docs/playbacks.json2
-rw-r--r--rest-api/api-docs/recordings.json2
-rw-r--r--rest-api/api-docs/sounds.json2
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": [
{