From 5d10fdd372114fa740928bc9a2e518bdca9401d2 Mon Sep 17 00:00:00 2001 From: github-openapi-bot <69533958+github-openapi-bot@users.noreply.github.com> Date: Thu, 4 Aug 2022 18:51:12 -0700 Subject: [PATCH] Update OpenAPI Descriptions (#29649) * Update OpenAPI Descriptions * Add decorated OpenAPI schema files Co-authored-by: github-openapi-bot --- .../client-side-rest-api-redirects.json | 47 +++ .../dereferenced/api.github.com.deref.json | 272 ++++++++---------- .../static/dereferenced/ghes-3.2.deref.json | 242 ++++++++-------- .../static/dereferenced/ghes-3.3.deref.json | 242 ++++++++-------- .../static/dereferenced/ghes-3.4.deref.json | 242 ++++++++-------- .../static/dereferenced/ghes-3.5.deref.json | 242 ++++++++-------- .../static/dereferenced/ghes-3.6.deref.json | 242 ++++++++-------- .../static/dereferenced/github.ae.deref.json | 242 ++++++++-------- 8 files changed, 845 insertions(+), 926 deletions(-) diff --git a/lib/redirects/static/client-side-rest-api-redirects.json b/lib/redirects/static/client-side-rest-api-redirects.json index 9d308861b85c..1ebad32cfeae 100644 --- a/lib/redirects/static/client-side-rest-api-redirects.json +++ b/lib/redirects/static/client-side-rest-api-redirects.json @@ -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", @@ -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", @@ -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", @@ -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", @@ -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", @@ -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", diff --git a/lib/rest/static/dereferenced/api.github.com.deref.json b/lib/rest/static/dereferenced/api.github.com.deref.json index 7233e5966cfd..423b6e2845e7 100644 --- a/lib/rest/static/dereferenced/api.github.com.deref.json +++ b/lib/rest/static/dereferenced/api.github.com.deref.json @@ -249574,7 +249574,7 @@ "operationId": "repos/list-collaborators", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#list-repository-collaborators" + "url": "https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators" }, "parameters": [ { @@ -249899,8 +249899,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "collaborators" + "category": "collaborators" } } }, @@ -249914,7 +249913,7 @@ "operationId": "repos/check-collaborator", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#check-if-a-user-is-a-repository-collaborator" + "url": "https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator" }, "parameters": [ { @@ -249956,8 +249955,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "collaborators" + "category": "collaborators" } }, "put": { @@ -249969,7 +249967,7 @@ "operationId": "repos/add-collaborator", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#add-a-repository-collaborator" + "url": "https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator" }, "parameters": [ { @@ -252797,8 +252795,7 @@ "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "collaborators" + "category": "collaborators" } }, "delete": { @@ -252810,7 +252807,7 @@ "operationId": "repos/remove-collaborator", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#remove-a-repository-collaborator" + "url": "https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator" }, "parameters": [ { @@ -252849,8 +252846,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "collaborators" + "category": "collaborators" } } }, @@ -252864,7 +252860,7 @@ "operationId": "repos/get-collaborator-permission-level", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#get-repository-permissions-for-a-user" + "url": "https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user" }, "parameters": [ { @@ -253176,8 +253172,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "collaborators" + "category": "collaborators" } } }, @@ -253191,7 +253186,7 @@ "operationId": "repos/list-commit-comments-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#list-commit-comments-for-a-repository" + "url": "https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository" }, "parameters": [ { @@ -253597,7 +253592,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } } @@ -253612,7 +253607,7 @@ "operationId": "repos/get-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#get-a-commit-comment" + "url": "https://docs.github.com/rest/commits/comments#get-a-commit-comment" }, "parameters": [ { @@ -254022,7 +254017,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } }, @@ -254035,7 +254030,7 @@ "operationId": "repos/update-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#update-a-commit-comment" + "url": "https://docs.github.com/rest/commits/comments#update-a-commit-comment" }, "parameters": [ { @@ -254471,7 +254466,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } }, @@ -254484,7 +254479,7 @@ "operationId": "repos/delete-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#delete-a-commit-comment" + "url": "https://docs.github.com/rest/commits/comments#delete-a-commit-comment" }, "parameters": [ { @@ -254549,7 +254544,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } } @@ -255679,7 +255674,7 @@ "operationId": "repos/list-commits", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#list-commits" + "url": "https://docs.github.com/rest/commits/commits#list-commits" }, "parameters": [ { @@ -256699,8 +256694,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "commits" + "category": "commits" } } }, @@ -256714,7 +256708,7 @@ "operationId": "repos/list-branches-for-head-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#list-branches-for-head-commit" + "url": "https://docs.github.com/rest/commits/commits#list-branches-for-head-commit" }, "parameters": [ { @@ -256883,8 +256877,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "commits" + "category": "commits" } } }, @@ -256898,7 +256891,7 @@ "operationId": "repos/list-comments-for-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#list-commit-comments" + "url": "https://docs.github.com/rest/commits/comments#list-commit-comments" }, "parameters": [ { @@ -257314,7 +257307,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } }, @@ -257327,7 +257320,7 @@ "operationId": "repos/create-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#create-a-commit-comment" + "url": "https://docs.github.com/rest/commits/comments#create-a-commit-comment" }, "parameters": [ { @@ -257863,7 +257856,7 @@ "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } } @@ -257878,7 +257871,7 @@ "operationId": "repos/list-pull-requests-associated-with-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#list-pull-requests-associated-with-a-commit" + "url": "https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit" }, "parameters": [ { @@ -263390,8 +263383,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "commits" + "category": "commits" } } }, @@ -263405,7 +263397,7 @@ "operationId": "repos/get-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#get-a-commit" + "url": "https://docs.github.com/rest/commits/commits#get-a-commit" }, "parameters": [ { @@ -264373,8 +264365,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "commits" + "category": "commits" } } }, @@ -268756,7 +268747,7 @@ "operationId": "repos/get-combined-status-for-ref", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#get-the-combined-status-for-a-specific-reference" + "url": "https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference" }, "parameters": [ { @@ -271179,7 +271170,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "statuses" } } @@ -271194,7 +271185,7 @@ "operationId": "repos/list-commit-statuses-for-ref", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#list-commit-statuses-for-a-reference" + "url": "https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference" }, "parameters": [ { @@ -271558,7 +271549,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "statuses" } } @@ -271573,7 +271564,7 @@ "operationId": "repos/get-community-profile-metrics", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#get-community-profile-metrics" + "url": "https://docs.github.com/rest/metrics/community#get-community-profile-metrics" }, "parameters": [ { @@ -271958,7 +271949,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "community" } } @@ -271973,7 +271964,7 @@ "operationId": "repos/compare-commits", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#compare-two-commits" + "url": "https://docs.github.com/rest/commits/commits#compare-two-commits" }, "parameters": [ { @@ -274579,8 +274570,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "commits" + "category": "commits" } } }, @@ -301354,7 +301344,7 @@ "operationId": "repos/list-webhooks", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#list-repository-webhooks" + "url": "https://docs.github.com/rest/webhooks/repos#list-repository-webhooks" }, "parameters": [ { @@ -301679,8 +301669,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } }, "post": { @@ -301692,7 +301682,7 @@ "operationId": "repos/create-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#create-a-repository-webhook" + "url": "https://docs.github.com/rest/webhooks/repos#create-a-repository-webhook" }, "parameters": [ { @@ -302201,8 +302191,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } } }, @@ -302216,7 +302206,7 @@ "operationId": "repos/get-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#get-a-repository-webhook" + "url": "https://docs.github.com/rest/webhooks/repos#get-a-repository-webhook" }, "parameters": [ { @@ -302519,8 +302509,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } }, "patch": { @@ -302532,7 +302522,7 @@ "operationId": "repos/update-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#update-a-repository-webhook" + "url": "https://docs.github.com/rest/webhooks/repos#update-a-repository-webhook" }, "parameters": [ { @@ -303018,8 +303008,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } }, "delete": { @@ -303031,7 +303021,7 @@ "operationId": "repos/delete-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#delete-a-repository-webhook" + "url": "https://docs.github.com/rest/webhooks/repos#delete-a-repository-webhook" }, "parameters": [ { @@ -303096,8 +303086,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } } }, @@ -303111,7 +303101,7 @@ "operationId": "repos/get-webhook-config-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#get-a-webhook-configuration-for-a-repository" + "url": "https://docs.github.com/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository" }, "parameters": [ { @@ -303207,8 +303197,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repo-config" } }, "patch": { @@ -303220,7 +303210,7 @@ "operationId": "repos/update-webhook-config-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#update-a-webhook-configuration-for-a-repository" + "url": "https://docs.github.com/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository" }, "parameters": [ { @@ -303371,8 +303361,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repo-config" } } }, @@ -303386,7 +303376,7 @@ "operationId": "repos/list-webhook-deliveries", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#list-deliveries-for-a-repository-webhook" + "url": "https://docs.github.com/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook" }, "parameters": [ { @@ -303732,8 +303722,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repo-deliveries" } } }, @@ -303747,7 +303737,7 @@ "operationId": "repos/get-webhook-delivery", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#get-a-delivery-for-a-repository-webhook" + "url": "https://docs.github.com/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook" }, "parameters": [ { @@ -304154,8 +304144,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repo-deliveries" } } }, @@ -304169,7 +304159,7 @@ "operationId": "repos/redeliver-webhook-delivery", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#redeliver-a-delivery-for-a-repository-webhook" + "url": "https://docs.github.com/rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook" }, "parameters": [ { @@ -304366,8 +304356,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repo-deliveries" } } }, @@ -304381,7 +304371,7 @@ "operationId": "repos/ping-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#ping-a-repository-webhook" + "url": "https://docs.github.com/rest/webhooks/repos#ping-a-repository-webhook" }, "parameters": [ { @@ -304446,8 +304436,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } } }, @@ -304461,7 +304451,7 @@ "operationId": "repos/test-push-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#test-the-push-repository-webhook" + "url": "https://docs.github.com/rest/webhooks/repos#test-the-push-repository-webhook" }, "parameters": [ { @@ -304526,8 +304516,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } } }, @@ -307589,7 +307579,7 @@ "operationId": "repos/list-invitations", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#list-repository-invitations" + "url": "https://docs.github.com/rest/collaborators/invitations#list-repository-invitations" }, "parameters": [ { @@ -310302,7 +310292,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } } @@ -310317,7 +310307,7 @@ "operationId": "repos/update-invitation", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#update-a-repository-invitation" + "url": "https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation" }, "parameters": [ { @@ -313032,7 +313022,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } }, @@ -313045,7 +313035,7 @@ "operationId": "repos/delete-invitation", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#delete-a-repository-invitation" + "url": "https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation" }, "parameters": [ { @@ -313084,7 +313074,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } } @@ -384802,7 +384792,7 @@ "operationId": "repos/get-pages", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#get-a-github-pages-site" + "url": "https://docs.github.com/rest/pages#get-a-github-pages-site" }, "parameters": [ { @@ -385072,8 +385062,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } }, "post": { @@ -385085,7 +385074,7 @@ "operationId": "repos/create-pages-site", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#create-a-github-pages-site" + "url": "https://docs.github.com/rest/pages#create-a-github-pages-site" }, "parameters": [ { @@ -385498,8 +385487,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } }, "put": { @@ -385511,7 +385499,7 @@ "operationId": "repos/update-information-about-pages-site", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#update-information-about-a-github-pages-site" + "url": "https://docs.github.com/rest/pages#update-information-about-a-github-pages-site" }, "parameters": [ { @@ -385792,8 +385780,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } }, "delete": { @@ -385805,7 +385792,7 @@ "operationId": "repos/delete-pages-site", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#delete-a-github-pages-site" + "url": "https://docs.github.com/rest/pages#delete-a-github-pages-site" }, "parameters": [ { @@ -385936,8 +385923,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } } }, @@ -385951,7 +385937,7 @@ "operationId": "repos/list-pages-builds", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#list-github-pages-builds" + "url": "https://docs.github.com/rest/pages#list-github-pages-builds" }, "parameters": [ { @@ -386271,8 +386257,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } }, "post": { @@ -386284,7 +386269,7 @@ "operationId": "repos/request-pages-build", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#request-a-github-pages-build" + "url": "https://docs.github.com/rest/pages#request-a-github-pages-build" }, "parameters": [ { @@ -386350,8 +386335,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } } }, @@ -386365,7 +386349,7 @@ "operationId": "repos/get-latest-pages-build", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#get-latest-pages-build" + "url": "https://docs.github.com/rest/pages#get-latest-pages-build" }, "parameters": [ { @@ -386654,8 +386638,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } } }, @@ -386669,7 +386652,7 @@ "operationId": "repos/get-pages-build", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#get-github-pages-build" + "url": "https://docs.github.com/rest/pages#get-github-pages-build" }, "parameters": [ { @@ -386966,8 +386949,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } } }, @@ -386981,7 +386963,7 @@ "operationId": "repos/create-pages-deployment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#create-a-github-pages-deployment" + "url": "https://docs.github.com/rest/pages#create-a-github-pages-deployment" }, "parameters": [ { @@ -387274,8 +387256,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } } }, @@ -387289,7 +387270,7 @@ "operationId": "repos/get-pages-health-check", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#get-a-dns-health-check-for-github-pages" + "url": "https://docs.github.com/rest/pages#get-a-dns-health-check-for-github-pages" }, "parameters": [ { @@ -387737,8 +387718,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } } }, @@ -445768,7 +445748,7 @@ "operationId": "repos/get-code-frequency-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#get-the-weekly-commit-activity" + "url": "https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity" }, "parameters": [ { @@ -445837,7 +445817,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "statistics" } } @@ -445852,7 +445832,7 @@ "operationId": "repos/get-commit-activity-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#get-the-last-year-of-commit-activity" + "url": "https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity" }, "parameters": [ { @@ -445960,7 +445940,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "statistics" } } @@ -445975,7 +445955,7 @@ "operationId": "repos/get-contributors-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#get-all-contributor-commit-activity" + "url": "https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity" }, "parameters": [ { @@ -446276,7 +446256,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "statistics" } } @@ -446291,7 +446271,7 @@ "operationId": "repos/get-participation-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#get-the-weekly-commit-count" + "url": "https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count" }, "parameters": [ { @@ -446487,7 +446467,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "statistics" } } @@ -446502,7 +446482,7 @@ "operationId": "repos/get-punch-card-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#get-the-hourly-commit-count-for-each-day" + "url": "https://docs.github.com/rest/statistics/repos#get-the-hourly-commit-count-for-each-day" }, "parameters": [ { @@ -446571,7 +446551,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "statistics" } } @@ -446586,7 +446566,7 @@ "operationId": "repos/create-commit-status", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#create-a-commit-status" + "url": "https://docs.github.com/rest/commits/statuses#create-a-commit-status" }, "parameters": [ { @@ -446954,7 +446934,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "statuses" } } @@ -448776,7 +448756,7 @@ "operationId": "repos/get-clones", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#get-repository-clones" + "url": "https://docs.github.com/rest/metrics/traffic#get-repository-clones" }, "parameters": [ { @@ -448984,7 +448964,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "traffic" } } @@ -448999,7 +448979,7 @@ "operationId": "repos/get-top-paths", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#get-top-referral-paths" + "url": "https://docs.github.com/rest/metrics/traffic#get-top-referral-paths" }, "parameters": [ { @@ -449165,7 +449145,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "traffic" } } @@ -449180,7 +449160,7 @@ "operationId": "repos/get-top-referrers", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#get-top-referral-sources" + "url": "https://docs.github.com/rest/metrics/traffic#get-top-referral-sources" }, "parameters": [ { @@ -449299,7 +449279,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "traffic" } } @@ -449314,7 +449294,7 @@ "operationId": "repos/get-views", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#get-page-views" + "url": "https://docs.github.com/rest/metrics/traffic#get-page-views" }, "parameters": [ { @@ -449522,7 +449502,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "traffic" } } @@ -550177,7 +550157,7 @@ "operationId": "repos/list-invitations-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#list-repository-invitations-for-the-authenticated-user" + "url": "https://docs.github.com/rest/collaborators/invitations#list-repository-invitations-for-the-authenticated-user" }, "parameters": [ { @@ -552953,7 +552933,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": false, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } } @@ -552968,7 +552948,7 @@ "operationId": "repos/accept-invitation-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#accept-a-repository-invitation" + "url": "https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation" }, "parameters": [ { @@ -553070,7 +553050,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": false, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } }, @@ -553083,7 +553063,7 @@ "operationId": "repos/decline-invitation-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/rest/reference/repos#decline-a-repository-invitation" + "url": "https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation" }, "parameters": [ { @@ -553185,7 +553165,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": false, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } } diff --git a/lib/rest/static/dereferenced/ghes-3.2.deref.json b/lib/rest/static/dereferenced/ghes-3.2.deref.json index 88f1a756a973..d1666e232dea 100644 --- a/lib/rest/static/dereferenced/ghes-3.2.deref.json +++ b/lib/rest/static/dereferenced/ghes-3.2.deref.json @@ -198855,7 +198855,7 @@ "operationId": "repos/list-collaborators", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#list-repository-collaborators" + "url": "https://docs.github.com/enterprise-server@3.2/rest/collaborators/collaborators#list-repository-collaborators" }, "parameters": [ { @@ -199170,8 +199170,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "collaborators" + "category": "collaborators" } } }, @@ -199185,7 +199184,7 @@ "operationId": "repos/check-collaborator", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#check-if-a-user-is-a-repository-collaborator" + "url": "https://docs.github.com/enterprise-server@3.2/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator" }, "parameters": [ { @@ -199227,8 +199226,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "collaborators" + "category": "collaborators" } }, "put": { @@ -199240,7 +199238,7 @@ "operationId": "repos/add-collaborator", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#add-a-repository-collaborator" + "url": "https://docs.github.com/enterprise-server@3.2/rest/collaborators/collaborators#add-a-repository-collaborator" }, "parameters": [ { @@ -202043,8 +202041,7 @@ "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "collaborators" + "category": "collaborators" } }, "delete": { @@ -202056,7 +202053,7 @@ "operationId": "repos/remove-collaborator", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#remove-a-repository-collaborator" + "url": "https://docs.github.com/enterprise-server@3.2/rest/collaborators/collaborators#remove-a-repository-collaborator" }, "parameters": [ { @@ -202095,8 +202092,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "collaborators" + "category": "collaborators" } } }, @@ -202110,7 +202106,7 @@ "operationId": "repos/get-collaborator-permission-level", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-repository-permissions-for-a-user" + "url": "https://docs.github.com/enterprise-server@3.2/rest/collaborators/collaborators#get-repository-permissions-for-a-user" }, "parameters": [ { @@ -202407,8 +202403,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "collaborators" + "category": "collaborators" } } }, @@ -202422,7 +202417,7 @@ "operationId": "repos/list-commit-comments-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#list-commit-comments-for-a-repository" + "url": "https://docs.github.com/enterprise-server@3.2/rest/commits/comments#list-commit-comments-for-a-repository" }, "parameters": [ { @@ -202828,7 +202823,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments", "previews": [ { @@ -202849,7 +202844,7 @@ "operationId": "repos/get-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-a-commit-comment" + "url": "https://docs.github.com/enterprise-server@3.2/rest/commits/comments#get-a-commit-comment" }, "parameters": [ { @@ -203259,7 +203254,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments", "previews": [ { @@ -203278,7 +203273,7 @@ "operationId": "repos/update-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#update-a-commit-comment" + "url": "https://docs.github.com/enterprise-server@3.2/rest/commits/comments#update-a-commit-comment" }, "parameters": [ { @@ -203714,7 +203709,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } }, @@ -203727,7 +203722,7 @@ "operationId": "repos/delete-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#delete-a-commit-comment" + "url": "https://docs.github.com/enterprise-server@3.2/rest/commits/comments#delete-a-commit-comment" }, "parameters": [ { @@ -203792,7 +203787,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } } @@ -204959,7 +204954,7 @@ "operationId": "repos/list-commits", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#list-commits" + "url": "https://docs.github.com/enterprise-server@3.2/rest/commits/commits#list-commits" }, "parameters": [ { @@ -205979,8 +205974,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "commits" + "category": "commits" } } }, @@ -205994,7 +205988,7 @@ "operationId": "repos/list-branches-for-head-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#list-branches-for-head-commit" + "url": "https://docs.github.com/enterprise-server@3.2/rest/commits/commits#list-branches-for-head-commit" }, "parameters": [ { @@ -206163,8 +206157,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "commits", + "category": "commits", "previews": [ { "name": "groot", @@ -206184,7 +206177,7 @@ "operationId": "repos/list-comments-for-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#list-commit-comments" + "url": "https://docs.github.com/enterprise-server@3.2/rest/commits/comments#list-commit-comments" }, "parameters": [ { @@ -206600,7 +206593,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments", "previews": [ { @@ -206619,7 +206612,7 @@ "operationId": "repos/create-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#create-a-commit-comment" + "url": "https://docs.github.com/enterprise-server@3.2/rest/commits/comments#create-a-commit-comment" }, "parameters": [ { @@ -207155,7 +207148,7 @@ "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } } @@ -207170,7 +207163,7 @@ "operationId": "repos/list-pull-requests-associated-with-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#list-pull-requests-associated-with-a-commit" + "url": "https://docs.github.com/enterprise-server@3.2/rest/commits/commits#list-pull-requests-associated-with-a-commit" }, "parameters": [ { @@ -212644,8 +212637,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "commits", + "category": "commits", "previews": [ { "name": "groot", @@ -212665,7 +212657,7 @@ "operationId": "repos/get-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-a-commit" + "url": "https://docs.github.com/enterprise-server@3.2/rest/commits/commits#get-a-commit" }, "parameters": [ { @@ -213633,8 +213625,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "commits" + "category": "commits" } } }, @@ -217991,7 +217982,7 @@ "operationId": "repos/get-combined-status-for-ref", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-the-combined-status-for-a-specific-reference" + "url": "https://docs.github.com/enterprise-server@3.2/rest/commits/statuses#get-the-combined-status-for-a-specific-reference" }, "parameters": [ { @@ -220389,7 +220380,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "statuses" } } @@ -220404,7 +220395,7 @@ "operationId": "repos/list-commit-statuses-for-ref", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#list-commit-statuses-for-a-reference" + "url": "https://docs.github.com/enterprise-server@3.2/rest/commits/statuses#list-commit-statuses-for-a-reference" }, "parameters": [ { @@ -220768,7 +220759,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "statuses" } } @@ -220783,7 +220774,7 @@ "operationId": "repos/compare-commits", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#compare-two-commits" + "url": "https://docs.github.com/enterprise-server@3.2/rest/commits/commits#compare-two-commits" }, "parameters": [ { @@ -223389,8 +223380,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "commits" + "category": "commits" } } }, @@ -249253,7 +249243,7 @@ "operationId": "repos/list-webhooks", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#list-repository-webhooks" + "url": "https://docs.github.com/enterprise-server@3.2/rest/webhooks/repos#list-repository-webhooks" }, "parameters": [ { @@ -249578,8 +249568,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } }, "post": { @@ -249591,7 +249581,7 @@ "operationId": "repos/create-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#create-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.2/rest/webhooks/repos#create-a-repository-webhook" }, "parameters": [ { @@ -250100,8 +250090,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } } }, @@ -250115,7 +250105,7 @@ "operationId": "repos/get-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.2/rest/webhooks/repos#get-a-repository-webhook" }, "parameters": [ { @@ -250418,8 +250408,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } }, "patch": { @@ -250431,7 +250421,7 @@ "operationId": "repos/update-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#update-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.2/rest/webhooks/repos#update-a-repository-webhook" }, "parameters": [ { @@ -250917,8 +250907,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } }, "delete": { @@ -250930,7 +250920,7 @@ "operationId": "repos/delete-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#delete-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.2/rest/webhooks/repos#delete-a-repository-webhook" }, "parameters": [ { @@ -250995,8 +250985,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } } }, @@ -251010,7 +251000,7 @@ "operationId": "repos/get-webhook-config-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-a-webhook-configuration-for-a-repository" + "url": "https://docs.github.com/enterprise-server@3.2/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository" }, "parameters": [ { @@ -251106,8 +251096,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repo-config" } }, "patch": { @@ -251119,7 +251109,7 @@ "operationId": "repos/update-webhook-config-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#update-a-webhook-configuration-for-a-repository" + "url": "https://docs.github.com/enterprise-server@3.2/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository" }, "parameters": [ { @@ -251270,8 +251260,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repo-config" } } }, @@ -251285,7 +251275,7 @@ "operationId": "repos/list-webhook-deliveries", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#list-deliveries-for-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.2/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook" }, "parameters": [ { @@ -251631,8 +251621,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repo-deliveries" } } }, @@ -251646,7 +251636,7 @@ "operationId": "repos/get-webhook-delivery", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-a-delivery-for-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.2/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook" }, "parameters": [ { @@ -252053,8 +252043,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repo-deliveries" } } }, @@ -252068,7 +252058,7 @@ "operationId": "repos/redeliver-webhook-delivery", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#redeliver-a-delivery-for-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.2/rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook" }, "parameters": [ { @@ -252265,8 +252255,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repo-deliveries" } } }, @@ -252280,7 +252270,7 @@ "operationId": "repos/ping-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#ping-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.2/rest/webhooks/repos#ping-a-repository-webhook" }, "parameters": [ { @@ -252345,8 +252335,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } } }, @@ -252360,7 +252350,7 @@ "operationId": "repos/test-push-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#test-the-push-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.2/rest/webhooks/repos#test-the-push-repository-webhook" }, "parameters": [ { @@ -252425,8 +252415,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } } }, @@ -253422,7 +253412,7 @@ "operationId": "repos/list-invitations", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#list-repository-invitations" + "url": "https://docs.github.com/enterprise-server@3.2/rest/collaborators/invitations#list-repository-invitations" }, "parameters": [ { @@ -256110,7 +256100,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } } @@ -256125,7 +256115,7 @@ "operationId": "repos/update-invitation", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#update-a-repository-invitation" + "url": "https://docs.github.com/enterprise-server@3.2/rest/collaborators/invitations#update-a-repository-invitation" }, "parameters": [ { @@ -258815,7 +258805,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } }, @@ -258828,7 +258818,7 @@ "operationId": "repos/delete-invitation", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#delete-a-repository-invitation" + "url": "https://docs.github.com/enterprise-server@3.2/rest/collaborators/invitations#delete-a-repository-invitation" }, "parameters": [ { @@ -258867,7 +258857,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } } @@ -330274,7 +330264,7 @@ "operationId": "repos/get-pages", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-a-github-pages-site" + "url": "https://docs.github.com/enterprise-server@3.2/rest/pages#get-a-github-pages-site" }, "parameters": [ { @@ -330544,8 +330534,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } }, "post": { @@ -330557,7 +330546,7 @@ "operationId": "repos/create-pages-site", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#create-a-github-pages-site" + "url": "https://docs.github.com/enterprise-server@3.2/rest/pages#create-a-github-pages-site" }, "parameters": [ { @@ -330970,8 +330959,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages", + "category": "pages", "previews": [ { "name": "switcheroo", @@ -330989,7 +330977,7 @@ "operationId": "repos/update-information-about-pages-site", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#update-information-about-a-github-pages-site" + "url": "https://docs.github.com/enterprise-server@3.2/rest/pages#update-information-about-a-github-pages-site" }, "parameters": [ { @@ -331270,8 +331258,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } }, "delete": { @@ -331283,7 +331270,7 @@ "operationId": "repos/delete-pages-site", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#delete-a-github-pages-site" + "url": "https://docs.github.com/enterprise-server@3.2/rest/pages#delete-a-github-pages-site" }, "parameters": [ { @@ -331414,8 +331401,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages", + "category": "pages", "previews": [ { "name": "switcheroo", @@ -331435,7 +331421,7 @@ "operationId": "repos/list-pages-builds", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#list-github-pages-builds" + "url": "https://docs.github.com/enterprise-server@3.2/rest/pages#list-github-pages-builds" }, "parameters": [ { @@ -331755,8 +331741,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } }, "post": { @@ -331768,7 +331753,7 @@ "operationId": "repos/request-pages-build", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#request-a-github-pages-build" + "url": "https://docs.github.com/enterprise-server@3.2/rest/pages#request-a-github-pages-build" }, "parameters": [ { @@ -331834,8 +331819,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } } }, @@ -331849,7 +331833,7 @@ "operationId": "repos/get-latest-pages-build", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-latest-pages-build" + "url": "https://docs.github.com/enterprise-server@3.2/rest/pages#get-latest-pages-build" }, "parameters": [ { @@ -332138,8 +332122,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } } }, @@ -332153,7 +332136,7 @@ "operationId": "repos/get-pages-build", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-github-pages-build" + "url": "https://docs.github.com/enterprise-server@3.2/rest/pages#get-github-pages-build" }, "parameters": [ { @@ -332450,8 +332433,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } } }, @@ -383685,7 +383667,7 @@ "operationId": "repos/get-code-frequency-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-the-weekly-commit-activity" + "url": "https://docs.github.com/enterprise-server@3.2/rest/metrics/statistics#get-the-weekly-commit-activity" }, "parameters": [ { @@ -383754,7 +383736,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "statistics" } } @@ -383769,7 +383751,7 @@ "operationId": "repos/get-commit-activity-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-the-last-year-of-commit-activity" + "url": "https://docs.github.com/enterprise-server@3.2/rest/metrics/statistics#get-the-last-year-of-commit-activity" }, "parameters": [ { @@ -383877,7 +383859,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "statistics" } } @@ -383892,7 +383874,7 @@ "operationId": "repos/get-contributors-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-all-contributor-commit-activity" + "url": "https://docs.github.com/enterprise-server@3.2/rest/metrics/statistics#get-all-contributor-commit-activity" }, "parameters": [ { @@ -384193,7 +384175,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "statistics" } } @@ -384208,7 +384190,7 @@ "operationId": "repos/get-participation-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-the-weekly-commit-count" + "url": "https://docs.github.com/enterprise-server@3.2/rest/metrics/statistics#get-the-weekly-commit-count" }, "parameters": [ { @@ -384404,7 +384386,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "statistics" } } @@ -384419,7 +384401,7 @@ "operationId": "repos/get-punch-card-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#get-the-hourly-commit-count-for-each-day" + "url": "https://docs.github.com/enterprise-server@3.2/rest/statistics/repos#get-the-hourly-commit-count-for-each-day" }, "parameters": [ { @@ -384488,7 +384470,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "statistics" } } @@ -384503,7 +384485,7 @@ "operationId": "repos/create-commit-status", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#create-a-commit-status" + "url": "https://docs.github.com/enterprise-server@3.2/rest/commits/statuses#create-a-commit-status" }, "parameters": [ { @@ -384871,7 +384853,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "statuses" } } @@ -438170,7 +438152,7 @@ "operationId": "repos/list-invitations-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#list-repository-invitations-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-server@3.2/rest/collaborators/invitations#list-repository-invitations-for-the-authenticated-user" }, "parameters": [ { @@ -440921,7 +440903,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": false, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } } @@ -440936,7 +440918,7 @@ "operationId": "repos/accept-invitation-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#accept-a-repository-invitation" + "url": "https://docs.github.com/enterprise-server@3.2/rest/collaborators/invitations#accept-a-repository-invitation" }, "parameters": [ { @@ -441038,7 +441020,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": false, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } }, @@ -441051,7 +441033,7 @@ "operationId": "repos/decline-invitation-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.2/rest/reference/repos#decline-a-repository-invitation" + "url": "https://docs.github.com/enterprise-server@3.2/rest/collaborators/invitations#decline-a-repository-invitation" }, "parameters": [ { @@ -441153,7 +441135,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": false, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } } diff --git a/lib/rest/static/dereferenced/ghes-3.3.deref.json b/lib/rest/static/dereferenced/ghes-3.3.deref.json index 1402a7dd120c..c238e335c331 100644 --- a/lib/rest/static/dereferenced/ghes-3.3.deref.json +++ b/lib/rest/static/dereferenced/ghes-3.3.deref.json @@ -201012,7 +201012,7 @@ "operationId": "repos/list-collaborators", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#list-repository-collaborators" + "url": "https://docs.github.com/enterprise-server@3.3/rest/collaborators/collaborators#list-repository-collaborators" }, "parameters": [ { @@ -201327,8 +201327,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "collaborators" + "category": "collaborators" } } }, @@ -201342,7 +201341,7 @@ "operationId": "repos/check-collaborator", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#check-if-a-user-is-a-repository-collaborator" + "url": "https://docs.github.com/enterprise-server@3.3/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator" }, "parameters": [ { @@ -201384,8 +201383,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "collaborators" + "category": "collaborators" } }, "put": { @@ -201397,7 +201395,7 @@ "operationId": "repos/add-collaborator", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#add-a-repository-collaborator" + "url": "https://docs.github.com/enterprise-server@3.3/rest/collaborators/collaborators#add-a-repository-collaborator" }, "parameters": [ { @@ -204211,8 +204209,7 @@ "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "collaborators" + "category": "collaborators" } }, "delete": { @@ -204224,7 +204221,7 @@ "operationId": "repos/remove-collaborator", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#remove-a-repository-collaborator" + "url": "https://docs.github.com/enterprise-server@3.3/rest/collaborators/collaborators#remove-a-repository-collaborator" }, "parameters": [ { @@ -204263,8 +204260,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "collaborators" + "category": "collaborators" } } }, @@ -204278,7 +204274,7 @@ "operationId": "repos/get-collaborator-permission-level", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-repository-permissions-for-a-user" + "url": "https://docs.github.com/enterprise-server@3.3/rest/collaborators/collaborators#get-repository-permissions-for-a-user" }, "parameters": [ { @@ -204575,8 +204571,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "collaborators" + "category": "collaborators" } } }, @@ -204590,7 +204585,7 @@ "operationId": "repos/list-commit-comments-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#list-commit-comments-for-a-repository" + "url": "https://docs.github.com/enterprise-server@3.3/rest/commits/comments#list-commit-comments-for-a-repository" }, "parameters": [ { @@ -204996,7 +204991,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } } @@ -205011,7 +205006,7 @@ "operationId": "repos/get-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-a-commit-comment" + "url": "https://docs.github.com/enterprise-server@3.3/rest/commits/comments#get-a-commit-comment" }, "parameters": [ { @@ -205421,7 +205416,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } }, @@ -205434,7 +205429,7 @@ "operationId": "repos/update-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#update-a-commit-comment" + "url": "https://docs.github.com/enterprise-server@3.3/rest/commits/comments#update-a-commit-comment" }, "parameters": [ { @@ -205870,7 +205865,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } }, @@ -205883,7 +205878,7 @@ "operationId": "repos/delete-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#delete-a-commit-comment" + "url": "https://docs.github.com/enterprise-server@3.3/rest/commits/comments#delete-a-commit-comment" }, "parameters": [ { @@ -205948,7 +205943,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } } @@ -207078,7 +207073,7 @@ "operationId": "repos/list-commits", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#list-commits" + "url": "https://docs.github.com/enterprise-server@3.3/rest/commits/commits#list-commits" }, "parameters": [ { @@ -208098,8 +208093,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "commits" + "category": "commits" } } }, @@ -208113,7 +208107,7 @@ "operationId": "repos/list-branches-for-head-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#list-branches-for-head-commit" + "url": "https://docs.github.com/enterprise-server@3.3/rest/commits/commits#list-branches-for-head-commit" }, "parameters": [ { @@ -208282,8 +208276,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "commits" + "category": "commits" } } }, @@ -208297,7 +208290,7 @@ "operationId": "repos/list-comments-for-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#list-commit-comments" + "url": "https://docs.github.com/enterprise-server@3.3/rest/commits/comments#list-commit-comments" }, "parameters": [ { @@ -208713,7 +208706,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } }, @@ -208726,7 +208719,7 @@ "operationId": "repos/create-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#create-a-commit-comment" + "url": "https://docs.github.com/enterprise-server@3.3/rest/commits/comments#create-a-commit-comment" }, "parameters": [ { @@ -209262,7 +209255,7 @@ "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } } @@ -209277,7 +209270,7 @@ "operationId": "repos/list-pull-requests-associated-with-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#list-pull-requests-associated-with-a-commit" + "url": "https://docs.github.com/enterprise-server@3.3/rest/commits/commits#list-pull-requests-associated-with-a-commit" }, "parameters": [ { @@ -214773,8 +214766,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "commits" + "category": "commits" } } }, @@ -214788,7 +214780,7 @@ "operationId": "repos/get-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-a-commit" + "url": "https://docs.github.com/enterprise-server@3.3/rest/commits/commits#get-a-commit" }, "parameters": [ { @@ -215756,8 +215748,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "commits" + "category": "commits" } } }, @@ -220125,7 +220116,7 @@ "operationId": "repos/get-combined-status-for-ref", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-the-combined-status-for-a-specific-reference" + "url": "https://docs.github.com/enterprise-server@3.3/rest/commits/statuses#get-the-combined-status-for-a-specific-reference" }, "parameters": [ { @@ -222534,7 +222525,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "statuses" } } @@ -222549,7 +222540,7 @@ "operationId": "repos/list-commit-statuses-for-ref", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#list-commit-statuses-for-a-reference" + "url": "https://docs.github.com/enterprise-server@3.3/rest/commits/statuses#list-commit-statuses-for-a-reference" }, "parameters": [ { @@ -222913,7 +222904,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "statuses" } } @@ -222928,7 +222919,7 @@ "operationId": "repos/compare-commits", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#compare-two-commits" + "url": "https://docs.github.com/enterprise-server@3.3/rest/commits/commits#compare-two-commits" }, "parameters": [ { @@ -225534,8 +225525,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "commits" + "category": "commits" } } }, @@ -251415,7 +251405,7 @@ "operationId": "repos/list-webhooks", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#list-repository-webhooks" + "url": "https://docs.github.com/enterprise-server@3.3/rest/webhooks/repos#list-repository-webhooks" }, "parameters": [ { @@ -251740,8 +251730,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } }, "post": { @@ -251753,7 +251743,7 @@ "operationId": "repos/create-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#create-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.3/rest/webhooks/repos#create-a-repository-webhook" }, "parameters": [ { @@ -252262,8 +252252,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } } }, @@ -252277,7 +252267,7 @@ "operationId": "repos/get-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.3/rest/webhooks/repos#get-a-repository-webhook" }, "parameters": [ { @@ -252580,8 +252570,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } }, "patch": { @@ -252593,7 +252583,7 @@ "operationId": "repos/update-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#update-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.3/rest/webhooks/repos#update-a-repository-webhook" }, "parameters": [ { @@ -253079,8 +253069,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } }, "delete": { @@ -253092,7 +253082,7 @@ "operationId": "repos/delete-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#delete-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.3/rest/webhooks/repos#delete-a-repository-webhook" }, "parameters": [ { @@ -253157,8 +253147,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } } }, @@ -253172,7 +253162,7 @@ "operationId": "repos/get-webhook-config-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-a-webhook-configuration-for-a-repository" + "url": "https://docs.github.com/enterprise-server@3.3/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository" }, "parameters": [ { @@ -253268,8 +253258,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repo-config" } }, "patch": { @@ -253281,7 +253271,7 @@ "operationId": "repos/update-webhook-config-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#update-a-webhook-configuration-for-a-repository" + "url": "https://docs.github.com/enterprise-server@3.3/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository" }, "parameters": [ { @@ -253432,8 +253422,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repo-config" } } }, @@ -253447,7 +253437,7 @@ "operationId": "repos/list-webhook-deliveries", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#list-deliveries-for-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.3/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook" }, "parameters": [ { @@ -253793,8 +253783,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repo-deliveries" } } }, @@ -253808,7 +253798,7 @@ "operationId": "repos/get-webhook-delivery", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-a-delivery-for-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.3/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook" }, "parameters": [ { @@ -254215,8 +254205,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repo-deliveries" } } }, @@ -254230,7 +254220,7 @@ "operationId": "repos/redeliver-webhook-delivery", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#redeliver-a-delivery-for-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.3/rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook" }, "parameters": [ { @@ -254427,8 +254417,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repo-deliveries" } } }, @@ -254442,7 +254432,7 @@ "operationId": "repos/ping-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#ping-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.3/rest/webhooks/repos#ping-a-repository-webhook" }, "parameters": [ { @@ -254507,8 +254497,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } } }, @@ -254522,7 +254512,7 @@ "operationId": "repos/test-push-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#test-the-push-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.3/rest/webhooks/repos#test-the-push-repository-webhook" }, "parameters": [ { @@ -254587,8 +254577,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } } }, @@ -255584,7 +255574,7 @@ "operationId": "repos/list-invitations", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#list-repository-invitations" + "url": "https://docs.github.com/enterprise-server@3.3/rest/collaborators/invitations#list-repository-invitations" }, "parameters": [ { @@ -258283,7 +258273,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } } @@ -258298,7 +258288,7 @@ "operationId": "repos/update-invitation", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#update-a-repository-invitation" + "url": "https://docs.github.com/enterprise-server@3.3/rest/collaborators/invitations#update-a-repository-invitation" }, "parameters": [ { @@ -260999,7 +260989,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } }, @@ -261012,7 +261002,7 @@ "operationId": "repos/delete-invitation", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#delete-a-repository-invitation" + "url": "https://docs.github.com/enterprise-server@3.3/rest/collaborators/invitations#delete-a-repository-invitation" }, "parameters": [ { @@ -261051,7 +261041,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } } @@ -332683,7 +332673,7 @@ "operationId": "repos/get-pages", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-a-github-pages-site" + "url": "https://docs.github.com/enterprise-server@3.3/rest/pages#get-a-github-pages-site" }, "parameters": [ { @@ -332953,8 +332943,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } }, "post": { @@ -332966,7 +332955,7 @@ "operationId": "repos/create-pages-site", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#create-a-github-pages-site" + "url": "https://docs.github.com/enterprise-server@3.3/rest/pages#create-a-github-pages-site" }, "parameters": [ { @@ -333379,8 +333368,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } }, "put": { @@ -333392,7 +333380,7 @@ "operationId": "repos/update-information-about-pages-site", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#update-information-about-a-github-pages-site" + "url": "https://docs.github.com/enterprise-server@3.3/rest/pages#update-information-about-a-github-pages-site" }, "parameters": [ { @@ -333673,8 +333661,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } }, "delete": { @@ -333686,7 +333673,7 @@ "operationId": "repos/delete-pages-site", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#delete-a-github-pages-site" + "url": "https://docs.github.com/enterprise-server@3.3/rest/pages#delete-a-github-pages-site" }, "parameters": [ { @@ -333817,8 +333804,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } } }, @@ -333832,7 +333818,7 @@ "operationId": "repos/list-pages-builds", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#list-github-pages-builds" + "url": "https://docs.github.com/enterprise-server@3.3/rest/pages#list-github-pages-builds" }, "parameters": [ { @@ -334152,8 +334138,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } }, "post": { @@ -334165,7 +334150,7 @@ "operationId": "repos/request-pages-build", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#request-a-github-pages-build" + "url": "https://docs.github.com/enterprise-server@3.3/rest/pages#request-a-github-pages-build" }, "parameters": [ { @@ -334231,8 +334216,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } } }, @@ -334246,7 +334230,7 @@ "operationId": "repos/get-latest-pages-build", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-latest-pages-build" + "url": "https://docs.github.com/enterprise-server@3.3/rest/pages#get-latest-pages-build" }, "parameters": [ { @@ -334535,8 +334519,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } } }, @@ -334550,7 +334533,7 @@ "operationId": "repos/get-pages-build", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-github-pages-build" + "url": "https://docs.github.com/enterprise-server@3.3/rest/pages#get-github-pages-build" }, "parameters": [ { @@ -334847,8 +334830,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } } }, @@ -386414,7 +386396,7 @@ "operationId": "repos/get-code-frequency-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-the-weekly-commit-activity" + "url": "https://docs.github.com/enterprise-server@3.3/rest/metrics/statistics#get-the-weekly-commit-activity" }, "parameters": [ { @@ -386483,7 +386465,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "statistics" } } @@ -386498,7 +386480,7 @@ "operationId": "repos/get-commit-activity-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-the-last-year-of-commit-activity" + "url": "https://docs.github.com/enterprise-server@3.3/rest/metrics/statistics#get-the-last-year-of-commit-activity" }, "parameters": [ { @@ -386606,7 +386588,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "statistics" } } @@ -386621,7 +386603,7 @@ "operationId": "repos/get-contributors-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-all-contributor-commit-activity" + "url": "https://docs.github.com/enterprise-server@3.3/rest/metrics/statistics#get-all-contributor-commit-activity" }, "parameters": [ { @@ -386922,7 +386904,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "statistics" } } @@ -386937,7 +386919,7 @@ "operationId": "repos/get-participation-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-the-weekly-commit-count" + "url": "https://docs.github.com/enterprise-server@3.3/rest/metrics/statistics#get-the-weekly-commit-count" }, "parameters": [ { @@ -387133,7 +387115,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "statistics" } } @@ -387148,7 +387130,7 @@ "operationId": "repos/get-punch-card-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#get-the-hourly-commit-count-for-each-day" + "url": "https://docs.github.com/enterprise-server@3.3/rest/statistics/repos#get-the-hourly-commit-count-for-each-day" }, "parameters": [ { @@ -387217,7 +387199,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "statistics" } } @@ -387232,7 +387214,7 @@ "operationId": "repos/create-commit-status", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#create-a-commit-status" + "url": "https://docs.github.com/enterprise-server@3.3/rest/commits/statuses#create-a-commit-status" }, "parameters": [ { @@ -387600,7 +387582,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "statuses" } } @@ -440831,7 +440813,7 @@ "operationId": "repos/list-invitations-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#list-repository-invitations-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-server@3.3/rest/collaborators/invitations#list-repository-invitations-for-the-authenticated-user" }, "parameters": [ { @@ -443593,7 +443575,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": false, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } } @@ -443608,7 +443590,7 @@ "operationId": "repos/accept-invitation-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#accept-a-repository-invitation" + "url": "https://docs.github.com/enterprise-server@3.3/rest/collaborators/invitations#accept-a-repository-invitation" }, "parameters": [ { @@ -443710,7 +443692,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": false, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } }, @@ -443723,7 +443705,7 @@ "operationId": "repos/decline-invitation-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.3/rest/reference/repos#decline-a-repository-invitation" + "url": "https://docs.github.com/enterprise-server@3.3/rest/collaborators/invitations#decline-a-repository-invitation" }, "parameters": [ { @@ -443825,7 +443807,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": false, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } } diff --git a/lib/rest/static/dereferenced/ghes-3.4.deref.json b/lib/rest/static/dereferenced/ghes-3.4.deref.json index c5750b8e31f1..fbbac03a0af4 100644 --- a/lib/rest/static/dereferenced/ghes-3.4.deref.json +++ b/lib/rest/static/dereferenced/ghes-3.4.deref.json @@ -217428,7 +217428,7 @@ "operationId": "repos/list-collaborators", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#list-repository-collaborators" + "url": "https://docs.github.com/enterprise-server@3.4/rest/collaborators/collaborators#list-repository-collaborators" }, "parameters": [ { @@ -217743,8 +217743,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "collaborators" + "category": "collaborators" } } }, @@ -217758,7 +217757,7 @@ "operationId": "repos/check-collaborator", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#check-if-a-user-is-a-repository-collaborator" + "url": "https://docs.github.com/enterprise-server@3.4/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator" }, "parameters": [ { @@ -217800,8 +217799,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "collaborators" + "category": "collaborators" } }, "put": { @@ -217813,7 +217811,7 @@ "operationId": "repos/add-collaborator", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#add-a-repository-collaborator" + "url": "https://docs.github.com/enterprise-server@3.4/rest/collaborators/collaborators#add-a-repository-collaborator" }, "parameters": [ { @@ -220627,8 +220625,7 @@ "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "collaborators" + "category": "collaborators" } }, "delete": { @@ -220640,7 +220637,7 @@ "operationId": "repos/remove-collaborator", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#remove-a-repository-collaborator" + "url": "https://docs.github.com/enterprise-server@3.4/rest/collaborators/collaborators#remove-a-repository-collaborator" }, "parameters": [ { @@ -220679,8 +220676,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "collaborators" + "category": "collaborators" } } }, @@ -220694,7 +220690,7 @@ "operationId": "repos/get-collaborator-permission-level", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-repository-permissions-for-a-user" + "url": "https://docs.github.com/enterprise-server@3.4/rest/collaborators/collaborators#get-repository-permissions-for-a-user" }, "parameters": [ { @@ -220991,8 +220987,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "collaborators" + "category": "collaborators" } } }, @@ -221006,7 +221001,7 @@ "operationId": "repos/list-commit-comments-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#list-commit-comments-for-a-repository" + "url": "https://docs.github.com/enterprise-server@3.4/rest/commits/comments#list-commit-comments-for-a-repository" }, "parameters": [ { @@ -221412,7 +221407,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } } @@ -221427,7 +221422,7 @@ "operationId": "repos/get-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-a-commit-comment" + "url": "https://docs.github.com/enterprise-server@3.4/rest/commits/comments#get-a-commit-comment" }, "parameters": [ { @@ -221837,7 +221832,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } }, @@ -221850,7 +221845,7 @@ "operationId": "repos/update-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#update-a-commit-comment" + "url": "https://docs.github.com/enterprise-server@3.4/rest/commits/comments#update-a-commit-comment" }, "parameters": [ { @@ -222286,7 +222281,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } }, @@ -222299,7 +222294,7 @@ "operationId": "repos/delete-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#delete-a-commit-comment" + "url": "https://docs.github.com/enterprise-server@3.4/rest/commits/comments#delete-a-commit-comment" }, "parameters": [ { @@ -222364,7 +222359,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } } @@ -223494,7 +223489,7 @@ "operationId": "repos/list-commits", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#list-commits" + "url": "https://docs.github.com/enterprise-server@3.4/rest/commits/commits#list-commits" }, "parameters": [ { @@ -224514,8 +224509,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "commits" + "category": "commits" } } }, @@ -224529,7 +224523,7 @@ "operationId": "repos/list-branches-for-head-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#list-branches-for-head-commit" + "url": "https://docs.github.com/enterprise-server@3.4/rest/commits/commits#list-branches-for-head-commit" }, "parameters": [ { @@ -224698,8 +224692,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "commits" + "category": "commits" } } }, @@ -224713,7 +224706,7 @@ "operationId": "repos/list-comments-for-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#list-commit-comments" + "url": "https://docs.github.com/enterprise-server@3.4/rest/commits/comments#list-commit-comments" }, "parameters": [ { @@ -225129,7 +225122,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } }, @@ -225142,7 +225135,7 @@ "operationId": "repos/create-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#create-a-commit-comment" + "url": "https://docs.github.com/enterprise-server@3.4/rest/commits/comments#create-a-commit-comment" }, "parameters": [ { @@ -225678,7 +225671,7 @@ "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } } @@ -225693,7 +225686,7 @@ "operationId": "repos/list-pull-requests-associated-with-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#list-pull-requests-associated-with-a-commit" + "url": "https://docs.github.com/enterprise-server@3.4/rest/commits/commits#list-pull-requests-associated-with-a-commit" }, "parameters": [ { @@ -231189,8 +231182,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "commits" + "category": "commits" } } }, @@ -231204,7 +231196,7 @@ "operationId": "repos/get-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-a-commit" + "url": "https://docs.github.com/enterprise-server@3.4/rest/commits/commits#get-a-commit" }, "parameters": [ { @@ -232172,8 +232164,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "commits" + "category": "commits" } } }, @@ -236541,7 +236532,7 @@ "operationId": "repos/get-combined-status-for-ref", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-the-combined-status-for-a-specific-reference" + "url": "https://docs.github.com/enterprise-server@3.4/rest/commits/statuses#get-the-combined-status-for-a-specific-reference" }, "parameters": [ { @@ -238950,7 +238941,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "statuses" } } @@ -238965,7 +238956,7 @@ "operationId": "repos/list-commit-statuses-for-ref", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#list-commit-statuses-for-a-reference" + "url": "https://docs.github.com/enterprise-server@3.4/rest/commits/statuses#list-commit-statuses-for-a-reference" }, "parameters": [ { @@ -239329,7 +239320,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "statuses" } } @@ -239344,7 +239335,7 @@ "operationId": "repos/compare-commits", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#compare-two-commits" + "url": "https://docs.github.com/enterprise-server@3.4/rest/commits/commits#compare-two-commits" }, "parameters": [ { @@ -241950,8 +241941,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "commits" + "category": "commits" } } }, @@ -267971,7 +267961,7 @@ "operationId": "repos/list-webhooks", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#list-repository-webhooks" + "url": "https://docs.github.com/enterprise-server@3.4/rest/webhooks/repos#list-repository-webhooks" }, "parameters": [ { @@ -268296,8 +268286,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } }, "post": { @@ -268309,7 +268299,7 @@ "operationId": "repos/create-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#create-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.4/rest/webhooks/repos#create-a-repository-webhook" }, "parameters": [ { @@ -268818,8 +268808,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } } }, @@ -268833,7 +268823,7 @@ "operationId": "repos/get-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.4/rest/webhooks/repos#get-a-repository-webhook" }, "parameters": [ { @@ -269136,8 +269126,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } }, "patch": { @@ -269149,7 +269139,7 @@ "operationId": "repos/update-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#update-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.4/rest/webhooks/repos#update-a-repository-webhook" }, "parameters": [ { @@ -269635,8 +269625,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } }, "delete": { @@ -269648,7 +269638,7 @@ "operationId": "repos/delete-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#delete-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.4/rest/webhooks/repos#delete-a-repository-webhook" }, "parameters": [ { @@ -269713,8 +269703,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } } }, @@ -269728,7 +269718,7 @@ "operationId": "repos/get-webhook-config-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-a-webhook-configuration-for-a-repository" + "url": "https://docs.github.com/enterprise-server@3.4/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository" }, "parameters": [ { @@ -269824,8 +269814,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repo-config" } }, "patch": { @@ -269837,7 +269827,7 @@ "operationId": "repos/update-webhook-config-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#update-a-webhook-configuration-for-a-repository" + "url": "https://docs.github.com/enterprise-server@3.4/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository" }, "parameters": [ { @@ -269988,8 +269978,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repo-config" } } }, @@ -270003,7 +269993,7 @@ "operationId": "repos/list-webhook-deliveries", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#list-deliveries-for-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.4/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook" }, "parameters": [ { @@ -270349,8 +270339,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repo-deliveries" } } }, @@ -270364,7 +270354,7 @@ "operationId": "repos/get-webhook-delivery", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-a-delivery-for-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.4/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook" }, "parameters": [ { @@ -270771,8 +270761,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repo-deliveries" } } }, @@ -270786,7 +270776,7 @@ "operationId": "repos/redeliver-webhook-delivery", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#redeliver-a-delivery-for-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.4/rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook" }, "parameters": [ { @@ -270983,8 +270973,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repo-deliveries" } } }, @@ -270998,7 +270988,7 @@ "operationId": "repos/ping-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#ping-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.4/rest/webhooks/repos#ping-a-repository-webhook" }, "parameters": [ { @@ -271063,8 +271053,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } } }, @@ -271078,7 +271068,7 @@ "operationId": "repos/test-push-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#test-the-push-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.4/rest/webhooks/repos#test-the-push-repository-webhook" }, "parameters": [ { @@ -271143,8 +271133,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } } }, @@ -272132,7 +272122,7 @@ "operationId": "repos/list-invitations", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#list-repository-invitations" + "url": "https://docs.github.com/enterprise-server@3.4/rest/collaborators/invitations#list-repository-invitations" }, "parameters": [ { @@ -274831,7 +274821,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } } @@ -274846,7 +274836,7 @@ "operationId": "repos/update-invitation", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#update-a-repository-invitation" + "url": "https://docs.github.com/enterprise-server@3.4/rest/collaborators/invitations#update-a-repository-invitation" }, "parameters": [ { @@ -277547,7 +277537,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } }, @@ -277560,7 +277550,7 @@ "operationId": "repos/delete-invitation", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#delete-a-repository-invitation" + "url": "https://docs.github.com/enterprise-server@3.4/rest/collaborators/invitations#delete-a-repository-invitation" }, "parameters": [ { @@ -277599,7 +277589,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } } @@ -349231,7 +349221,7 @@ "operationId": "repos/get-pages", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-a-github-pages-site" + "url": "https://docs.github.com/enterprise-server@3.4/rest/pages#get-a-github-pages-site" }, "parameters": [ { @@ -349501,8 +349491,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } }, "post": { @@ -349514,7 +349503,7 @@ "operationId": "repos/create-pages-site", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#create-a-github-pages-site" + "url": "https://docs.github.com/enterprise-server@3.4/rest/pages#create-a-github-pages-site" }, "parameters": [ { @@ -349927,8 +349916,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } }, "put": { @@ -349940,7 +349928,7 @@ "operationId": "repos/update-information-about-pages-site", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#update-information-about-a-github-pages-site" + "url": "https://docs.github.com/enterprise-server@3.4/rest/pages#update-information-about-a-github-pages-site" }, "parameters": [ { @@ -350221,8 +350209,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } }, "delete": { @@ -350234,7 +350221,7 @@ "operationId": "repos/delete-pages-site", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#delete-a-github-pages-site" + "url": "https://docs.github.com/enterprise-server@3.4/rest/pages#delete-a-github-pages-site" }, "parameters": [ { @@ -350365,8 +350352,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } } }, @@ -350380,7 +350366,7 @@ "operationId": "repos/list-pages-builds", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#list-github-pages-builds" + "url": "https://docs.github.com/enterprise-server@3.4/rest/pages#list-github-pages-builds" }, "parameters": [ { @@ -350700,8 +350686,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } }, "post": { @@ -350713,7 +350698,7 @@ "operationId": "repos/request-pages-build", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#request-a-github-pages-build" + "url": "https://docs.github.com/enterprise-server@3.4/rest/pages#request-a-github-pages-build" }, "parameters": [ { @@ -350779,8 +350764,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } } }, @@ -350794,7 +350778,7 @@ "operationId": "repos/get-latest-pages-build", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-latest-pages-build" + "url": "https://docs.github.com/enterprise-server@3.4/rest/pages#get-latest-pages-build" }, "parameters": [ { @@ -351083,8 +351067,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } } }, @@ -351098,7 +351081,7 @@ "operationId": "repos/get-pages-build", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-github-pages-build" + "url": "https://docs.github.com/enterprise-server@3.4/rest/pages#get-github-pages-build" }, "parameters": [ { @@ -351395,8 +351378,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } } }, @@ -403161,7 +403143,7 @@ "operationId": "repos/get-code-frequency-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-the-weekly-commit-activity" + "url": "https://docs.github.com/enterprise-server@3.4/rest/metrics/statistics#get-the-weekly-commit-activity" }, "parameters": [ { @@ -403230,7 +403212,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "statistics" } } @@ -403245,7 +403227,7 @@ "operationId": "repos/get-commit-activity-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-the-last-year-of-commit-activity" + "url": "https://docs.github.com/enterprise-server@3.4/rest/metrics/statistics#get-the-last-year-of-commit-activity" }, "parameters": [ { @@ -403353,7 +403335,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "statistics" } } @@ -403368,7 +403350,7 @@ "operationId": "repos/get-contributors-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-all-contributor-commit-activity" + "url": "https://docs.github.com/enterprise-server@3.4/rest/metrics/statistics#get-all-contributor-commit-activity" }, "parameters": [ { @@ -403669,7 +403651,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "statistics" } } @@ -403684,7 +403666,7 @@ "operationId": "repos/get-participation-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-the-weekly-commit-count" + "url": "https://docs.github.com/enterprise-server@3.4/rest/metrics/statistics#get-the-weekly-commit-count" }, "parameters": [ { @@ -403880,7 +403862,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "statistics" } } @@ -403895,7 +403877,7 @@ "operationId": "repos/get-punch-card-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#get-the-hourly-commit-count-for-each-day" + "url": "https://docs.github.com/enterprise-server@3.4/rest/statistics/repos#get-the-hourly-commit-count-for-each-day" }, "parameters": [ { @@ -403964,7 +403946,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "statistics" } } @@ -403979,7 +403961,7 @@ "operationId": "repos/create-commit-status", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#create-a-commit-status" + "url": "https://docs.github.com/enterprise-server@3.4/rest/commits/statuses#create-a-commit-status" }, "parameters": [ { @@ -404347,7 +404329,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "statuses" } } @@ -464004,7 +463986,7 @@ "operationId": "repos/list-invitations-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#list-repository-invitations-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-server@3.4/rest/collaborators/invitations#list-repository-invitations-for-the-authenticated-user" }, "parameters": [ { @@ -466766,7 +466748,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": false, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } } @@ -466781,7 +466763,7 @@ "operationId": "repos/accept-invitation-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#accept-a-repository-invitation" + "url": "https://docs.github.com/enterprise-server@3.4/rest/collaborators/invitations#accept-a-repository-invitation" }, "parameters": [ { @@ -466883,7 +466865,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": false, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } }, @@ -466896,7 +466878,7 @@ "operationId": "repos/decline-invitation-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.4/rest/reference/repos#decline-a-repository-invitation" + "url": "https://docs.github.com/enterprise-server@3.4/rest/collaborators/invitations#decline-a-repository-invitation" }, "parameters": [ { @@ -466998,7 +466980,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": false, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } } diff --git a/lib/rest/static/dereferenced/ghes-3.5.deref.json b/lib/rest/static/dereferenced/ghes-3.5.deref.json index 42a167043d60..0c26995dc146 100644 --- a/lib/rest/static/dereferenced/ghes-3.5.deref.json +++ b/lib/rest/static/dereferenced/ghes-3.5.deref.json @@ -227502,7 +227502,7 @@ "operationId": "repos/list-collaborators", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#list-repository-collaborators" + "url": "https://docs.github.com/enterprise-server@3.5/rest/collaborators/collaborators#list-repository-collaborators" }, "parameters": [ { @@ -227826,8 +227826,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "collaborators" + "category": "collaborators" } } }, @@ -227841,7 +227840,7 @@ "operationId": "repos/check-collaborator", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#check-if-a-user-is-a-repository-collaborator" + "url": "https://docs.github.com/enterprise-server@3.5/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator" }, "parameters": [ { @@ -227883,8 +227882,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "collaborators" + "category": "collaborators" } }, "put": { @@ -227896,7 +227894,7 @@ "operationId": "repos/add-collaborator", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#add-a-repository-collaborator" + "url": "https://docs.github.com/enterprise-server@3.5/rest/collaborators/collaborators#add-a-repository-collaborator" }, "parameters": [ { @@ -230716,8 +230714,7 @@ "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "collaborators" + "category": "collaborators" } }, "delete": { @@ -230729,7 +230726,7 @@ "operationId": "repos/remove-collaborator", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#remove-a-repository-collaborator" + "url": "https://docs.github.com/enterprise-server@3.5/rest/collaborators/collaborators#remove-a-repository-collaborator" }, "parameters": [ { @@ -230768,8 +230765,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "collaborators" + "category": "collaborators" } } }, @@ -230783,7 +230779,7 @@ "operationId": "repos/get-collaborator-permission-level", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-repository-permissions-for-a-user" + "url": "https://docs.github.com/enterprise-server@3.5/rest/collaborators/collaborators#get-repository-permissions-for-a-user" }, "parameters": [ { @@ -231094,8 +231090,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "collaborators" + "category": "collaborators" } } }, @@ -231109,7 +231104,7 @@ "operationId": "repos/list-commit-comments-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#list-commit-comments-for-a-repository" + "url": "https://docs.github.com/enterprise-server@3.5/rest/commits/comments#list-commit-comments-for-a-repository" }, "parameters": [ { @@ -231515,7 +231510,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } } @@ -231530,7 +231525,7 @@ "operationId": "repos/get-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-a-commit-comment" + "url": "https://docs.github.com/enterprise-server@3.5/rest/commits/comments#get-a-commit-comment" }, "parameters": [ { @@ -231940,7 +231935,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } }, @@ -231953,7 +231948,7 @@ "operationId": "repos/update-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#update-a-commit-comment" + "url": "https://docs.github.com/enterprise-server@3.5/rest/commits/comments#update-a-commit-comment" }, "parameters": [ { @@ -232389,7 +232384,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } }, @@ -232402,7 +232397,7 @@ "operationId": "repos/delete-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#delete-a-commit-comment" + "url": "https://docs.github.com/enterprise-server@3.5/rest/commits/comments#delete-a-commit-comment" }, "parameters": [ { @@ -232467,7 +232462,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } } @@ -233597,7 +233592,7 @@ "operationId": "repos/list-commits", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#list-commits" + "url": "https://docs.github.com/enterprise-server@3.5/rest/commits/commits#list-commits" }, "parameters": [ { @@ -234617,8 +234612,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "commits" + "category": "commits" } } }, @@ -234632,7 +234626,7 @@ "operationId": "repos/list-branches-for-head-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#list-branches-for-head-commit" + "url": "https://docs.github.com/enterprise-server@3.5/rest/commits/commits#list-branches-for-head-commit" }, "parameters": [ { @@ -234801,8 +234795,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "commits" + "category": "commits" } } }, @@ -234816,7 +234809,7 @@ "operationId": "repos/list-comments-for-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#list-commit-comments" + "url": "https://docs.github.com/enterprise-server@3.5/rest/commits/comments#list-commit-comments" }, "parameters": [ { @@ -235232,7 +235225,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } }, @@ -235245,7 +235238,7 @@ "operationId": "repos/create-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#create-a-commit-comment" + "url": "https://docs.github.com/enterprise-server@3.5/rest/commits/comments#create-a-commit-comment" }, "parameters": [ { @@ -235781,7 +235774,7 @@ "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } } @@ -235796,7 +235789,7 @@ "operationId": "repos/list-pull-requests-associated-with-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#list-pull-requests-associated-with-a-commit" + "url": "https://docs.github.com/enterprise-server@3.5/rest/commits/commits#list-pull-requests-associated-with-a-commit" }, "parameters": [ { @@ -241292,8 +241285,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "commits" + "category": "commits" } } }, @@ -241307,7 +241299,7 @@ "operationId": "repos/get-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-a-commit" + "url": "https://docs.github.com/enterprise-server@3.5/rest/commits/commits#get-a-commit" }, "parameters": [ { @@ -242275,8 +242267,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "commits" + "category": "commits" } } }, @@ -246650,7 +246641,7 @@ "operationId": "repos/get-combined-status-for-ref", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-the-combined-status-for-a-specific-reference" + "url": "https://docs.github.com/enterprise-server@3.5/rest/commits/statuses#get-the-combined-status-for-a-specific-reference" }, "parameters": [ { @@ -249065,7 +249056,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "statuses" } } @@ -249080,7 +249071,7 @@ "operationId": "repos/list-commit-statuses-for-ref", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#list-commit-statuses-for-a-reference" + "url": "https://docs.github.com/enterprise-server@3.5/rest/commits/statuses#list-commit-statuses-for-a-reference" }, "parameters": [ { @@ -249444,7 +249435,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "statuses" } } @@ -249459,7 +249450,7 @@ "operationId": "repos/compare-commits", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#compare-two-commits" + "url": "https://docs.github.com/enterprise-server@3.5/rest/commits/commits#compare-two-commits" }, "parameters": [ { @@ -252065,8 +252056,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "commits" + "category": "commits" } } }, @@ -278092,7 +278082,7 @@ "operationId": "repos/list-webhooks", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#list-repository-webhooks" + "url": "https://docs.github.com/enterprise-server@3.5/rest/webhooks/repos#list-repository-webhooks" }, "parameters": [ { @@ -278417,8 +278407,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } }, "post": { @@ -278430,7 +278420,7 @@ "operationId": "repos/create-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#create-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.5/rest/webhooks/repos#create-a-repository-webhook" }, "parameters": [ { @@ -278939,8 +278929,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } } }, @@ -278954,7 +278944,7 @@ "operationId": "repos/get-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.5/rest/webhooks/repos#get-a-repository-webhook" }, "parameters": [ { @@ -279257,8 +279247,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } }, "patch": { @@ -279270,7 +279260,7 @@ "operationId": "repos/update-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#update-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.5/rest/webhooks/repos#update-a-repository-webhook" }, "parameters": [ { @@ -279756,8 +279746,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } }, "delete": { @@ -279769,7 +279759,7 @@ "operationId": "repos/delete-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#delete-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.5/rest/webhooks/repos#delete-a-repository-webhook" }, "parameters": [ { @@ -279834,8 +279824,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } } }, @@ -279849,7 +279839,7 @@ "operationId": "repos/get-webhook-config-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-a-webhook-configuration-for-a-repository" + "url": "https://docs.github.com/enterprise-server@3.5/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository" }, "parameters": [ { @@ -279945,8 +279935,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repo-config" } }, "patch": { @@ -279958,7 +279948,7 @@ "operationId": "repos/update-webhook-config-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#update-a-webhook-configuration-for-a-repository" + "url": "https://docs.github.com/enterprise-server@3.5/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository" }, "parameters": [ { @@ -280109,8 +280099,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repo-config" } } }, @@ -280124,7 +280114,7 @@ "operationId": "repos/list-webhook-deliveries", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#list-deliveries-for-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.5/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook" }, "parameters": [ { @@ -280470,8 +280460,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repo-deliveries" } } }, @@ -280485,7 +280475,7 @@ "operationId": "repos/get-webhook-delivery", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-a-delivery-for-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.5/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook" }, "parameters": [ { @@ -280892,8 +280882,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repo-deliveries" } } }, @@ -280907,7 +280897,7 @@ "operationId": "repos/redeliver-webhook-delivery", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#redeliver-a-delivery-for-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.5/rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook" }, "parameters": [ { @@ -281104,8 +281094,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repo-deliveries" } } }, @@ -281119,7 +281109,7 @@ "operationId": "repos/ping-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#ping-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.5/rest/webhooks/repos#ping-a-repository-webhook" }, "parameters": [ { @@ -281184,8 +281174,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } } }, @@ -281199,7 +281189,7 @@ "operationId": "repos/test-push-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#test-the-push-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.5/rest/webhooks/repos#test-the-push-repository-webhook" }, "parameters": [ { @@ -281264,8 +281254,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } } }, @@ -282253,7 +282243,7 @@ "operationId": "repos/list-invitations", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#list-repository-invitations" + "url": "https://docs.github.com/enterprise-server@3.5/rest/collaborators/invitations#list-repository-invitations" }, "parameters": [ { @@ -284958,7 +284948,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } } @@ -284973,7 +284963,7 @@ "operationId": "repos/update-invitation", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#update-a-repository-invitation" + "url": "https://docs.github.com/enterprise-server@3.5/rest/collaborators/invitations#update-a-repository-invitation" }, "parameters": [ { @@ -287680,7 +287670,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } }, @@ -287693,7 +287683,7 @@ "operationId": "repos/delete-invitation", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#delete-a-repository-invitation" + "url": "https://docs.github.com/enterprise-server@3.5/rest/collaborators/invitations#delete-a-repository-invitation" }, "parameters": [ { @@ -287732,7 +287722,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } } @@ -359370,7 +359360,7 @@ "operationId": "repos/get-pages", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-a-github-pages-site" + "url": "https://docs.github.com/enterprise-server@3.5/rest/pages#get-a-github-pages-site" }, "parameters": [ { @@ -359640,8 +359630,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } }, "post": { @@ -359653,7 +359642,7 @@ "operationId": "repos/create-pages-site", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#create-a-github-pages-site" + "url": "https://docs.github.com/enterprise-server@3.5/rest/pages#create-a-github-pages-site" }, "parameters": [ { @@ -360066,8 +360055,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } }, "put": { @@ -360079,7 +360067,7 @@ "operationId": "repos/update-information-about-pages-site", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#update-information-about-a-github-pages-site" + "url": "https://docs.github.com/enterprise-server@3.5/rest/pages#update-information-about-a-github-pages-site" }, "parameters": [ { @@ -360360,8 +360348,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } }, "delete": { @@ -360373,7 +360360,7 @@ "operationId": "repos/delete-pages-site", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#delete-a-github-pages-site" + "url": "https://docs.github.com/enterprise-server@3.5/rest/pages#delete-a-github-pages-site" }, "parameters": [ { @@ -360504,8 +360491,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } } }, @@ -360519,7 +360505,7 @@ "operationId": "repos/list-pages-builds", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#list-github-pages-builds" + "url": "https://docs.github.com/enterprise-server@3.5/rest/pages#list-github-pages-builds" }, "parameters": [ { @@ -360839,8 +360825,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } }, "post": { @@ -360852,7 +360837,7 @@ "operationId": "repos/request-pages-build", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#request-a-github-pages-build" + "url": "https://docs.github.com/enterprise-server@3.5/rest/pages#request-a-github-pages-build" }, "parameters": [ { @@ -360918,8 +360903,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } } }, @@ -360933,7 +360917,7 @@ "operationId": "repos/get-latest-pages-build", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-latest-pages-build" + "url": "https://docs.github.com/enterprise-server@3.5/rest/pages#get-latest-pages-build" }, "parameters": [ { @@ -361222,8 +361206,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } } }, @@ -361237,7 +361220,7 @@ "operationId": "repos/get-pages-build", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-github-pages-build" + "url": "https://docs.github.com/enterprise-server@3.5/rest/pages#get-github-pages-build" }, "parameters": [ { @@ -361534,8 +361517,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } } }, @@ -413314,7 +413296,7 @@ "operationId": "repos/get-code-frequency-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-the-weekly-commit-activity" + "url": "https://docs.github.com/enterprise-server@3.5/rest/metrics/statistics#get-the-weekly-commit-activity" }, "parameters": [ { @@ -413383,7 +413365,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "statistics" } } @@ -413398,7 +413380,7 @@ "operationId": "repos/get-commit-activity-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-the-last-year-of-commit-activity" + "url": "https://docs.github.com/enterprise-server@3.5/rest/metrics/statistics#get-the-last-year-of-commit-activity" }, "parameters": [ { @@ -413506,7 +413488,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "statistics" } } @@ -413521,7 +413503,7 @@ "operationId": "repos/get-contributors-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-all-contributor-commit-activity" + "url": "https://docs.github.com/enterprise-server@3.5/rest/metrics/statistics#get-all-contributor-commit-activity" }, "parameters": [ { @@ -413822,7 +413804,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "statistics" } } @@ -413837,7 +413819,7 @@ "operationId": "repos/get-participation-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-the-weekly-commit-count" + "url": "https://docs.github.com/enterprise-server@3.5/rest/metrics/statistics#get-the-weekly-commit-count" }, "parameters": [ { @@ -414033,7 +414015,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "statistics" } } @@ -414048,7 +414030,7 @@ "operationId": "repos/get-punch-card-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#get-the-hourly-commit-count-for-each-day" + "url": "https://docs.github.com/enterprise-server@3.5/rest/statistics/repos#get-the-hourly-commit-count-for-each-day" }, "parameters": [ { @@ -414117,7 +414099,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "statistics" } } @@ -414132,7 +414114,7 @@ "operationId": "repos/create-commit-status", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#create-a-commit-status" + "url": "https://docs.github.com/enterprise-server@3.5/rest/commits/statuses#create-a-commit-status" }, "parameters": [ { @@ -414500,7 +414482,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "statuses" } } @@ -474633,7 +474615,7 @@ "operationId": "repos/list-invitations-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#list-repository-invitations-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-server@3.5/rest/collaborators/invitations#list-repository-invitations-for-the-authenticated-user" }, "parameters": [ { @@ -477401,7 +477383,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": false, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } } @@ -477416,7 +477398,7 @@ "operationId": "repos/accept-invitation-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#accept-a-repository-invitation" + "url": "https://docs.github.com/enterprise-server@3.5/rest/collaborators/invitations#accept-a-repository-invitation" }, "parameters": [ { @@ -477518,7 +477500,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": false, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } }, @@ -477531,7 +477513,7 @@ "operationId": "repos/decline-invitation-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.5/rest/reference/repos#decline-a-repository-invitation" + "url": "https://docs.github.com/enterprise-server@3.5/rest/collaborators/invitations#decline-a-repository-invitation" }, "parameters": [ { @@ -477633,7 +477615,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": false, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } } diff --git a/lib/rest/static/dereferenced/ghes-3.6.deref.json b/lib/rest/static/dereferenced/ghes-3.6.deref.json index f3a1018bee18..c1d5d4469628 100644 --- a/lib/rest/static/dereferenced/ghes-3.6.deref.json +++ b/lib/rest/static/dereferenced/ghes-3.6.deref.json @@ -228921,7 +228921,7 @@ "operationId": "repos/list-collaborators", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#list-repository-collaborators" + "url": "https://docs.github.com/enterprise-server@3.6/rest/collaborators/collaborators#list-repository-collaborators" }, "parameters": [ { @@ -229245,8 +229245,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "collaborators" + "category": "collaborators" } } }, @@ -229260,7 +229259,7 @@ "operationId": "repos/check-collaborator", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#check-if-a-user-is-a-repository-collaborator" + "url": "https://docs.github.com/enterprise-server@3.6/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator" }, "parameters": [ { @@ -229302,8 +229301,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "collaborators" + "category": "collaborators" } }, "put": { @@ -229315,7 +229313,7 @@ "operationId": "repos/add-collaborator", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#add-a-repository-collaborator" + "url": "https://docs.github.com/enterprise-server@3.6/rest/collaborators/collaborators#add-a-repository-collaborator" }, "parameters": [ { @@ -232143,8 +232141,7 @@ "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "collaborators" + "category": "collaborators" } }, "delete": { @@ -232156,7 +232153,7 @@ "operationId": "repos/remove-collaborator", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#remove-a-repository-collaborator" + "url": "https://docs.github.com/enterprise-server@3.6/rest/collaborators/collaborators#remove-a-repository-collaborator" }, "parameters": [ { @@ -232195,8 +232192,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "collaborators" + "category": "collaborators" } } }, @@ -232210,7 +232206,7 @@ "operationId": "repos/get-collaborator-permission-level", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-repository-permissions-for-a-user" + "url": "https://docs.github.com/enterprise-server@3.6/rest/collaborators/collaborators#get-repository-permissions-for-a-user" }, "parameters": [ { @@ -232521,8 +232517,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "collaborators" + "category": "collaborators" } } }, @@ -232536,7 +232531,7 @@ "operationId": "repos/list-commit-comments-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#list-commit-comments-for-a-repository" + "url": "https://docs.github.com/enterprise-server@3.6/rest/commits/comments#list-commit-comments-for-a-repository" }, "parameters": [ { @@ -232942,7 +232937,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } } @@ -232957,7 +232952,7 @@ "operationId": "repos/get-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-a-commit-comment" + "url": "https://docs.github.com/enterprise-server@3.6/rest/commits/comments#get-a-commit-comment" }, "parameters": [ { @@ -233367,7 +233362,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } }, @@ -233380,7 +233375,7 @@ "operationId": "repos/update-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#update-a-commit-comment" + "url": "https://docs.github.com/enterprise-server@3.6/rest/commits/comments#update-a-commit-comment" }, "parameters": [ { @@ -233816,7 +233811,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } }, @@ -233829,7 +233824,7 @@ "operationId": "repos/delete-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#delete-a-commit-comment" + "url": "https://docs.github.com/enterprise-server@3.6/rest/commits/comments#delete-a-commit-comment" }, "parameters": [ { @@ -233894,7 +233889,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } } @@ -235024,7 +235019,7 @@ "operationId": "repos/list-commits", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#list-commits" + "url": "https://docs.github.com/enterprise-server@3.6/rest/commits/commits#list-commits" }, "parameters": [ { @@ -236044,8 +236039,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "commits" + "category": "commits" } } }, @@ -236059,7 +236053,7 @@ "operationId": "repos/list-branches-for-head-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#list-branches-for-head-commit" + "url": "https://docs.github.com/enterprise-server@3.6/rest/commits/commits#list-branches-for-head-commit" }, "parameters": [ { @@ -236228,8 +236222,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "commits" + "category": "commits" } } }, @@ -236243,7 +236236,7 @@ "operationId": "repos/list-comments-for-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#list-commit-comments" + "url": "https://docs.github.com/enterprise-server@3.6/rest/commits/comments#list-commit-comments" }, "parameters": [ { @@ -236659,7 +236652,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } }, @@ -236672,7 +236665,7 @@ "operationId": "repos/create-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#create-a-commit-comment" + "url": "https://docs.github.com/enterprise-server@3.6/rest/commits/comments#create-a-commit-comment" }, "parameters": [ { @@ -237208,7 +237201,7 @@ "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } } @@ -237223,7 +237216,7 @@ "operationId": "repos/list-pull-requests-associated-with-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#list-pull-requests-associated-with-a-commit" + "url": "https://docs.github.com/enterprise-server@3.6/rest/commits/commits#list-pull-requests-associated-with-a-commit" }, "parameters": [ { @@ -242735,8 +242728,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "commits" + "category": "commits" } } }, @@ -242750,7 +242742,7 @@ "operationId": "repos/get-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-a-commit" + "url": "https://docs.github.com/enterprise-server@3.6/rest/commits/commits#get-a-commit" }, "parameters": [ { @@ -243718,8 +243710,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "commits" + "category": "commits" } } }, @@ -248101,7 +248092,7 @@ "operationId": "repos/get-combined-status-for-ref", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-the-combined-status-for-a-specific-reference" + "url": "https://docs.github.com/enterprise-server@3.6/rest/commits/statuses#get-the-combined-status-for-a-specific-reference" }, "parameters": [ { @@ -250524,7 +250515,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "statuses" } } @@ -250539,7 +250530,7 @@ "operationId": "repos/list-commit-statuses-for-ref", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#list-commit-statuses-for-a-reference" + "url": "https://docs.github.com/enterprise-server@3.6/rest/commits/statuses#list-commit-statuses-for-a-reference" }, "parameters": [ { @@ -250903,7 +250894,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "statuses" } } @@ -250918,7 +250909,7 @@ "operationId": "repos/compare-commits", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#compare-two-commits" + "url": "https://docs.github.com/enterprise-server@3.6/rest/commits/commits#compare-two-commits" }, "parameters": [ { @@ -253524,8 +253515,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "commits" + "category": "commits" } } }, @@ -279890,7 +279880,7 @@ "operationId": "repos/list-webhooks", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#list-repository-webhooks" + "url": "https://docs.github.com/enterprise-server@3.6/rest/webhooks/repos#list-repository-webhooks" }, "parameters": [ { @@ -280215,8 +280205,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } }, "post": { @@ -280228,7 +280218,7 @@ "operationId": "repos/create-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#create-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.6/rest/webhooks/repos#create-a-repository-webhook" }, "parameters": [ { @@ -280737,8 +280727,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } } }, @@ -280752,7 +280742,7 @@ "operationId": "repos/get-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.6/rest/webhooks/repos#get-a-repository-webhook" }, "parameters": [ { @@ -281055,8 +281045,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } }, "patch": { @@ -281068,7 +281058,7 @@ "operationId": "repos/update-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#update-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.6/rest/webhooks/repos#update-a-repository-webhook" }, "parameters": [ { @@ -281554,8 +281544,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } }, "delete": { @@ -281567,7 +281557,7 @@ "operationId": "repos/delete-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#delete-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.6/rest/webhooks/repos#delete-a-repository-webhook" }, "parameters": [ { @@ -281632,8 +281622,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } } }, @@ -281647,7 +281637,7 @@ "operationId": "repos/get-webhook-config-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-a-webhook-configuration-for-a-repository" + "url": "https://docs.github.com/enterprise-server@3.6/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository" }, "parameters": [ { @@ -281743,8 +281733,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repo-config" } }, "patch": { @@ -281756,7 +281746,7 @@ "operationId": "repos/update-webhook-config-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#update-a-webhook-configuration-for-a-repository" + "url": "https://docs.github.com/enterprise-server@3.6/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository" }, "parameters": [ { @@ -281907,8 +281897,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repo-config" } } }, @@ -281922,7 +281912,7 @@ "operationId": "repos/list-webhook-deliveries", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#list-deliveries-for-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.6/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook" }, "parameters": [ { @@ -282268,8 +282258,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repo-deliveries" } } }, @@ -282283,7 +282273,7 @@ "operationId": "repos/get-webhook-delivery", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-a-delivery-for-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.6/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook" }, "parameters": [ { @@ -282690,8 +282680,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repo-deliveries" } } }, @@ -282705,7 +282695,7 @@ "operationId": "repos/redeliver-webhook-delivery", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#redeliver-a-delivery-for-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.6/rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook" }, "parameters": [ { @@ -282902,8 +282892,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repo-deliveries" } } }, @@ -282917,7 +282907,7 @@ "operationId": "repos/ping-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#ping-a-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.6/rest/webhooks/repos#ping-a-repository-webhook" }, "parameters": [ { @@ -282982,8 +282972,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } } }, @@ -282997,7 +282987,7 @@ "operationId": "repos/test-push-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#test-the-push-repository-webhook" + "url": "https://docs.github.com/enterprise-server@3.6/rest/webhooks/repos#test-the-push-repository-webhook" }, "parameters": [ { @@ -283062,8 +283052,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } } }, @@ -284051,7 +284041,7 @@ "operationId": "repos/list-invitations", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#list-repository-invitations" + "url": "https://docs.github.com/enterprise-server@3.6/rest/collaborators/invitations#list-repository-invitations" }, "parameters": [ { @@ -286764,7 +286754,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } } @@ -286779,7 +286769,7 @@ "operationId": "repos/update-invitation", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#update-a-repository-invitation" + "url": "https://docs.github.com/enterprise-server@3.6/rest/collaborators/invitations#update-a-repository-invitation" }, "parameters": [ { @@ -289494,7 +289484,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } }, @@ -289507,7 +289497,7 @@ "operationId": "repos/delete-invitation", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#delete-a-repository-invitation" + "url": "https://docs.github.com/enterprise-server@3.6/rest/collaborators/invitations#delete-a-repository-invitation" }, "parameters": [ { @@ -289546,7 +289536,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } } @@ -361264,7 +361254,7 @@ "operationId": "repos/get-pages", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-a-github-pages-site" + "url": "https://docs.github.com/enterprise-server@3.6/rest/pages#get-a-github-pages-site" }, "parameters": [ { @@ -361534,8 +361524,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } }, "post": { @@ -361547,7 +361536,7 @@ "operationId": "repos/create-pages-site", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#create-a-github-pages-site" + "url": "https://docs.github.com/enterprise-server@3.6/rest/pages#create-a-github-pages-site" }, "parameters": [ { @@ -361960,8 +361949,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } }, "put": { @@ -361973,7 +361961,7 @@ "operationId": "repos/update-information-about-pages-site", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#update-information-about-a-github-pages-site" + "url": "https://docs.github.com/enterprise-server@3.6/rest/pages#update-information-about-a-github-pages-site" }, "parameters": [ { @@ -362254,8 +362242,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } }, "delete": { @@ -362267,7 +362254,7 @@ "operationId": "repos/delete-pages-site", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#delete-a-github-pages-site" + "url": "https://docs.github.com/enterprise-server@3.6/rest/pages#delete-a-github-pages-site" }, "parameters": [ { @@ -362398,8 +362385,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } } }, @@ -362413,7 +362399,7 @@ "operationId": "repos/list-pages-builds", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#list-github-pages-builds" + "url": "https://docs.github.com/enterprise-server@3.6/rest/pages#list-github-pages-builds" }, "parameters": [ { @@ -362733,8 +362719,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } }, "post": { @@ -362746,7 +362731,7 @@ "operationId": "repos/request-pages-build", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#request-a-github-pages-build" + "url": "https://docs.github.com/enterprise-server@3.6/rest/pages#request-a-github-pages-build" }, "parameters": [ { @@ -362812,8 +362797,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } } }, @@ -362827,7 +362811,7 @@ "operationId": "repos/get-latest-pages-build", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-latest-pages-build" + "url": "https://docs.github.com/enterprise-server@3.6/rest/pages#get-latest-pages-build" }, "parameters": [ { @@ -363116,8 +363100,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } } }, @@ -363131,7 +363114,7 @@ "operationId": "repos/get-pages-build", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-github-pages-build" + "url": "https://docs.github.com/enterprise-server@3.6/rest/pages#get-github-pages-build" }, "parameters": [ { @@ -363428,8 +363411,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } } }, @@ -415867,7 +415849,7 @@ "operationId": "repos/get-code-frequency-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-the-weekly-commit-activity" + "url": "https://docs.github.com/enterprise-server@3.6/rest/metrics/statistics#get-the-weekly-commit-activity" }, "parameters": [ { @@ -415936,7 +415918,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "statistics" } } @@ -415951,7 +415933,7 @@ "operationId": "repos/get-commit-activity-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-the-last-year-of-commit-activity" + "url": "https://docs.github.com/enterprise-server@3.6/rest/metrics/statistics#get-the-last-year-of-commit-activity" }, "parameters": [ { @@ -416059,7 +416041,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "statistics" } } @@ -416074,7 +416056,7 @@ "operationId": "repos/get-contributors-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-all-contributor-commit-activity" + "url": "https://docs.github.com/enterprise-server@3.6/rest/metrics/statistics#get-all-contributor-commit-activity" }, "parameters": [ { @@ -416375,7 +416357,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "statistics" } } @@ -416390,7 +416372,7 @@ "operationId": "repos/get-participation-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-the-weekly-commit-count" + "url": "https://docs.github.com/enterprise-server@3.6/rest/metrics/statistics#get-the-weekly-commit-count" }, "parameters": [ { @@ -416586,7 +416568,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "statistics" } } @@ -416601,7 +416583,7 @@ "operationId": "repos/get-punch-card-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#get-the-hourly-commit-count-for-each-day" + "url": "https://docs.github.com/enterprise-server@3.6/rest/statistics/repos#get-the-hourly-commit-count-for-each-day" }, "parameters": [ { @@ -416670,7 +416652,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "statistics" } } @@ -416685,7 +416667,7 @@ "operationId": "repos/create-commit-status", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#create-a-commit-status" + "url": "https://docs.github.com/enterprise-server@3.6/rest/commits/statuses#create-a-commit-status" }, "parameters": [ { @@ -417053,7 +417035,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "statuses" } } @@ -477379,7 +477361,7 @@ "operationId": "repos/list-invitations-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#list-repository-invitations-for-the-authenticated-user" + "url": "https://docs.github.com/enterprise-server@3.6/rest/collaborators/invitations#list-repository-invitations-for-the-authenticated-user" }, "parameters": [ { @@ -480155,7 +480137,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": false, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } } @@ -480170,7 +480152,7 @@ "operationId": "repos/accept-invitation-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#accept-a-repository-invitation" + "url": "https://docs.github.com/enterprise-server@3.6/rest/collaborators/invitations#accept-a-repository-invitation" }, "parameters": [ { @@ -480272,7 +480254,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": false, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } }, @@ -480285,7 +480267,7 @@ "operationId": "repos/decline-invitation-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/enterprise-server@3.6/rest/reference/repos#decline-a-repository-invitation" + "url": "https://docs.github.com/enterprise-server@3.6/rest/collaborators/invitations#decline-a-repository-invitation" }, "parameters": [ { @@ -480387,7 +480369,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": false, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } } diff --git a/lib/rest/static/dereferenced/github.ae.deref.json b/lib/rest/static/dereferenced/github.ae.deref.json index 358bb39295ac..f12aeceb4b96 100644 --- a/lib/rest/static/dereferenced/github.ae.deref.json +++ b/lib/rest/static/dereferenced/github.ae.deref.json @@ -185886,7 +185886,7 @@ "operationId": "repos/list-collaborators", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#list-repository-collaborators" + "url": "https://docs.github.com/github-ae@latest/rest/collaborators/collaborators#list-repository-collaborators" }, "parameters": [ { @@ -186210,8 +186210,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "collaborators" + "category": "collaborators" } } }, @@ -186225,7 +186224,7 @@ "operationId": "repos/check-collaborator", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#check-if-a-user-is-a-repository-collaborator" + "url": "https://docs.github.com/github-ae@latest/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator" }, "parameters": [ { @@ -186267,8 +186266,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "collaborators" + "category": "collaborators" } }, "put": { @@ -186280,7 +186278,7 @@ "operationId": "repos/add-collaborator", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#add-a-repository-collaborator" + "url": "https://docs.github.com/github-ae@latest/rest/collaborators/collaborators#add-a-repository-collaborator" }, "parameters": [ { @@ -189100,8 +189098,7 @@ "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "collaborators" + "category": "collaborators" } }, "delete": { @@ -189113,7 +189110,7 @@ "operationId": "repos/remove-collaborator", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#remove-a-repository-collaborator" + "url": "https://docs.github.com/github-ae@latest/rest/collaborators/collaborators#remove-a-repository-collaborator" }, "parameters": [ { @@ -189152,8 +189149,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "collaborators" + "category": "collaborators" } } }, @@ -189167,7 +189163,7 @@ "operationId": "repos/get-collaborator-permission-level", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#get-repository-permissions-for-a-user" + "url": "https://docs.github.com/github-ae@latest/rest/collaborators/collaborators#get-repository-permissions-for-a-user" }, "parameters": [ { @@ -189478,8 +189474,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "collaborators" + "category": "collaborators" } } }, @@ -189493,7 +189488,7 @@ "operationId": "repos/list-commit-comments-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#list-commit-comments-for-a-repository" + "url": "https://docs.github.com/github-ae@latest/rest/commits/comments#list-commit-comments-for-a-repository" }, "parameters": [ { @@ -189899,7 +189894,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } } @@ -189914,7 +189909,7 @@ "operationId": "repos/get-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#get-a-commit-comment" + "url": "https://docs.github.com/github-ae@latest/rest/commits/comments#get-a-commit-comment" }, "parameters": [ { @@ -190324,7 +190319,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } }, @@ -190337,7 +190332,7 @@ "operationId": "repos/update-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#update-a-commit-comment" + "url": "https://docs.github.com/github-ae@latest/rest/commits/comments#update-a-commit-comment" }, "parameters": [ { @@ -190773,7 +190768,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } }, @@ -190786,7 +190781,7 @@ "operationId": "repos/delete-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#delete-a-commit-comment" + "url": "https://docs.github.com/github-ae@latest/rest/commits/comments#delete-a-commit-comment" }, "parameters": [ { @@ -190851,7 +190846,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } } @@ -192018,7 +192013,7 @@ "operationId": "repos/list-commits", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#list-commits" + "url": "https://docs.github.com/github-ae@latest/rest/commits/commits#list-commits" }, "parameters": [ { @@ -193038,8 +193033,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "commits" + "category": "commits" } } }, @@ -193053,7 +193047,7 @@ "operationId": "repos/list-branches-for-head-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#list-branches-for-head-commit" + "url": "https://docs.github.com/github-ae@latest/rest/commits/commits#list-branches-for-head-commit" }, "parameters": [ { @@ -193222,8 +193216,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "commits" + "category": "commits" } } }, @@ -193237,7 +193230,7 @@ "operationId": "repos/list-comments-for-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#list-commit-comments" + "url": "https://docs.github.com/github-ae@latest/rest/commits/comments#list-commit-comments" }, "parameters": [ { @@ -193653,7 +193646,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } }, @@ -193666,7 +193659,7 @@ "operationId": "repos/create-commit-comment", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#create-a-commit-comment" + "url": "https://docs.github.com/github-ae@latest/rest/commits/comments#create-a-commit-comment" }, "parameters": [ { @@ -194202,7 +194195,7 @@ "triggersNotification": true, "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "comments" } } @@ -194217,7 +194210,7 @@ "operationId": "repos/list-pull-requests-associated-with-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#list-pull-requests-associated-with-a-commit" + "url": "https://docs.github.com/github-ae@latest/rest/commits/commits#list-pull-requests-associated-with-a-commit" }, "parameters": [ { @@ -199713,8 +199706,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "commits" + "category": "commits" } } }, @@ -199728,7 +199720,7 @@ "operationId": "repos/get-commit", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#get-a-commit" + "url": "https://docs.github.com/github-ae@latest/rest/commits/commits#get-a-commit" }, "parameters": [ { @@ -200696,8 +200688,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "commits" + "category": "commits" } } }, @@ -205071,7 +205062,7 @@ "operationId": "repos/get-combined-status-for-ref", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#get-the-combined-status-for-a-specific-reference" + "url": "https://docs.github.com/github-ae@latest/rest/commits/statuses#get-the-combined-status-for-a-specific-reference" }, "parameters": [ { @@ -207486,7 +207477,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "statuses" } } @@ -207501,7 +207492,7 @@ "operationId": "repos/list-commit-statuses-for-ref", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#list-commit-statuses-for-a-reference" + "url": "https://docs.github.com/github-ae@latest/rest/commits/statuses#list-commit-statuses-for-a-reference" }, "parameters": [ { @@ -207865,7 +207856,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "statuses" } } @@ -207880,7 +207871,7 @@ "operationId": "repos/compare-commits", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#compare-two-commits" + "url": "https://docs.github.com/github-ae@latest/rest/commits/commits#compare-two-commits" }, "parameters": [ { @@ -210486,8 +210477,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "commits" + "category": "commits" } } }, @@ -236054,7 +236044,7 @@ "operationId": "repos/list-webhooks", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#list-repository-webhooks" + "url": "https://docs.github.com/github-ae@latest/rest/webhooks/repos#list-repository-webhooks" }, "parameters": [ { @@ -236379,8 +236369,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } }, "post": { @@ -236392,7 +236382,7 @@ "operationId": "repos/create-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#create-a-repository-webhook" + "url": "https://docs.github.com/github-ae@latest/rest/webhooks/repos#create-a-repository-webhook" }, "parameters": [ { @@ -236901,8 +236891,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } } }, @@ -236916,7 +236906,7 @@ "operationId": "repos/get-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#get-a-repository-webhook" + "url": "https://docs.github.com/github-ae@latest/rest/webhooks/repos#get-a-repository-webhook" }, "parameters": [ { @@ -237219,8 +237209,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } }, "patch": { @@ -237232,7 +237222,7 @@ "operationId": "repos/update-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#update-a-repository-webhook" + "url": "https://docs.github.com/github-ae@latest/rest/webhooks/repos#update-a-repository-webhook" }, "parameters": [ { @@ -237718,8 +237708,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } }, "delete": { @@ -237731,7 +237721,7 @@ "operationId": "repos/delete-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#delete-a-repository-webhook" + "url": "https://docs.github.com/github-ae@latest/rest/webhooks/repos#delete-a-repository-webhook" }, "parameters": [ { @@ -237796,8 +237786,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } } }, @@ -237811,7 +237801,7 @@ "operationId": "repos/get-webhook-config-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#get-a-webhook-configuration-for-a-repository" + "url": "https://docs.github.com/github-ae@latest/rest/webhooks/repo-config#get-a-webhook-configuration-for-a-repository" }, "parameters": [ { @@ -237907,8 +237897,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repo-config" } }, "patch": { @@ -237920,7 +237910,7 @@ "operationId": "repos/update-webhook-config-for-repo", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#update-a-webhook-configuration-for-a-repository" + "url": "https://docs.github.com/github-ae@latest/rest/webhooks/repo-config#update-a-webhook-configuration-for-a-repository" }, "parameters": [ { @@ -238071,8 +238061,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repo-config" } } }, @@ -238086,7 +238076,7 @@ "operationId": "repos/list-webhook-deliveries", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#list-deliveries-for-a-repository-webhook" + "url": "https://docs.github.com/github-ae@latest/rest/webhooks/repo-deliveries#list-deliveries-for-a-repository-webhook" }, "parameters": [ { @@ -238432,8 +238422,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repo-deliveries" } } }, @@ -238447,7 +238437,7 @@ "operationId": "repos/get-webhook-delivery", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#get-a-delivery-for-a-repository-webhook" + "url": "https://docs.github.com/github-ae@latest/rest/webhooks/repo-deliveries#get-a-delivery-for-a-repository-webhook" }, "parameters": [ { @@ -238853,8 +238843,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repo-deliveries" } } }, @@ -238868,7 +238858,7 @@ "operationId": "repos/redeliver-webhook-delivery", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#redeliver-a-delivery-for-a-repository-webhook" + "url": "https://docs.github.com/github-ae@latest/rest/webhooks/repo-deliveries#redeliver-a-delivery-for-a-repository-webhook" }, "parameters": [ { @@ -239065,8 +239055,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repo-deliveries" } } }, @@ -239080,7 +239070,7 @@ "operationId": "repos/ping-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#ping-a-repository-webhook" + "url": "https://docs.github.com/github-ae@latest/rest/webhooks/repos#ping-a-repository-webhook" }, "parameters": [ { @@ -239145,8 +239135,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } } }, @@ -239160,7 +239150,7 @@ "operationId": "repos/test-push-webhook", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#test-the-push-repository-webhook" + "url": "https://docs.github.com/github-ae@latest/rest/webhooks/repos#test-the-push-repository-webhook" }, "parameters": [ { @@ -239225,8 +239215,8 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "webhooks" + "category": "webhooks", + "subcategory": "repos" } } }, @@ -240214,7 +240204,7 @@ "operationId": "repos/list-invitations", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#list-repository-invitations" + "url": "https://docs.github.com/github-ae@latest/rest/collaborators/invitations#list-repository-invitations" }, "parameters": [ { @@ -242919,7 +242909,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } } @@ -242934,7 +242924,7 @@ "operationId": "repos/update-invitation", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#update-a-repository-invitation" + "url": "https://docs.github.com/github-ae@latest/rest/collaborators/invitations#update-a-repository-invitation" }, "parameters": [ { @@ -245641,7 +245631,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } }, @@ -245654,7 +245644,7 @@ "operationId": "repos/delete-invitation", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#delete-a-repository-invitation" + "url": "https://docs.github.com/github-ae@latest/rest/collaborators/invitations#delete-a-repository-invitation" }, "parameters": [ { @@ -245693,7 +245683,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } } @@ -317361,7 +317351,7 @@ "operationId": "repos/get-pages", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#get-a-github-pages-site" + "url": "https://docs.github.com/github-ae@latest/rest/pages#get-a-github-pages-site" }, "parameters": [ { @@ -317631,8 +317621,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } }, "post": { @@ -317644,7 +317633,7 @@ "operationId": "repos/create-pages-site", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#create-a-github-pages-site" + "url": "https://docs.github.com/github-ae@latest/rest/pages#create-a-github-pages-site" }, "parameters": [ { @@ -318057,8 +318046,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } }, "put": { @@ -318070,7 +318058,7 @@ "operationId": "repos/update-information-about-pages-site", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#update-information-about-a-github-pages-site" + "url": "https://docs.github.com/github-ae@latest/rest/pages#update-information-about-a-github-pages-site" }, "parameters": [ { @@ -318351,8 +318339,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } }, "delete": { @@ -318364,7 +318351,7 @@ "operationId": "repos/delete-pages-site", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#delete-a-github-pages-site" + "url": "https://docs.github.com/github-ae@latest/rest/pages#delete-a-github-pages-site" }, "parameters": [ { @@ -318495,8 +318482,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } } }, @@ -318510,7 +318496,7 @@ "operationId": "repos/list-pages-builds", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#list-github-pages-builds" + "url": "https://docs.github.com/github-ae@latest/rest/pages#list-github-pages-builds" }, "parameters": [ { @@ -318830,8 +318816,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } }, "post": { @@ -318843,7 +318828,7 @@ "operationId": "repos/request-pages-build", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#request-a-github-pages-build" + "url": "https://docs.github.com/github-ae@latest/rest/pages#request-a-github-pages-build" }, "parameters": [ { @@ -318909,8 +318894,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } } }, @@ -318924,7 +318908,7 @@ "operationId": "repos/get-latest-pages-build", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#get-latest-pages-build" + "url": "https://docs.github.com/github-ae@latest/rest/pages#get-latest-pages-build" }, "parameters": [ { @@ -319213,8 +319197,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } } }, @@ -319228,7 +319211,7 @@ "operationId": "repos/get-pages-build", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#get-github-pages-build" + "url": "https://docs.github.com/github-ae@latest/rest/pages#get-github-pages-build" }, "parameters": [ { @@ -319525,8 +319508,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", - "subcategory": "pages" + "category": "pages" } } }, @@ -370366,7 +370348,7 @@ "operationId": "repos/get-code-frequency-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#get-the-weekly-commit-activity" + "url": "https://docs.github.com/github-ae@latest/rest/metrics/statistics#get-the-weekly-commit-activity" }, "parameters": [ { @@ -370435,7 +370417,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "statistics" } } @@ -370450,7 +370432,7 @@ "operationId": "repos/get-commit-activity-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#get-the-last-year-of-commit-activity" + "url": "https://docs.github.com/github-ae@latest/rest/metrics/statistics#get-the-last-year-of-commit-activity" }, "parameters": [ { @@ -370558,7 +370540,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "statistics" } } @@ -370573,7 +370555,7 @@ "operationId": "repos/get-contributors-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#get-all-contributor-commit-activity" + "url": "https://docs.github.com/github-ae@latest/rest/metrics/statistics#get-all-contributor-commit-activity" }, "parameters": [ { @@ -370874,7 +370856,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "statistics" } } @@ -370889,7 +370871,7 @@ "operationId": "repos/get-participation-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#get-the-weekly-commit-count" + "url": "https://docs.github.com/github-ae@latest/rest/metrics/statistics#get-the-weekly-commit-count" }, "parameters": [ { @@ -371085,7 +371067,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "statistics" } } @@ -371100,7 +371082,7 @@ "operationId": "repos/get-punch-card-stats", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#get-the-hourly-commit-count-for-each-day" + "url": "https://docs.github.com/github-ae@latest/rest/statistics/repos#get-the-hourly-commit-count-for-each-day" }, "parameters": [ { @@ -371169,7 +371151,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "metrics", "subcategory": "statistics" } } @@ -371184,7 +371166,7 @@ "operationId": "repos/create-commit-status", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#create-a-commit-status" + "url": "https://docs.github.com/github-ae@latest/rest/commits/statuses#create-a-commit-status" }, "parameters": [ { @@ -371552,7 +371534,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": true, - "category": "repos", + "category": "commits", "subcategory": "statuses" } } @@ -425598,7 +425580,7 @@ "operationId": "repos/list-invitations-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#list-repository-invitations-for-the-authenticated-user" + "url": "https://docs.github.com/github-ae@latest/rest/collaborators/invitations#list-repository-invitations-for-the-authenticated-user" }, "parameters": [ { @@ -428366,7 +428348,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": false, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } } @@ -428381,7 +428363,7 @@ "operationId": "repos/accept-invitation-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#accept-a-repository-invitation" + "url": "https://docs.github.com/github-ae@latest/rest/collaborators/invitations#accept-a-repository-invitation" }, "parameters": [ { @@ -428483,7 +428465,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": false, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } }, @@ -428496,7 +428478,7 @@ "operationId": "repos/decline-invitation-for-authenticated-user", "externalDocs": { "description": "API method documentation", - "url": "https://docs.github.com/github-ae@latest/rest/reference/repos#decline-a-repository-invitation" + "url": "https://docs.github.com/github-ae@latest/rest/collaborators/invitations#decline-a-repository-invitation" }, "parameters": [ { @@ -428598,7 +428580,7 @@ "x-github": { "githubCloudOnly": false, "enabledForGitHubApps": false, - "category": "repos", + "category": "collaborators", "subcategory": "invitations" } }