mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Add channel country and external links to API
(cherry picked from commit dfbc6c5bc7
)
This commit is contained in:
parent
ad1542d4b9
commit
f062014f84
1 changed files with 2 additions and 0 deletions
|
@ -85,6 +85,8 @@ module Invidious::Routes::API::V1::Channels
|
||||||
json.field "descriptionHtml", channel.description_html
|
json.field "descriptionHtml", channel.description_html
|
||||||
|
|
||||||
json.field "allowedRegions", channel.allowed_regions
|
json.field "allowedRegions", channel.allowed_regions
|
||||||
|
json.field "external_links", channel.links
|
||||||
|
json.field "country", channel.country
|
||||||
|
|
||||||
json.field "latestVideos" do
|
json.field "latestVideos" do
|
||||||
json.array do
|
json.array do
|
||||||
|
|
Loading…
Reference in a new issue