#2363 Added the ability to pass any username into the API using the ApiAlias header

This commit is contained in:
tidusjar 2019-01-16 21:33:15 +00:00
parent 359d191fc3
commit 3b91392323
18 changed files with 1455 additions and 116 deletions

View file

@ -24,11 +24,20 @@
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// ************************************************************************/
#endregion
using Newtonsoft.Json;
namespace Ombi.Core.Models.Requests
{
public class MovieRequestViewModel
{
public int TheMovieDbId { get; set; }
public string LanguageCode { get; set; } = "en";
/// <summary>
/// This is only set from a HTTP Header
/// </summary>
[JsonIgnore]
public string RequestedByAlias { get; set; }
}
}