Add thread pagination support

req.query, and route back to get.