Remove not implemented endpoints from API docs

pull/10022/head
Bogdan 6 months ago
parent 152f50a1ef
commit 7a303c1ebf

@ -37,7 +37,7 @@ namespace Radarr.Api.V3.Calendar
} }
[NonAction] [NonAction]
protected override MovieResource GetResourceById(int id) public override ActionResult<MovieResource> GetResourceByIdWithErrorHandler(int id)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }

@ -23,6 +23,11 @@ namespace Radarr.Api.V3.Health
} }
[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();

@ -17,6 +17,11 @@ namespace Radarr.Api.V3.Indexers
} }
[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();

@ -18,6 +18,11 @@ namespace Radarr.Api.V3.Movies
} }
[NonAction] [NonAction]
public override ActionResult<MovieResource> GetResourceByIdWithErrorHandler(int id)
{
throw new NotImplementedException();
}
protected override MovieResource GetResourceById(int id) protected override MovieResource GetResourceById(int id)
{ {
throw new NotImplementedException(); throw new NotImplementedException();

@ -39,6 +39,11 @@ namespace Radarr.Api.V3.Movies
} }
[NonAction] [NonAction]
public override ActionResult<MovieResource> GetResourceByIdWithErrorHandler(int id)
{
throw new NotImplementedException();
}
protected override MovieResource GetResourceById(int id) protected override MovieResource GetResourceById(int id)
{ {
throw new NotImplementedException(); throw new NotImplementedException();

@ -60,6 +60,11 @@ namespace Radarr.Api.V3.Queue
} }
[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 @@ namespace Radarr.Api.V3.Queue
} }
[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 @@ namespace Radarr.Api.V3.Queue
} }
[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();

@ -33,7 +33,7 @@ namespace Radarr.Api.V3.Wanted
} }
[NonAction] [NonAction]
protected override MovieResource GetResourceById(int id) public override ActionResult<MovieResource> GetResourceByIdWithErrorHandler(int id)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }

@ -29,7 +29,7 @@ namespace Radarr.Api.V3.Wanted
} }
[NonAction] [NonAction]
protected override MovieResource GetResourceById(int id) public override ActionResult<MovieResource> GetResourceByIdWithErrorHandler(int id)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }

@ -40,7 +40,7 @@ namespace Radarr.Http.REST
} }
[RestGetById] [RestGetById]
public ActionResult<TResource> GetResourceByIdWithErrorHandler(int id) public virtual ActionResult<TResource> GetResourceByIdWithErrorHandler(int id)
{ {
try try
{ {

Loading…
Cancel
Save