mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Add channel country and external links to API
This commit is contained in:
parent
8fad19d805
commit
a566a45571
1 changed files with 2 additions and 0 deletions
|
@ -2203,6 +2203,8 @@ get "/api/v1/channels/:ucid" do |env|
|
||||||
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