Add requests API

Requests API allows to get the requests from the DB and thus enable
users to have more insight into what's going on in their repositories.