New: TvdbId added to episode response from API

Closes #4921
This commit is contained in:
Mark McDowall 2022-02-26 23:50:54 -08:00
parent a8cb7784f2
commit b24bea415b
1 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,7 @@ namespace Sonarr.Api.V3.Episodes
public class EpisodeResource : RestResource
{
public int SeriesId { get; set; }
public int TvdbId { get; set; }
public int EpisodeFileId { get; set; }
public int SeasonNumber { get; set; }
public int EpisodeNumber { get; set; }
@ -52,6 +53,7 @@ namespace Sonarr.Api.V3.Episodes
Id = model.Id,
SeriesId = model.SeriesId,
TvdbId = model.TvdbId,
EpisodeFileId = model.EpisodeFileId,
SeasonNumber = model.SeasonNumber,
EpisodeNumber = model.EpisodeNumber,