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