зеркало из https://github.com/github/docs.git
fix bug with rest redirect data (#35204)
This commit is contained in:
Родитель
6f602f8507
Коммит
6413f3cc06
|
@ -349,7 +349,7 @@
|
|||
"/rest/orgs#check-organization-membership-for-a-user": "/rest/orgs/members#check-organization-membership-for-a-user",
|
||||
"/rest/orgs#remove-an-organization-member": "/rest/orgs/members#remove-an-organization-member",
|
||||
"/rest/codespaces#get-codespaces-for-user-in-org": "/rest/codespaces/organizations#get-codespaces-for-user-in-org",
|
||||
"/rest/codespaces": "/rest/codespaces/organizations#undefined",
|
||||
"/rest/codespaces": "/rest/codespaces/organizations",
|
||||
"/rest/orgs#get-organization-membership-for-a-user": "/rest/orgs/members#get-organization-membership-for-a-user",
|
||||
"/rest/orgs#set-organization-membership-for-a-user": "/rest/orgs/members#set-organization-membership-for-a-user",
|
||||
"/rest/orgs#remove-organization-membership-for-a-user": "/rest/orgs/members#remove-organization-membership-for-a-user",
|
||||
|
@ -522,7 +522,6 @@
|
|||
"/rest/repos#enable-automated-security-fixes": "/rest/repos/repos#enable-automated-security-fixes",
|
||||
"/rest/repos#disable-automated-security-fixes": "/rest/repos/repos#disable-automated-security-fixes",
|
||||
"/rest/branches/branches#list-branches": "/rest/branches/branches#list-branches",
|
||||
"/rest/branches#branches": "/rest/branches/branches",
|
||||
"/rest/branches/branches#get-a-branch": "/rest/branches/branches#get-a-branch",
|
||||
"/rest/branches/branch-protection#get-branch-protection": "/rest/branches/branch-protection#get-branch-protection",
|
||||
"/rest/branches#branch-protection": "/rest/branches/branch-protection",
|
||||
|
@ -585,7 +584,6 @@
|
|||
"/rest/codespaces#create-or-update-a-repository-secret": "/rest/codespaces/repository-secrets#create-or-update-a-repository-secret",
|
||||
"/rest/codespaces#delete-a-repository-secret": "/rest/codespaces/repository-secrets#delete-a-repository-secret",
|
||||
"/rest/collaborators/collaborators#list-repository-collaborators": "/rest/collaborators/collaborators#list-repository-collaborators",
|
||||
"/rest/collaborators#collaborators": "/rest/collaborators/collaborators",
|
||||
"/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator": "/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator",
|
||||
"/rest/collaborators/collaborators#add-a-repository-collaborator": "/rest/collaborators/collaborators#add-a-repository-collaborator",
|
||||
"/rest/collaborators/collaborators#remove-a-repository-collaborator": "/rest/collaborators/collaborators#remove-a-repository-collaborator",
|
||||
|
@ -596,7 +594,6 @@
|
|||
"/rest/commits/comments#update-a-commit-comment": "/rest/commits/comments#update-a-commit-comment",
|
||||
"/rest/commits/comments#delete-a-commit-comment": "/rest/commits/comments#delete-a-commit-comment",
|
||||
"/rest/commits/commits#list-commits": "/rest/commits/commits#list-commits",
|
||||
"/rest/commits#commits": "/rest/commits/commits",
|
||||
"/rest/commits/commits#list-branches-for-head-commit": "/rest/commits/commits#list-branches-for-head-commit",
|
||||
"/rest/commits/comments#list-commit-comments": "/rest/commits/comments#list-commit-comments",
|
||||
"/rest/commits/comments#create-a-commit-comment": "/rest/commits/comments#create-a-commit-comment",
|
||||
|
@ -628,7 +625,6 @@
|
|||
"/rest/dependency-graph#create-a-snapshot-of-dependencies-for-a-repository": "/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository",
|
||||
"/rest/dependency-graph#dependency-submission": "/rest/dependency-graph/dependency-submission",
|
||||
"/rest/deployments/deployments#list-deployments": "/rest/deployments/deployments#list-deployments",
|
||||
"/rest/deployments#deployments": "/rest/deployments/deployments",
|
||||
"/rest/deployments/deployments#create-a-deployment": "/rest/deployments/deployments#create-a-deployment",
|
||||
"/rest/deployments/deployments#get-a-deployment": "/rest/deployments/deployments#get-a-deployment",
|
||||
"/rest/deployments/deployments#delete-a-deployment": "/rest/deployments/deployments#delete-a-deployment",
|
||||
|
@ -786,9 +782,8 @@
|
|||
"/rest/pulls#update-a-pull-request-branch": "/rest/pulls/pulls#update-a-pull-request-branch",
|
||||
"/rest/repos#get-a-repository-readme": "/rest/repos/contents#get-a-repository-readme",
|
||||
"/rest/repos#get-a-repository-directory-readme": "/rest/repos/contents#get-a-repository-directory-readme",
|
||||
"/rest/releases#releases": "/rest/releases/releases",
|
||||
"/rest/releases/releases#create-a-release": "/rest/releases/releases#create-a-release",
|
||||
"/rest/releases#assets": "/rest/releases/assets",
|
||||
"/rest/repos#releases": "/rest/repos/releases",
|
||||
"/rest/releases/releases#create-a-release": "/rest/repos/releases#create-a-release",
|
||||
"/rest/activity#list-stargazers": "/rest/activity/starring#list-stargazers",
|
||||
"/rest/activity#starring": "/rest/activity/starring",
|
||||
"/rest/metrics/statistics#get-the-weekly-commit-activity": "/rest/metrics/statistics#get-the-weekly-commit-activity",
|
||||
|
@ -974,101 +969,6 @@
|
|||
"/rest/users#list-ssh-signing-keys-for-a-user": "/rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user",
|
||||
"/rest/activity#list-repositories-starred-by-a-user": "/rest/activity/starring#list-repositories-starred-by-a-user",
|
||||
"/rest/activity#list-repositories-watched-by-a-user": "/rest/activity/watching#list-repositories-watched-by-a-user",
|
||||
"/rest/enterprise-admin#get-github-enterprise-server-statistics": "/rest/enterprise-admin/admin-stats#get-github-enterprise-server-statistics",
|
||||
"/rest/enterprise-admin#admin-stats": "/rest/enterprise-admin/admin-stats",
|
||||
"/rest/actions#get-github-actions-cache-usage-for-an-enterprise": "/rest/actions/cache#get-github-actions-cache-usage-for-an-enterprise",
|
||||
"/rest/actions/oidc#set-actions-oidc-custom-issuer-policy-for-enterprise": "/rest/actions/oidc#set-actions-oidc-custom-issuer-policy-for-enterprise",
|
||||
"/rest/actions#get-github-actions-permissions-for-an-enterprise": "/rest/actions/permissions#get-github-actions-permissions-for-an-enterprise",
|
||||
"/rest/actions#set-github-actions-permissions-for-an-enterprise": "/rest/actions/permissions#set-github-actions-permissions-for-an-enterprise",
|
||||
"/rest/actions#list-selected-organizations-enabled-for-github-actions-in-an-enterprise": "/rest/actions/permissions#list-selected-organizations-enabled-for-github-actions-in-an-enterprise",
|
||||
"/rest/actions#set-selected-organizations-enabled-for-github-actions-in-an-enterprise": "/rest/actions/permissions#set-selected-organizations-enabled-for-github-actions-in-an-enterprise",
|
||||
"/rest/actions#enable-a-selected-organization-for-github-actions-in-an-enterprise": "/rest/actions/permissions#enable-a-selected-organization-for-github-actions-in-an-enterprise",
|
||||
"/rest/actions#disable-a-selected-organization-for-github-actions-in-an-enterprise": "/rest/actions/permissions#disable-a-selected-organization-for-github-actions-in-an-enterprise",
|
||||
"/rest/actions#get-allowed-actions-for-an-enterprise": "/rest/actions/permissions#get-allowed-actions-for-an-enterprise",
|
||||
"/rest/actions#set-allowed-actions-for-an-enterprise": "/rest/actions/permissions#set-allowed-actions-for-an-enterprise",
|
||||
"/rest/actions#get-default-workflow-permissions-for-an-enterprise": "/rest/actions/permissions#get-default-workflow-permissions-for-an-enterprise",
|
||||
"/rest/actions#set-default-workflow-permissions-for-an-enterprise": "/rest/actions/permissions#set-default-workflow-permissions-for-an-enterprise",
|
||||
"/rest/actions#list-self-hosted-runner-groups-for-an-enterprise": "/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-enterprise",
|
||||
"/rest/actions#self-hosted-runner-groups": "/rest/actions/self-hosted-runner-groups",
|
||||
"/rest/actions#create-self-hosted-runner-group-for-an-enterprise": "/rest/actions/self-hosted-runner-groups#create-self-hosted-runner-group-for-an-enterprise",
|
||||
"/rest/actions#get-a-self-hosted-runner-group-for-an-enterprise": "/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-enterprise",
|
||||
"/rest/actions#update-a-self-hosted-runner-group-for-an-enterprise": "/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-enterprise",
|
||||
"/rest/actions#delete-a-self-hosted-runner-group-from-an-enterprise": "/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-enterprise",
|
||||
"/rest/actions#list-organization-access-to-a-self-hosted-runner-group-in-a-enterprise": "/rest/actions/self-hosted-runner-groups#list-organization-access-to-a-self-hosted-runner-group-in-a-enterprise",
|
||||
"/rest/actions#set-organization-access-to-a-self-hosted-runner-group-in-an-enterprise": "/rest/actions/self-hosted-runner-groups#set-organization-access-to-a-self-hosted-runner-group-in-an-enterprise",
|
||||
"/rest/actions#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise": "/rest/actions/self-hosted-runner-groups#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise",
|
||||
"/rest/actions#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise": "/rest/actions/self-hosted-runner-groups#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise",
|
||||
"/rest/actions#list-self-hosted-runners-in-a-group-for-an-enterprise": "/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-enterprise",
|
||||
"/rest/actions#set-self-hosted-runners-in-a-group-for-an-enterprise": "/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-enterprise",
|
||||
"/rest/actions#add-a-self-hosted-runner-to-a-group-for-an-enterprise": "/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-enterprise",
|
||||
"/rest/actions#remove-a-self-hosted-runner-from-a-group-for-an-enterprise": "/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-enterprise",
|
||||
"/rest/actions#list-self-hosted-runners-for-an-enterprise": "/rest/actions/self-hosted-runners#list-self-hosted-runners-for-an-enterprise",
|
||||
"/rest/actions#list-runner-applications-for-an-enterprise": "/rest/actions/self-hosted-runners#list-runner-applications-for-an-enterprise",
|
||||
"/rest/actions#create-a-registration-token-for-an-enterprise": "/rest/actions/self-hosted-runners#create-a-registration-token-for-an-enterprise",
|
||||
"/rest/actions#create-a-remove-token-for-an-enterprise": "/rest/actions/self-hosted-runners#create-a-remove-token-for-an-enterprise",
|
||||
"/rest/actions#get-a-self-hosted-runner-for-an-enterprise": "/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-enterprise",
|
||||
"/rest/actions#delete-self-hosted-runner-from-an-enterprise": "/rest/actions/self-hosted-runners#delete-self-hosted-runner-from-an-enterprise",
|
||||
"/rest/actions#list-labels-for-a-self-hosted-runner-for-an-enterprise": "/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-enterprise",
|
||||
"/rest/actions#add-custom-labels-to-a-self-hosted-runner-for-an-enterprise": "/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-enterprise",
|
||||
"/rest/actions#set-custom-labels-for-a-self-hosted-runner-for-an-enterprise": "/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-enterprise",
|
||||
"/rest/actions#remove-all-custom-labels-from-a-self-hosted-runner-for-an-enterprise": "/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-enterprise",
|
||||
"/rest/actions#remove-a-custom-label-from-a-self-hosted-runner-for-an-enterprise": "/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-enterprise",
|
||||
"/rest/announcement-banners#get-announcement-banner-for-enterprise": "/rest/announcement-banners/enterprises#get-announcement-banner-for-enterprise",
|
||||
"/rest/announcement-banners#enterprises": "/rest/announcement-banners/enterprises",
|
||||
"/rest/announcement-banners/enterprises#set-announcement-banner-for-enterprise": "/rest/announcement-banners/enterprises#set-announcement-banner-for-enterprise",
|
||||
"/rest/announcement-banners/enterprises#remove-announcement-banner-from-enterprise": "/rest/announcement-banners/enterprises#remove-announcement-banner-from-enterprise",
|
||||
"/rest/enterprise-admin#get-the-audit-log-for-an-enterprise": "/rest/enterprise-admin/audit-log#get-the-audit-log-for-an-enterprise",
|
||||
"/rest/enterprise-admin#audit-log": "/rest/enterprise-admin/audit-log",
|
||||
"/rest/enterprise-admin#get-code-security-analysis-features-for-an-enterprise": "/rest/enterprise-admin/code-security-and-analysis#get-code-security-analysis-features-for-an-enterprise",
|
||||
"/rest/enterprise-admin#code-security-and-analysis": "/rest/enterprise-admin/code-security-and-analysis",
|
||||
"/rest/enterprise-admin#update-code-security-and-analysis-features-for-an-enterprise": "/rest/enterprise-admin/code-security-and-analysis#update-code-security-and-analysis-features-for-an-enterprise",
|
||||
"/rest/enterprise-admin#list-enterprise-consumed-licenses": "/rest/enterprise-admin/license#list-enterprise-consumed-licenses",
|
||||
"/rest/enterprise-admin#license": "/rest/enterprise-admin/license",
|
||||
"/rest/enterprise-admin#get-a-license-sync-status": "/rest/enterprise-admin/license#get-a-license-sync-status",
|
||||
"/rest/billing#get-github-actions-billing-for-an-enterprise": "/rest/enterprise-admin/billing#get-github-actions-billing-for-an-enterprise",
|
||||
"/rest/enterprise-admin#billing": "/rest/enterprise-admin/billing",
|
||||
"/rest/billing#export-advanced-security-active-committers-data-for-enterprise": "/rest/enterprise-admin/billing#export-advanced-security-active-committers-data-for-enterprise",
|
||||
"/rest/billing#get-github-packages-billing-for-an-enterprise": "/rest/enterprise-admin/billing#get-github-packages-billing-for-an-enterprise",
|
||||
"/rest/billing#get-shared-storage-billing-for-an-enterprise": "/rest/enterprise-admin/billing#get-shared-storage-billing-for-an-enterprise",
|
||||
"/rest/enterprise-admin#enable-or-disable-a-security-feature": "/rest/enterprise-admin/code-security-and-analysis#enable-or-disable-a-security-feature",
|
||||
"/rest/orgs#custom-roles": "/rest/orgs/custom-roles",
|
||||
"/rest/actions#list-self-hosted-runner-groups-for-an-organization": "/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization",
|
||||
"/rest/actions#create-a-self-hosted-runner-group-for-an-organization": "/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization",
|
||||
"/rest/actions#get-a-self-hosted-runner-group-for-an-organization": "/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization",
|
||||
"/rest/actions#update-a-self-hosted-runner-group-for-an-organization": "/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization",
|
||||
"/rest/actions#delete-a-self-hosted-runner-group-from-an-organization": "/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization",
|
||||
"/rest/actions#list-repository-access-to-a-self-hosted-runner-group-in-an-organization": "/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization",
|
||||
"/rest/actions#set-repository-access-to-a-self-hosted-runner-group-in-an-organization": "/rest/actions/self-hosted-runner-groups#set-repository-access-to-a-self-hosted-runner-group-in-an-organization",
|
||||
"/rest/actions#add-repository-acess-to-a-self-hosted-runner-group-in-an-organization": "/rest/actions/self-hosted-runner-groups#add-repository-acess-to-a-self-hosted-runner-group-in-an-organization",
|
||||
"/rest/actions#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization": "/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization",
|
||||
"/rest/actions#list-self-hosted-runners-in-a-group-for-an-organization": "/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization",
|
||||
"/rest/actions#set-self-hosted-runners-in-a-group-for-an-organization": "/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization",
|
||||
"/rest/actions#add-a-self-hosted-runner-to-a-group-for-an-organization": "/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization",
|
||||
"/rest/actions#remove-a-self-hosted-runner-from-a-group-for-an-organization": "/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization",
|
||||
"/rest/announcement-banners#get-enterprise-announcement-banner-for-org": "/rest/announcement-banners/organizations#get-enterprise-announcement-banner-for-org",
|
||||
"/rest/announcement-banners#organizations": "/rest/announcement-banners/organizations",
|
||||
"/rest/announcement-banners/organizations#set-announcement-banner-for-organization": "/rest/announcement-banners/organizations#set-announcement-banner-for-organization",
|
||||
"/rest/announcement-banners/organizations#remove-announcement-banner-from-organization": "/rest/announcement-banners/organizations#remove-announcement-banner-from-organization",
|
||||
"/rest/orgs#get-audit-log": "/rest/orgs/orgs#get-audit-log",
|
||||
"/rest/orgs#list-saml-sso-authorizations-for-an-organization": "/rest/orgs/orgs#list-saml-sso-authorizations-for-an-organization",
|
||||
"/rest/orgs#remove-a-saml-sso-authorization-for-an-organization": "/rest/orgs/orgs#remove-a-saml-sso-authorization-for-an-organization",
|
||||
"/rest/orgs#create-a-custom-role": "/rest/orgs/custom-roles#create-a-custom-role",
|
||||
"/rest/orgs/#get-a-custom-role": "/rest/orgs/custom-roles#get-a-custom-role",
|
||||
"/rest/orgs#update-a-custom-role": "/rest/orgs/custom-roles#update-a-custom-role",
|
||||
"/rest/orgs#delete-a-custom-role": "/rest/orgs/custom-roles#delete-a-custom-role",
|
||||
"/rest/teams#external-idp-group-info-for-an-organization": "/rest/teams/external-groups#external-idp-group-info-for-an-organization",
|
||||
"/rest/teams#external-groups": "/rest/teams/external-groups",
|
||||
"/rest/teams#list-external-idp-groups-for-an-organization": "/rest/teams/external-groups#list-external-idp-groups-for-an-organization",
|
||||
"/rest/orgs#list-repository-fine-grained-permissions-for-an-organization": "/rest/orgs/custom-roles#list-repository-fine-grained-permissions-for-an-organization",
|
||||
"/rest/teams#list-idp-groups-for-an-organization": "/rest/teams/team-sync#list-idp-groups-for-an-organization",
|
||||
"/rest/teams#team-sync": "/rest/teams/team-sync",
|
||||
"/rest/teams#list-external-idp-group-team-connection": "/rest/teams/external-groups#list-external-idp-group-team-connection",
|
||||
"/rest/teams#link-external-idp-group-team-connection": "/rest/teams/external-groups#link-external-idp-group-team-connection",
|
||||
"/rest/teams#unlink-external-idp-group-team-connection": "/rest/teams/external-groups#unlink-external-idp-group-team-connection",
|
||||
"/rest/teams#list-idp-groups-for-a-team": "/rest/teams/team-sync#list-idp-groups-for-a-team",
|
||||
"/rest/teams#create-or-update-idp-group-connections": "/rest/teams/team-sync#create-or-update-idp-group-connections",
|
||||
"/rest/teams#list-idp-groups-for-a-team-legacy": "/rest/teams/team-sync#list-idp-groups-for-a-team-legacy",
|
||||
"/rest/teams#create-or-update-idp-group-connections-legacy": "/rest/teams/team-sync#create-or-update-idp-group-connections-legacy",
|
||||
"/rest/enterprise-admin#list-global-webhooks": "/rest/enterprise-admin/global-webhooks#list-global-webhooks",
|
||||
"/rest/enterprise-admin#global-webhooks": "/rest/enterprise-admin/global-webhooks",
|
||||
"/rest/enterprise-admin#create-a-global-webhook": "/rest/enterprise-admin/global-webhooks#create-a-global-webhook",
|
||||
|
@ -1079,11 +979,6 @@
|
|||
"/rest/enterprise-admin#list-public-keys": "/rest/enterprise-admin/users#list-public-keys",
|
||||
"/rest/enterprise-admin#users": "/rest/enterprise-admin/users",
|
||||
"/rest/enterprise-admin#delete-a-public-key": "/rest/enterprise-admin/users#delete-a-public-key",
|
||||
"/rest/enterprise-admin#update-ldap-mapping-for-a-team": "/rest/enterprise-admin/ldap#update-ldap-mapping-for-a-team",
|
||||
"/rest/enterprise-admin#ldap": "/rest/enterprise-admin/ldap",
|
||||
"/rest/enterprise-admin#sync-ldap-mapping-for-a-team": "/rest/enterprise-admin/ldap#sync-ldap-mapping-for-a-team",
|
||||
"/rest/enterprise-admin#update-ldap-mapping-for-a-user": "/rest/enterprise-admin/ldap#update-ldap-mapping-for-a-user",
|
||||
"/rest/enterprise-admin#sync-ldap-mapping-for-a-user": "/rest/enterprise-admin/ldap#sync-ldap-mapping-for-a-user",
|
||||
"/rest/enterprise-admin#create-an-organization": "/rest/enterprise-admin/orgs#create-an-organization",
|
||||
"/rest/enterprise-admin#orgs": "/rest/enterprise-admin/orgs",
|
||||
"/rest/enterprise-admin#update-an-organization-name": "/rest/enterprise-admin/orgs#update-an-organization-name",
|
||||
|
@ -1095,25 +990,20 @@
|
|||
"/rest/enterprise-admin#delete-a-pre-receive-environment": "/rest/enterprise-admin/pre-receive-environments#delete-a-pre-receive-environment",
|
||||
"/rest/enterprise-admin#start-a-pre-receive-environment-download": "/rest/enterprise-admin/pre-receive-environments#start-a-pre-receive-environment-download",
|
||||
"/rest/enterprise-admin#get-the-download-status-for-a-pre-receive-environment": "/rest/enterprise-admin/pre-receive-environments#get-the-download-status-for-a-pre-receive-environment",
|
||||
"/rest/enterprise-admin#list-pre-receive-hooks": "/rest/enterprise-admin/pre-receive-hooks#list-pre-receive-hooks",
|
||||
"/rest/enterprise-admin#pre-receive-hooks": "/rest/enterprise-admin/pre-receive-hooks",
|
||||
"/rest/enterprise-admin#create-a-pre-receive-hook": "/rest/enterprise-admin/pre-receive-hooks#create-a-pre-receive-hook",
|
||||
"/rest/enterprise-admin#get-a-pre-receive-hook": "/rest/enterprise-admin/pre-receive-hooks#get-a-pre-receive-hook",
|
||||
"/rest/enterprise-admin#update-a-pre-receive-hook": "/rest/enterprise-admin/pre-receive-hooks#update-a-pre-receive-hook",
|
||||
"/rest/enterprise-admin#delete-a-pre-receive-hook": "/rest/enterprise-admin/pre-receive-hooks#delete-a-pre-receive-hook",
|
||||
"/rest/enterprise-admin#list-personal-access-tokens": "/rest/enterprise-admin/users#list-personal-access-tokens",
|
||||
"/rest/enterprise-admin#delete-a-personal-access-token": "/rest/enterprise-admin/users#delete-a-personal-access-token",
|
||||
"/rest/enterprise-admin#create-a-user": "/rest/enterprise-admin/users#create-a-user",
|
||||
"/rest/enterprise-admin#update-the-username-for-a-user": "/rest/enterprise-admin/users#update-the-username-for-a-user",
|
||||
"/rest/enterprise-admin#delete-a-user": "/rest/enterprise-admin/users#delete-a-user",
|
||||
"/rest/enterprise-admin#create-an-impersonation-oauth-token": "/rest/enterprise-admin/users#create-an-impersonation-oauth-token",
|
||||
"/rest/enterprise-admin#delete-an-impersonation-oauth-token": "/rest/enterprise-admin/users#delete-an-impersonation-oauth-token",
|
||||
"/rest/apps#reset-an-authorization": "/rest/apps/oauth-applications#reset-an-authorization",
|
||||
"/rest/enterprise-admin/announcement#get-the-global-announcement-banner": "/rest/enterprise-admin/announcement#get-the-global-announcement-banner",
|
||||
"/rest/enterprise-admin#announcement": "/rest/enterprise-admin/announcement",
|
||||
"/rest/enterprise-admin/announcement#set-the-global-announcement-banner": "/rest/enterprise-admin/announcement#set-the-global-announcement-banner",
|
||||
"/rest/enterprise-admin/announcement#remove-the-global-announcement-banner": "/rest/enterprise-admin/announcement#remove-the-global-announcement-banner",
|
||||
"/rest/enterprise-admin#get-license-information": "/rest/enterprise-admin/license#get-license-information",
|
||||
"/rest/enterprise-admin#license": "/rest/enterprise-admin/license",
|
||||
"/rest/enterprise-admin#get-statistics": "/rest/enterprise-admin/admin-stats#get-statistics",
|
||||
"/rest/enterprise-admin#admin-stats": "/rest/enterprise-admin/admin-stats",
|
||||
"/rest/enterprise-admin#get-comment-statistics": "/rest/enterprise-admin/admin-stats#get-comment-statistics",
|
||||
"/rest/enterprise-admin#get-gist-statistics": "/rest/enterprise-admin/admin-stats#get-gist-statistics",
|
||||
"/rest/enterprise-admin#get-hooks-statistics": "/rest/enterprise-admin/admin-stats#get-hooks-statistics",
|
||||
|
@ -1124,6 +1014,115 @@
|
|||
"/rest/enterprise-admin#get-pull-requests-statistics": "/rest/enterprise-admin/admin-stats#get-pull-requests-statistics",
|
||||
"/rest/enterprise-admin#get-repository-statistics": "/rest/enterprise-admin/admin-stats#get-repository-statistics",
|
||||
"/rest/enterprise-admin#get-users-statistics": "/rest/enterprise-admin/admin-stats#get-users-statistics",
|
||||
"/rest/actions#get-github-actions-permissions-for-an-enterprise": "/rest/actions/permissions#get-github-actions-permissions-for-an-enterprise",
|
||||
"/rest/actions#set-github-actions-permissions-for-an-enterprise": "/rest/actions/permissions#set-github-actions-permissions-for-an-enterprise",
|
||||
"/rest/actions#list-selected-organizations-enabled-for-github-actions-in-an-enterprise": "/rest/actions/permissions#list-selected-organizations-enabled-for-github-actions-in-an-enterprise",
|
||||
"/rest/actions#set-selected-organizations-enabled-for-github-actions-in-an-enterprise": "/rest/actions/permissions#set-selected-organizations-enabled-for-github-actions-in-an-enterprise",
|
||||
"/rest/actions#enable-a-selected-organization-for-github-actions-in-an-enterprise": "/rest/actions/permissions#enable-a-selected-organization-for-github-actions-in-an-enterprise",
|
||||
"/rest/actions#disable-a-selected-organization-for-github-actions-in-an-enterprise": "/rest/actions/permissions#disable-a-selected-organization-for-github-actions-in-an-enterprise",
|
||||
"/rest/actions#get-allowed-actions-for-an-enterprise": "/rest/actions/permissions#get-allowed-actions-for-an-enterprise",
|
||||
"/rest/actions#set-allowed-actions-for-an-enterprise": "/rest/actions/permissions#set-allowed-actions-for-an-enterprise",
|
||||
"/rest/actions#list-self-hosted-runner-groups-for-an-enterprise": "/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-enterprise",
|
||||
"/rest/actions#self-hosted-runner-groups": "/rest/actions/self-hosted-runner-groups",
|
||||
"/rest/actions#create-self-hosted-runner-group-for-an-enterprise": "/rest/actions/self-hosted-runner-groups#create-self-hosted-runner-group-for-an-enterprise",
|
||||
"/rest/actions#get-a-self-hosted-runner-group-for-an-enterprise": "/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-enterprise",
|
||||
"/rest/actions#update-a-self-hosted-runner-group-for-an-enterprise": "/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-enterprise",
|
||||
"/rest/actions#delete-a-self-hosted-runner-group-from-an-enterprise": "/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-enterprise",
|
||||
"/rest/actions#list-self-hosted-runners-in-a-group-for-an-enterprise": "/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-enterprise",
|
||||
"/rest/actions#set-self-hosted-runners-in-a-group-for-an-enterprise": "/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-enterprise",
|
||||
"/rest/actions#add-a-self-hosted-runner-to-a-group-for-an-enterprise": "/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-enterprise",
|
||||
"/rest/actions#remove-a-self-hosted-runner-from-a-group-for-an-enterprise": "/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-enterprise",
|
||||
"/rest/actions#list-self-hosted-runners-for-an-enterprise": "/rest/actions/self-hosted-runners#list-self-hosted-runners-for-an-enterprise",
|
||||
"/rest/actions#list-runner-applications-for-an-enterprise": "/rest/actions/self-hosted-runners#list-runner-applications-for-an-enterprise",
|
||||
"/rest/actions#create-a-registration-token-for-an-enterprise": "/rest/actions/self-hosted-runners#create-a-registration-token-for-an-enterprise",
|
||||
"/rest/actions#create-a-remove-token-for-an-enterprise": "/rest/actions/self-hosted-runners#create-a-remove-token-for-an-enterprise",
|
||||
"/rest/actions#get-a-self-hosted-runner-for-an-enterprise": "/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-enterprise",
|
||||
"/rest/actions#delete-self-hosted-runner-from-an-enterprise": "/rest/actions/self-hosted-runners#delete-self-hosted-runner-from-an-enterprise",
|
||||
"/rest/enterprise-admin#get-the-audit-log-for-an-enterprise": "/rest/enterprise-admin/audit-log#get-the-audit-log-for-an-enterprise",
|
||||
"/rest/enterprise-admin#audit-log": "/rest/enterprise-admin/audit-log",
|
||||
"/rest/actions#list-self-hosted-runner-groups-for-an-organization": "/rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization",
|
||||
"/rest/actions#create-a-self-hosted-runner-group-for-an-organization": "/rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization",
|
||||
"/rest/actions#get-a-self-hosted-runner-group-for-an-organization": "/rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization",
|
||||
"/rest/actions#update-a-self-hosted-runner-group-for-an-organization": "/rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization",
|
||||
"/rest/actions#delete-a-self-hosted-runner-group-from-an-organization": "/rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization",
|
||||
"/rest/actions#add-a-self-hosted-runner-to-a-group-for-an-organization": "/rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization",
|
||||
"/rest/orgs#get-audit-log": "/rest/orgs/orgs#get-audit-log",
|
||||
"/rest/teams#external-idp-group-info-for-an-organization": "/rest/teams/external-groups#external-idp-group-info-for-an-organization",
|
||||
"/rest/teams#external-groups": "/rest/teams/external-groups",
|
||||
"/rest/teams#list-external-idp-groups-for-an-organization": "/rest/teams/external-groups#list-external-idp-groups-for-an-organization",
|
||||
"/rest/teams#link-external-idp-group-team-connection": "/rest/teams/external-groups#link-external-idp-group-team-connection",
|
||||
"/rest/teams#unlink-external-idp-group-team-connection": "/rest/teams/external-groups#unlink-external-idp-group-team-connection",
|
||||
"/rest/enterprise-admin#suspend-a-user": "/rest/enterprise-admin/users#suspend-a-user",
|
||||
"/rest/enterprise-admin#unsuspend-a-user": "/rest/enterprise-admin/users#unsuspend-a-user",
|
||||
"/rest/enterprise-admin#get-github-enterprise-server-statistics": "/rest/enterprise-admin/admin-stats#get-github-enterprise-server-statistics",
|
||||
"/rest/actions#get-github-actions-cache-usage-for-an-enterprise": "/rest/actions/cache#get-github-actions-cache-usage-for-an-enterprise",
|
||||
"/rest/actions/oidc#set-actions-oidc-custom-issuer-policy-for-enterprise": "/rest/actions/oidc#set-actions-oidc-custom-issuer-policy-for-enterprise",
|
||||
"/rest/actions#get-default-workflow-permissions-for-an-enterprise": "/rest/actions/permissions#get-default-workflow-permissions-for-an-enterprise",
|
||||
"/rest/actions#set-default-workflow-permissions-for-an-enterprise": "/rest/actions/permissions#set-default-workflow-permissions-for-an-enterprise",
|
||||
"/rest/actions#list-organization-access-to-a-self-hosted-runner-group-in-a-enterprise": "/rest/actions/self-hosted-runner-groups#list-organization-access-to-a-self-hosted-runner-group-in-a-enterprise",
|
||||
"/rest/actions#set-organization-access-to-a-self-hosted-runner-group-in-an-enterprise": "/rest/actions/self-hosted-runner-groups#set-organization-access-to-a-self-hosted-runner-group-in-an-enterprise",
|
||||
"/rest/actions#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise": "/rest/actions/self-hosted-runner-groups#add-organization-access-to-a-self-hosted-runner-group-in-an-enterprise",
|
||||
"/rest/actions#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise": "/rest/actions/self-hosted-runner-groups#remove-organization-access-to-a-self-hosted-runner-group-in-an-enterprise",
|
||||
"/rest/actions#list-labels-for-a-self-hosted-runner-for-an-enterprise": "/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-enterprise",
|
||||
"/rest/actions#add-custom-labels-to-a-self-hosted-runner-for-an-enterprise": "/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-enterprise",
|
||||
"/rest/actions#set-custom-labels-for-a-self-hosted-runner-for-an-enterprise": "/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-enterprise",
|
||||
"/rest/actions#remove-all-custom-labels-from-a-self-hosted-runner-for-an-enterprise": "/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-enterprise",
|
||||
"/rest/actions#remove-a-custom-label-from-a-self-hosted-runner-for-an-enterprise": "/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-enterprise",
|
||||
"/rest/announcement-banners#get-announcement-banner-for-enterprise": "/rest/announcement-banners/enterprises#get-announcement-banner-for-enterprise",
|
||||
"/rest/announcement-banners#enterprises": "/rest/announcement-banners/enterprises",
|
||||
"/rest/announcement-banners/enterprises#set-announcement-banner-for-enterprise": "/rest/announcement-banners/enterprises#set-announcement-banner-for-enterprise",
|
||||
"/rest/announcement-banners/enterprises#remove-announcement-banner-from-enterprise": "/rest/announcement-banners/enterprises#remove-announcement-banner-from-enterprise",
|
||||
"/rest/enterprise-admin#get-code-security-analysis-features-for-an-enterprise": "/rest/enterprise-admin/code-security-and-analysis#get-code-security-analysis-features-for-an-enterprise",
|
||||
"/rest/enterprise-admin#code-security-and-analysis": "/rest/enterprise-admin/code-security-and-analysis",
|
||||
"/rest/enterprise-admin#update-code-security-and-analysis-features-for-an-enterprise": "/rest/enterprise-admin/code-security-and-analysis#update-code-security-and-analysis-features-for-an-enterprise",
|
||||
"/rest/enterprise-admin#list-enterprise-consumed-licenses": "/rest/enterprise-admin/license#list-enterprise-consumed-licenses",
|
||||
"/rest/enterprise-admin#get-a-license-sync-status": "/rest/enterprise-admin/license#get-a-license-sync-status",
|
||||
"/rest/billing#get-github-actions-billing-for-an-enterprise": "/rest/enterprise-admin/billing#get-github-actions-billing-for-an-enterprise",
|
||||
"/rest/enterprise-admin#billing": "/rest/enterprise-admin/billing",
|
||||
"/rest/billing#export-advanced-security-active-committers-data-for-enterprise": "/rest/enterprise-admin/billing#export-advanced-security-active-committers-data-for-enterprise",
|
||||
"/rest/billing#get-github-packages-billing-for-an-enterprise": "/rest/enterprise-admin/billing#get-github-packages-billing-for-an-enterprise",
|
||||
"/rest/billing#get-shared-storage-billing-for-an-enterprise": "/rest/enterprise-admin/billing#get-shared-storage-billing-for-an-enterprise",
|
||||
"/rest/enterprise-admin#enable-or-disable-a-security-feature": "/rest/enterprise-admin/code-security-and-analysis#enable-or-disable-a-security-feature",
|
||||
"/rest/orgs#custom_roles": "/rest/orgs/custom_roles",
|
||||
"/rest/actions#list-repository-access-to-a-self-hosted-runner-group-in-an-organization": "/rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization",
|
||||
"/rest/actions#set-repository-access-to-a-self-hosted-runner-group-in-an-organization": "/rest/actions/self-hosted-runner-groups#set-repository-access-to-a-self-hosted-runner-group-in-an-organization",
|
||||
"/rest/actions#add-repository-acess-to-a-self-hosted-runner-group-in-an-organization": "/rest/actions/self-hosted-runner-groups#add-repository-acess-to-a-self-hosted-runner-group-in-an-organization",
|
||||
"/rest/actions#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization": "/rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization",
|
||||
"/rest/actions#list-self-hosted-runners-in-a-group-for-an-organization": "/rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization",
|
||||
"/rest/actions#set-self-hosted-runners-in-a-group-for-an-organization": "/rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization",
|
||||
"/rest/actions#remove-a-self-hosted-runner-from-a-group-for-an-organization": "/rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization",
|
||||
"/rest/announcement-banners#get-enterprise-announcement-banner-for-org": "/rest/announcement-banners/organizations#get-enterprise-announcement-banner-for-org",
|
||||
"/rest/announcement-banners#organizations": "/rest/announcement-banners/organizations",
|
||||
"/rest/announcement-banners/organizations#set-announcement-banner-for-organization": "/rest/announcement-banners/organizations#set-announcement-banner-for-organization",
|
||||
"/rest/announcement-banners/organizations#remove-announcement-banner-from-organization": "/rest/announcement-banners/organizations#remove-announcement-banner-from-organization",
|
||||
"/rest/orgs#list-saml-sso-authorizations-for-an-organization": "/rest/orgs/orgs#list-saml-sso-authorizations-for-an-organization",
|
||||
"/rest/orgs#remove-a-saml-sso-authorization-for-an-organization": "/rest/orgs/orgs#remove-a-saml-sso-authorization-for-an-organization",
|
||||
"/rest/orgs#create-a-custom-role": "/rest/orgs/custom-roles#create-a-custom-role",
|
||||
"/rest/orgs#custom-roles": "/rest/orgs/custom-roles",
|
||||
"/rest/orgs/#get-a-custom-role": "/rest/orgs/custom-roles#get-a-custom-role",
|
||||
"/rest/orgs#update-a-custom-role": "/rest/orgs/custom-roles#update-a-custom-role",
|
||||
"/rest/orgs#delete-a-custom-role": "/rest/orgs/custom-roles#delete-a-custom-role",
|
||||
"/rest/orgs#list-repository-fine-grained-permissions-for-an-organization": "/rest/orgs/custom-roles#list-repository-fine-grained-permissions-for-an-organization",
|
||||
"/rest/teams#list-idp-groups-for-an-organization": "/rest/teams/team-sync#list-idp-groups-for-an-organization",
|
||||
"/rest/teams#team-sync": "/rest/teams/team-sync",
|
||||
"/rest/teams#list-external-idp-group-team-connection": "/rest/teams/external-groups#list-external-idp-group-team-connection",
|
||||
"/rest/teams#list-idp-groups-for-a-team": "/rest/teams/team-sync#list-idp-groups-for-a-team",
|
||||
"/rest/teams#create-or-update-idp-group-connections": "/rest/teams/team-sync#create-or-update-idp-group-connections",
|
||||
"/rest/teams#list-idp-groups-for-a-team-legacy": "/rest/teams/team-sync#list-idp-groups-for-a-team-legacy",
|
||||
"/rest/teams#create-or-update-idp-group-connections-legacy": "/rest/teams/team-sync#create-or-update-idp-group-connections-legacy",
|
||||
"/rest/enterprise-admin#update-ldap-mapping-for-a-team": "/rest/enterprise-admin/ldap#update-ldap-mapping-for-a-team",
|
||||
"/rest/enterprise-admin#ldap": "/rest/enterprise-admin/ldap",
|
||||
"/rest/enterprise-admin#sync-ldap-mapping-for-a-team": "/rest/enterprise-admin/ldap#sync-ldap-mapping-for-a-team",
|
||||
"/rest/enterprise-admin#update-ldap-mapping-for-a-user": "/rest/enterprise-admin/ldap#update-ldap-mapping-for-a-user",
|
||||
"/rest/enterprise-admin#sync-ldap-mapping-for-a-user": "/rest/enterprise-admin/ldap#sync-ldap-mapping-for-a-user",
|
||||
"/rest/enterprise-admin#list-pre-receive-hooks": "/rest/enterprise-admin/pre-receive-hooks#list-pre-receive-hooks",
|
||||
"/rest/enterprise-admin#pre-receive-hooks": "/rest/enterprise-admin/pre-receive-hooks",
|
||||
"/rest/enterprise-admin#create-a-pre-receive-hook": "/rest/enterprise-admin/pre-receive-hooks#create-a-pre-receive-hook",
|
||||
"/rest/enterprise-admin#get-a-pre-receive-hook": "/rest/enterprise-admin/pre-receive-hooks#get-a-pre-receive-hook",
|
||||
"/rest/enterprise-admin#update-a-pre-receive-hook": "/rest/enterprise-admin/pre-receive-hooks#update-a-pre-receive-hook",
|
||||
"/rest/enterprise-admin#delete-a-pre-receive-hook": "/rest/enterprise-admin/pre-receive-hooks#delete-a-pre-receive-hook",
|
||||
"/rest/enterprise-admin#create-a-user": "/rest/enterprise-admin/users#create-a-user",
|
||||
"/rest/enterprise-admin#update-the-username-for-a-user": "/rest/enterprise-admin/users#update-the-username-for-a-user",
|
||||
"/rest/enterprise-admin#list-pre-receive-hooks-for-an-organization": "/rest/enterprise-admin/org-pre-receive-hooks#list-pre-receive-hooks-for-an-organization",
|
||||
"/rest/enterprise-admin#org-pre-receive-hooks": "/rest/enterprise-admin/org-pre-receive-hooks",
|
||||
"/rest/enterprise-admin#get-a-pre-receive-hook-for-an-organization": "/rest/enterprise-admin/org-pre-receive-hooks#get-a-pre-receive-hook-for-an-organization",
|
||||
|
@ -1149,8 +1148,6 @@
|
|||
"/rest/enterprise-admin#upgrade-a-license": "/rest/enterprise-admin/management-console#upgrade-a-license",
|
||||
"/rest/enterprise-admin#promote-a-user-to-be-a-site-administrator": "/rest/enterprise-admin/users#promote-a-user-to-be-a-site-administrator",
|
||||
"/rest/enterprise-admin#demote-a-site-administrator": "/rest/enterprise-admin/users#demote-a-site-administrator",
|
||||
"/rest/enterprise-admin#suspend-a-user": "/rest/enterprise-admin/users#suspend-a-user",
|
||||
"/rest/enterprise-admin#unsuspend-a-user": "/rest/enterprise-admin/users#unsuspend-a-user",
|
||||
"/rest/actions#get-github-actions-cache-usage-policy-for-an-enterprise": "/rest/actions/cache#get-github-actions-cache-usage-policy-for-an-enterprise",
|
||||
"/rest/actions#set-github-actions-cache-usage-policy-for-an-enterprise": "/rest/actions/cache#set-github-actions-cache-usage-policy-for-an-enterprise",
|
||||
"/rest/actions#get-github-actions-cache-usage-policy-for-a-repository": "/rest/actions/cache#get-github-actions-cache-usage-policy-for-a-repository",
|
||||
|
@ -1167,6 +1164,5 @@
|
|||
"/rest/enterprise-admin#get-scim-provisioning-information-for-an-enterprise-user": "/rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user",
|
||||
"/rest/enterprise-admin#set-scim-information-for-a-provisioned-enterprise-user": "/rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user",
|
||||
"/rest/enterprise-admin#update-an-attribute-for-a-scim-enterprise-user": "/rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user",
|
||||
"/rest/enterprise-admin#delete-a-scim-user-from-an-enterprise": "/rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise",
|
||||
"/rest/apps#reset-an-authorization": "/rest/apps/oauth-applications#reset-an-authorization"
|
||||
"/rest/enterprise-admin#delete-a-scim-user-from-an-enterprise": "/rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise"
|
||||
}
|
|
@ -56,6 +56,7 @@ export async function getCategoryOverrideRedirects() {
|
|||
async function decorateRedirects(operation, clientSideRedirects) {
|
||||
// A handful of operations don't have external docs properties
|
||||
const externalDocs = operation.externalDocs
|
||||
const { category, subcategory } = operation['x-github']
|
||||
if (!externalDocs) {
|
||||
return
|
||||
}
|
||||
|
@ -65,17 +66,17 @@ async function decorateRedirects(operation, clientSideRedirects) {
|
|||
// There are some operations that aren't nested in the sidebar
|
||||
// For these, don't need to add a client-side redirect, the
|
||||
// frontmatter redirect will handle it for us.
|
||||
if (categoriesWithoutSubcategories.includes(operation.category)) {
|
||||
if (categoriesWithoutSubcategories.includes(category)) {
|
||||
return
|
||||
}
|
||||
const anchor = oldUrl.split('#')[1]
|
||||
const subcategory = operation.subcategory
|
||||
const fragment = anchor ? `#${oldUrl.split('#')[1]}` : ''
|
||||
|
||||
// If there is no subcategory, a new page with the same name as the
|
||||
// category was created. That page name may change going forward.
|
||||
const redirectTo = subcategory
|
||||
? `/rest/${operation.category}/${subcategory}#${anchor}`
|
||||
: `/rest/${operation.category}/${operation.category}#${anchor}`
|
||||
? `/rest/${category}/${subcategory}${fragment}`
|
||||
: `/rest/${category}/${category}${fragment}`
|
||||
clientSideRedirects[oldUrl] = redirectTo
|
||||
}
|
||||
|
||||
|
@ -83,9 +84,9 @@ async function decorateRedirects(operation, clientSideRedirects) {
|
|||
// now that subcategories are on their own page. For example,
|
||||
// /rest/reference/actions#artifacts should redirect to
|
||||
// /rest/actions/artifacts
|
||||
if (operation.subcategory) {
|
||||
const sectionRedirectFrom = `/rest/${operation.category}#${operation.subcategory}`
|
||||
const sectionRedirectTo = `/rest/${operation.category}/${operation.subcategory}`
|
||||
if (subcategory) {
|
||||
const sectionRedirectFrom = `/rest/${category}#${subcategory}`
|
||||
const sectionRedirectTo = `/rest/${category}/${subcategory}`
|
||||
if (!(sectionRedirectFrom in clientSideRedirects)) {
|
||||
clientSideRedirects[sectionRedirectFrom] = sectionRedirectTo
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче