Sort isn't allowed as a param on search
NathanLeadill opened this issue · 0 comments
NathanLeadill commented
{ "detail": [ { "loc": [ "query", "sort" ], "msg": "unexpected value; permitted: 'id', 'created_utc', 'score'", "type": "value_error.const", "ctx": { "given": "asc", "permitted": [ "id", "created_utc", "score" ] } } ] }
https://api.pushshift.io/reddit/search/comment/?q=science&subreddit=askscience&sort=asc&size=1