Skip to content

Instantly share code, notes, and snippets.

@xuorig
Last active July 6, 2021 18:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xuorig/08188b1d31d55c9bf97245e1724cd12a to your computer and use it in GitHub Desktop.
Save xuorig/08188b1d31d55c9bf97245e1724cd12a to your computer and use it in GitHub Desktop.

OpenAPI diff

Diff between GHES 2.2 and GHES 3.0 Generated by https://github.com/xuorig/heraclitus

Paths

Added

  • GET /app/hook/config (apps/get-webhook-config-for-app)
  • PATCH /app/hook/config (apps/update-webhook-config-for-app)
  • POST /applications/{client_id}/token/scoped (apps/scope-token)
  • GET /enterprise/announcement (enterprise-admin/get-announcement)
  • PATCH /enterprise/announcement (enterprise-admin/set-announcement)
  • GET /enterprises/{enterprise}/actions/permissions (enterprise-admin/get-github-actions-permissions-enterprise)
  • PUT /enterprises/{enterprise}/actions/permissions (enterprise-admin/set-github-actions-permissions-enterprise)
  • GET /enterprises/{enterprise}/actions/permissions/organizations (enterprise-admin/list-selected-organizations-enabled-github-actions-enterprise)
  • PUT /enterprises/{enterprise}/actions/permissions/organizations (enterprise-admin/set-selected-organizations-enabled-github-actions-enterprise)
  • PUT /enterprises/{enterprise}/actions/permissions/organizations/{org_id} (enterprise-admin/enable-selected-organization-github-actions-enterprise)
  • GET /enterprises/{enterprise}/actions/permissions/selected-actions (enterprise-admin/get-allowed-actions-enterprise)
  • PUT /enterprises/{enterprise}/actions/permissions/selected-actions (enterprise-admin/set-allowed-actions-enterprise)
  • GET /orgs/{org}/actions/permissions (actions/get-github-actions-permissions-organization)
  • PUT /orgs/{org}/actions/permissions (actions/set-github-actions-permissions-organization)
  • GET /orgs/{org}/actions/permissions/repositories (actions/list-selected-repositories-enabled-github-actions-organization)
  • PUT /orgs/{org}/actions/permissions/repositories (actions/set-selected-repositories-enabled-github-actions-organization)
  • PUT /orgs/{org}/actions/permissions/repositories/{repository_id} (actions/enable-selected-repository-github-actions-organization)
  • GET /orgs/{org}/actions/permissions/selected-actions (actions/get-allowed-actions-organization)
  • PUT /orgs/{org}/actions/permissions/selected-actions (actions/set-allowed-actions-organization)
  • GET /orgs/{org}/hooks/{hook_id}/config (orgs/get-webhook-config-for-org)
  • PATCH /orgs/{org}/hooks/{hook_id}/config (orgs/update-webhook-config-for-org)
  • GET /repos/{owner}/{repo}/actions/permissions (actions/get-github-actions-permissions-repository)
  • PUT /repos/{owner}/{repo}/actions/permissions (actions/set-github-actions-permissions-repository)
  • GET /repos/{owner}/{repo}/actions/permissions/selected-actions (actions/get-allowed-actions-repository)
  • PUT /repos/{owner}/{repo}/actions/permissions/selected-actions (actions/set-allowed-actions-repository)
  • PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable (actions/disable-workflow)
  • PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable (actions/enable-workflow)
  • GET /repos/{owner}/{repo}/hooks/{hook_id}/config (repos/get-webhook-config-for-repo)
  • PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config (repos/update-webhook-config-for-repo)

Removed

Changed

/app/installations/{installation_id}
GET /app/installations/{installation_id}
  • Operation description was changed.
  • Response with status 200 changed:
    • Request body media type application/json changed:.
      • Property has_multiple_single_files was added.
      • Property single_file_paths was added.
      • Property permissions was changed:
        • Property actions was added.
        • Property administration was added.
        • Property content_references was added.
        • Property environments was added.
        • Property members was added.
        • Property organization_hooks was added.
        • Property organization_packages was added.
        • Property organization_plan was added.
        • Property organization_projects was added.
        • Property organization_secrets was added.
        • Property organization_self_hosted_runners was added.
        • Property organization_user_blocking was added.
        • Property packages was added.
        • Property pages was added.
        • Property repository_hooks was added.
        • Property repository_projects was added.
        • Property secret_scanning_alerts was added.
        • Property secrets was added.
        • Property security_events was added.
        • Property single_file was added.
        • Property team_discussions was added.
        • Property vulnerability_alerts was added.
        • Property workflows was added.
        • Property checks was changed:
        • Property metadata was changed:
        • Property statuses was changed:
        • Property organization_administration was changed:
        • Property deployments was changed:
        • Property contents was changed:
        • Property pull_requests was changed:
        • Property issues was changed:
/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}
GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}
  • Operation description was changed.
/search/code
GET /search/code
  • Operation description was changed.
/gitignore/templates/{name}
GET /gitignore/templates/{name}
  • Operation description was changed.
/teams/{team_id}/discussions
GET /teams/{team_id}/discussions
  • Operation description was changed.
/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions
GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions
  • Operation description was changed.
/teams/{team_id}/discussions/{discussion_number}
GET /teams/{team_id}/discussions/{discussion_number}
  • Operation description was changed.
/teams/{team_id}/teams
GET /teams/{team_id}/teams
  • Operation description was changed.
/orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}
GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}
  • Operation description was changed.
/authorizations
GET /authorizations
  • Operation description was changed.
/repos/{owner}/{repo}/license
GET /repos/{owner}/{repo}/license
  • Operation description was changed.
/user/installations
GET /user/installations
  • Operation description was changed.
/repos/{owner}/{repo}/git/ref/{ref}
GET /repos/{owner}/{repo}/git/ref/{ref}
  • Operation description was changed.
/repos/{owner}/{repo}/commits/{commit_sha}/pulls
GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls
  • Operation description was changed.
/repos/{owner}/{repo}/contents/{path}
GET /repos/{owner}/{repo}/contents/{path}
  • Operation description was changed.
/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions
GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions
  • Operation description was changed.
/search/issues
GET /search/issues
  • Operation description was changed.
/teams/{team_id}/members/{username}
GET /teams/{team_id}/members/{username}
  • Operation description was changed.
/teams/{team_id}/repos
GET /teams/{team_id}/repos
  • Operation description was changed.
/user/keys
GET /user/keys
  • Operation description was changed.
/users/{username}
GET /users/{username}
  • Operation description was changed.
/installation/repositories
GET /installation/repositories
  • Operation description was changed.
/teams/{team_id}/memberships/{username}
GET /teams/{team_id}/memberships/{username}
  • Operation description was changed.
/issues
GET /issues
  • Operation description was changed.
/repos/{owner}/{repo}/pulls/{pull_number}
GET /repos/{owner}/{repo}/pulls/{pull_number}
  • Operation description was changed.
/feeds
GET /feeds
  • Operation description was changed.
/applications/grants/{grant_id}
GET /applications/grants/{grant_id}
  • Operation description was changed.
/search/commits
GET /search/commits
  • Operation description was changed.
/repos/{owner}/{repo}/readme
GET /repos/{owner}/{repo}/readme
  • Operation description was changed.
/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}
GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}
  • Operation description was changed.
  • Response with status 200 changed:
    • Request body media type application/json changed:.
      • Property instances_url was added.
      • Property most_recent_instance was added.
/gists/public
GET /gists/public
  • Operation description was changed.
/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}
GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}
  • Operation description was changed.
/repos/{owner}/{repo}/readme/{dir}
GET /repos/{owner}/{repo}/readme/{dir}
  • Operation description was changed.
/orgs/{org}/teams/{team_slug}/memberships/{username}
GET /orgs/{org}/teams/{team_slug}/memberships/{username}
  • Operation description was changed.
/search/topics
GET /search/topics
  • Operation description was changed.
/teams/{team_id}/members
GET /teams/{team_id}/members
  • Operation description was changed.
/user/installations/{installation_id}/repositories
GET /user/installations/{installation_id}/repositories
  • Operation description was changed.
/applications/grants
GET /applications/grants
  • Operation description was changed.
/user/teams
GET /user/teams
  • Operation description was changed.
/user/gpg_keys/{gpg_key_id}
GET /user/gpg_keys/{gpg_key_id}
  • Operation description was changed.
/app
GET /app
  • Operation description was changed.
/organizations
GET /organizations
  • Operation description was changed.
/search/users
GET /search/users
  • Operation description was changed.
/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}
GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}
  • Operation description was changed.
/teams/{team_id}/discussions/{discussion_number}/comments
GET /teams/{team_id}/discussions/{discussion_number}/comments
  • Operation description was changed.
/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments
GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments
  • Operation description was changed.
/repos/{owner}/{repo}/compare/{basehead}
GET /repos/{owner}/{repo}/compare/{basehead}
  • Operation description was changed.
/repos/{owner}/{repo}/commits/{ref}/status
GET /repos/{owner}/{repo}/commits/{ref}/status
  • Operation description was changed.
/repos/{owner}/{repo}/commits/{ref}
GET /repos/{owner}/{repo}/commits/{ref}
  • Operation description was changed.
/gitignore/templates
GET /gitignore/templates
  • Operation description was changed.
/repos/{owner}/{repo}/installation
GET /repos/{owner}/{repo}/installation
  • Operation description was changed.
  • Response with status 200 changed:
    • Request body media type application/json changed:.
      • Property has_multiple_single_files was added.
      • Property single_file_paths was added.
      • Property permissions was changed:
        • Property actions was added.
        • Property administration was added.
        • Property content_references was added.
        • Property environments was added.
        • Property members was added.
        • Property organization_hooks was added.
        • Property organization_packages was added.
        • Property organization_plan was added.
        • Property organization_projects was added.
        • Property organization_secrets was added.
        • Property organization_self_hosted_runners was added.
        • Property organization_user_blocking was added.
        • Property packages was added.
        • Property pages was added.
        • Property repository_hooks was added.
        • Property repository_projects was added.
        • Property secret_scanning_alerts was added.
        • Property secrets was added.
        • Property security_events was added.
        • Property single_file was added.
        • Property team_discussions was added.
        • Property vulnerability_alerts was added.
        • Property workflows was added.
        • Property contents was changed:
        • Property metadata was changed:
        • Property pull_requests was changed:
        • Property deployments was changed:
        • Property checks was changed:
        • Property issues was changed:
        • Property statuses was changed:
        • Property organization_administration was changed:
/applications/{client_id}/tokens/{access_token}
GET /applications/{client_id}/tokens/{access_token}
  • Operation description was changed.
/repos/{owner}/{repo}/git/matching-refs/{ref}
GET /repos/{owner}/{repo}/git/matching-refs/{ref}
  • Operation description was changed.
/repos/{owner}/{repo}/actions/runs
GET /repos/{owner}/{repo}/actions/runs
  • Operation description was changed.
/repos/{owner}/{repo}/releases/{release_id}
GET /repos/{owner}/{repo}/releases/{release_id}
  • Operation description was changed.
/teams/{team_id}/discussions/{discussion_number}/reactions
GET /teams/{team_id}/discussions/{discussion_number}/reactions
  • Operation description was changed.
/user/issues
GET /user/issues
  • Operation description was changed.
/search/labels
GET /search/labels
  • Operation description was changed.
/repos/{owner}/{repo}/code-scanning/alerts
GET /repos/{owner}/{repo}/code-scanning/alerts
  • Operation description was changed.
/user/public_emails
GET /user/public_emails
  • Operation description was changed.
/repos/{owner}/{repo}/pulls/{pull_number}/commits
GET /repos/{owner}/{repo}/pulls/{pull_number}/commits
  • Operation description was changed.
/teams/{team_id}/projects
GET /teams/{team_id}/projects
  • Operation description was changed.
/app/installations
GET /app/installations
  • Operation description was changed.
/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions
GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions
  • Operation description was changed.
/repos/{owner}/{repo}/releases/assets/{asset_id}
GET /repos/{owner}/{repo}/releases/assets/{asset_id}
  • Operation description was changed.
/teams/{team_id}/projects/{project_id}
GET /teams/{team_id}/projects/{project_id}
  • Operation description was changed.
/authorizations/{authorization_id}
GET /authorizations/{authorization_id}
  • Operation description was changed.
/repos/{owner}/{repo}/issues/{issue_number}
GET /repos/{owner}/{repo}/issues/{issue_number}
  • Operation description was changed.
/users/{username}/installation
GET /users/{username}/installation
  • Operation description was changed.
  • Response with status 200 changed:
    • Request body media type application/json changed:.
      • Property has_multiple_single_files was added.
      • Property single_file_paths was added.
      • Property permissions was changed:
        • Property actions was added.
        • Property administration was added.
        • Property content_references was added.
        • Property environments was added.
        • Property members was added.
        • Property organization_hooks was added.
        • Property organization_packages was added.
        • Property organization_plan was added.
        • Property organization_projects was added.
        • Property organization_secrets was added.
        • Property organization_self_hosted_runners was added.
        • Property organization_user_blocking was added.
        • Property packages was added.
        • Property pages was added.
        • Property repository_hooks was added.
        • Property repository_projects was added.
        • Property secret_scanning_alerts was added.
        • Property secrets was added.
        • Property security_events was added.
        • Property single_file was added.
        • Property team_discussions was added.
        • Property vulnerability_alerts was added.
        • Property workflows was added.
        • Property deployments was changed:
        • Property pull_requests was changed:
        • Property contents was changed:
        • Property statuses was changed:
        • Property checks was changed:
        • Property organization_administration was changed:
        • Property metadata was changed:
        • Property issues was changed:
/users
GET /users
  • Operation description was changed.
/repos/{owner}/{repo}/stargazers
GET /repos/{owner}/{repo}/stargazers
  • Operation description was changed.
/repos/{owner}/{repo}/issues/{issue_number}/reactions
GET /repos/{owner}/{repo}/issues/{issue_number}/reactions
  • Operation description was changed.
/orgs/{org}
GET /orgs/{org}
  • Operation description was changed.
/repos/{owner}/{repo}/comments
GET /repos/{owner}/{repo}/comments
  • Operation description was changed.
/repos/{owner}/{repo}/actions/runs/{run_id}/jobs
GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs
  • Operation description was changed.
/repos/{owner}/{repo}/releases
GET /repos/{owner}/{repo}/releases
  • Operation description was changed.
/orgs/{org}/issues
GET /orgs/{org}/issues
  • Operation description was changed.
/teams/{team_id}
GET /teams/{team_id}
  • Operation description was changed.
/user/gpg_keys
GET /user/gpg_keys
  • Operation description was changed.
/user/keys/{key_id}
GET /user/keys/{key_id}
  • Operation description was changed.
/user/starred
GET /user/starred
  • Operation description was changed.
/orgs/{org}/installation
GET /orgs/{org}/installation
  • Operation description was changed.
  • Response with status 200 changed:
    • Request body media type application/json changed:.
      • Property has_multiple_single_files was added.
      • Property single_file_paths was added.
      • Property permissions was changed:
        • Property actions was added.
        • Property administration was added.
        • Property content_references was added.
        • Property environments was added.
        • Property members was added.
        • Property organization_hooks was added.
        • Property organization_packages was added.
        • Property organization_plan was added.
        • Property organization_projects was added.
        • Property organization_secrets was added.
        • Property organization_self_hosted_runners was added.
        • Property organization_user_blocking was added.
        • Property packages was added.
        • Property pages was added.
        • Property repository_hooks was added.
        • Property repository_projects was added.
        • Property secret_scanning_alerts was added.
        • Property secrets was added.
        • Property security_events was added.
        • Property single_file was added.
        • Property team_discussions was added.
        • Property vulnerability_alerts was added.
        • Property workflows was added.
        • Property metadata was changed:
        • Property pull_requests was changed:
        • Property issues was changed:
        • Property statuses was changed:
        • Property contents was changed:
        • Property checks was changed:
        • Property deployments was changed:
        • Property organization_administration was changed:
/users/{username}/orgs
GET /users/{username}/orgs
  • Operation description was changed.
/users/{username}/starred
GET /users/{username}/starred
  • Operation description was changed.
/repos/{owner}/{repo}/comments/{comment_id}/reactions
GET /repos/{owner}/{repo}/comments/{comment_id}/reactions
  • Operation description was changed.
/repositories
GET /repositories
  • Operation description was changed.
/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions
GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions
  • Operation description was changed.
/search/repositories
GET /search/repositories
  • Operation description was changed.
/notifications/threads/{thread_id}/subscription
GET /notifications/threads/{thread_id}/subscription
  • Operation description was changed.
/repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs
GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs
  • Operation description was changed.
/orgs/{org}/teams/{team_slug}/discussions
GET /orgs/{org}/teams/{team_slug}/discussions
  • Operation description was changed.
/repos/{owner}/{repo}/issues
GET /repos/{owner}/{repo}/issues
  • Operation description was changed.
/teams/{team_id}/repos/{owner}/{repo}
GET /teams/{team_id}/repos/{owner}/{repo}
  • Operation description was changed.
/apps/{app_slug}
GET /apps/{app_slug}
  • Operation description was changed.
/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions
GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions
  • Operation description was changed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment