From d5fbb2610d15bdcd7170063c207f6780d7f5e2cd Mon Sep 17 00:00:00 2001 From: Dr Scofield Date: Fri, 17 Apr 2009 11:12:06 +0000 Subject: 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/ --- OpenSim/ApplicationPlugins/Rest/Regions/RestRegionPlugin.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'OpenSim/ApplicationPlugins/Rest/Regions/RestRegionPlugin.cs') 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 // add REST method handlers AddRestStreamHandler("GET", "/regions/", GetHandler); AddRestStreamHandler("POST", "/regions/", PostHandler); + AddRestStreamHandler("GET", "/regioninfo/", GetRegionInfoHandler); } catch (Exception e) { -- cgit v1.1