feat(route): Add GitHub Notification (#12197)

* Add GitHub notification

* add docs and radar.

* add parseDate.

* Apply suggestions from code review

* Update router.js

* Update maintainer.js

---------
This commit is contained in:
Zhiyuan Zheng
2023-03-30 21:07:34 +08:00
committed by GitHub
parent 715abc7c3d
commit 14199e1a31
6 changed files with 63 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ module.exports = function (router) {
router.get('/contributors/:user/:repo/:order?/:anon?', require('./contributors'));
router.get('/file/:user/:repo/:branch/:filepath+', require('./file'));
router.get('/issue/:user/:repo/:state?/:labels?', require('./issue'));
router.get('/notifications', require('./notifications'));
router.get('/pull/:user/:repo/:state?/:labels?', require('./pulls'));
router.get('/repos/:user', require('./repos'));
router.get('/search/:query/:sort?/:order?', require('./search'));