1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-20 21:54:58 -04:00

Add v5 manual import endpoints

This commit is contained in:
Mark McDowall
2025-12-20 21:39:56 -08:00
parent 4c13a01c8e
commit 8da611ea58
3 changed files with 203 additions and 0 deletions
@@ -0,0 +1,26 @@
using NzbDrone.Core.Languages;
using NzbDrone.Core.Parser.Model;
using NzbDrone.Core.Qualities;
using Sonarr.Api.V5.CustomFormats;
using Sonarr.Api.V5.Episodes;
using Sonarr.Http.REST;
namespace Sonarr.Api.V5.ManualImport;
public class ManualImportReprocessResource : RestResource
{
public string? Path { get; set; }
public int SeriesId { get; set; }
public int? SeasonNumber { get; set; }
public List<EpisodeResource> Episodes { get; set; } = [];
public List<int>? EpisodeIds { get; set; }
public QualityModel? Quality { get; set; }
public List<Language> Languages { get; set; } = [];
public string? ReleaseGroup { get; set; }
public string? DownloadId { get; set; }
public List<CustomFormatResource> CustomFormats { get; set; } = [];
public int CustomFormatScore { get; set; }
public int IndexerFlags { get; set; }
public ReleaseType ReleaseType { get; set; }
public IEnumerable<ImportRejectionResource> Rejections { get; set; } = [];
}