aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/ApplicationPlugins/Rest/Regions/RestRegionPlugin.cs
diff options
context:
space:
mode:
authorDr Scofield2009-04-17 11:12:06 +0000
committerDr Scofield2009-04-17 11:12:06 +0000
commitd5fbb2610d15bdcd7170063c207f6780d7f5e2cd (patch)
treedce7d32fb020ca80d46756ff5954e86e0a3262a6 /OpenSim/ApplicationPlugins/Rest/Regions/RestRegionPlugin.cs
parentquick fix for mantis #3477 --- m_configMember is being picked up by (diff)
downloadopensim-SC-d5fbb2610d15bdcd7170063c207f6780d7f5e2cd.zip
opensim-SC-d5fbb2610d15bdcd7170063c207f6780d7f5e2cd.tar.gz
opensim-SC-d5fbb2610d15bdcd7170063c207f6780d7f5e2cd.tar.bz2
opensim-SC-d5fbb2610d15bdcd7170063c207f6780d7f5e2cd.tar.xz
Adds a new REST service /admin/regioninfo/ --- will return a
comprehensive list of all regions in one go (in contrast to the /admin/regions/ REST call). Example: % curl http://127.0.0.1:9000/admin/regioninfo/ <regions max="10" number="1"> <region avatars="0" external_hostname="127.0.0.1" ip="0.0.0.0:9000" master_name="Mr X" master_uuid="b757d5f9-7b36-4dda-8388-6e03dd59b326" name="London" objects="6" uuid="49253666-a42e-4f44-9026-d23f93af31d7" x="1000" y="1000"/> </regions>
Diffstat (limited to 'OpenSim/ApplicationPlugins/Rest/Regions/RestRegionPlugin.cs')
-rw-r--r--OpenSim/ApplicationPlugins/Rest/Regions/RestRegionPlugin.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/ApplicationPlugins/Rest/Regions/RestRegionPlugin.cs b/OpenSim/ApplicationPlugins/Rest/Regions/RestRegionPlugin.cs
index fdfeb7d..ef72f71 100644
--- a/OpenSim/ApplicationPlugins/Rest/Regions/RestRegionPlugin.cs
+++ b/OpenSim/ApplicationPlugins/Rest/Regions/RestRegionPlugin.cs
@@ -76,6 +76,7 @@ namespace OpenSim.ApplicationPlugins.Rest.Regions
76 // add REST method handlers 76 // add REST method handlers
77 AddRestStreamHandler("GET", "/regions/", GetHandler); 77 AddRestStreamHandler("GET", "/regions/", GetHandler);
78 AddRestStreamHandler("POST", "/regions/", PostHandler); 78 AddRestStreamHandler("POST", "/regions/", PostHandler);
79 AddRestStreamHandler("GET", "/regioninfo/", GetRegionInfoHandler);
79 } 80 }
80 catch (Exception e) 81 catch (Exception e)
81 { 82 {