Skip to content

KeybaseListTopicsAUserHasPostedIn

KeybaseListTopicsAUserHasPostedIn

GET /keybase-*/_search
{
  "query": {
    "bool": {
      "must": [
          { "match": {
              "msg.sender.username": {"query": "dentropy"}
              }
          }
      ]
    }
  },
  "aggs": {
    "topics": {
        "terms": {
            "field": "msg.channel.topic_name",
            "size": 100
        },
        "aggs" : {
          "teams": {
              "terms": {
                  "field": "msg.channel.name"
              }
          }
        }
    }
  }
}