mirror of
https://github.com/Readarr/Readarr.git
synced 2026-09-19 17:53:05 -04:00
Remove not implemented endpoints from API docs
This commit is contained in:
1 parent
c7399cdd2b
commit
fcf057a019
6 files changed
+27
-1
No files matched your search
@@ -23,6 +23,11 @@ public HealthController(IBroadcastSignalRMessage signalRBroadcaster, IHealthChec
|
||||
}
|
||||
|
||||
[NonAction]
|
||||
public override ActionResult<HealthResource> GetResourceByIdWithErrorHandler(int id)
|
||||
{
|
||||
return base.GetResourceByIdWithErrorHandler(id);
|
||||
}
|
||||
|
||||
protected override HealthResource GetResourceById(int id)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
|
||||
@@ -9,6 +9,11 @@ namespace Readarr.Api.V1.Indexers
|
||||
public abstract class ReleaseControllerBase : RestController<ReleaseResource>
|
||||
{
|
||||
[NonAction]
|
||||
public override ActionResult<ReleaseResource> GetResourceByIdWithErrorHandler(int id)
|
||||
{
|
||||
return base.GetResourceByIdWithErrorHandler(id);
|
||||
}
|
||||
|
||||
protected override ReleaseResource GetResourceById(int id)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
|
||||
@@ -58,6 +58,11 @@ public class QueueController : RestControllerWithSignalR<QueueResource, NzbDrone
|
||||
}
|
||||
|
||||
[NonAction]
|
||||
public override ActionResult<QueueResource> GetResourceByIdWithErrorHandler(int id)
|
||||
{
|
||||
return base.GetResourceByIdWithErrorHandler(id);
|
||||
}
|
||||
|
||||
protected override QueueResource GetResourceById(int id)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
|
||||
@@ -27,6 +27,11 @@ public QueueDetailsController(IBroadcastSignalRMessage broadcastSignalRMessage,
|
||||
}
|
||||
|
||||
[NonAction]
|
||||
public override ActionResult<QueueResource> GetResourceByIdWithErrorHandler(int id)
|
||||
{
|
||||
return base.GetResourceByIdWithErrorHandler(id);
|
||||
}
|
||||
|
||||
protected override QueueResource GetResourceById(int id)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
|
||||
@@ -31,6 +31,11 @@ public QueueStatusController(IBroadcastSignalRMessage broadcastSignalRMessage, I
|
||||
}
|
||||
|
||||
[NonAction]
|
||||
public override ActionResult<QueueStatusResource> GetResourceByIdWithErrorHandler(int id)
|
||||
{
|
||||
return base.GetResourceByIdWithErrorHandler(id);
|
||||
}
|
||||
|
||||
protected override QueueStatusResource GetResourceById(int id)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
|
||||
@@ -39,7 +39,8 @@ protected RestController()
|
||||
}
|
||||
|
||||
[RestGetById]
|
||||
public ActionResult<TResource> GetResourceByIdWithErrorHandler(int id)
|
||||
[Produces("application/json")]
|
||||
public virtual ActionResult<TResource> GetResourceByIdWithErrorHandler(int id)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user