Lidarr/src/Lidarr.Api.V1/Metadata/MetadataController.cs

32 lines
1.0 KiB
C#
Raw Normal View History

using System;
2021-08-04 20:42:40 +00:00
using Lidarr.Http;
using Microsoft.AspNetCore.Mvc;
2021-08-04 20:42:40 +00:00
using NzbDrone.Core.Extras.Metadata;
2017-09-04 02:20:56 +00:00
2017-10-31 01:28:29 +00:00
namespace Lidarr.Api.V1.Metadata
2017-09-04 02:20:56 +00:00
{
2021-08-04 20:42:40 +00:00
[V1ApiController]
public class MetadataController : ProviderControllerBase<MetadataResource, MetadataBulkResource, IMetadata, MetadataDefinition>
2017-09-04 02:20:56 +00:00
{
public static readonly MetadataResourceMapper ResourceMapper = new ();
public static readonly MetadataBulkResourceMapper BulkResourceMapper = new ();
2017-09-04 02:20:56 +00:00
2021-08-04 20:42:40 +00:00
public MetadataController(IMetadataFactory metadataFactory)
: base(metadataFactory, "metadata", ResourceMapper, BulkResourceMapper)
2017-09-04 02:20:56 +00:00
{
}
[NonAction]
public override ActionResult<MetadataResource> UpdateProvider([FromBody] MetadataBulkResource providerResource)
{
throw new NotImplementedException();
}
[NonAction]
public override object DeleteProviders([FromBody] MetadataBulkResource resource)
{
throw new NotImplementedException();
}
2017-09-04 02:20:56 +00:00
}
}