You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
541 B
24 lines
541 B
using Microsoft.AspNetCore.Mvc;
|
|
using NzbDrone.Core.Movies;
|
|
using Radarr.Http;
|
|
|
|
namespace Radarr.Api.V3.Movies
|
|
{
|
|
[V3ApiController("missing")]
|
|
public class MissingController : Controller
|
|
{
|
|
private readonly IMovieService _movieService;
|
|
|
|
public MissingController(IMovieService movieService)
|
|
{
|
|
_movieService = movieService;
|
|
}
|
|
|
|
[HttpGet]
|
|
public MissingWantedResource GetMissing()
|
|
{
|
|
return _movieService.GetMissingMovies().ToResource();
|
|
}
|
|
}
|
|
}
|