mirror of
https://github.com/Sonarr/Sonarr
synced 2026-01-02 21:53:18 +01:00
32 lines
1.1 KiB
C#
32 lines
1.1 KiB
C#
using System;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using NzbDrone.Core.Extras.Metadata;
|
|
using NzbDrone.SignalR;
|
|
using Sonarr.Http;
|
|
|
|
namespace Sonarr.Api.V3.Metadata
|
|
{
|
|
[V3ApiController]
|
|
public class MetadataController : ProviderControllerBase<MetadataResource, MetadataBulkResource, IMetadata, MetadataDefinition>
|
|
{
|
|
public static readonly MetadataResourceMapper ResourceMapper = new ();
|
|
public static readonly MetadataBulkResourceMapper BulkResourceMapper = new ();
|
|
|
|
public MetadataController(IBroadcastSignalRMessage signalRBroadcaster, IMetadataFactory metadataFactory)
|
|
: base(signalRBroadcaster, metadataFactory, "metadata", ResourceMapper, BulkResourceMapper)
|
|
{
|
|
}
|
|
|
|
[NonAction]
|
|
public override ActionResult<MetadataResource> UpdateProvider([FromBody] MetadataBulkResource providerResource)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
[NonAction]
|
|
public override object DeleteProviders([FromBody] MetadataBulkResource resource)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
}
|