'.. http:get:: /channels/discovered
A GET request to this endpoint returns all channels discovered in Tribler.
**Example request**:
.. sourcecode:: none
curl -X GET http://localhost:8085/channels/discovered
**Example response**:
.. sourcecode:: javascript
"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'

def render_GET(self, _):

    all_channels_db = self.channel_db_handler.getAllChannels()
    results_json = []
    for channel in all_channels_db:
        channel_json = convert_db_channel_to_json(channel)
        if (self.session.config.get_family_filter_enabled() and self.session.lm.category.xxx_filter.isXXX(channel_json['name'])):
            continue
        results_json.append(channel_json)
    return json.dumps({'channels': results_json})
