Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions lib/redirects/static/client-side-rest-api-redirects.json
Original file line number Diff line number Diff line change
Expand Up @@ -568,13 +568,32 @@
"/rest/codespaces#get-a-repository-secret": "/rest/codespaces/repository-secrets#get-a-repository-secret",
"/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",
"/rest/collaborators/collaborators#get-repository-permissions-for-a-user": "/rest/collaborators/collaborators#get-repository-permissions-for-a-user",
"/rest/commits/comments#list-commit-comments-for-a-repository": "/rest/commits/comments#list-commit-comments-for-a-repository",
"/rest/commits#comments": "/rest/commits/comments",
"/rest/commits/comments#get-a-commit-comment": "/rest/commits/comments#get-a-commit-comment",
"/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",
"/rest/commits/commits#list-pull-requests-associated-with-a-commit": "/rest/commits/commits#list-pull-requests-associated-with-a-commit",
"/rest/commits/commits#get-a-commit": "/rest/commits/commits#get-a-commit",
"/rest/checks#list-check-runs-for-a-git-reference": "/rest/checks/runs#list-check-runs-for-a-git-reference",
"/rest/checks#list-check-suites-for-a-git-reference": "/rest/checks/suites#list-check-suites-for-a-git-reference",
"/rest/commits/statuses#get-the-combined-status-for-a-specific-reference": "/rest/commits/statuses#get-the-combined-status-for-a-specific-reference",
"/rest/commits#statuses": "/rest/commits/statuses",
"/rest/commits/statuses#list-commit-statuses-for-a-reference": "/rest/commits/statuses#list-commit-statuses-for-a-reference",
"/rest/metrics/community#get-community-profile-metrics": "/rest/metrics/community#get-community-profile-metrics",
"/rest/metrics#community": "/rest/metrics/community",
"/rest/commits/commits#compare-two-commits": "/rest/commits/commits#compare-two-commits",
"/rest/repos#get-repository-content": "/rest/repos/contents#get-repository-content",
"/rest/repos#contents": "/rest/repos/contents",
"/rest/repos#create-or-update-file-contents": "/rest/repos/contents#create-or-update-file-contents",
Expand Down Expand Up @@ -615,9 +634,21 @@
"/rest/git#create-a-tree": "/rest/git/trees#create-a-tree",
"/rest/git#trees": "/rest/git/trees",
"/rest/git#get-a-tree": "/rest/git/trees#get-a-tree",
"/rest/webhooks/repos#list-repository-webhooks": "/rest/webhooks/repos#list-repository-webhooks",
"/rest/webhooks#repos": "/rest/webhooks/repos",
"/rest/webhooks/repos#create-a-repository-webhook": "/rest/webhooks/repos#create-a-repository-webhook",
"/rest/webhooks/repos#get-a-repository-webhook": "/rest/webhooks/repos#get-a-repository-webhook",
"/rest/webhooks/repos#update-a-repository-webhook": "/rest/webhooks/repos#update-a-repository-webhook",
"/rest/webhooks/repos#delete-a-repository-webhook": "/rest/webhooks/repos#delete-a-repository-webhook",
"/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository": "/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository",
"/rest/webhooks#repo-config": "/rest/webhooks/repo-config",
"/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository": "/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository",
"/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook": "/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook",
"/rest/webhooks#repo-deliveries": "/rest/webhooks/repo-deliveries",
"/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook": "/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook",
"/rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook": "/rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook",
"/rest/webhooks/repos#ping-a-repository-webhook": "/rest/webhooks/repos#ping-a-repository-webhook",
"/rest/webhooks/repos#test-the-push-repository-webhook": "/rest/webhooks/repos#test-the-push-repository-webhook",
"/rest/migrations#get-an-import-status": "/rest/migrations/source-imports#get-an-import-status",
"/rest/migrations#source-imports": "/rest/migrations/source-imports",
"/rest/migrations#start-an-import": "/rest/migrations/source-imports#start-an-import",
Expand All @@ -632,7 +663,10 @@
"/rest/interactions#repos": "/rest/interactions/repos",
"/rest/interactions#set-interaction-restrictions-for-a-repository": "/rest/interactions/repos#set-interaction-restrictions-for-a-repository",
"/rest/interactions#remove-interaction-restrictions-for-a-repository": "/rest/interactions/repos#remove-interaction-restrictions-for-a-repository",
"/rest/collaborators/invitations#list-repository-invitations": "/rest/collaborators/invitations#list-repository-invitations",
"/rest/collaborators#invitations": "/rest/collaborators/invitations",
"/rest/collaborators/invitations#update-a-repository-invitation": "/rest/collaborators/invitations#update-a-repository-invitation",
"/rest/collaborators/invitations#delete-a-repository-invitation": "/rest/collaborators/invitations#delete-a-repository-invitation",
"/rest/issues#list-repository-issues": "/rest/issues/issues#list-repository-issues",
"/rest/issues#create-an-issue": "/rest/issues/issues#create-an-issue",
"/rest/issues#list-issue-comments-for-a-repository": "/rest/issues/comments#list-issue-comments-for-a-repository",
Expand Down Expand Up @@ -717,7 +751,13 @@
"/rest/releases#assets": "/rest/releases/assets",
"/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",
"/rest/metrics#statistics": "/rest/metrics/statistics",
"/rest/metrics/statistics#get-the-last-year-of-commit-activity": "/rest/metrics/statistics#get-the-last-year-of-commit-activity",
"/rest/metrics/statistics#get-all-contributor-commit-activity": "/rest/metrics/statistics#get-all-contributor-commit-activity",
"/rest/metrics/statistics#get-the-weekly-commit-count": "/rest/metrics/statistics#get-the-weekly-commit-count",
"/rest/statistics/repos#get-the-hourly-commit-count-for-each-day": "/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day",
"/rest/commits/statuses#create-a-commit-status": "/rest/commits/statuses#create-a-commit-status",
"/rest/activity#list-watchers": "/rest/activity/watching#list-watchers",
"/rest/activity#watching": "/rest/activity/watching",
"/rest/activity#get-a-repository-subscription": "/rest/activity/watching#get-a-repository-subscription",
Expand All @@ -732,7 +772,11 @@
"/rest/repos#list-repository-teams": "/rest/repos/repos#list-repository-teams",
"/rest/repos#get-all-repository-topics": "/rest/repos/repos#get-all-repository-topics",
"/rest/repos#replace-all-repository-topics": "/rest/repos/repos#replace-all-repository-topics",
"/rest/metrics/traffic#get-repository-clones": "/rest/metrics/traffic#get-repository-clones",
"/rest/metrics#traffic": "/rest/metrics/traffic",
"/rest/metrics/traffic#get-top-referral-paths": "/rest/metrics/traffic#get-top-referral-paths",
"/rest/metrics/traffic#get-top-referral-sources": "/rest/metrics/traffic#get-top-referral-sources",
"/rest/metrics/traffic#get-page-views": "/rest/metrics/traffic#get-page-views",
"/rest/repos#transfer-a-repository": "/rest/repos/repos#transfer-a-repository",
"/rest/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository": "/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository",
"/rest/repos#enable-vulnerability-alerts": "/rest/repos/repos#enable-vulnerability-alerts",
Expand Down Expand Up @@ -862,6 +906,9 @@
"/rest/users#list-public-email-addresses-for-the-authenticated-user": "/rest/users/emails#list-public-email-addresses-for-the-authenticated-user",
"/rest/repos#list-repositories-for-the-authenticated-user": "/rest/repos/repos#list-repositories-for-the-authenticated-user",
"/rest/repos#create-a-repository-for-the-authenticated-user": "/rest/repos/repos#create-a-repository-for-the-authenticated-user",
"/rest/collaborators/invitations#list-repository-invitations-for-the-authenticated-user": "/rest/collaborators/invitations#list-repository-invitations-for-the-authenticated-user",
"/rest/collaborators/invitations#accept-a-repository-invitation": "/rest/collaborators/invitations#accept-a-repository-invitation",
"/rest/collaborators/invitations#decline-a-repository-invitation": "/rest/collaborators/invitations#decline-a-repository-invitation",
"/rest/activity#list-repositories-starred-by-the-authenticated-user": "/rest/activity/starring#list-repositories-starred-by-the-authenticated-user",
"/rest/activity#check-if-a-repository-is-starred-by-the-authenticated-user": "/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user",
"/rest/activity#star-a-repository-for-the-authenticated-user": "/rest/activity/starring#star-a-repository-for-the-authenticated-user",
Expand Down
Loading