GitHub REST API filter pushed/updated and sort pushed/updated

Guys,

I need to create a request that either filters on “updated” and sorts on “updated” or filters on “pushed” and sorts on “pushed”.

I’m trying to do as follows and it’s not working.

https://api.github.com/search/repositories?q=topic:data-science+pushed:<2019-03-31&sort=pushed&order=desc&page=1&per_page=100”

OR

https://api.github.com/search/repositories?q=topic:data-science+updated:<2019-03-31&sort=updated&order=desc&page=1&per_page=100”

In many cases the “pushed” and “updated” of the repository are quite distinct.

Example:

“full_name”: “enginBozkurt/Data-Science-and-Machine-Learning-Playground”
“created_at”: “2019-01-14T13:44:28Z”,
“updated_at”: “2020-11-27T14:49:10Z”,
“pushed_at”: “2019-03-30T20:12:09Z”,