mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-17 01:58:29 +00:00
Add channel country and external links to API
(cherry picked from commit dfbc6c5bc7
)
This commit is contained in:
parent
ad1542d4b9
commit
f062014f84
@ -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 New Issue
Block a user