Add genre URLs

This commit is contained in:
Omar Roth 2018-09-04 09:50:19 -05:00
parent 2ac89d5e00
commit 53732cdcab
3 changed files with 17 additions and 2 deletions

View file

@ -2014,6 +2014,7 @@ get "/api/v1/videos/:id" do |env|
json.field "isFamilyFriendly", video.is_family_friendly
json.field "allowedRegions", video.allowed_regions
json.field "genre", video.genre
json.field "genreUrl", video.genre_url
json.field "author", video.author
json.field "authorId", video.ucid