Taking the example url to list comment and document counts that mention 'trump' within 7 days returns no data.
The example said it is specifically setting size=0 because we don't want comment data. That's true but it doesn't return the aggregate data either.
Taking the example url to list comment and document counts that mention 'trump' within 7 days returns no data. The example said it is specifically setting size=0 because we don't want comment data. That's true but it doesn't return the aggregate data either.
https://api.pushshift.io/reddit/search/comment/?q=trump&after=7d&aggs=created_utc&frequency=hour&size=0
returns...
{ "data": [] }
expected...
{ "aggs": { "created_utc": [ { "doc_count": 685, "key": 1502406000 }, { "doc_count": 1238, "key": 1502409600 }, { "doc_count": 1100, "key": 1502413200 },