跳转到主要内容

读取操作

列出已连接的仓库

GET /github/repos

获取提交记录

GET /github/repos/{repo_id}/commits

获取 Pull Requests

GET /github/repos/{repo_id}/pulls

搜索提交记录

GET /github/commits/search?q={query}

获取仓库活动

GET /github/repos/{repo_id}/activity

OAuth 流程

发起 OAuth

GET /github-oauth/authorize

OAuth 回调

GET /github-oauth/callback

Webhooks

接收 GitHub 事件

POST /webhooks/github
接收来自 GitHub 的 webhook 载荷(push、pull_request 等)。通过 HMAC 签名验证。