You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This removes support for the now-defunkt OAuth Authorizations APIs. These were disabled on GitHub.com at the end of 2020, but the OpenAPI specs were not updated so this code was not cleaned up.
Other changes
fix: document the required scopes to use GET /orgs/{org}/code-scanning/alerts with public repos
feat: add new Security Managers APIs (GET /orgs/{org}/security-managers, PUT /orgs/{org}/security-managers/teams/{team_slug} and DELETE /orgs/{org}/security-managers/teams/{team_slug})
feat: add new deployment branch policy APIs (GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies, POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies, GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id} , PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}, DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id})
feat: add new GitHub Pages API (POST /repos/{owner}/{repo}/pages/deployment)
fix: correct types for GET /enterprise-installation/{enterprise_or_org}/server-statistics to reflect that it returns an array of results
feat: add new retention_period_minutes and retention_expires_at fields returned on Codespaces
fix: correct types for Commit Statuses in the API (e.g. returned by POST /repos/{owner}/{repo}/statuses/{sha}) to reflect that target_url and description can be null
fix: correct describe the type of items returned by the GET /repos/{owner}/{repo}/contents/{path} API as enum (dir, file, submodule, symlink)
feat: add new added_by and last_used attributes on Deploy Keys returned across the API
fix: correct type of permission request body parameter for PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo} and PUT /repos/{owner}/{repo}/collaborators/{username} to reflect that custom role names can be specified, not just values in a GitHub-set enum
fix: remove page and per_page parameters for GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers which are not actually supported
feat: add support for build_type parameter in POST /repos/{owner}/{repo}/pages and PUT /repos/{owner}/{repo}/pages
fix: mark that commit_id, path and line are in fact required for `POST /repos/{owner}/{repo}/pulls/{pull_number}/comments
fix: correct types for POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews to reflect that event must be sent to DISMISS