Popular channels¶
-
class
Tribler.Core.Modules.restapi.channels.channels_popular_endpoint.
ChannelsPopularEndpoint
(session)[source]¶ -
render_GET
(request)[source]¶ -
GET
/channels/popular?limit=(int:max nr of channels)
¶
A GET request to this endpoint will return the most popular discovered channels in Tribler. You can optionally pass a limit parameter to limit the number of results.
Example request:
curl -X GET http://localhost:8085/channels/popular?limit=1
Example response:
{ "channels": [{ "id": 3, "dispersy_cid": "da69aaad39ccf468aba2ab9177d5f8d8160135e6", "name": "My fancy channel", "description": "A description of this fancy channel", "subscribed": False, "votes": 23, "torrents": 3, "spam": 5, "modified": 14598395, "can_edit": True, }] }
-
-