mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-14 04:57:15 +00:00
fix: Updated showconfig, gettypes, getjoinmap handlers; updated BridgeBase to expose joinmaps; updated DeviceFactory to introduce method for getting dictionary
This commit is contained in:
parent
dd2aca9aa4
commit
c68d46f971
11 changed files with 525 additions and 23 deletions
|
|
@ -128,25 +128,25 @@ namespace PepperDash.Essentials.Core.Web
|
|||
Name = "ShowConfig",
|
||||
RouteHandler = new ShowConfigRequestHandler()
|
||||
},
|
||||
new HttpCwsRoute("gettypes/all")
|
||||
new HttpCwsRoute("gettypes")
|
||||
{
|
||||
Name = "GetTypesAll",
|
||||
Name = "GetTypes",
|
||||
RouteHandler = new GetTypesRequestHandler()
|
||||
},
|
||||
new HttpCwsRoute("gettypes/{filter}")
|
||||
{
|
||||
Name = "GetTypesByFilter",
|
||||
RouteHandler = new GetTypesRequestHandler()
|
||||
RouteHandler = new GetTypesByFilterRequestHandler()
|
||||
},
|
||||
new HttpCwsRoute("getjoinmap/{bridgeKey}/all")
|
||||
new HttpCwsRoute("getjoinmap/{bridgeKey}")
|
||||
{
|
||||
Name = "GetJoinMapsByBridgeKey",
|
||||
RouteHandler = new GetJoinMapRequestHandler()
|
||||
Name = "GetJoinMapsForBridgeKey",
|
||||
RouteHandler = new GetJoinMapForBridgeKeyRequestHandler()
|
||||
},
|
||||
new HttpCwsRoute("getjoinmap/{bridgeKey}/{deviceKey}")
|
||||
{
|
||||
Name = "GetJoinMapsForBridgeKeyFilteredByDeviceKey",
|
||||
RouteHandler = new GetJoinMapRequestHandler()
|
||||
Name = "GetJoinMapsForDeviceKey",
|
||||
RouteHandler = new GetJoinMapForDeviceKeyRequestHandler()
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue