mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-22 22:15:17 -04:00
New: v4 API (DROP v3 AFTER TESTING PERIOD)
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using NzbDrone.Core.Configuration;
|
||||
using Radarr.Http;
|
||||
|
||||
namespace Radarr.Api.V4.Config
|
||||
{
|
||||
[V4ApiController("config/downloadclient")]
|
||||
public class DownloadClientConfigController : ConfigController<DownloadClientConfigResource>
|
||||
{
|
||||
public DownloadClientConfigController(IConfigService configService)
|
||||
: base(configService)
|
||||
{
|
||||
}
|
||||
|
||||
protected override DownloadClientConfigResource ToResource(IConfigService model)
|
||||
{
|
||||
return DownloadClientConfigResourceMapper.ToResource(model);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user