1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-09 04:22:30 +01:00
Radarr/NzbDrone.Api/NzbDroneApiModule.cs
Keivan Beigi 182192e0ba added commands.
they can be triggered using the api

api/command/
2013-04-26 19:03:34 -07:00

13 lines
283 B
C#

using Nancy;
namespace NzbDrone.Api
{
public abstract class NzbDroneApiModule : NancyModule
{
protected NzbDroneApiModule(string resource)
: base("/api/" + resource.Trim('/'))
{
Options["/"] = x => new Response();
}
}
}