Origin API
Docs updates on /docs/api/origin and /docs/api/origin/changelog:
- Breaking: Create Repo now requires
namespace:repositories:create;namespace:new_repository:writeno longer authorizes anything and is removed from the scope catalog. - Added: Get Pull Request Mergeability (
GET …/pulls/{pullNumber}/mergeability) reports whether a PR can merge now and typed blockers when it cannot (preview;repository:pull_requests:read, 10 points). - Added: Grep Contents (
POST …/repos/{ownerSlug}/{repoName}:grep) searches file text at a ref and returns matching lines (repository:contents:read, 5 points). - Added: Check-run status value
rerequested(treat as pending); List Check Runs For Commit can filter on it. Only Origin sets this status. - Added: List Pull Requests supports
sortBy(createdorupdated) andstate=merged. - Changed: Rerequest Check Run sets the run’s status to
rerequested; therepository.check_run.rerequestedwebhook payload does the same—readconclusiononly when status iscompleted.