|
|
@ -29,6 +29,7 @@ namespace NzbDrone.Api.Series
|
|
|
|
|
|
|
|
|
|
|
|
Get["/{slug}"] = o => GetSeries((string)o.slug.ToString());
|
|
|
|
Get["/{slug}"] = o => GetSeries((string)o.slug.ToString());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SharedValidator.RuleFor(s => s.Path).NotEmpty();
|
|
|
|
SharedValidator.RuleFor(s => s.QualityProfileId).ValidId();
|
|
|
|
SharedValidator.RuleFor(s => s.QualityProfileId).ValidId();
|
|
|
|
|
|
|
|
|
|
|
|
PostValidator.RuleFor(s => s.Title).NotEmpty();
|
|
|
|
PostValidator.RuleFor(s => s.Title).NotEmpty();
|
|
|
|