diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d4216aaa9..15d2e52f9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,8 +14,10 @@ jobs: strategy: matrix: node_version: - - "10" - - "12" + - 10 + - 12 + - 14 + - 16 steps: - uses: actions/checkout@master - name: "Use Node.js ${{ matrix.node_version }}" diff --git a/docs/actions/approveWorkflowRun.md b/docs/actions/approveWorkflowRun.md new file mode 100644 index 000000000..affd9cae5 --- /dev/null +++ b/docs/actions/approveWorkflowRun.md @@ -0,0 +1,50 @@ +--- +name: Approve a workflow run for a fork pull request +example: octokit.rest.actions.approveWorkflowRun({ owner, repo, run_id }) +route: POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve +scope: actions +type: API method +--- + +# Approve a workflow run for a fork pull request + +**Note:** This endpoint is currently in beta and is subject to change. + +Approves a workflow run for a pull request from a public fork of a first time contributor. For more information, see ["Approving workflow runs from public forks](https://docs.github.com/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks)." + +You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. + +```js +octokit.rest.actions.approveWorkflowRun({ + owner, + repo, + run_id, +}); +``` + +## Parameters + + + + + + + + + + + + + + +
namerequireddescription
owneryes + +
repoyes + +
run_idyes + +The id of the workflow run. + +
+ +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/actions#approve-a-workflow-run-for-a-fork-pull-request). diff --git a/docs/actions/cancelWorkflowRun.md b/docs/actions/cancelWorkflowRun.md index c42ec4bda..76c15382a 100644 --- a/docs/actions/cancelWorkflowRun.md +++ b/docs/actions/cancelWorkflowRun.md @@ -37,7 +37,7 @@ octokit.rest.actions.cancelWorkflowRun({ run_idyes -The id of the workflow run +The id of the workflow run. diff --git a/docs/actions/deleteWorkflowRun.md b/docs/actions/deleteWorkflowRun.md index 25076af37..c3a019bc6 100644 --- a/docs/actions/deleteWorkflowRun.md +++ b/docs/actions/deleteWorkflowRun.md @@ -39,7 +39,7 @@ octokit.rest.actions.deleteWorkflowRun({ run_idyes -The id of the workflow run +The id of the workflow run. diff --git a/docs/actions/deleteWorkflowRunLogs.md b/docs/actions/deleteWorkflowRunLogs.md index f682b3aaa..504d7ae17 100644 --- a/docs/actions/deleteWorkflowRunLogs.md +++ b/docs/actions/deleteWorkflowRunLogs.md @@ -37,7 +37,7 @@ octokit.rest.actions.deleteWorkflowRunLogs({ run_idyes -The id of the workflow run +The id of the workflow run. diff --git a/docs/actions/downloadWorkflowRunLogs.md b/docs/actions/downloadWorkflowRunLogs.md index 45e93ad44..09bce4ff1 100644 --- a/docs/actions/downloadWorkflowRunLogs.md +++ b/docs/actions/downloadWorkflowRunLogs.md @@ -40,7 +40,7 @@ octokit.rest.actions.downloadWorkflowRunLogs({ run_idyes -The id of the workflow run +The id of the workflow run. diff --git a/docs/actions/getPendingDeploymentsForRun.md b/docs/actions/getPendingDeploymentsForRun.md index 9ff2a1180..7c1e2cd49 100644 --- a/docs/actions/getPendingDeploymentsForRun.md +++ b/docs/actions/getPendingDeploymentsForRun.md @@ -39,7 +39,7 @@ octokit.rest.actions.getPendingDeploymentsForRun({ run_idyes -The id of the workflow run +The id of the workflow run. diff --git a/docs/actions/getReviewsForRun.md b/docs/actions/getReviewsForRun.md index a38e42f86..c15b015c2 100644 --- a/docs/actions/getReviewsForRun.md +++ b/docs/actions/getReviewsForRun.md @@ -37,7 +37,7 @@ octokit.rest.actions.getReviewsForRun({ run_idyes -The id of the workflow run +The id of the workflow run. diff --git a/docs/actions/getWorkflowRun.md b/docs/actions/getWorkflowRun.md index 9b89eccdd..1fb8a084a 100644 --- a/docs/actions/getWorkflowRun.md +++ b/docs/actions/getWorkflowRun.md @@ -37,7 +37,7 @@ octokit.rest.actions.getWorkflowRun({ run_idyes -The id of the workflow run +The id of the workflow run. diff --git a/docs/actions/getWorkflowRunUsage.md b/docs/actions/getWorkflowRunUsage.md index 3831fdb35..561925d6b 100644 --- a/docs/actions/getWorkflowRunUsage.md +++ b/docs/actions/getWorkflowRunUsage.md @@ -39,7 +39,7 @@ octokit.rest.actions.getWorkflowRunUsage({ run_idyes -The id of the workflow run +The id of the workflow run. diff --git a/docs/actions/listJobsForWorkflowRun.md b/docs/actions/listJobsForWorkflowRun.md index f6df5a532..0150f9dfb 100644 --- a/docs/actions/listJobsForWorkflowRun.md +++ b/docs/actions/listJobsForWorkflowRun.md @@ -37,7 +37,7 @@ octokit.rest.actions.listJobsForWorkflowRun({ run_idyes -The id of the workflow run +The id of the workflow run. filterno diff --git a/docs/actions/listWorkflowRunArtifacts.md b/docs/actions/listWorkflowRunArtifacts.md index 58d1561bf..ed331192b 100644 --- a/docs/actions/listWorkflowRunArtifacts.md +++ b/docs/actions/listWorkflowRunArtifacts.md @@ -37,7 +37,7 @@ octokit.rest.actions.listWorkflowRunArtifacts({ run_idyes -The id of the workflow run +The id of the workflow run. per_pageno diff --git a/docs/actions/reRunWorkflow.md b/docs/actions/reRunWorkflow.md index b1b306d50..12e279bf6 100644 --- a/docs/actions/reRunWorkflow.md +++ b/docs/actions/reRunWorkflow.md @@ -37,7 +37,7 @@ octokit.rest.actions.reRunWorkflow({ run_idyes -The id of the workflow run +The id of the workflow run. diff --git a/docs/actions/reviewPendingDeploymentsForRun.md b/docs/actions/reviewPendingDeploymentsForRun.md index 28ab1ffe8..887bc489d 100644 --- a/docs/actions/reviewPendingDeploymentsForRun.md +++ b/docs/actions/reviewPendingDeploymentsForRun.md @@ -42,7 +42,7 @@ octokit.rest.actions.reviewPendingDeploymentsForRun({ run_idyes -The id of the workflow run +The id of the workflow run. environment_idsyes diff --git a/docs/apps/createFromManifest.md b/docs/apps/createFromManifest.md index 5dad7a785..cfda651a2 100644 --- a/docs/apps/createFromManifest.md +++ b/docs/apps/createFromManifest.md @@ -33,4 +33,4 @@ octokit.rest.apps.createFromManifest({ -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/apps/#create-a-github-app-from-a-manifest). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/apps#create-a-github-app-from-a-manifest). diff --git a/docs/apps/deleteInstallation.md b/docs/apps/deleteInstallation.md index e4395b006..059002ddc 100644 --- a/docs/apps/deleteInstallation.md +++ b/docs/apps/deleteInstallation.md @@ -37,4 +37,4 @@ installation_id parameter -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/apps/#delete-an-installation-for-the-authenticated-app). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/apps#delete-an-installation-for-the-authenticated-app). diff --git a/docs/apps/getAuthenticated.md b/docs/apps/getAuthenticated.md index 564978eaf..dd5697635 100644 --- a/docs/apps/getAuthenticated.md +++ b/docs/apps/getAuthenticated.md @@ -20,4 +20,4 @@ octokit.rest.apps.getAuthenticated(); This endpoint has no parameters -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/apps/#get-the-authenticated-app). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/apps#get-the-authenticated-app). diff --git a/docs/apps/getInstallation.md b/docs/apps/getInstallation.md index 1655618f9..02c29424b 100644 --- a/docs/apps/getInstallation.md +++ b/docs/apps/getInstallation.md @@ -37,4 +37,4 @@ installation_id parameter -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/apps/#get-an-installation-for-the-authenticated-app). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/apps#get-an-installation-for-the-authenticated-app). diff --git a/docs/apps/getOrgInstallation.md b/docs/apps/getOrgInstallation.md index 4ce104c33..6aedbe388 100644 --- a/docs/apps/getOrgInstallation.md +++ b/docs/apps/getOrgInstallation.md @@ -35,4 +35,4 @@ octokit.rest.apps.getOrgInstallation({ -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/apps/#get-an-organization-installation-for-the-authenticated-app). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/apps#get-an-organization-installation-for-the-authenticated-app). diff --git a/docs/apps/getRepoInstallation.md b/docs/apps/getRepoInstallation.md index a08095c75..a6c07a471 100644 --- a/docs/apps/getRepoInstallation.md +++ b/docs/apps/getRepoInstallation.md @@ -39,4 +39,4 @@ octokit.rest.apps.getRepoInstallation({ -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/apps/#get-a-repository-installation-for-the-authenticated-app). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/apps#get-a-repository-installation-for-the-authenticated-app). diff --git a/docs/apps/getUserInstallation.md b/docs/apps/getUserInstallation.md index 1d79a03e6..f965f459b 100644 --- a/docs/apps/getUserInstallation.md +++ b/docs/apps/getUserInstallation.md @@ -35,4 +35,4 @@ octokit.rest.apps.getUserInstallation({ -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/apps/#get-a-user-installation-for-the-authenticated-app). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/apps#get-a-user-installation-for-the-authenticated-app). diff --git a/docs/apps/listInstallations.md b/docs/apps/listInstallations.md index faac3b79a..9172ffb68 100644 --- a/docs/apps/listInstallations.md +++ b/docs/apps/listInstallations.md @@ -48,4 +48,4 @@ Only show notifications updated after the given time. This is a timestamp in [IS -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/apps/#list-installations-for-the-authenticated-app). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/apps#list-installations-for-the-authenticated-app). diff --git a/docs/apps/suspendInstallation.md b/docs/apps/suspendInstallation.md index d72520952..92bea7442 100644 --- a/docs/apps/suspendInstallation.md +++ b/docs/apps/suspendInstallation.md @@ -37,4 +37,4 @@ installation_id parameter -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/apps/#suspend-an-app-installation). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/apps#suspend-an-app-installation). diff --git a/docs/apps/unsuspendInstallation.md b/docs/apps/unsuspendInstallation.md index 8878f7092..6fd1cf91a 100644 --- a/docs/apps/unsuspendInstallation.md +++ b/docs/apps/unsuspendInstallation.md @@ -37,4 +37,4 @@ installation_id parameter -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/apps/#unsuspend-an-app-installation). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/apps#unsuspend-an-app-installation). diff --git a/docs/billing/getGithubActionsBillingOrg.md b/docs/billing/getGithubActionsBillingOrg.md index 6e18e8801..1e3aec2aa 100644 --- a/docs/billing/getGithubActionsBillingOrg.md +++ b/docs/billing/getGithubActionsBillingOrg.md @@ -37,4 +37,4 @@ octokit.rest.billing.getGithubActionsBillingOrg({ -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/billing/#get-github-actions-billing-for-an-organization). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/billing#get-github-actions-billing-for-an-organization). diff --git a/docs/billing/getGithubActionsBillingUser.md b/docs/billing/getGithubActionsBillingUser.md index 57195367d..f1f033fc9 100644 --- a/docs/billing/getGithubActionsBillingUser.md +++ b/docs/billing/getGithubActionsBillingUser.md @@ -37,4 +37,4 @@ octokit.rest.billing.getGithubActionsBillingUser({ -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/billing/#get-github-actions-billing-for-a-user). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/billing#get-github-actions-billing-for-a-user). diff --git a/docs/billing/getGithubPackagesBillingOrg.md b/docs/billing/getGithubPackagesBillingOrg.md index 27201f650..8f9a74897 100644 --- a/docs/billing/getGithubPackagesBillingOrg.md +++ b/docs/billing/getGithubPackagesBillingOrg.md @@ -37,4 +37,4 @@ octokit.rest.billing.getGithubPackagesBillingOrg({ -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/billing/#get-github-packages-billing-for-an-organization). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/billing#get-github-packages-billing-for-an-organization). diff --git a/docs/billing/getGithubPackagesBillingUser.md b/docs/billing/getGithubPackagesBillingUser.md index d2a9c53cf..372dd3f3b 100644 --- a/docs/billing/getGithubPackagesBillingUser.md +++ b/docs/billing/getGithubPackagesBillingUser.md @@ -37,4 +37,4 @@ octokit.rest.billing.getGithubPackagesBillingUser({ -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/billing/#get-github-packages-billing-for-a-user). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/billing#get-github-packages-billing-for-a-user). diff --git a/docs/billing/getSharedStorageBillingOrg.md b/docs/billing/getSharedStorageBillingOrg.md index b2c77dbfe..503f8a36a 100644 --- a/docs/billing/getSharedStorageBillingOrg.md +++ b/docs/billing/getSharedStorageBillingOrg.md @@ -37,4 +37,4 @@ octokit.rest.billing.getSharedStorageBillingOrg({ -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/billing/#get-shared-storage-billing-for-an-organization). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/billing#get-shared-storage-billing-for-an-organization). diff --git a/docs/billing/getSharedStorageBillingUser.md b/docs/billing/getSharedStorageBillingUser.md index da72ad386..54b8c3f43 100644 --- a/docs/billing/getSharedStorageBillingUser.md +++ b/docs/billing/getSharedStorageBillingUser.md @@ -37,4 +37,4 @@ octokit.rest.billing.getSharedStorageBillingUser({ -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/billing/#get-shared-storage-billing-for-a-user). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/billing#get-shared-storage-billing-for-a-user). diff --git a/docs/codeScanning/getSarif.md b/docs/codeScanning/getSarif.md index 857434e9c..f6e7d1a07 100644 --- a/docs/codeScanning/getSarif.md +++ b/docs/codeScanning/getSarif.md @@ -43,4 +43,4 @@ The SARIF ID obtained after uploading. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/code-scanning#get-information-about-a-sarif-upload). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/code-scanning#list-recent-code-scanning-analyses-for-a-repository). diff --git a/docs/codeScanning/listAlertInstances.md b/docs/codeScanning/listAlertInstances.md new file mode 100644 index 000000000..8debab602 --- /dev/null +++ b/docs/codeScanning/listAlertInstances.md @@ -0,0 +1,61 @@ +--- +name: List instances of a code scanning alert +example: octokit.rest.codeScanning.listAlertInstances({ owner, repo, alert_number }) +route: GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances +scope: codeScanning +type: API method +--- + +# List instances of a code scanning alert + +Lists all instances of the specified code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint. + +```js +octokit.rest.codeScanning.listAlertInstances({ + owner, + repo, + alert_number, +}); +``` + +## Parameters + + + + + + + + + + + + + + + + + +
namerequireddescription
owneryes + +
repoyes + +
alert_numberyes + +The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the `number` field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation. + +
pageno + +Page number of the results to fetch. + +
per_pageno + +Results per page (max 100). + +
refno + +The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. + +
+ +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/code-scanning#list-instances-of-a-code-scanning-alert). diff --git a/docs/codeScanning/listAlertsInstances.md b/docs/codeScanning/listAlertsInstances.md index 092a0db45..898cd4893 100644 --- a/docs/codeScanning/listAlertsInstances.md +++ b/docs/codeScanning/listAlertsInstances.md @@ -8,6 +8,8 @@ type: API method # List instances of a code scanning alert +**Deprecated:** This method has been renamed to codeScanning.listAlertInstances + Lists all instances of the specified code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint. ```js diff --git a/docs/codeScanning/uploadSarif.md b/docs/codeScanning/uploadSarif.md index 9384c67b6..50b55aef6 100644 --- a/docs/codeScanning/uploadSarif.md +++ b/docs/codeScanning/uploadSarif.md @@ -89,4 +89,4 @@ The name of the tool used to generate the code scanning analysis. If this parame -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/code-scanning#upload-an-analysis-as-sarif-data). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/code-scanning#upload-a-sarif-file). diff --git a/docs/codesOfConduct/getAllCodesOfConduct.md b/docs/codesOfConduct/getAllCodesOfConduct.md index ac484c99a..d41d62776 100644 --- a/docs/codesOfConduct/getAllCodesOfConduct.md +++ b/docs/codesOfConduct/getAllCodesOfConduct.md @@ -16,4 +16,4 @@ octokit.rest.codesOfConduct.getAllCodesOfConduct(); This endpoint has no parameters -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/codes_of_conduct/#get-all-codes-of-conduct). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/codes-of-conduct#get-all-codes-of-conduct). diff --git a/docs/codesOfConduct/getConductCode.md b/docs/codesOfConduct/getConductCode.md index 32d4cb0b6..564449c9b 100644 --- a/docs/codesOfConduct/getConductCode.md +++ b/docs/codesOfConduct/getConductCode.md @@ -31,4 +31,4 @@ octokit.rest.codesOfConduct.getConductCode({ -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/codes_of_conduct/#get-a-code-of-conduct). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/codes-of-conduct#get-a-code-of-conduct). diff --git a/docs/codesOfConduct/getForRepo.md b/docs/codesOfConduct/getForRepo.md index 496aeeb89..847fdc09b 100644 --- a/docs/codesOfConduct/getForRepo.md +++ b/docs/codesOfConduct/getForRepo.md @@ -39,4 +39,4 @@ octokit.rest.codesOfConduct.getForRepo({ -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/codes_of_conduct/#get-the-code-of-conduct-for-a-repository). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/codes-of-conduct#get-the-code-of-conduct-for-a-repository). diff --git a/docs/emojis/get.md b/docs/emojis/get.md index 041a375d1..f60322063 100644 --- a/docs/emojis/get.md +++ b/docs/emojis/get.md @@ -18,4 +18,4 @@ octokit.rest.emojis.get(); This endpoint has no parameters -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/emojis/#get-emojis). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/emojis#get-emojis). diff --git a/docs/gists/checkIsStarred.md b/docs/gists/checkIsStarred.md index 54b9f096c..7a674cdb1 100644 --- a/docs/gists/checkIsStarred.md +++ b/docs/gists/checkIsStarred.md @@ -33,4 +33,4 @@ gist_id parameter -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/gists/#check-if-a-gist-is-starred). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/gists#check-if-a-gist-is-starred). diff --git a/docs/gists/create.md b/docs/gists/create.md index 50c06c74d..5237eb58f 100644 --- a/docs/gists/create.md +++ b/docs/gists/create.md @@ -54,4 +54,4 @@ Content of the file -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/gists/#create-a-gist). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/gists#create-a-gist). diff --git a/docs/gists/delete.md b/docs/gists/delete.md index 42ed40dc6..466337ef0 100644 --- a/docs/gists/delete.md +++ b/docs/gists/delete.md @@ -33,4 +33,4 @@ gist_id parameter -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/gists/#delete-a-gist). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/gists#delete-a-gist). diff --git a/docs/gists/fork.md b/docs/gists/fork.md index e08c5c5c2..715e3710e 100644 --- a/docs/gists/fork.md +++ b/docs/gists/fork.md @@ -35,4 +35,4 @@ gist_id parameter -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/gists/#fork-a-gist). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/gists#fork-a-gist). diff --git a/docs/gists/get.md b/docs/gists/get.md index 06b1df564..21c862e40 100644 --- a/docs/gists/get.md +++ b/docs/gists/get.md @@ -33,4 +33,4 @@ gist_id parameter -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/gists/#get-a-gist). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/gists#get-a-gist). diff --git a/docs/gists/getRevision.md b/docs/gists/getRevision.md index e6e36960f..ba30b3003 100644 --- a/docs/gists/getRevision.md +++ b/docs/gists/getRevision.md @@ -37,4 +37,4 @@ gist_id parameter -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/gists/#get-a-gist-revision). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/gists#get-a-gist-revision). diff --git a/docs/gists/list.md b/docs/gists/list.md index b6e76b9e8..929817025 100644 --- a/docs/gists/list.md +++ b/docs/gists/list.md @@ -43,4 +43,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/gists/#list-gists-for-the-authenticated-user). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/gists#list-gists-for-the-authenticated-user). diff --git a/docs/gists/listCommits.md b/docs/gists/listCommits.md index 28213f731..2ec19c097 100644 --- a/docs/gists/listCommits.md +++ b/docs/gists/listCommits.md @@ -43,4 +43,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/gists/#list-gist-commits). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/gists#list-gist-commits). diff --git a/docs/gists/listForUser.md b/docs/gists/listForUser.md index dcf431b86..bac1289ad 100644 --- a/docs/gists/listForUser.md +++ b/docs/gists/listForUser.md @@ -48,4 +48,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/gists/#list-gists-for-a-user). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/gists#list-gists-for-a-user). diff --git a/docs/gists/listForks.md b/docs/gists/listForks.md index a4fab1d42..814352db9 100644 --- a/docs/gists/listForks.md +++ b/docs/gists/listForks.md @@ -43,4 +43,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/gists/#list-gist-forks). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/gists#list-gist-forks). diff --git a/docs/gists/listPublic.md b/docs/gists/listPublic.md index 8afe37649..8e10a0bd2 100644 --- a/docs/gists/listPublic.md +++ b/docs/gists/listPublic.md @@ -45,4 +45,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/gists/#list-public-gists). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/gists#list-public-gists). diff --git a/docs/gists/listStarred.md b/docs/gists/listStarred.md index cf413d4e4..8f6688020 100644 --- a/docs/gists/listStarred.md +++ b/docs/gists/listStarred.md @@ -43,4 +43,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/gists/#list-starred-gists). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/gists#list-starred-gists). diff --git a/docs/gists/star.md b/docs/gists/star.md index c52cd6013..f917d02a1 100644 --- a/docs/gists/star.md +++ b/docs/gists/star.md @@ -35,4 +35,4 @@ gist_id parameter -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/gists/#star-a-gist). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/gists#star-a-gist). diff --git a/docs/gists/unstar.md b/docs/gists/unstar.md index 008ebf7fa..82b46c87d 100644 --- a/docs/gists/unstar.md +++ b/docs/gists/unstar.md @@ -33,4 +33,4 @@ gist_id parameter -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/gists/#unstar-a-gist). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/gists#unstar-a-gist). diff --git a/docs/gitignore/getAllTemplates.md b/docs/gitignore/getAllTemplates.md index 6bb129872..2f7ed2949 100644 --- a/docs/gitignore/getAllTemplates.md +++ b/docs/gitignore/getAllTemplates.md @@ -18,4 +18,4 @@ octokit.rest.gitignore.getAllTemplates(); This endpoint has no parameters -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/gitignore/#get-all-gitignore-templates). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/gitignore#get-all-gitignore-templates). diff --git a/docs/gitignore/getTemplate.md b/docs/gitignore/getTemplate.md index a05c29ddd..afa80e6c4 100644 --- a/docs/gitignore/getTemplate.md +++ b/docs/gitignore/getTemplate.md @@ -34,4 +34,4 @@ octokit.rest.gitignore.getTemplate({ -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/gitignore/#get-a-gitignore-template). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/gitignore#get-a-gitignore-template). diff --git a/docs/issues/create.md b/docs/issues/create.md index 57c8dd02a..e47579c96 100644 --- a/docs/issues/create.md +++ b/docs/issues/create.md @@ -68,4 +68,4 @@ Logins for Users to assign to this issue. _NOTE: Only users with push access can -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/issues/#create-an-issue). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/issues#create-an-issue). diff --git a/docs/issues/get.md b/docs/issues/get.md index 8e2785ad6..53c13176c 100644 --- a/docs/issues/get.md +++ b/docs/issues/get.md @@ -53,4 +53,4 @@ issue_number parameter -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/issues/#get-an-issue). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/issues#get-an-issue). diff --git a/docs/issues/list.md b/docs/issues/list.md index b9f455256..7a5017dd0 100644 --- a/docs/issues/list.md +++ b/docs/issues/list.md @@ -92,4 +92,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/issues/#list-issues-assigned-to-the-authenticated-user). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/issues#list-issues-assigned-to-the-authenticated-user). diff --git a/docs/issues/listForAuthenticatedUser.md b/docs/issues/listForAuthenticatedUser.md index 59b7d1e1e..ea2da140f 100644 --- a/docs/issues/listForAuthenticatedUser.md +++ b/docs/issues/listForAuthenticatedUser.md @@ -78,4 +78,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/issues/#list-user-account-issues-assigned-to-the-authenticated-user). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/issues#list-user-account-issues-assigned-to-the-authenticated-user). diff --git a/docs/issues/listForOrg.md b/docs/issues/listForOrg.md index 132ac1b16..5d4500bf0 100644 --- a/docs/issues/listForOrg.md +++ b/docs/issues/listForOrg.md @@ -83,4 +83,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/issues/#list-organization-issues-assigned-to-the-authenticated-user). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/issues#list-organization-issues-assigned-to-the-authenticated-user). diff --git a/docs/issues/listForRepo.md b/docs/issues/listForRepo.md index 962bee5b5..12ba727a6 100644 --- a/docs/issues/listForRepo.md +++ b/docs/issues/listForRepo.md @@ -97,4 +97,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/issues/#list-repository-issues). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/issues#list-repository-issues). diff --git a/docs/issues/lock.md b/docs/issues/lock.md index dbd25f000..1d4b0826a 100644 --- a/docs/issues/lock.md +++ b/docs/issues/lock.md @@ -54,4 +54,4 @@ The reason for locking the issue or pull request conversation. Lock will fail if -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/issues/#lock-an-issue). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/issues#lock-an-issue). diff --git a/docs/issues/unlock.md b/docs/issues/unlock.md index afa106288..ddc948aa8 100644 --- a/docs/issues/unlock.md +++ b/docs/issues/unlock.md @@ -43,4 +43,4 @@ issue_number parameter -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/issues/#unlock-an-issue). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/issues#unlock-an-issue). diff --git a/docs/licenses/get.md b/docs/licenses/get.md index 611af7791..dd866188f 100644 --- a/docs/licenses/get.md +++ b/docs/licenses/get.md @@ -31,4 +31,4 @@ octokit.rest.licenses.get({ -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/licenses/#get-a-license). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/licenses#get-a-license). diff --git a/docs/licenses/getAllCommonlyUsed.md b/docs/licenses/getAllCommonlyUsed.md index 28219a9e6..d8eb168f2 100644 --- a/docs/licenses/getAllCommonlyUsed.md +++ b/docs/licenses/getAllCommonlyUsed.md @@ -39,4 +39,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/licenses/#get-all-commonly-used-licenses). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/licenses#get-all-commonly-used-licenses). diff --git a/docs/markdown/render.md b/docs/markdown/render.md index 142b00041..d866b0306 100644 --- a/docs/markdown/render.md +++ b/docs/markdown/render.md @@ -43,4 +43,4 @@ The repository context to use when creating references in `gfm` mode. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/markdown/#render-a-markdown-document). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/markdown#render-a-markdown-document). diff --git a/docs/markdown/renderRaw.md b/docs/markdown/renderRaw.md index 3fc5b583c..d1bc491f4 100644 --- a/docs/markdown/renderRaw.md +++ b/docs/markdown/renderRaw.md @@ -35,4 +35,4 @@ raw markdown text -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/markdown/#render-a-markdown-document-in-raw-mode). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/markdown#render-a-markdown-document-in-raw-mode). diff --git a/docs/meta/get.md b/docs/meta/get.md index 9367165e4..03120c40b 100644 --- a/docs/meta/get.md +++ b/docs/meta/get.md @@ -20,4 +20,4 @@ octokit.rest.meta.get(); This endpoint has no parameters -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/meta/#get-github-meta-information). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/meta#get-github-meta-information). diff --git a/docs/meta/getOctocat.md b/docs/meta/getOctocat.md index 5a8af194a..cee2251cc 100644 --- a/docs/meta/getOctocat.md +++ b/docs/meta/getOctocat.md @@ -33,4 +33,4 @@ The words to show in Octocat's speech bubble -See also: [GitHub Developer Guide documentation](). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/meta#get-octocat). diff --git a/docs/meta/root.md b/docs/meta/root.md index 8c82d1687..99b92f539 100644 --- a/docs/meta/root.md +++ b/docs/meta/root.md @@ -18,4 +18,4 @@ octokit.rest.meta.root(); This endpoint has no parameters -See also: [GitHub Developer Guide documentation](). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/overview/resources-in-the-rest-api#root-endpoint). diff --git a/docs/orgs/get.md b/docs/orgs/get.md index 58da12a50..f70d399dc 100644 --- a/docs/orgs/get.md +++ b/docs/orgs/get.md @@ -35,4 +35,4 @@ octokit.rest.orgs.get({ -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/orgs/#get-an-organization). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/orgs#get-an-organization). diff --git a/docs/orgs/list.md b/docs/orgs/list.md index e92a8123c..1067356e0 100644 --- a/docs/orgs/list.md +++ b/docs/orgs/list.md @@ -40,4 +40,4 @@ Results per page (max 100). -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/orgs/#list-organizations). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/orgs#list-organizations). diff --git a/docs/orgs/listAppInstallations.md b/docs/orgs/listAppInstallations.md index 4ea788313..fca0a285c 100644 --- a/docs/orgs/listAppInstallations.md +++ b/docs/orgs/listAppInstallations.md @@ -43,4 +43,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/orgs/#list-app-installations-for-an-organization). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/orgs#list-app-installations-for-an-organization). diff --git a/docs/orgs/listForAuthenticatedUser.md b/docs/orgs/listForAuthenticatedUser.md index 048c0e8c0..2150c855d 100644 --- a/docs/orgs/listForAuthenticatedUser.md +++ b/docs/orgs/listForAuthenticatedUser.md @@ -42,4 +42,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/orgs/#list-organizations-for-the-authenticated-user). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/orgs#list-organizations-for-the-authenticated-user). diff --git a/docs/orgs/listForUser.md b/docs/orgs/listForUser.md index 06586cc0b..134eda6b7 100644 --- a/docs/orgs/listForUser.md +++ b/docs/orgs/listForUser.md @@ -45,4 +45,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/orgs/#list-organizations-for-a-user). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/orgs#list-organizations-for-a-user). diff --git a/docs/packages/getAllPackageVersionsForAPackageOwnedByAnOrg.md b/docs/packages/getAllPackageVersionsForAPackageOwnedByAnOrg.md index 085397f40..9818a53d9 100644 --- a/docs/packages/getAllPackageVersionsForAPackageOwnedByAnOrg.md +++ b/docs/packages/getAllPackageVersionsForAPackageOwnedByAnOrg.md @@ -65,4 +65,4 @@ The state of the package, either active or deleted. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/packages#get-all-package-versions-for-a-package-owned-by-the-authenticated-user). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/packages#get-all-package-versions-for-a-package-owned-by-an-organization). diff --git a/docs/packages/getAllPackageVersionsForPackageOwnedByOrg.md b/docs/packages/getAllPackageVersionsForPackageOwnedByOrg.md index 63c86e943..7f943e024 100644 --- a/docs/packages/getAllPackageVersionsForPackageOwnedByOrg.md +++ b/docs/packages/getAllPackageVersionsForPackageOwnedByOrg.md @@ -63,4 +63,4 @@ The state of the package, either active or deleted. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/packages#get-all-package-versions-for-a-package-owned-by-the-authenticated-user). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/packages#get-all-package-versions-for-a-package-owned-by-an-organization). diff --git a/docs/projects/createForAuthenticatedUser.md b/docs/projects/createForAuthenticatedUser.md index 77fbc9db6..de3cc722b 100644 --- a/docs/projects/createForAuthenticatedUser.md +++ b/docs/projects/createForAuthenticatedUser.md @@ -38,4 +38,4 @@ Body of the project -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/projects/#create-a-user-project). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/projects#create-a-user-project). diff --git a/docs/projects/createForOrg.md b/docs/projects/createForOrg.md index d64156f40..5c9e9efba 100644 --- a/docs/projects/createForOrg.md +++ b/docs/projects/createForOrg.md @@ -44,4 +44,4 @@ The description of the project. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/projects/#create-an-organization-project). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/projects#create-an-organization-project). diff --git a/docs/projects/createForRepo.md b/docs/projects/createForRepo.md index 9995ecf9c..875da939d 100644 --- a/docs/projects/createForRepo.md +++ b/docs/projects/createForRepo.md @@ -48,4 +48,4 @@ The description of the project. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/projects/#create-a-repository-project). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/projects#create-a-repository-project). diff --git a/docs/projects/delete.md b/docs/projects/delete.md index c8c88a399..8b5849b96 100644 --- a/docs/projects/delete.md +++ b/docs/projects/delete.md @@ -33,4 +33,4 @@ octokit.rest.projects.delete({ -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/projects/#delete-a-project). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/projects#delete-a-project). diff --git a/docs/projects/get.md b/docs/projects/get.md index c68c2b146..2541402fd 100644 --- a/docs/projects/get.md +++ b/docs/projects/get.md @@ -33,4 +33,4 @@ octokit.rest.projects.get({ -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/projects/#get-a-project). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/projects#get-a-project). diff --git a/docs/projects/listForOrg.md b/docs/projects/listForOrg.md index 5f0d42725..91a8c5da9 100644 --- a/docs/projects/listForOrg.md +++ b/docs/projects/listForOrg.md @@ -48,4 +48,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/projects/#list-organization-projects). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/projects#list-organization-projects). diff --git a/docs/projects/listForRepo.md b/docs/projects/listForRepo.md index e0d27b54e..72b79f256 100644 --- a/docs/projects/listForRepo.md +++ b/docs/projects/listForRepo.md @@ -52,4 +52,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/projects/#list-repository-projects). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/projects#list-repository-projects). diff --git a/docs/projects/listForUser.md b/docs/projects/listForUser.md index 97c6fa824..d08f416cb 100644 --- a/docs/projects/listForUser.md +++ b/docs/projects/listForUser.md @@ -46,4 +46,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/projects/#list-user-projects). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/projects#list-user-projects). diff --git a/docs/projects/update.md b/docs/projects/update.md index bfd42c571..1de50c4ce 100644 --- a/docs/projects/update.md +++ b/docs/projects/update.md @@ -58,4 +58,4 @@ Whether or not this project can be seen by everyone. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/projects/#update-a-project). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/projects#update-a-project). diff --git a/docs/pulls/checkIfMerged.md b/docs/pulls/checkIfMerged.md index abcb7abe7..c0f23641a 100644 --- a/docs/pulls/checkIfMerged.md +++ b/docs/pulls/checkIfMerged.md @@ -39,4 +39,4 @@ octokit.rest.pulls.checkIfMerged({ -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/pulls/#check-if-a-pull-request-has-been-merged). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/pulls#check-if-a-pull-request-has-been-merged). diff --git a/docs/pulls/create.md b/docs/pulls/create.md index 9fe5200e4..9cca6d73d 100644 --- a/docs/pulls/create.md +++ b/docs/pulls/create.md @@ -78,4 +78,4 @@ Indicates whether the pull request is a draft. See "[Draft Pull Requests](https: -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/pulls/#create-a-pull-request). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/pulls#create-a-pull-request). diff --git a/docs/pulls/get.md b/docs/pulls/get.md index 982725b7f..89a184965 100644 --- a/docs/pulls/get.md +++ b/docs/pulls/get.md @@ -55,4 +55,4 @@ octokit.rest.pulls.get({ -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/pulls/#get-a-pull-request). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/pulls#get-a-pull-request). diff --git a/docs/pulls/list.md b/docs/pulls/list.md index cd2aa43ef..ee1f737ea 100644 --- a/docs/pulls/list.md +++ b/docs/pulls/list.md @@ -72,4 +72,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/pulls/#list-pull-requests). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/pulls#list-pull-requests). diff --git a/docs/pulls/listCommits.md b/docs/pulls/listCommits.md index d672658c8..d55b5d3da 100644 --- a/docs/pulls/listCommits.md +++ b/docs/pulls/listCommits.md @@ -51,4 +51,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/pulls/#list-commits-on-a-pull-request). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/pulls#list-commits-on-a-pull-request). diff --git a/docs/pulls/listFiles.md b/docs/pulls/listFiles.md index e21134701..7165e20b9 100644 --- a/docs/pulls/listFiles.md +++ b/docs/pulls/listFiles.md @@ -51,4 +51,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/pulls/#list-pull-requests-files). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/pulls#list-pull-requests-files). diff --git a/docs/pulls/merge.md b/docs/pulls/merge.md index a8bb4d9b3..08958dd0a 100644 --- a/docs/pulls/merge.md +++ b/docs/pulls/merge.md @@ -61,4 +61,4 @@ Merge method to use. Possible values are `merge`, `squash` or `rebase`. Default -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/pulls/#merge-a-pull-request). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/pulls#merge-a-pull-request). diff --git a/docs/pulls/updateBranch.md b/docs/pulls/updateBranch.md index f916edfc9..df412d8fd 100644 --- a/docs/pulls/updateBranch.md +++ b/docs/pulls/updateBranch.md @@ -46,4 +46,4 @@ The expected SHA of the pull request's HEAD ref. This is the most recent commit -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/pulls/#update-a-pull-request-branch). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/pulls#update-a-pull-request-branch). diff --git a/docs/rateLimit/get.md b/docs/rateLimit/get.md index 9cf9ff4a5..b349125d5 100644 --- a/docs/rateLimit/get.md +++ b/docs/rateLimit/get.md @@ -20,4 +20,4 @@ octokit.rest.rateLimit.get(); This endpoint has no parameters -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/rate_limit/#get-rate-limit-status-for-the-authenticated-user). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/rate-limit#get-rate-limit-status-for-the-authenticated-user). diff --git a/docs/reactions/createForCommitComment.md b/docs/reactions/createForCommitComment.md index b955833dd..764ad37ba 100644 --- a/docs/reactions/createForCommitComment.md +++ b/docs/reactions/createForCommitComment.md @@ -8,7 +8,7 @@ type: API method # Create reaction for a commit comment -Create a reaction to a [commit comment](https://docs.github.com/rest/reference/repos#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment. +Create a reaction to a [commit comment](https://docs.github.com/rest/reference/repos#comments). A response with an HTTP `200` status means that you already added the reaction type to this commit comment. ```js octokit.rest.reactions.createForCommitComment({ @@ -49,4 +49,4 @@ The [reaction type](https://docs.github.com/rest/reference/reactions#reaction-ty -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/reactions/#create-reaction-for-a-commit-comment). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/reactions#create-reaction-for-a-commit-comment). diff --git a/docs/reactions/createForIssue.md b/docs/reactions/createForIssue.md index a77791bb6..9a0900da8 100644 --- a/docs/reactions/createForIssue.md +++ b/docs/reactions/createForIssue.md @@ -8,7 +8,7 @@ type: API method # Create reaction for an issue -Create a reaction to an [issue](https://docs.github.com/rest/reference/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue. +Create a reaction to an [issue](https://docs.github.com/rest/reference/issues/). A response with an HTTP `200` status means that you already added the reaction type to this issue. ```js octokit.rest.reactions.createForIssue({ @@ -49,4 +49,4 @@ The [reaction type](https://docs.github.com/rest/reference/reactions#reaction-ty -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/reactions/#create-reaction-for-an-issue). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/reactions#create-reaction-for-an-issue). diff --git a/docs/reactions/createForIssueComment.md b/docs/reactions/createForIssueComment.md index 4f6d97ced..6a1e15b8c 100644 --- a/docs/reactions/createForIssueComment.md +++ b/docs/reactions/createForIssueComment.md @@ -8,7 +8,7 @@ type: API method # Create reaction for an issue comment -Create a reaction to an [issue comment](https://docs.github.com/rest/reference/issues#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment. +Create a reaction to an [issue comment](https://docs.github.com/rest/reference/issues#comments). A response with an HTTP `200` status means that you already added the reaction type to this issue comment. ```js octokit.rest.reactions.createForIssueComment({ @@ -49,4 +49,4 @@ The [reaction type](https://docs.github.com/rest/reference/reactions#reaction-ty -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/reactions/#create-reaction-for-an-issue-comment). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/reactions#create-reaction-for-an-issue-comment). diff --git a/docs/reactions/createForPullRequestReviewComment.md b/docs/reactions/createForPullRequestReviewComment.md index c642b49be..3fc2f669c 100644 --- a/docs/reactions/createForPullRequestReviewComment.md +++ b/docs/reactions/createForPullRequestReviewComment.md @@ -8,7 +8,7 @@ type: API method # Create reaction for a pull request review comment -Create a reaction to a [pull request review comment](https://docs.github.com/rest/reference/pulls#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment. +Create a reaction to a [pull request review comment](https://docs.github.com/rest/reference/pulls#comments). A response with an HTTP `200` status means that you already added the reaction type to this pull request review comment. ```js octokit.rest.reactions.createForPullRequestReviewComment({ @@ -49,4 +49,4 @@ The [reaction type](https://docs.github.com/rest/reference/reactions#reaction-ty -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/reactions/#create-reaction-for-a-pull-request-review-comment). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/reactions#create-reaction-for-a-pull-request-review-comment). diff --git a/docs/reactions/createForTeamDiscussionCommentInOrg.md b/docs/reactions/createForTeamDiscussionCommentInOrg.md index af9902ac8..b2f3be71d 100644 --- a/docs/reactions/createForTeamDiscussionCommentInOrg.md +++ b/docs/reactions/createForTeamDiscussionCommentInOrg.md @@ -8,7 +8,7 @@ type: API method # Create reaction for a team discussion comment -Create a reaction to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment. +Create a reaction to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment. **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. @@ -55,4 +55,4 @@ The [reaction type](https://docs.github.com/rest/reference/reactions#reaction-ty -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/reactions/#create-reaction-for-a-team-discussion-comment). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/reactions#create-reaction-for-a-team-discussion-comment). diff --git a/docs/reactions/createForTeamDiscussionInOrg.md b/docs/reactions/createForTeamDiscussionInOrg.md index 7490e348c..e5d7d98ea 100644 --- a/docs/reactions/createForTeamDiscussionInOrg.md +++ b/docs/reactions/createForTeamDiscussionInOrg.md @@ -8,7 +8,7 @@ type: API method # Create reaction for a team discussion -Create a reaction to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion. +Create a reaction to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion. **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. @@ -51,4 +51,4 @@ The [reaction type](https://docs.github.com/rest/reference/reactions#reaction-ty -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/reactions/#create-reaction-for-a-team-discussion). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/reactions#create-reaction-for-a-team-discussion). diff --git a/docs/reactions/deleteForCommitComment.md b/docs/reactions/deleteForCommitComment.md index 0489a9a88..ed6c32017 100644 --- a/docs/reactions/deleteForCommitComment.md +++ b/docs/reactions/deleteForCommitComment.md @@ -49,4 +49,4 @@ comment_id parameter -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/reactions/#delete-a-commit-comment-reaction). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/reactions#delete-a-commit-comment-reaction). diff --git a/docs/reactions/deleteForIssue.md b/docs/reactions/deleteForIssue.md index 6c64302bd..a990e01b5 100644 --- a/docs/reactions/deleteForIssue.md +++ b/docs/reactions/deleteForIssue.md @@ -49,4 +49,4 @@ issue_number parameter -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/reactions/#delete-an-issue-reaction). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/reactions#delete-an-issue-reaction). diff --git a/docs/reactions/deleteForIssueComment.md b/docs/reactions/deleteForIssueComment.md index 7cac323a5..86da5c54d 100644 --- a/docs/reactions/deleteForIssueComment.md +++ b/docs/reactions/deleteForIssueComment.md @@ -49,4 +49,4 @@ comment_id parameter -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/reactions/#delete-an-issue-comment-reaction). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/reactions#delete-an-issue-comment-reaction). diff --git a/docs/reactions/deleteForPullRequestComment.md b/docs/reactions/deleteForPullRequestComment.md index 26e6576b9..3eb8476ca 100644 --- a/docs/reactions/deleteForPullRequestComment.md +++ b/docs/reactions/deleteForPullRequestComment.md @@ -49,4 +49,4 @@ comment_id parameter -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/reactions/#delete-a-pull-request-comment-reaction). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/reactions#delete-a-pull-request-comment-reaction). diff --git a/docs/reactions/deleteForTeamDiscussion.md b/docs/reactions/deleteForTeamDiscussion.md index c2b1e8924..43cfba6e3 100644 --- a/docs/reactions/deleteForTeamDiscussion.md +++ b/docs/reactions/deleteForTeamDiscussion.md @@ -49,4 +49,4 @@ team_slug parameter -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/reactions/#delete-team-discussion-reaction). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/reactions#delete-team-discussion-reaction). diff --git a/docs/reactions/deleteForTeamDiscussionComment.md b/docs/reactions/deleteForTeamDiscussionComment.md index 545a287cb..4a5a38b59 100644 --- a/docs/reactions/deleteForTeamDiscussionComment.md +++ b/docs/reactions/deleteForTeamDiscussionComment.md @@ -53,4 +53,4 @@ team_slug parameter -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/reactions/#delete-team-discussion-comment-reaction). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/reactions#delete-team-discussion-comment-reaction). diff --git a/docs/reactions/listForCommitComment.md b/docs/reactions/listForCommitComment.md index 6c84e72fa..12f2b8eba 100644 --- a/docs/reactions/listForCommitComment.md +++ b/docs/reactions/listForCommitComment.md @@ -58,4 +58,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/reactions/#list-reactions-for-a-commit-comment). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/reactions#list-reactions-for-a-commit-comment). diff --git a/docs/reactions/listForIssue.md b/docs/reactions/listForIssue.md index 120d22ed7..0c4a91fce 100644 --- a/docs/reactions/listForIssue.md +++ b/docs/reactions/listForIssue.md @@ -58,4 +58,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/reactions/#list-reactions-for-an-issue). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/reactions#list-reactions-for-an-issue). diff --git a/docs/reactions/listForIssueComment.md b/docs/reactions/listForIssueComment.md index 02e4a37d9..f8c744806 100644 --- a/docs/reactions/listForIssueComment.md +++ b/docs/reactions/listForIssueComment.md @@ -58,4 +58,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/reactions/#list-reactions-for-an-issue-comment). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/reactions#list-reactions-for-an-issue-comment). diff --git a/docs/reactions/listForPullRequestReviewComment.md b/docs/reactions/listForPullRequestReviewComment.md index 151f39800..72d497fb4 100644 --- a/docs/reactions/listForPullRequestReviewComment.md +++ b/docs/reactions/listForPullRequestReviewComment.md @@ -58,4 +58,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/reactions/#list-reactions-for-a-pull-request-review-comment). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/reactions#list-reactions-for-a-pull-request-review-comment). diff --git a/docs/reactions/listForTeamDiscussionCommentInOrg.md b/docs/reactions/listForTeamDiscussionCommentInOrg.md index b1c24a635..18751979f 100644 --- a/docs/reactions/listForTeamDiscussionCommentInOrg.md +++ b/docs/reactions/listForTeamDiscussionCommentInOrg.md @@ -64,4 +64,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/reactions/#list-reactions-for-a-team-discussion-comment). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/reactions#list-reactions-for-a-team-discussion-comment). diff --git a/docs/reactions/listForTeamDiscussionInOrg.md b/docs/reactions/listForTeamDiscussionInOrg.md index 70f8ea0c5..c0fba4176 100644 --- a/docs/reactions/listForTeamDiscussionInOrg.md +++ b/docs/reactions/listForTeamDiscussionInOrg.md @@ -60,4 +60,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/reactions/#list-reactions-for-a-team-discussion). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/reactions#list-reactions-for-a-team-discussion). diff --git a/docs/repos/checkVulnerabilityAlerts.md b/docs/repos/checkVulnerabilityAlerts.md index e29a82d64..393c811b5 100644 --- a/docs/repos/checkVulnerabilityAlerts.md +++ b/docs/repos/checkVulnerabilityAlerts.md @@ -37,4 +37,4 @@ octokit.rest.repos.checkVulnerabilityAlerts({ -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos/#check-if-vulnerability-alerts-are-enabled-for-a-repository). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository). diff --git a/docs/repos/createDeployment.md b/docs/repos/createDeployment.md index 3a416950e..d0164218b 100644 --- a/docs/repos/createDeployment.md +++ b/docs/repos/createDeployment.md @@ -119,7 +119,7 @@ Short description of the deployment. transient_environmentno Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: `false` -**Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://docs.github.com/rest/overview/api-previews#enhanced-deployments) custom media type. **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://docs.github.com/rest/overview/api-previews#enhanced-deployments) custom media type. +**Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://docs.github.com/rest/overview/api-previews#enhanced-deployments) custom media type. production_environmentno diff --git a/docs/repos/createDeploymentStatus.md b/docs/repos/createDeploymentStatus.md index 646c433ce..81ac89248 100644 --- a/docs/repos/createDeploymentStatus.md +++ b/docs/repos/createDeploymentStatus.md @@ -56,7 +56,7 @@ The target URL to associate with this status. This URL should contain output to log_urlno The full URL of the deployment's output. This parameter replaces `target_url`. We will continue to accept `target_url` to support legacy uses, but we recommend replacing `target_url` with `log_url`. Setting `log_url` will automatically set `target_url` to the same value. Default: `""` -**Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://docs.github.com/rest/overview/api-previews#enhanced-deployments) custom media type. **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://docs.github.com/rest/overview/api-previews#enhanced-deployments) custom media type. +**Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://docs.github.com/rest/overview/api-previews#enhanced-deployments) custom media type. descriptionno @@ -72,7 +72,7 @@ Name for the target deployment environment, which can be changed when setting a environment_urlno Sets the URL for accessing your environment. Default: `""` -**Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://docs.github.com/rest/overview/api-previews#enhanced-deployments) custom media type. **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://docs.github.com/rest/overview/api-previews#enhanced-deployments) custom media type. +**Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://docs.github.com/rest/overview/api-previews#enhanced-deployments) custom media type. auto_inactiveno diff --git a/docs/repos/createDispatchEvent.md b/docs/repos/createDispatchEvent.md index 7e4326cd2..2b369f79e 100644 --- a/docs/repos/createDispatchEvent.md +++ b/docs/repos/createDispatchEvent.md @@ -60,4 +60,4 @@ JSON payload with extra information about the webhook event that your action or -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos/#create-a-repository-dispatch-event). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos#create-a-repository-dispatch-event). diff --git a/docs/repos/createForAuthenticatedUser.md b/docs/repos/createForAuthenticatedUser.md index 514c6ef6e..dce9374d7 100644 --- a/docs/repos/createForAuthenticatedUser.md +++ b/docs/repos/createForAuthenticatedUser.md @@ -122,4 +122,4 @@ Whether this repository acts as a template that can be used to generate new repo -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos/#create-a-repository-for-the-authenticated-user). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos#create-a-repository-for-the-authenticated-user). diff --git a/docs/repos/createInOrg.md b/docs/repos/createInOrg.md index ac0bb862d..5d3da0630 100644 --- a/docs/repos/createInOrg.md +++ b/docs/repos/createInOrg.md @@ -127,4 +127,4 @@ Either `true` to allow automatically deleting head branches when pull requests a -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos/#create-an-organization-repository). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos#create-an-organization-repository). diff --git a/docs/repos/createUsingTemplate.md b/docs/repos/createUsingTemplate.md index 6a618ae09..c85c292be 100644 --- a/docs/repos/createUsingTemplate.md +++ b/docs/repos/createUsingTemplate.md @@ -70,4 +70,4 @@ Either `true` to create a new private repository or `false` to create a new publ -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos/#create-a-repository-using-a-template). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos#create-a-repository-using-a-template). diff --git a/docs/repos/delete.md b/docs/repos/delete.md index e762a78da..5f87d037d 100644 --- a/docs/repos/delete.md +++ b/docs/repos/delete.md @@ -40,4 +40,4 @@ octokit.rest.repos.delete({ -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos/#delete-a-repository). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos#delete-a-repository). diff --git a/docs/repos/disableAutomatedSecurityFixes.md b/docs/repos/disableAutomatedSecurityFixes.md index c2024673c..ae0a24bf1 100644 --- a/docs/repos/disableAutomatedSecurityFixes.md +++ b/docs/repos/disableAutomatedSecurityFixes.md @@ -37,4 +37,4 @@ octokit.rest.repos.disableAutomatedSecurityFixes({ -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos/#disable-automated-security-fixes). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos#disable-automated-security-fixes). diff --git a/docs/repos/disableVulnerabilityAlerts.md b/docs/repos/disableVulnerabilityAlerts.md index b3c0a9445..114f51a23 100644 --- a/docs/repos/disableVulnerabilityAlerts.md +++ b/docs/repos/disableVulnerabilityAlerts.md @@ -37,4 +37,4 @@ octokit.rest.repos.disableVulnerabilityAlerts({ -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos/#disable-vulnerability-alerts). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos#disable-vulnerability-alerts). diff --git a/docs/repos/enableAutomatedSecurityFixes.md b/docs/repos/enableAutomatedSecurityFixes.md index 927eebe18..379fd4c7e 100644 --- a/docs/repos/enableAutomatedSecurityFixes.md +++ b/docs/repos/enableAutomatedSecurityFixes.md @@ -37,4 +37,4 @@ octokit.rest.repos.enableAutomatedSecurityFixes({ -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos/#enable-automated-security-fixes). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos#enable-automated-security-fixes). diff --git a/docs/repos/enableVulnerabilityAlerts.md b/docs/repos/enableVulnerabilityAlerts.md index 399d9d68e..84eda209a 100644 --- a/docs/repos/enableVulnerabilityAlerts.md +++ b/docs/repos/enableVulnerabilityAlerts.md @@ -37,4 +37,4 @@ octokit.rest.repos.enableVulnerabilityAlerts({ -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos/#enable-vulnerability-alerts). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos#enable-vulnerability-alerts). diff --git a/docs/repos/get.md b/docs/repos/get.md index d4de66950..2324cbdbf 100644 --- a/docs/repos/get.md +++ b/docs/repos/get.md @@ -39,4 +39,4 @@ octokit.rest.repos.get({ -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos/#get-a-repository). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos#get-a-repository). diff --git a/docs/repos/getAllTopics.md b/docs/repos/getAllTopics.md index 8cc28532c..debd34ec4 100644 --- a/docs/repos/getAllTopics.md +++ b/docs/repos/getAllTopics.md @@ -45,4 +45,4 @@ Results per page (max 100). -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos/#get-all-repository-topics). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos#get-all-repository-topics). diff --git a/docs/repos/listContributors.md b/docs/repos/listContributors.md index a5b465852..251523206 100644 --- a/docs/repos/listContributors.md +++ b/docs/repos/listContributors.md @@ -54,4 +54,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos/#list-repository-contributors). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos#list-repository-contributors). diff --git a/docs/repos/listForAuthenticatedUser.md b/docs/repos/listForAuthenticatedUser.md index 8774fa806..f96c31db0 100644 --- a/docs/repos/listForAuthenticatedUser.md +++ b/docs/repos/listForAuthenticatedUser.md @@ -80,4 +80,4 @@ Only show notifications updated before the given time. This is a timestamp in [I -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos/#list-repositories-for-the-authenticated-user). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos#list-repositories-for-the-authenticated-user). diff --git a/docs/repos/listForOrg.md b/docs/repos/listForOrg.md index 31f96620b..d27728179 100644 --- a/docs/repos/listForOrg.md +++ b/docs/repos/listForOrg.md @@ -32,7 +32,7 @@ octokit.rest.repos.listForOrg({ typeno -Specifies the types of repositories you want returned. Can be one of `all`, `public`, `private`, `forks`, `sources`, `member`, `internal`. Note: For GitHub AE, can be one of `all`, `private`, `forks`, `sources`, `member`, `internal`. Default: `all`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `type` can also be `internal`. +Specifies the types of repositories you want returned. Can be one of `all`, `public`, `private`, `forks`, `sources`, `member`, `internal`. Note: For GitHub AE, can be one of `all`, `private`, `forks`, `sources`, `member`, `internal`. Default: `all`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `type` can also be `internal`. However, the `internal` value is not yet supported when a GitHub App calls this API with an installation access token. sortno @@ -58,4 +58,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos/#list-organization-repositories). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos#list-organization-repositories). diff --git a/docs/repos/listForUser.md b/docs/repos/listForUser.md index fdfcaba09..793605b46 100644 --- a/docs/repos/listForUser.md +++ b/docs/repos/listForUser.md @@ -58,4 +58,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos/#list-repositories-for-a-user). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos#list-repositories-for-a-user). diff --git a/docs/repos/listLanguages.md b/docs/repos/listLanguages.md index 38df9ea07..b51632120 100644 --- a/docs/repos/listLanguages.md +++ b/docs/repos/listLanguages.md @@ -37,4 +37,4 @@ octokit.rest.repos.listLanguages({ -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos/#list-repository-languages). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos#list-repository-languages). diff --git a/docs/repos/listPublic.md b/docs/repos/listPublic.md index e105b9af6..482753500 100644 --- a/docs/repos/listPublic.md +++ b/docs/repos/listPublic.md @@ -38,4 +38,4 @@ A repository ID. Only return repositories with an ID greater than this ID. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos/#list-public-repositories). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos#list-public-repositories). diff --git a/docs/repos/listTags.md b/docs/repos/listTags.md index e6bf79ea3..af81b08ed 100644 --- a/docs/repos/listTags.md +++ b/docs/repos/listTags.md @@ -45,4 +45,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos/#list-repository-tags). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos#list-repository-tags). diff --git a/docs/repos/listTeams.md b/docs/repos/listTeams.md index 183944828..6e566cafe 100644 --- a/docs/repos/listTeams.md +++ b/docs/repos/listTeams.md @@ -45,4 +45,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos/#list-repository-teams). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos#list-repository-teams). diff --git a/docs/repos/replaceAllTopics.md b/docs/repos/replaceAllTopics.md index a52a61f03..37c03b524 100644 --- a/docs/repos/replaceAllTopics.md +++ b/docs/repos/replaceAllTopics.md @@ -41,4 +41,4 @@ An array of topics to add to the repository. Pass one or more topics to _replace -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos/#replace-all-repository-topics). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos#replace-all-repository-topics). diff --git a/docs/repos/transfer.md b/docs/repos/transfer.md index f02864a86..4f0d24eae 100644 --- a/docs/repos/transfer.md +++ b/docs/repos/transfer.md @@ -48,4 +48,4 @@ ID of the team or teams to add to the repository. Teams can only be added to org -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos/#transfer-a-repository). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/repos#transfer-a-repository). diff --git a/docs/search/code.md b/docs/search/code.md index 41a335c92..ad3793ff3 100644 --- a/docs/search/code.md +++ b/docs/search/code.md @@ -71,4 +71,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/search/#search-code). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/search#search-code). diff --git a/docs/search/commits.md b/docs/search/commits.md index 5a957e8a1..33d542b34 100644 --- a/docs/search/commits.md +++ b/docs/search/commits.md @@ -62,4 +62,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/search/#search-commits). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/search#search-commits). diff --git a/docs/search/issuesAndPullRequests.md b/docs/search/issuesAndPullRequests.md index 02ba59b22..8f858c4e3 100644 --- a/docs/search/issuesAndPullRequests.md +++ b/docs/search/issuesAndPullRequests.md @@ -66,4 +66,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/search/#search-issues-and-pull-requests). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/search#search-issues-and-pull-requests). diff --git a/docs/search/labels.md b/docs/search/labels.md index 5edd79fe2..85d81ff8c 100644 --- a/docs/search/labels.md +++ b/docs/search/labels.md @@ -59,4 +59,4 @@ Determines whether the first search result returned is the highest number of mat -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/search/#search-labels). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/search#search-labels). diff --git a/docs/search/repos.md b/docs/search/repos.md index ce1ce9ced..fa1bd87a5 100644 --- a/docs/search/repos.md +++ b/docs/search/repos.md @@ -67,4 +67,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/search/#search-repositories). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/search#search-repositories). diff --git a/docs/search/topics.md b/docs/search/topics.md index c8a52465b..fe3508313 100644 --- a/docs/search/topics.md +++ b/docs/search/topics.md @@ -43,4 +43,4 @@ The query contains one or more search keywords and qualifiers. Qualifiers allow -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/search/#search-topics). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/search#search-topics). diff --git a/docs/search/users.md b/docs/search/users.md index 465bfd435..37a99c3ee 100644 --- a/docs/search/users.md +++ b/docs/search/users.md @@ -63,4 +63,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/search/#search-users). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/search#search-users). diff --git a/docs/teams/addOrUpdateProjectPermissionsInOrg.md b/docs/teams/addOrUpdateProjectPermissionsInOrg.md index 1ae06c1d0..6b9e9a6a7 100644 --- a/docs/teams/addOrUpdateProjectPermissionsInOrg.md +++ b/docs/teams/addOrUpdateProjectPermissionsInOrg.md @@ -54,4 +54,4 @@ Default: the team's `permission` attribute will be used to determine what permis -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/teams/#add-or-update-team-project-permissions). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/teams#add-or-update-team-project-permissions). diff --git a/docs/teams/checkPermissionsForProjectInOrg.md b/docs/teams/checkPermissionsForProjectInOrg.md index 30bccf609..2dea447e7 100644 --- a/docs/teams/checkPermissionsForProjectInOrg.md +++ b/docs/teams/checkPermissionsForProjectInOrg.md @@ -45,4 +45,4 @@ team_slug parameter -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/teams/#check-team-permissions-for-a-project). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/teams#check-team-permissions-for-a-project). diff --git a/docs/teams/create.md b/docs/teams/create.md index c592f65f5..5b0b7b77e 100644 --- a/docs/teams/create.md +++ b/docs/teams/create.md @@ -81,4 +81,4 @@ The ID of a team to set as the parent team. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/teams/#create-a-team). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/teams#create-a-team). diff --git a/docs/teams/deleteInOrg.md b/docs/teams/deleteInOrg.md index 7b4ee4bd0..e6f22e1be 100644 --- a/docs/teams/deleteInOrg.md +++ b/docs/teams/deleteInOrg.md @@ -43,4 +43,4 @@ team_slug parameter -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/teams/#delete-a-team). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/teams#delete-a-team). diff --git a/docs/teams/getByName.md b/docs/teams/getByName.md index 526b9ba8b..3845f6004 100644 --- a/docs/teams/getByName.md +++ b/docs/teams/getByName.md @@ -41,4 +41,4 @@ team_slug parameter -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/teams/#get-a-team-by-name). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/teams#get-a-team-by-name). diff --git a/docs/teams/list.md b/docs/teams/list.md index 272ccf0d4..5029bea25 100644 --- a/docs/teams/list.md +++ b/docs/teams/list.md @@ -43,4 +43,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/teams/#list-teams). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/teams#list-teams). diff --git a/docs/teams/listChildInOrg.md b/docs/teams/listChildInOrg.md index 03d8f45c4..8acc03f44 100644 --- a/docs/teams/listChildInOrg.md +++ b/docs/teams/listChildInOrg.md @@ -51,4 +51,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/teams/#list-child-teams). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/teams#list-child-teams). diff --git a/docs/teams/listForAuthenticatedUser.md b/docs/teams/listForAuthenticatedUser.md index c0f5a0448..eda4e1b0e 100644 --- a/docs/teams/listForAuthenticatedUser.md +++ b/docs/teams/listForAuthenticatedUser.md @@ -38,4 +38,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/teams/#list-teams-for-the-authenticated-user). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/teams#list-teams-for-the-authenticated-user). diff --git a/docs/teams/listProjectsInOrg.md b/docs/teams/listProjectsInOrg.md index 5ac44b2d7..c3971b75d 100644 --- a/docs/teams/listProjectsInOrg.md +++ b/docs/teams/listProjectsInOrg.md @@ -51,4 +51,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/teams/#list-team-projects). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/teams#list-team-projects). diff --git a/docs/teams/listReposInOrg.md b/docs/teams/listReposInOrg.md index cf426f1e7..154fc718a 100644 --- a/docs/teams/listReposInOrg.md +++ b/docs/teams/listReposInOrg.md @@ -51,4 +51,4 @@ Page number of the results to fetch. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/teams/#list-team-repositories). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/teams#list-team-repositories). diff --git a/docs/teams/removeProjectInOrg.md b/docs/teams/removeProjectInOrg.md index 9b0dd44ee..cce6dee4d 100644 --- a/docs/teams/removeProjectInOrg.md +++ b/docs/teams/removeProjectInOrg.md @@ -45,4 +45,4 @@ team_slug parameter -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/teams/#remove-a-project-from-a-team). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/teams#remove-a-project-from-a-team). diff --git a/docs/teams/updateInOrg.md b/docs/teams/updateInOrg.md index e7ef4356b..8e094100d 100644 --- a/docs/teams/updateInOrg.md +++ b/docs/teams/updateInOrg.md @@ -74,4 +74,4 @@ The ID of a team to set as the parent team. -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/teams/#update-a-team). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/teams#update-a-team). diff --git a/docs/users/getAuthenticated.md b/docs/users/getAuthenticated.md index 7efa2eda2..22862e588 100644 --- a/docs/users/getAuthenticated.md +++ b/docs/users/getAuthenticated.md @@ -20,4 +20,4 @@ octokit.rest.users.getAuthenticated(); This endpoint has no parameters -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/users/#get-the-authenticated-user). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/users#get-the-authenticated-user). diff --git a/docs/users/getByUsername.md b/docs/users/getByUsername.md index 5aedfaf6a..b54037162 100644 --- a/docs/users/getByUsername.md +++ b/docs/users/getByUsername.md @@ -39,4 +39,4 @@ octokit.rest.users.getByUsername({ -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/users/#get-a-user). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/users#get-a-user). diff --git a/docs/users/getContextForUser.md b/docs/users/getContextForUser.md index ff15ca62b..60c228118 100644 --- a/docs/users/getContextForUser.md +++ b/docs/users/getContextForUser.md @@ -50,4 +50,4 @@ Uses the ID for the `subject_type` you specified. **Required** when using `subje -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/users/#get-contextual-information-for-a-user). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/users#get-contextual-information-for-a-user). diff --git a/docs/users/list.md b/docs/users/list.md index a88a0424f..660ba199c 100644 --- a/docs/users/list.md +++ b/docs/users/list.md @@ -40,4 +40,4 @@ Results per page (max 100). -See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/users/#list-users). +See also: [GitHub Developer Guide documentation](https://docs.github.com/rest/reference/users#list-users). diff --git a/package-lock.json b/package-lock.json index 78410812b..c97dc356e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,20 +20,20 @@ "dev": true }, "@babel/core": { - "version": "7.14.2", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.14.2.tgz", - "integrity": "sha512-OgC1mON+l4U4B4wiohJlQNUU3H73mpTyYY3j/c8U9dr9UagGGSm+WFpzjy/YLdoyjiG++c1kIDgxCo/mLwQJeQ==", + "version": "7.14.0", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.14.0.tgz", + "integrity": "sha512-8YqpRig5NmIHlMLw09zMlPTvUVMILjqCOtVgu+TVNWEBvy9b5I3RRyhqnrV4hjgEK7n8P9OqvkWJAFmEL6Wwfw==", "dev": true, "requires": { "@babel/code-frame": "^7.12.13", - "@babel/generator": "^7.14.2", + "@babel/generator": "^7.14.0", "@babel/helper-compilation-targets": "^7.13.16", - "@babel/helper-module-transforms": "^7.14.2", + "@babel/helper-module-transforms": "^7.14.0", "@babel/helpers": "^7.14.0", - "@babel/parser": "^7.14.2", + "@babel/parser": "^7.14.0", "@babel/template": "^7.12.13", - "@babel/traverse": "^7.14.2", - "@babel/types": "^7.14.2", + "@babel/traverse": "^7.14.0", + "@babel/types": "^7.14.0", "convert-source-map": "^1.7.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -43,12 +43,12 @@ } }, "@babel/generator": { - "version": "7.14.2", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.14.2.tgz", - "integrity": "sha512-OnADYbKrffDVai5qcpkMxQ7caomHOoEwjkouqnN2QhydAjowFAZcsdecFIRUBdb+ZcruwYE4ythYmF1UBZU5xQ==", + "version": "7.14.0", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.14.0.tgz", + "integrity": "sha512-C6u00HbmsrNPug6A+CiNl8rEys7TsdcXwg12BHi2ca5rUfAs3+UwZsuDQSXnc+wCElCXMB8gMaJ3YXDdh8fAlg==", "dev": true, "requires": { - "@babel/types": "^7.14.2", + "@babel/types": "^7.14.0", "jsesc": "^2.5.1", "source-map": "^0.5.0" } @@ -85,13 +85,13 @@ } }, "@babel/helper-create-class-features-plugin": { - "version": "7.14.2", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.14.2.tgz", - "integrity": "sha512-6YctwVsmlkchxfGUogvVrrhzyD3grFJyluj5JgDlQrwfMLJSt5tdAzFZfPf4H2Xoi5YLcQ6BxfJlaOBHuctyIw==", + "version": "7.14.0", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.14.0.tgz", + "integrity": "sha512-6pXDPguA5zC40Y8oI5mqr+jEUpjMJonKvknvA+vD8CYDz5uuXEwWBK8sRAsE/t3gfb1k15AQb9RhwpscC4nUJQ==", "dev": true, "requires": { "@babel/helper-annotate-as-pure": "^7.12.13", - "@babel/helper-function-name": "^7.14.2", + "@babel/helper-function-name": "^7.12.13", "@babel/helper-member-expression-to-functions": "^7.13.12", "@babel/helper-optimise-call-expression": "^7.12.13", "@babel/helper-replace-supers": "^7.13.12", @@ -142,6 +142,18 @@ "@babel/helper-get-function-arity": "^7.12.13", "@babel/template": "^7.12.13", "@babel/types": "^7.14.2" + }, + "dependencies": { + "@babel/types": { + "version": "7.14.2", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.14.2.tgz", + "integrity": "sha512-SdjAG/3DikRHpUOjxZgnkbR11xUlyDMUFJdvnIgZEE16mqmY0BINMmc4//JMJglEmn6i7sq6p+mGrFWyZ98EEw==", + "dev": true, + "requires": { + "@babel/helper-validator-identifier": "^7.14.0", + "to-fast-properties": "^2.0.0" + } + } } }, "@babel/helper-get-function-arity": { @@ -182,9 +194,9 @@ } }, "@babel/helper-module-transforms": { - "version": "7.14.2", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.14.2.tgz", - "integrity": "sha512-OznJUda/soKXv0XhpvzGWDnml4Qnwp16GN+D/kZIdLsWoHj05kyu8Rm5kXmMef+rVJZ0+4pSGLkeixdqNUATDA==", + "version": "7.14.0", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.14.0.tgz", + "integrity": "sha512-L40t9bxIuGOfpIGA3HNkJhU9qYrf4y5A5LUSw7rGMSn+pcG8dfJ0g6Zval6YJGd2nEjI7oP00fRdnhLKndx6bw==", "dev": true, "requires": { "@babel/helper-module-imports": "^7.13.12", @@ -193,8 +205,8 @@ "@babel/helper-split-export-declaration": "^7.12.13", "@babel/helper-validator-identifier": "^7.14.0", "@babel/template": "^7.12.13", - "@babel/traverse": "^7.14.2", - "@babel/types": "^7.14.2" + "@babel/traverse": "^7.14.0", + "@babel/types": "^7.14.0" } }, "@babel/helper-optimise-call-expression": { @@ -309,9 +321,9 @@ } }, "@babel/parser": { - "version": "7.14.2", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.2.tgz", - "integrity": "sha512-IoVDIHpsgE/fu7eXBeRWt8zLbDrSvD7H1gpomOkPpBoEN8KCruCqSDdqo8dddwQQrui30KSvQBaMUOJiuFu6QQ==", + "version": "7.14.0", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.14.0.tgz", + "integrity": "sha512-AHbfoxesfBALg33idaTBVUkLnfXtsgvJREf93p4p0Lwsz4ppfE7g1tpEXVm4vrxUcH4DVhAa9Z1m1zqf9WUC7Q==", "dev": true }, "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { @@ -773,12 +785,12 @@ } }, "@babel/plugin-transform-modules-amd": { - "version": "7.14.2", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.14.2.tgz", - "integrity": "sha512-hPC6XBswt8P3G2D1tSV2HzdKvkqOpmbyoy+g73JG0qlF/qx2y3KaMmXb1fLrpmWGLZYA0ojCvaHdzFWjlmV+Pw==", + "version": "7.14.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.14.0.tgz", + "integrity": "sha512-CF4c5LX4LQ03LebQxJ5JZes2OYjzBuk1TdiF7cG7d5dK4lAdw9NZmaxq5K/mouUdNeqwz3TNjnW6v01UqUNgpQ==", "dev": true, "requires": { - "@babel/helper-module-transforms": "^7.14.2", + "@babel/helper-module-transforms": "^7.14.0", "@babel/helper-plugin-utils": "^7.13.0", "babel-plugin-dynamic-import-node": "^2.3.3" } @@ -959,9 +971,9 @@ } }, "@babel/preset-env": { - "version": "7.14.2", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.14.2.tgz", - "integrity": "sha512-7dD7lVT8GMrE73v4lvDEb85cgcQhdES91BSD7jS/xjC6QY8PnRhux35ac+GCpbiRhp8crexBvZZqnaL6VrY8TQ==", + "version": "7.14.0", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.14.0.tgz", + "integrity": "sha512-GWRCdBv2whxqqaSi7bo/BEXf070G/fWFMEdCnmoRg2CZJy4GK06ovFuEjJrZhDRXYgBsYtxVbG8GUHvw+UWBkQ==", "dev": true, "requires": { "@babel/compat-data": "^7.14.0", @@ -969,18 +981,18 @@ "@babel/helper-plugin-utils": "^7.13.0", "@babel/helper-validator-option": "^7.12.17", "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.13.12", - "@babel/plugin-proposal-async-generator-functions": "^7.14.2", + "@babel/plugin-proposal-async-generator-functions": "^7.13.15", "@babel/plugin-proposal-class-properties": "^7.13.0", "@babel/plugin-proposal-class-static-block": "^7.13.11", - "@babel/plugin-proposal-dynamic-import": "^7.14.2", - "@babel/plugin-proposal-export-namespace-from": "^7.14.2", - "@babel/plugin-proposal-json-strings": "^7.14.2", - "@babel/plugin-proposal-logical-assignment-operators": "^7.14.2", - "@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.2", - "@babel/plugin-proposal-numeric-separator": "^7.14.2", - "@babel/plugin-proposal-object-rest-spread": "^7.14.2", - "@babel/plugin-proposal-optional-catch-binding": "^7.14.2", - "@babel/plugin-proposal-optional-chaining": "^7.14.2", + "@babel/plugin-proposal-dynamic-import": "^7.13.8", + "@babel/plugin-proposal-export-namespace-from": "^7.12.13", + "@babel/plugin-proposal-json-strings": "^7.13.8", + "@babel/plugin-proposal-logical-assignment-operators": "^7.13.8", + "@babel/plugin-proposal-nullish-coalescing-operator": "^7.13.8", + "@babel/plugin-proposal-numeric-separator": "^7.12.13", + "@babel/plugin-proposal-object-rest-spread": "^7.13.8", + "@babel/plugin-proposal-optional-catch-binding": "^7.13.8", + "@babel/plugin-proposal-optional-chaining": "^7.13.12", "@babel/plugin-proposal-private-methods": "^7.13.0", "@babel/plugin-proposal-private-property-in-object": "^7.14.0", "@babel/plugin-proposal-unicode-property-regex": "^7.12.13", @@ -1001,8 +1013,8 @@ "@babel/plugin-transform-arrow-functions": "^7.13.0", "@babel/plugin-transform-async-to-generator": "^7.13.0", "@babel/plugin-transform-block-scoped-functions": "^7.12.13", - "@babel/plugin-transform-block-scoping": "^7.14.2", - "@babel/plugin-transform-classes": "^7.14.2", + "@babel/plugin-transform-block-scoping": "^7.13.16", + "@babel/plugin-transform-classes": "^7.13.0", "@babel/plugin-transform-computed-properties": "^7.13.0", "@babel/plugin-transform-destructuring": "^7.13.17", "@babel/plugin-transform-dotall-regex": "^7.12.13", @@ -1012,14 +1024,14 @@ "@babel/plugin-transform-function-name": "^7.12.13", "@babel/plugin-transform-literals": "^7.12.13", "@babel/plugin-transform-member-expression-literals": "^7.12.13", - "@babel/plugin-transform-modules-amd": "^7.14.2", + "@babel/plugin-transform-modules-amd": "^7.14.0", "@babel/plugin-transform-modules-commonjs": "^7.14.0", "@babel/plugin-transform-modules-systemjs": "^7.13.8", "@babel/plugin-transform-modules-umd": "^7.14.0", "@babel/plugin-transform-named-capturing-groups-regex": "^7.12.13", "@babel/plugin-transform-new-target": "^7.12.13", "@babel/plugin-transform-object-super": "^7.12.13", - "@babel/plugin-transform-parameters": "^7.14.2", + "@babel/plugin-transform-parameters": "^7.13.0", "@babel/plugin-transform-property-literals": "^7.12.13", "@babel/plugin-transform-regenerator": "^7.13.15", "@babel/plugin-transform-reserved-words": "^7.12.13", @@ -1031,7 +1043,7 @@ "@babel/plugin-transform-unicode-escapes": "^7.12.13", "@babel/plugin-transform-unicode-regex": "^7.12.13", "@babel/preset-modules": "^0.1.4", - "@babel/types": "^7.14.2", + "@babel/types": "^7.14.0", "babel-plugin-polyfill-corejs2": "^0.2.0", "babel-plugin-polyfill-corejs3": "^0.2.0", "babel-plugin-polyfill-regenerator": "^0.2.0", @@ -1084,25 +1096,25 @@ } }, "@babel/traverse": { - "version": "7.14.2", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.14.2.tgz", - "integrity": "sha512-TsdRgvBFHMyHOOzcP9S6QU0QQtjxlRpEYOy3mcCO5RgmC305ki42aSAmfZEMSSYBla2oZ9BMqYlncBaKmD/7iA==", + "version": "7.14.0", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.14.0.tgz", + "integrity": "sha512-dZ/a371EE5XNhTHomvtuLTUyx6UEoJmYX+DT5zBCQN3McHemsuIaKKYqsc/fs26BEkHs/lBZy0J571LP5z9kQA==", "dev": true, "requires": { "@babel/code-frame": "^7.12.13", - "@babel/generator": "^7.14.2", - "@babel/helper-function-name": "^7.14.2", + "@babel/generator": "^7.14.0", + "@babel/helper-function-name": "^7.12.13", "@babel/helper-split-export-declaration": "^7.12.13", - "@babel/parser": "^7.14.2", - "@babel/types": "^7.14.2", + "@babel/parser": "^7.14.0", + "@babel/types": "^7.14.0", "debug": "^4.1.0", "globals": "^11.1.0" } }, "@babel/types": { - "version": "7.14.2", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.14.2.tgz", - "integrity": "sha512-SdjAG/3DikRHpUOjxZgnkbR11xUlyDMUFJdvnIgZEE16mqmY0BINMmc4//JMJglEmn6i7sq6p+mGrFWyZ98EEw==", + "version": "7.14.0", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.14.0.tgz", + "integrity": "sha512-O2LVLdcnWplaGxiPBz12d0HcdN8QdxdsWYhz5LSeuukV/5mn2xUUc3gBeU4QBYPJ18g/UToe8F532XJ608prmg==", "dev": true, "requires": { "@babel/helper-validator-identifier": "^7.14.0", @@ -1789,9 +1801,9 @@ } }, "@octokit/openapi-types": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-7.0.0.tgz", - "integrity": "sha512-gV/8DJhAL/04zjTI95a7FhQwS6jlEE0W/7xeYAzuArD0KVAVWDLP2f3vi98hs3HLTczxXdRK/mF0tRoQPpolEw==" + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-7.1.0.tgz", + "integrity": "sha512-snFdW7NBpK4AFETA048isW84JKkJ6RJahbt560OHT9za9D6nXidqHSW2iaza88xO/1GNCLyWM5OynEa9O1MjrA==" }, "@octokit/plugin-paginate-rest": { "version": "2.13.3", @@ -1856,11 +1868,11 @@ } }, "@octokit/types": { - "version": "6.14.2", - "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.14.2.tgz", - "integrity": "sha512-wiQtW9ZSy4OvgQ09iQOdyXYNN60GqjCL/UdMsepDr1Gr0QzpW6irIKbH3REuAHXAhxkEk9/F2a3Gcs1P6kW5jA==", + "version": "6.15.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-6.15.0.tgz", + "integrity": "sha512-e+y5aHQTsFjS5ovxAjXC/ScljLs09dBN0Ah11vyuHvlFNiXqQMyT29ykHYzPvAuXUNOBKUQDDq6Ec0sWbJlZFg==", "requires": { - "@octokit/openapi-types": "^7.0.0" + "@octokit/openapi-types": "^7.1.0" } }, "@pika/babel-plugin-esm-import-rewrite": { @@ -1951,9 +1963,9 @@ "dev": true }, "@types/node": { - "version": "10.17.60", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.60.tgz", - "integrity": "sha512-F0KIgDJfy2nA3zMLmWGKxcH2ZVEtCZXHHdOQs2gSaQ27+lNeEfGxzkIw90aXswATX7AZ33tahPbzy6KAfUreVw==", + "version": "10.17.59", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.59.tgz", + "integrity": "sha512-7Uc8IRrL8yZz5ti45RaFxpbU8TxlzdC3HvxV+hOWo1EyLsuKv/w7y0n+TwZzwL3vdx3oZ2k3ubxPq131hNtXyg==", "dev": true } } @@ -2349,9 +2361,9 @@ "dev": true }, "@types/node": { - "version": "14.14.45", - "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.45.tgz", - "integrity": "sha512-DssMqTV9UnnoxDWu959sDLZzfvqCF0qDNRjaWeYSui9xkFe61kKo4l1TWNTQONpuXEm+gLMRvdlzvNHBamzmEw==", + "version": "14.14.43", + "resolved": "https://registry.npmjs.org/@types/node/-/node-14.14.43.tgz", + "integrity": "sha512-3pwDJjp1PWacPTpH0LcfhgjvurQvrZFBrC6xxjaUEZ7ifUtT32jtjPxEMMblpqd2Mvx+k8haqQJLQxolyGN/cQ==", "dev": true }, "@types/normalize-package-data": { @@ -3152,9 +3164,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001228", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001228.tgz", - "integrity": "sha512-QQmLOGJ3DEgokHbMSA8cj2a+geXqmnpyOFT0lhQV6P3/YOJvGDEwoedcwxEQ30gJIwIIunHIicunJ2rzK5gB2A==", + "version": "1.0.30001220", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001220.tgz", + "integrity": "sha512-pjC2T4DIDyGAKTL4dMvGUQaMUHRmhvPpAgNNTa14jaBWHu+bLQgvpFqElxh9L4829Fdx0PlKiMp3wnYldRtECA==", "dev": true }, "capture-exit": { @@ -3839,18 +3851,18 @@ "dev": true }, "core-js": { - "version": "3.12.1", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.12.1.tgz", - "integrity": "sha512-Ne9DKPHTObRuB09Dru5AjwKjY4cJHVGu+y5f7coGn1E9Grkc3p2iBwE9AI/nJzsE29mQF7oq+mhYYRqOMFN1Bw==", + "version": "3.11.1", + "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.11.1.tgz", + "integrity": "sha512-k93Isqg7e4txZWMGNYwevZL9MiogLk8pd1PtwrmFmi8IBq4GXqUaVW/a33Llt6amSI36uSjd0GWwc9pTT9ALlQ==", "dev": true }, "core-js-compat": { - "version": "3.12.1", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.12.1.tgz", - "integrity": "sha512-i6h5qODpw6EsHAoIdQhKoZdWn+dGBF3dSS8m5tif36RlWvW3A6+yu2S16QHUo3CrkzrnEskMAt9f8FxmY9fhWQ==", + "version": "3.11.1", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.11.1.tgz", + "integrity": "sha512-aZ0e4tmlG/aOBHj92/TuOuZwp6jFvn1WNabU5VOVixzhu5t5Ao+JZkQOPlgNXu6ynwLrwJxklT4Gw1G1VGEh+g==", "dev": true, "requires": { - "browserslist": "^4.16.6", + "browserslist": "^4.16.5", "semver": "7.0.0" }, "dependencies": { @@ -4256,9 +4268,9 @@ } }, "electron-to-chromium": { - "version": "1.3.728", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.728.tgz", - "integrity": "sha512-SHv4ziXruBpb1Nz4aTuqEHBYi/9GNCJMYIJgDEXrp/2V01nFXMNFUTli5Z85f5ivSkioLilQatqBYFB44wNJrA==", + "version": "1.3.725", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.725.tgz", + "integrity": "sha512-2BbeAESz7kc6KBzs7WVrMc1BY5waUphk4D4DX5dSQXJhsc3tP5ZFaiyuL0AB7vUKzDYpIeYwTYlEfxyjsGUrhw==", "dev": true }, "elegant-spinner": { @@ -7407,9 +7419,9 @@ }, "dependencies": { "acorn": { - "version": "8.2.4", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.2.4.tgz", - "integrity": "sha512-Ibt84YwBDDA890eDiDCEqcbwvHlBvzzDkU2cGBBDDI1QWT12jTiXIOn2CIw5KK4i6N5Z2HUxwYjzriDyqaqqZg==", + "version": "8.2.2", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.2.2.tgz", + "integrity": "sha512-VrMS8kxT0e7J1EX0p6rI/E0FbfOVcvBpbIqHThFv+f8YrZIlMfVotYcXKVPmTvPW8sW5miJzfUFrrvthUZg8VQ==", "dev": true }, "tr46": { @@ -8590,12 +8602,12 @@ } }, "npm": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/npm/-/npm-7.13.0.tgz", - "integrity": "sha512-6D9tWuUN4ef9Mi0o4Gwkv92SKsd+AS8QF/xtdWCNpX5aLlvb1x3juyiPvzPxuisxFUq2S3fZBMNehEt+Aae9Hg==", + "version": "7.11.2", + "resolved": "https://registry.npmjs.org/npm/-/npm-7.11.2.tgz", + "integrity": "sha512-NxcaNqAfdLEubG5dlPFWbXrVAG2zb45lB5y6W3PK1PK2feHaffpCN4rnXPD/BPp1kCJespCAv8Kw/QUYR85BRw==", "dev": true, "requires": { - "@npmcli/arborist": "^2.5.0", + "@npmcli/arborist": "^2.4.1", "@npmcli/ci-detect": "^1.2.0", "@npmcli/config": "^2.2.0", "@npmcli/run-script": "^1.8.5", @@ -8610,7 +8622,7 @@ "cli-columns": "^3.1.2", "cli-table3": "^0.6.0", "columnify": "~1.5.4", - "glob": "^7.1.7", + "glob": "^7.1.4", "graceful-fs": "^4.2.6", "hosted-git-info": "^4.0.2", "ini": "^2.0.0", @@ -8620,8 +8632,8 @@ "leven": "^3.1.0", "libnpmaccess": "^4.0.2", "libnpmdiff": "^2.0.4", - "libnpmexec": "^1.1.1", - "libnpmfund": "^1.1.0", + "libnpmexec": "^1.0.1", + "libnpmfund": "^1.0.2", "libnpmhook": "^6.0.2", "libnpmorg": "^2.0.2", "libnpmpack": "^2.0.1", @@ -8665,7 +8677,7 @@ }, "dependencies": { "@npmcli/arborist": { - "version": "2.5.0", + "version": "2.4.1", "bundled": true, "dev": true, "requires": { @@ -8680,7 +8692,7 @@ "cacache": "^15.0.3", "common-ancestor-path": "^1.0.1", "json-parse-even-better-errors": "^2.3.1", - "json-stringify-nice": "^1.1.4", + "json-stringify-nice": "^1.1.2", "mkdirp-infer-owner": "^2.0.0", "npm-install-checks": "^4.0.0", "npm-package-arg": "^8.1.0", @@ -8724,7 +8736,7 @@ } }, "@npmcli/git": { - "version": "2.0.9", + "version": "2.0.8", "bundled": true, "dev": true, "requires": { @@ -9359,7 +9371,7 @@ } }, "glob": { - "version": "7.1.7", + "version": "7.1.6", "bundled": true, "dev": true, "requires": { @@ -9468,7 +9480,7 @@ } }, "ignore-walk": { - "version": "3.0.4", + "version": "3.0.3", "bundled": true, "dev": true, "requires": { @@ -9601,7 +9613,7 @@ "dev": true }, "json-stringify-nice": { - "version": "1.1.4", + "version": "1.1.3", "bundled": true, "dev": true }, @@ -9668,7 +9680,7 @@ } }, "libnpmexec": { - "version": "1.1.1", + "version": "1.0.1", "bundled": true, "dev": true, "requires": { @@ -9681,16 +9693,58 @@ "pacote": "^11.3.1", "proc-log": "^1.0.0", "read": "^1.0.7", - "read-package-json-fast": "^2.0.2", - "walk-up-path": "^1.0.0" + "read-package-json-fast": "^2.0.2" } }, "libnpmfund": { - "version": "1.1.0", + "version": "1.0.2", "bundled": true, "dev": true, "requires": { - "@npmcli/arborist": "^2.5.0" + "@npmcli/arborist": "^2.0.0" + }, + "dependencies": { + "@npmcli/arborist": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@npmcli/arborist/-/arborist-2.6.0.tgz", + "integrity": "sha512-6njRVuPMgGRvQUmsXwGdp1ItZtJuSdt5ouoQe4AeFTTZoMufKWLeXFDOlWj7qbMAzqw+guNEAZwBiwm04J7T2g==", + "dev": true, + "requires": { + "@npmcli/installed-package-contents": "^1.0.7", + "@npmcli/map-workspaces": "^1.0.2", + "@npmcli/metavuln-calculator": "^1.1.0", + "@npmcli/move-file": "^1.1.0", + "@npmcli/name-from-folder": "^1.0.1", + "@npmcli/node-gyp": "^1.0.1", + "@npmcli/run-script": "^1.8.2", + "bin-links": "^2.2.1", + "cacache": "^15.0.3", + "common-ancestor-path": "^1.0.1", + "json-parse-even-better-errors": "^2.3.1", + "json-stringify-nice": "^1.1.4", + "mkdirp-infer-owner": "^2.0.0", + "npm-install-checks": "^4.0.0", + "npm-package-arg": "^8.1.0", + "npm-pick-manifest": "^6.1.0", + "npm-registry-fetch": "^10.0.0", + "pacote": "^11.2.6", + "parse-conflict-json": "^1.1.1", + "promise-all-reject-late": "^1.0.0", + "promise-call-limit": "^1.0.1", + "read-package-json-fast": "^2.0.2", + "readdir-scoped-modules": "^1.1.0", + "semver": "^7.3.5", + "tar": "^6.1.0", + "treeverse": "^1.0.4", + "walk-up-path": "^1.0.0" + } + }, + "json-stringify-nice": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/json-stringify-nice/-/json-stringify-nice-1.1.4.tgz", + "integrity": "sha512-5Z5RFW63yxReJ7vANgW6eZFGWaQvnPE3WNmZoOJrSkGju2etKA2L5rrOa1sm877TVTFt57A80BH1bArcmlLfPw==", + "dev": true + } } }, "libnpmhook": { @@ -9983,7 +10037,7 @@ } }, "npm-packlist": { - "version": "2.2.2", + "version": "2.1.5", "bundled": true, "dev": true, "requires": { @@ -13556,9 +13610,9 @@ "dev": true }, "uglify-js": { - "version": "3.13.6", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.13.6.tgz", - "integrity": "sha512-rRprLwl8RVaS+Qvx3Wh5hPfPBn9++G6xkGlUupya0s5aDmNjI7z3lnRLB3u7sN4OmbB0pWgzhM9BEJyiWAwtAA==", + "version": "3.13.5", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.13.5.tgz", + "integrity": "sha512-xtB8yEqIkn7zmOyS2zUNBsYCBRhDkvlNxMMY2smuJ/qA8NCHeQvKCF3i9Z4k8FJH4+PJvZRtMrPynfZ75+CSZw==", "dev": true, "optional": true }, diff --git a/package.json b/package.json index de8406d46..3ca990905 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "author": "Gregor Martynus (https://twitter.com/gr2m)", "license": "MIT", "dependencies": { - "@octokit/types": "^6.14.1", + "@octokit/types": "^6.15.0", "deprecation": "^2.3.1" }, "devDependencies": { diff --git a/scripts/update-endpoints/generated/endpoints.json b/scripts/update-endpoints/generated/endpoints.json index 54971a63b..6f8f07d8f 100644 --- a/scripts/update-endpoints/generated/endpoints.json +++ b/scripts/update-endpoints/generated/endpoints.json @@ -66,6 +66,66 @@ ], "renamed": null }, + { + "name": "Approve a workflow run for a fork pull request", + "scope": "actions", + "id": "approveWorkflowRun", + "method": "POST", + "url": "/repos/{owner}/{repo}/actions/runs/{run_id}/approve", + "isDeprecated": false, + "deprecationDate": null, + "description": "**Note:** This endpoint is currently in beta and is subject to change.\n\nApproves a workflow run for a pull request from a public fork of a first time contributor. For more information, see [\"Approving workflow runs from public forks](https://docs.github.com/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks).\"\n\nYou must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint.", + "documentationUrl": "https://docs.github.com/rest/reference/actions#approve-a-workflow-run-for-a-fork-pull-request", + "previews": [], + "headers": [], + "parameters": [ + { + "name": "owner", + "description": "", + "in": "PATH", + "type": "string", + "required": true, + "enum": null, + "allowNull": false, + "mapToData": null, + "validation": null, + "alias": null, + "deprecated": null + }, + { + "name": "repo", + "description": "", + "in": "PATH", + "type": "string", + "required": true, + "enum": null, + "allowNull": false, + "mapToData": null, + "validation": null, + "alias": null, + "deprecated": null + }, + { + "name": "run_id", + "description": "The id of the workflow run.", + "in": "PATH", + "type": "integer", + "required": true, + "enum": null, + "allowNull": false, + "mapToData": null, + "validation": null, + "alias": null, + "deprecated": null + } + ], + "responses": [ + { "code": 201, "description": "Response", "examples": null }, + { "code": 403, "description": "Forbidden", "examples": null }, + { "code": 404, "description": "Resource not found", "examples": null } + ], + "renamed": null + }, { "name": "Cancel a workflow run", "scope": "actions", @@ -107,7 +167,7 @@ }, { "name": "run_id", - "description": "The id of the workflow run", + "description": "The id of the workflow run.", "in": "PATH", "type": "integer", "required": true, @@ -1048,7 +1108,7 @@ }, { "name": "run_id", - "description": "The id of the workflow run", + "description": "The id of the workflow run.", "in": "PATH", "type": "integer", "required": true, @@ -1104,7 +1164,7 @@ }, { "name": "run_id", - "description": "The id of the workflow run", + "description": "The id of the workflow run.", "in": "PATH", "type": "integer", "required": true, @@ -1384,7 +1444,7 @@ }, { "name": "run_id", - "description": "The id of the workflow run", + "description": "The id of the workflow run.", "in": "PATH", "type": "integer", "required": true, @@ -2069,7 +2129,7 @@ }, { "name": "run_id", - "description": "The id of the workflow run", + "description": "The id of the workflow run.", "in": "PATH", "type": "integer", "required": true, @@ -2315,7 +2375,7 @@ }, { "name": "run_id", - "description": "The id of the workflow run", + "description": "The id of the workflow run.", "in": "PATH", "type": "integer", "required": true, @@ -2566,7 +2626,7 @@ }, { "name": "run_id", - "description": "The id of the workflow run", + "description": "The id of the workflow run.", "in": "PATH", "type": "integer", "required": true, @@ -2632,7 +2692,7 @@ }, { "name": "run_id", - "description": "The id of the workflow run", + "description": "The id of the workflow run.", "in": "PATH", "type": "integer", "required": true, @@ -2922,7 +2982,7 @@ }, { "name": "run_id", - "description": "The id of the workflow run", + "description": "The id of the workflow run.", "in": "PATH", "type": "integer", "required": true, @@ -3634,7 +3694,7 @@ }, { "name": "run_id", - "description": "The id of the workflow run", + "description": "The id of the workflow run.", "in": "PATH", "type": "integer", "required": true, @@ -4029,7 +4089,7 @@ }, { "name": "run_id", - "description": "The id of the workflow run", + "description": "The id of the workflow run.", "in": "PATH", "type": "integer", "required": true, @@ -4152,7 +4212,7 @@ }, { "name": "run_id", - "description": "The id of the workflow run", + "description": "The id of the workflow run.", "in": "PATH", "type": "integer", "required": true, @@ -6806,7 +6866,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Use this endpoint to complete the handshake necessary when implementing the [GitHub App Manifest flow](https://docs.github.com/apps/building-github-apps/creating-github-apps-from-a-manifest/). When you create a GitHub App with the manifest flow, you receive a temporary `code` used to retrieve the GitHub App's `id`, `pem` (private key), and `webhook_secret`.", - "documentationUrl": "https://docs.github.com/rest/reference/apps/#create-a-github-app-from-a-manifest", + "documentationUrl": "https://docs.github.com/rest/reference/apps#create-a-github-app-from-a-manifest", "previews": [], "headers": [], "parameters": [ @@ -7376,7 +7436,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Uninstalls a GitHub App on a user, organization, or business account. If you prefer to temporarily suspend an app's access to your account's resources, then we recommend the \"[Suspend an app installation](https://docs.github.com/rest/reference/apps/#suspend-an-app-installation)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", - "documentationUrl": "https://docs.github.com/rest/reference/apps/#delete-an-installation-for-the-authenticated-app", + "documentationUrl": "https://docs.github.com/rest/reference/apps#delete-an-installation-for-the-authenticated-app", "previews": [], "headers": [], "parameters": [ @@ -7455,7 +7515,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Returns the GitHub App associated with the authentication credentials used. To see how many app installations are associated with this GitHub App, see the `installations_count` in the response. For more details about your app's installations, see the \"[List installations for the authenticated app](https://docs.github.com/rest/reference/apps#list-installations-for-the-authenticated-app)\" endpoint.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", - "documentationUrl": "https://docs.github.com/rest/reference/apps/#get-the-authenticated-app", + "documentationUrl": "https://docs.github.com/rest/reference/apps#get-the-authenticated-app", "previews": [], "headers": [], "parameters": [], @@ -7524,7 +7584,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Enables an authenticated GitHub App to find an installation's information using the installation id. The installation's account type (`target_type`) will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", - "documentationUrl": "https://docs.github.com/rest/reference/apps/#get-an-installation-for-the-authenticated-app", + "documentationUrl": "https://docs.github.com/rest/reference/apps#get-an-installation-for-the-authenticated-app", "previews": [], "headers": [], "parameters": [ @@ -7566,7 +7626,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Enables an authenticated GitHub App to find the organization's installation information.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", - "documentationUrl": "https://docs.github.com/rest/reference/apps/#get-an-organization-installation-for-the-authenticated-app", + "documentationUrl": "https://docs.github.com/rest/reference/apps#get-an-organization-installation-for-the-authenticated-app", "previews": [], "headers": [], "parameters": [ @@ -7606,7 +7666,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Enables an authenticated GitHub App to find the repository's installation information. The installation's account type will be either an organization or a user account, depending which account the repository belongs to.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", - "documentationUrl": "https://docs.github.com/rest/reference/apps/#get-a-repository-installation-for-the-authenticated-app", + "documentationUrl": "https://docs.github.com/rest/reference/apps#get-a-repository-installation-for-the-authenticated-app", "previews": [], "headers": [], "parameters": [ @@ -7761,7 +7821,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Enables an authenticated GitHub App to find the user’s installation information.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", - "documentationUrl": "https://docs.github.com/rest/reference/apps/#get-a-user-installation-for-the-authenticated-app", + "documentationUrl": "https://docs.github.com/rest/reference/apps#get-a-user-installation-for-the-authenticated-app", "previews": [], "headers": [], "parameters": [ @@ -8092,7 +8152,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "You must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.\n\nThe permissions the installation has are included under the `permissions` key.", - "documentationUrl": "https://docs.github.com/rest/reference/apps/#list-installations-for-the-authenticated-app", + "documentationUrl": "https://docs.github.com/rest/reference/apps#list-installations-for-the-authenticated-app", "previews": [], "headers": [], "parameters": [ @@ -9301,7 +9361,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Suspends a GitHub App on a user, organization, or business account, which blocks the app from accessing the account's resources. When a GitHub App is suspended, the app's access to the GitHub API or webhook events is blocked for that account.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", - "documentationUrl": "https://docs.github.com/rest/reference/apps/#suspend-an-app-installation", + "documentationUrl": "https://docs.github.com/rest/reference/apps#suspend-an-app-installation", "previews": [], "headers": [], "parameters": [ @@ -9334,7 +9394,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Removes a GitHub App installation suspension.\n\nYou must use a [JWT](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/#authenticating-as-a-github-app) to access this endpoint.", - "documentationUrl": "https://docs.github.com/rest/reference/apps/#unsuspend-an-app-installation", + "documentationUrl": "https://docs.github.com/rest/reference/apps#unsuspend-an-app-installation", "previews": [], "headers": [], "parameters": [ @@ -9446,7 +9506,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAccess tokens must have the `repo` or `admin:org` scope.", - "documentationUrl": "https://docs.github.com/rest/reference/billing/#get-github-actions-billing-for-an-organization", + "documentationUrl": "https://docs.github.com/rest/reference/billing#get-github-actions-billing-for-an-organization", "previews": [], "headers": [], "parameters": [ @@ -9486,7 +9546,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Gets the summary of the free and paid GitHub Actions minutes used.\n\nPaid minutes only apply to workflows in private repositories that use GitHub-hosted runners. Minutes used is listed for each GitHub-hosted runner operating system. Any job re-runs are also included in the usage. The usage returned includes any minute multipliers for macOS and Windows runners, and is rounded up to the nearest whole minute. For more information, see \"[Managing billing for GitHub Actions](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions)\".\n\nAccess tokens must have the `user` scope.", - "documentationUrl": "https://docs.github.com/rest/reference/billing/#get-github-actions-billing-for-a-user", + "documentationUrl": "https://docs.github.com/rest/reference/billing#get-github-actions-billing-for-a-user", "previews": [], "headers": [], "parameters": [ @@ -9526,7 +9586,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Gets the free and paid storage usued for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nAccess tokens must have the `repo` or `admin:org` scope.", - "documentationUrl": "https://docs.github.com/rest/reference/billing/#get-github-packages-billing-for-an-organization", + "documentationUrl": "https://docs.github.com/rest/reference/billing#get-github-packages-billing-for-an-organization", "previews": [], "headers": [], "parameters": [ @@ -9566,7 +9626,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Gets the free and paid storage used for GitHub Packages in gigabytes.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nAccess tokens must have the `user` scope.", - "documentationUrl": "https://docs.github.com/rest/reference/billing/#get-github-packages-billing-for-a-user", + "documentationUrl": "https://docs.github.com/rest/reference/billing#get-github-packages-billing-for-a-user", "previews": [], "headers": [], "parameters": [ @@ -9606,7 +9666,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and Github Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nAccess tokens must have the `repo` or `admin:org` scope.", - "documentationUrl": "https://docs.github.com/rest/reference/billing/#get-shared-storage-billing-for-an-organization", + "documentationUrl": "https://docs.github.com/rest/reference/billing#get-shared-storage-billing-for-an-organization", "previews": [], "headers": [], "parameters": [ @@ -9646,7 +9706,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Gets the estimated paid and estimated total storage used for GitHub Actions and Github Packages.\n\nPaid minutes only apply to packages stored for private repositories. For more information, see \"[Managing billing for GitHub Packages](https://help.github.com/github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-packages).\"\n\nAccess tokens must have the `user` scope.", - "documentationUrl": "https://docs.github.com/rest/reference/billing/#get-shared-storage-billing-for-a-user", + "documentationUrl": "https://docs.github.com/rest/reference/billing#get-shared-storage-billing-for-a-user", "previews": [], "headers": [], "parameters": [ @@ -11305,7 +11365,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Gets information about a SARIF upload, including the status and the URL of the analysis that was uploaded so that you can retrieve details of the analysis. For more information, see \"[Get a code scanning analysis for a repository](/rest/reference/code-scanning#get-a-code-scanning-analysis-for-a-repository).\" You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.", - "documentationUrl": "https://docs.github.com/rest/reference/code-scanning#get-information-about-a-sarif-upload", + "documentationUrl": "https://docs.github.com/rest/reference/code-scanning#list-recent-code-scanning-analyses-for-a-repository", "previews": [], "headers": [], "parameters": [ @@ -11373,6 +11433,118 @@ ], "renamed": null }, + { + "name": "List instances of a code scanning alert", + "scope": "codeScanning", + "id": "listAlertInstances", + "method": "GET", + "url": "/repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances", + "isDeprecated": false, + "deprecationDate": null, + "description": "Lists all instances of the specified code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint.", + "documentationUrl": "https://docs.github.com/rest/reference/code-scanning#list-instances-of-a-code-scanning-alert", + "previews": [], + "headers": [], + "parameters": [ + { + "name": "owner", + "description": "", + "in": "PATH", + "type": "string", + "required": true, + "enum": null, + "allowNull": false, + "mapToData": null, + "validation": null, + "alias": null, + "deprecated": null + }, + { + "name": "repo", + "description": "", + "in": "PATH", + "type": "string", + "required": true, + "enum": null, + "allowNull": false, + "mapToData": null, + "validation": null, + "alias": null, + "deprecated": null + }, + { + "name": "alert_number", + "description": "The number that identifies an alert. You can find this at the end of the URL for a code scanning alert within GitHub, and in the `number` field in the response from the `GET /repos/{owner}/{repo}/code-scanning/alerts` operation.", + "in": "PATH", + "type": "integer", + "required": true, + "enum": null, + "allowNull": false, + "mapToData": null, + "validation": null, + "alias": null, + "deprecated": null + }, + { + "name": "page", + "description": "Page number of the results to fetch.", + "in": "QUERY", + "type": "integer", + "required": false, + "enum": null, + "allowNull": false, + "mapToData": null, + "validation": null, + "alias": null, + "deprecated": null + }, + { + "name": "per_page", + "description": "Results per page (max 100).", + "in": "QUERY", + "type": "integer", + "required": false, + "enum": null, + "allowNull": false, + "mapToData": null, + "validation": null, + "alias": null, + "deprecated": null + }, + { + "name": "ref", + "description": "The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`.", + "in": "QUERY", + "type": "string", + "required": false, + "enum": null, + "allowNull": false, + "mapToData": null, + "validation": null, + "alias": null, + "deprecated": null + } + ], + "responses": [ + { + "code": 200, + "description": "Response", + "examples": [ + { + "data": "[{\"ref\":\"refs/heads/main\",\"analysis_key\":\".github/workflows/codeql-analysis.yml:CodeQL-Build\",\"environment\":\"\",\"state\":\"open\",\"commit_sha\":\"39406e42cb832f683daa691dd652a8dc36ee8930\",\"message\":{\"text\":\"This path depends on a user-provided value.\"},\"location\":{\"path\":\"lib/ab12-gen.js\",\"start_line\":917,\"end_line\":917,\"start_column\":7,\"end_column\":18},\"classifications\":[\"library\"]},{\"ref\":\"refs/pull/3740/merge\",\"analysis_key\":\".github/workflows/codeql-analysis.yml:CodeQL-Build\",\"environment\":\"\",\"state\":\"fixed\",\"commit_sha\":\"b09da05606e27f463a2b49287684b4ae777092f2\",\"message\":{\"text\":\"This suffix check is missing a length comparison to correctly handle lastIndexOf returning -1.\"},\"location\":{\"path\":\"app/script.js\",\"start_line\":2,\"end_line\":2,\"start_column\":10,\"end_column\":50},\"classifications\":[\"source\"]}]" + } + ] + }, + { + "code": 403, + "description": "Response if GitHub Advanced Security is not enabled for this repository", + "examples": null + }, + { "code": 404, "description": "Resource not found", "examples": null }, + { "code": 503, "description": "Service unavailable", "examples": null } + ], + "renamed": null + }, { "name": "List code scanning alerts for a repository", "scope": "codeScanning", @@ -11621,7 +11793,12 @@ { "code": 404, "description": "Resource not found", "examples": null }, { "code": 503, "description": "Service unavailable", "examples": null } ], - "renamed": null + "renamed": { + "before": { "scope": "codeScanning", "id": "listAlertsInstances" }, + "after": { "scope": "codeScanning", "id": "listAlertInstances" }, + "date": "2021-04-30", + "note": null + } }, { "name": "List code scanning analyses for a repository", @@ -11869,7 +12046,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Uploads SARIF data containing the results of a code scanning analysis to make the results available in a repository. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` write permission to use this endpoint.\n\nThere are two places where you can upload code scanning results.\n - If you upload to a pull request, for example `--ref refs/pull/42/merge` or `--ref refs/pull/42/head`, then the results appear as alerts in a pull request check. For more information, see \"[Triaging code scanning alerts in pull requests](/github/finding-security-vulnerabilities-and-errors-in-your-code/triaging-code-scanning-alerts-in-pull-requests).\"\n - If you upload to a branch, for example `--ref refs/heads/my-branch`, then the results appear in the **Security** tab for your repository. For more information, see \"[Managing code scanning alerts for your repository](/github/finding-security-vulnerabilities-and-errors-in-your-code/managing-code-scanning-alerts-for-your-repository#viewing-the-alerts-for-a-repository).\"\n\nYou must compress the SARIF-formatted analysis data that you want to upload, using `gzip`, and then encode it as a Base64 format string. For example:\n\n```\ngzip -c analysis-data.sarif | base64 -w0\n```\n\nSARIF upload supports a maximum of 5000 results per analysis run. Any results over this limit are ignored and any SARIF uploads with more than 25,000 results are rejected. Typically, but not necessarily, a SARIF file contains a single run of a single tool. If a code scanning tool generates too many results, you should update the analysis configuration to run only the most important rules or queries.\n\nThe `202 Accepted`, response includes an `id` value.\nYou can use this ID to check the status of the upload by using this for the `/sarifs/{sarif_id}` endpoint.\nFor more information, see \"[Get information about a SARIF upload](/rest/reference/code-scanning#get-information-about-a-sarif-upload).\"", - "documentationUrl": "https://docs.github.com/rest/reference/code-scanning#upload-an-analysis-as-sarif-data", + "documentationUrl": "https://docs.github.com/rest/reference/code-scanning#upload-a-sarif-file", "previews": [], "headers": [], "parameters": [ @@ -12017,7 +12194,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "", - "documentationUrl": "https://docs.github.com/rest/reference/codes_of_conduct/#get-all-codes-of-conduct", + "documentationUrl": "https://docs.github.com/rest/reference/codes-of-conduct#get-all-codes-of-conduct", "previews": [{ "name": "scarlet-witch" }], "headers": [], "parameters": [], @@ -12045,7 +12222,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "", - "documentationUrl": "https://docs.github.com/rest/reference/codes_of_conduct/#get-a-code-of-conduct", + "documentationUrl": "https://docs.github.com/rest/reference/codes-of-conduct#get-a-code-of-conduct", "previews": [{ "name": "scarlet-witch" }], "headers": [], "parameters": [ @@ -12088,7 +12265,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Returns the contents of the repository's code of conduct file, if one is detected.\n\nA code of conduct is detected if there is a file named `CODE_OF_CONDUCT` in the root directory of the repository. GitHub detects which code of conduct it is using fuzzy matching.", - "documentationUrl": "https://docs.github.com/rest/reference/codes_of_conduct/#get-the-code-of-conduct-for-a-repository", + "documentationUrl": "https://docs.github.com/rest/reference/codes-of-conduct#get-the-code-of-conduct-for-a-repository", "previews": [{ "name": "scarlet-witch" }], "headers": [], "parameters": [ @@ -12141,7 +12318,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Lists all the emojis available to use on GitHub.", - "documentationUrl": "https://docs.github.com/rest/reference/emojis/#get-emojis", + "documentationUrl": "https://docs.github.com/rest/reference/emojis#get-emojis", "previews": [], "headers": [], "parameters": [], @@ -12560,7 +12737,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "", - "documentationUrl": "https://docs.github.com/rest/reference/gists/#check-if-a-gist-is-starred", + "documentationUrl": "https://docs.github.com/rest/reference/gists#check-if-a-gist-is-starred", "previews": [], "headers": [], "parameters": [ @@ -12603,7 +12780,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Allows you to add a new gist with one or more files.\n\n**Note:** Don't name your files \"gistfile\" with a numerical suffix. This is the format of the automatic naming scheme that Gist uses internally.", - "documentationUrl": "https://docs.github.com/rest/reference/gists/#create-a-gist", + "documentationUrl": "https://docs.github.com/rest/reference/gists#create-a-gist", "previews": [], "headers": [], "parameters": [ @@ -12755,7 +12932,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "", - "documentationUrl": "https://docs.github.com/rest/reference/gists/#delete-a-gist", + "documentationUrl": "https://docs.github.com/rest/reference/gists#delete-a-gist", "previews": [], "headers": [], "parameters": [ @@ -12838,7 +13015,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "**Note**: This was previously `/gists/:gist_id/fork`.", - "documentationUrl": "https://docs.github.com/rest/reference/gists/#fork-a-gist", + "documentationUrl": "https://docs.github.com/rest/reference/gists#fork-a-gist", "previews": [], "headers": [], "parameters": [ @@ -12882,7 +13059,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "", - "documentationUrl": "https://docs.github.com/rest/reference/gists/#get-a-gist", + "documentationUrl": "https://docs.github.com/rest/reference/gists#get-a-gist", "previews": [], "headers": [], "parameters": [ @@ -12981,7 +13158,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "", - "documentationUrl": "https://docs.github.com/rest/reference/gists/#get-a-gist-revision", + "documentationUrl": "https://docs.github.com/rest/reference/gists#get-a-gist-revision", "previews": [], "headers": [], "parameters": [ @@ -13037,7 +13214,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Lists the authenticated user's gists or if called anonymously, this endpoint returns all public gists:", - "documentationUrl": "https://docs.github.com/rest/reference/gists/#list-gists-for-the-authenticated-user", + "documentationUrl": "https://docs.github.com/rest/reference/gists#list-gists-for-the-authenticated-user", "previews": [], "headers": [], "parameters": [ @@ -13174,7 +13351,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "", - "documentationUrl": "https://docs.github.com/rest/reference/gists/#list-gist-commits", + "documentationUrl": "https://docs.github.com/rest/reference/gists#list-gist-commits", "previews": [], "headers": [], "parameters": [ @@ -13243,7 +13420,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Lists public gists for the specified user:", - "documentationUrl": "https://docs.github.com/rest/reference/gists/#list-gists-for-a-user", + "documentationUrl": "https://docs.github.com/rest/reference/gists#list-gists-for-a-user", "previews": [], "headers": [], "parameters": [ @@ -13323,7 +13500,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "", - "documentationUrl": "https://docs.github.com/rest/reference/gists/#list-gist-forks", + "documentationUrl": "https://docs.github.com/rest/reference/gists#list-gist-forks", "previews": [], "headers": [], "parameters": [ @@ -13392,7 +13569,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "List public gists sorted by most recently updated to least recently updated.\n\nNote: With [pagination](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination), you can fetch up to 3000 gists. For example, you can fetch 100 pages with 30 gists per page or 30 pages with 100 gists per page.", - "documentationUrl": "https://docs.github.com/rest/reference/gists/#list-public-gists", + "documentationUrl": "https://docs.github.com/rest/reference/gists#list-public-gists", "previews": [], "headers": [], "parameters": [ @@ -13461,7 +13638,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "List the authenticated user's starred gists:", - "documentationUrl": "https://docs.github.com/rest/reference/gists/#list-starred-gists", + "documentationUrl": "https://docs.github.com/rest/reference/gists#list-starred-gists", "previews": [], "headers": [], "parameters": [ @@ -13534,7 +13711,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Note that you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"", - "documentationUrl": "https://docs.github.com/rest/reference/gists/#star-a-gist", + "documentationUrl": "https://docs.github.com/rest/reference/gists#star-a-gist", "previews": [], "headers": [], "parameters": [ @@ -13569,7 +13746,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "", - "documentationUrl": "https://docs.github.com/rest/reference/gists/#unstar-a-gist", + "documentationUrl": "https://docs.github.com/rest/reference/gists#unstar-a-gist", "previews": [], "headers": [], "parameters": [ @@ -15068,7 +15245,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "List all templates available to pass as an option when [creating a repository](https://docs.github.com/rest/reference/repos#create-a-repository-for-the-authenticated-user).", - "documentationUrl": "https://docs.github.com/rest/reference/gitignore/#get-all-gitignore-templates", + "documentationUrl": "https://docs.github.com/rest/reference/gitignore#get-all-gitignore-templates", "previews": [], "headers": [], "parameters": [], @@ -15095,7 +15272,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "The API also allows fetching the source of a single template.\nUse the raw [media type](https://docs.github.com/rest/overview/media-types/) to get the raw contents.", - "documentationUrl": "https://docs.github.com/rest/reference/gitignore/#get-a-gitignore-template", + "documentationUrl": "https://docs.github.com/rest/reference/gitignore#get-a-gitignore-template", "previews": [], "headers": [], "parameters": [ @@ -15951,7 +16128,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Any user with pull access to a repository can create an issue. If [issues are disabled in the repository](https://help.github.com/articles/disabling-issues/), the API returns a `410 Gone` status.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.", - "documentationUrl": "https://docs.github.com/rest/reference/issues/#create-an-issue", + "documentationUrl": "https://docs.github.com/rest/reference/issues#create-an-issue", "previews": [], "headers": [], "parameters": [ @@ -16542,7 +16719,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "The API returns a [`301 Moved Permanently` status](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-redirects-redirects) if the issue was\n[transferred](https://help.github.com/articles/transferring-an-issue-to-another-repository/) to another repository. If\nthe issue was transferred to or deleted from a repository where the authenticated user lacks read access, the API\nreturns a `404 Not Found` status. If the issue was deleted from a repository where the authenticated user has read\naccess, the API returns a `410 Gone` status. To receive webhook events for transferred and deleted issues, subscribe\nto the [`issues`](https://docs.github.com/webhooks/event-payloads/#issues) webhook.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)\" endpoint.", - "documentationUrl": "https://docs.github.com/rest/reference/issues/#get-an-issue", + "documentationUrl": "https://docs.github.com/rest/reference/issues#get-an-issue", "previews": [], "headers": [], "parameters": [ @@ -16882,7 +17059,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "List issues assigned to the authenticated user across all visible repositories including owned repositories, member\nrepositories, and organization repositories. You can use the `filter` query parameter to fetch issues that are not\nnecessarily assigned to you.\n\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)\" endpoint.", - "documentationUrl": "https://docs.github.com/rest/reference/issues/#list-issues-assigned-to-the-authenticated-user", + "documentationUrl": "https://docs.github.com/rest/reference/issues#list-issues-assigned-to-the-authenticated-user", "previews": [], "headers": [], "parameters": [ @@ -17650,7 +17827,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "List issues across owned and member repositories assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)\" endpoint.", - "documentationUrl": "https://docs.github.com/rest/reference/issues/#list-user-account-issues-assigned-to-the-authenticated-user", + "documentationUrl": "https://docs.github.com/rest/reference/issues#list-user-account-issues-assigned-to-the-authenticated-user", "previews": [], "headers": [], "parameters": [ @@ -17790,7 +17967,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "List issues in an organization assigned to the authenticated user.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)\" endpoint.", - "documentationUrl": "https://docs.github.com/rest/reference/issues/#list-organization-issues-assigned-to-the-authenticated-user", + "documentationUrl": "https://docs.github.com/rest/reference/issues#list-organization-issues-assigned-to-the-authenticated-user", "previews": [], "headers": [], "parameters": [ @@ -17942,7 +18119,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "List issues in a repository.\n\n**Note**: GitHub's REST API v3 considers every pull request an issue, but not every issue is a pull request. For this\nreason, \"Issues\" endpoints may return both issues and pull requests in the response. You can identify pull requests by\nthe `pull_request` key. Be aware that the `id` of a pull request returned from \"Issues\" endpoints will be an _issue id_. To find out the pull\nrequest id, use the \"[List pull requests](https://docs.github.com/rest/reference/pulls#list-pull-requests)\" endpoint.", - "documentationUrl": "https://docs.github.com/rest/reference/issues/#list-repository-issues", + "documentationUrl": "https://docs.github.com/rest/reference/issues#list-repository-issues", "previews": [], "headers": [], "parameters": [ @@ -18525,7 +18702,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Users with push access can lock an issue or pull request's conversation.\n\nNote that, if you choose not to pass any parameters, you'll need to set `Content-Length` to zero when calling out to this endpoint. For more information, see \"[HTTP verbs](https://docs.github.com/rest/overview/resources-in-the-rest-api#http-verbs).\"", - "documentationUrl": "https://docs.github.com/rest/reference/issues/#lock-an-issue", + "documentationUrl": "https://docs.github.com/rest/reference/issues#lock-an-issue", "previews": [], "headers": [], "parameters": [ @@ -18887,7 +19064,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Users with push access can unlock an issue's conversation.", - "documentationUrl": "https://docs.github.com/rest/reference/issues/#unlock-an-issue", + "documentationUrl": "https://docs.github.com/rest/reference/issues#unlock-an-issue", "previews": [], "headers": [], "parameters": [ @@ -19413,7 +19590,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "", - "documentationUrl": "https://docs.github.com/rest/reference/licenses/#get-a-license", + "documentationUrl": "https://docs.github.com/rest/reference/licenses#get-a-license", "previews": [], "headers": [], "parameters": [ @@ -19456,7 +19633,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "", - "documentationUrl": "https://docs.github.com/rest/reference/licenses/#get-all-commonly-used-licenses", + "documentationUrl": "https://docs.github.com/rest/reference/licenses#get-all-commonly-used-licenses", "previews": [], "headers": [], "parameters": [ @@ -19576,7 +19753,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "", - "documentationUrl": "https://docs.github.com/rest/reference/markdown/#render-a-markdown-document", + "documentationUrl": "https://docs.github.com/rest/reference/markdown#render-a-markdown-document", "previews": [], "headers": [], "parameters": [ @@ -19635,7 +19812,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "You must send Markdown as plain text (using a `Content-Type` header of `text/plain` or `text/x-markdown`) to this endpoint, rather than using JSON format. In raw mode, [GitHub Flavored Markdown](https://github.github.com/gfm/) is not supported and Markdown will be rendered in plain format like a README.md file. Markdown content must be 400 KB or less.", - "documentationUrl": "https://docs.github.com/rest/reference/markdown/#render-a-markdown-document-in-raw-mode", + "documentationUrl": "https://docs.github.com/rest/reference/markdown#render-a-markdown-document-in-raw-mode", "previews": [], "headers": [ { @@ -19674,7 +19851,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Returns meta information about GitHub, including a list of GitHub's IP addresses. For more information, see \"[About GitHub's IP addresses](https://help.github.com/articles/about-github-s-ip-addresses/).\"\n\n**Note:** The IP addresses shown in the documentation's response are only example values. You must always query the API directly to get the latest list of IP addresses.", - "documentationUrl": "https://docs.github.com/rest/reference/meta/#get-github-meta-information", + "documentationUrl": "https://docs.github.com/rest/reference/meta#get-github-meta-information", "previews": [], "headers": [], "parameters": [], @@ -19701,7 +19878,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Get the octocat as ASCII art", - "documentationUrl": "", + "documentationUrl": "https://docs.github.com/rest/reference/meta#get-octocat", "previews": [], "headers": [], "parameters": [ @@ -19747,7 +19924,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Get Hypermedia links to resources accessible in GitHub's REST API", - "documentationUrl": "", + "documentationUrl": "https://docs.github.com/rest/overview/resources-in-the-rest-api#root-endpoint", "previews": [], "headers": [], "parameters": [], @@ -22668,7 +22845,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "To see many of the organization response values, you need to be an authenticated organization owner with the `admin:org` scope. When the value of `two_factor_requirement_enabled` is `true`, the organization requires all members, billing managers, and outside collaborators to enable [two-factor authentication](https://help.github.com/articles/securing-your-account-with-two-factor-authentication-2fa/).\n\nGitHub Apps with the `Organization plan` permission can use this endpoint to retrieve information about an organization's GitHub plan. See \"[Authenticating with GitHub Apps](https://docs.github.com/apps/building-github-apps/authenticating-with-github-apps/)\" for details. For an example response, see 'Response with GitHub plan information' below.\"", - "documentationUrl": "https://docs.github.com/rest/reference/orgs/#get-an-organization", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#get-an-organization", "previews": [], "headers": [], "parameters": [ @@ -22913,7 +23090,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Lists all organizations, in the order that they were created on GitHub.\n\n**Note:** Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of organizations.", - "documentationUrl": "https://docs.github.com/rest/reference/orgs/#list-organizations", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#list-organizations", "previews": [], "headers": [], "parameters": [ @@ -22967,7 +23144,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Lists all GitHub Apps in an organization. The installation count includes all GitHub Apps installed on repositories in the organization. You must be an organization owner with `admin:read` scope to use this endpoint.", - "documentationUrl": "https://docs.github.com/rest/reference/orgs/#list-app-installations-for-an-organization", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#list-app-installations-for-an-organization", "previews": [], "headers": [], "parameters": [ @@ -23141,7 +23318,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "List organizations for the authenticated user.\n\n**OAuth scope requirements**\n\nThis only lists organizations that your authorization allows you to operate on in some way (e.g., you can list teams with `read:org` scope, you can publicize your organization membership with `user` scope, etc.). Therefore, this API requires at least `user` or `read:org` scope. OAuth requests with insufficient scope receive a `403 Forbidden` response.", - "documentationUrl": "https://docs.github.com/rest/reference/orgs/#list-organizations-for-the-authenticated-user", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#list-organizations-for-the-authenticated-user", "previews": [], "headers": [], "parameters": [ @@ -23201,7 +23378,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "List [public organization memberships](https://help.github.com/articles/publicizing-or-concealing-organization-membership) for the specified user.\n\nThis method only lists _public_ memberships, regardless of authentication. If you need to fetch all of the organization memberships (public and private) for the authenticated user, use the [List organizations for the authenticated user](https://docs.github.com/rest/reference/orgs#list-organizations-for-the-authenticated-user) API instead.", - "documentationUrl": "https://docs.github.com/rest/reference/orgs/#list-organizations-for-a-user", + "documentationUrl": "https://docs.github.com/rest/reference/orgs#list-organizations-for-a-user", "previews": [], "headers": [], "parameters": [ @@ -25065,7 +25242,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Returns all package versions for a package owned by an organization.\n\nTo use this endpoint, you must authenticate using an access token with the `packages:read` scope.\nIf `package_type` is not `container`, your token must also include the `repo` scope.", - "documentationUrl": "https://docs.github.com/rest/reference/packages#get-all-package-versions-for-a-package-owned-by-the-authenticated-user", + "documentationUrl": "https://docs.github.com/rest/reference/packages#get-all-package-versions-for-a-package-owned-by-an-organization", "previews": [], "headers": [], "parameters": [ @@ -25397,7 +25574,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Returns all package versions for a package owned by an organization.\n\nTo use this endpoint, you must authenticate using an access token with the `packages:read` scope.\nIf `package_type` is not `container`, your token must also include the `repo` scope.", - "documentationUrl": "https://docs.github.com/rest/reference/packages#get-all-package-versions-for-a-package-owned-by-the-authenticated-user", + "documentationUrl": "https://docs.github.com/rest/reference/packages#get-all-package-versions-for-a-package-owned-by-an-organization", "previews": [], "headers": [], "parameters": [ @@ -26498,7 +26675,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "", - "documentationUrl": "https://docs.github.com/rest/reference/projects/#create-a-user-project", + "documentationUrl": "https://docs.github.com/rest/reference/projects#create-a-user-project", "previews": [{ "name": "inertia" }], "headers": [], "parameters": [ @@ -26564,7 +26741,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Creates an organization project board. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.", - "documentationUrl": "https://docs.github.com/rest/reference/projects/#create-an-organization-project", + "documentationUrl": "https://docs.github.com/rest/reference/projects#create-an-organization-project", "previews": [{ "name": "inertia" }], "headers": [], "parameters": [ @@ -26639,7 +26816,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Creates a repository project board. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.", - "documentationUrl": "https://docs.github.com/rest/reference/projects/#create-a-repository-project", + "documentationUrl": "https://docs.github.com/rest/reference/projects#create-a-repository-project", "previews": [{ "name": "inertia" }], "headers": [], "parameters": [ @@ -26727,7 +26904,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Deletes a project board. Returns a `404 Not Found` status if projects are disabled.", - "documentationUrl": "https://docs.github.com/rest/reference/projects/#delete-a-project", + "documentationUrl": "https://docs.github.com/rest/reference/projects#delete-a-project", "previews": [{ "name": "inertia" }], "headers": [], "parameters": [ @@ -26847,7 +27024,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Gets a project by its `id`. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.", - "documentationUrl": "https://docs.github.com/rest/reference/projects/#get-a-project", + "documentationUrl": "https://docs.github.com/rest/reference/projects#get-a-project", "previews": [{ "name": "inertia" }], "headers": [], "parameters": [ @@ -27309,7 +27486,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Lists the projects in an organization. Returns a `404 Not Found` status if projects are disabled in the organization. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.", - "documentationUrl": "https://docs.github.com/rest/reference/projects/#list-organization-projects", + "documentationUrl": "https://docs.github.com/rest/reference/projects#list-organization-projects", "previews": [{ "name": "inertia" }], "headers": [], "parameters": [ @@ -27389,7 +27566,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Lists the projects in a repository. Returns a `404 Not Found` status if projects are disabled in the repository. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.", - "documentationUrl": "https://docs.github.com/rest/reference/projects/#list-repository-projects", + "documentationUrl": "https://docs.github.com/rest/reference/projects#list-repository-projects", "previews": [{ "name": "inertia" }], "headers": [], "parameters": [ @@ -27490,7 +27667,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "", - "documentationUrl": "https://docs.github.com/rest/reference/projects/#list-user-projects", + "documentationUrl": "https://docs.github.com/rest/reference/projects#list-user-projects", "previews": [{ "name": "inertia" }], "headers": [], "parameters": [ @@ -27754,7 +27931,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Updates a project board's information. Returns a `404 Not Found` status if projects are disabled. If you do not have sufficient privileges to perform this action, a `401 Unauthorized` or `410 Gone` status is returned.", - "documentationUrl": "https://docs.github.com/rest/reference/projects/#update-a-project", + "documentationUrl": "https://docs.github.com/rest/reference/projects#update-a-project", "previews": [{ "name": "inertia" }], "headers": [], "parameters": [ @@ -28008,7 +28185,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "", - "documentationUrl": "https://docs.github.com/rest/reference/pulls/#check-if-a-pull-request-has-been-merged", + "documentationUrl": "https://docs.github.com/rest/reference/pulls#check-if-a-pull-request-has-been-merged", "previews": [], "headers": [], "parameters": [ @@ -28075,7 +28252,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nTo open or update a pull request in a public repository, you must have write access to the head or the source branch. For organization-owned repositories, you must be a member of the organization that owns the repository to open or update a pull request.\n\nYou can create a new pull request.\n\nThis endpoint triggers [notifications](https://docs.github.com/en/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-rate-limits)\" for details.", - "documentationUrl": "https://docs.github.com/rest/reference/pulls/#create-a-pull-request", + "documentationUrl": "https://docs.github.com/rest/reference/pulls#create-a-pull-request", "previews": [], "headers": [], "parameters": [ @@ -28957,7 +29134,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.\n\nLists details of a pull request by providing its number.\n\nWhen you get, [create](https://docs.github.com/rest/reference/pulls/#create-a-pull-request), or [edit](https://docs.github.com/rest/reference/pulls#update-a-pull-request) a pull request, GitHub creates a merge commit to test whether the pull request can be automatically merged into the base branch. This test commit is not added to the base branch or the head branch. You can review the status of the test commit using the `mergeable` key. For more information, see \"[Checking mergeability of pull requests](https://docs.github.com/rest/guides/getting-started-with-the-git-database-api#checking-mergeability-of-pull-requests)\".\n\nThe value of the `mergeable` attribute can be `true`, `false`, or `null`. If the value is `null`, then GitHub has started a background job to compute the mergeability. After giving the job time to complete, resubmit the request. When the job finishes, you will see a non-`null` value for the `mergeable` attribute in the response. If `mergeable` is `true`, then `merge_commit_sha` will be the SHA of the _test_ merge commit.\n\nThe value of the `merge_commit_sha` attribute changes depending on the state of the pull request. Before merging a pull request, the `merge_commit_sha` attribute holds the SHA of the _test_ merge commit. After merging a pull request, the `merge_commit_sha` attribute changes depending on how you merged the pull request:\n\n* If merged as a [merge commit](https://help.github.com/articles/about-merge-methods-on-github/), `merge_commit_sha` represents the SHA of the merge commit.\n* If merged via a [squash](https://help.github.com/articles/about-merge-methods-on-github/#squashing-your-merge-commits), `merge_commit_sha` represents the SHA of the squashed commit on the base branch.\n* If [rebased](https://help.github.com/articles/about-merge-methods-on-github/#rebasing-and-merging-your-commits), `merge_commit_sha` represents the commit that the base branch was updated to.\n\nPass the appropriate [media type](https://docs.github.com/rest/overview/media-types/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.", - "documentationUrl": "https://docs.github.com/rest/reference/pulls/#get-a-pull-request", + "documentationUrl": "https://docs.github.com/rest/reference/pulls#get-a-pull-request", "previews": [], "headers": [], "parameters": [ @@ -29173,7 +29350,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Draft pull requests are available in public repositories with GitHub Free and GitHub Free for organizations, GitHub Pro, and legacy per-repository billing plans, and in public and private repositories with GitHub Team and GitHub Enterprise Cloud. For more information, see [GitHub's products](https://help.github.com/github/getting-started-with-github/githubs-products) in the GitHub Help documentation.", - "documentationUrl": "https://docs.github.com/rest/reference/pulls/#list-pull-requests", + "documentationUrl": "https://docs.github.com/rest/reference/pulls#list-pull-requests", "previews": [], "headers": [], "parameters": [ @@ -29425,7 +29602,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Lists a maximum of 250 commits for a pull request. To receive a complete commit list for pull requests with more than 250 commits, use the [List commits](https://docs.github.com/rest/reference/repos#list-commits) endpoint.", - "documentationUrl": "https://docs.github.com/rest/reference/pulls/#list-commits-on-a-pull-request", + "documentationUrl": "https://docs.github.com/rest/reference/pulls#list-commits-on-a-pull-request", "previews": [], "headers": [], "parameters": [ @@ -29517,7 +29694,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "**Note:** Responses include a maximum of 3000 files. The paginated response returns 30 files per page by default.", - "documentationUrl": "https://docs.github.com/rest/reference/pulls/#list-pull-requests-files", + "documentationUrl": "https://docs.github.com/rest/reference/pulls#list-pull-requests-files", "previews": [], "headers": [], "parameters": [ @@ -30044,7 +30221,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "This endpoint triggers [notifications](https://docs.github.com/github/managing-subscriptions-and-notifications-on-github/about-notifications). Creating content too quickly using this endpoint may result in abuse rate limiting. See \"[Abuse rate limits](https://docs.github.com/rest/overview/resources-in-the-rest-api#abuse-rate-limits)\" and \"[Dealing with abuse rate limits](https://docs.github.com/rest/guides/best-practices-for-integrators#dealing-with-abuse-rate-limits)\" for details.", - "documentationUrl": "https://docs.github.com/rest/reference/pulls/#merge-a-pull-request", + "documentationUrl": "https://docs.github.com/rest/reference/pulls#merge-a-pull-request", "previews": [], "headers": [], "parameters": [ @@ -30605,7 +30782,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Updates the pull request branch with the latest upstream changes by merging HEAD from the base branch into the pull request branch.", - "documentationUrl": "https://docs.github.com/rest/reference/pulls/#update-a-pull-request-branch", + "documentationUrl": "https://docs.github.com/rest/reference/pulls#update-a-pull-request-branch", "previews": [{ "name": "lydian" }], "headers": [], "parameters": [ @@ -30863,7 +31040,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "**Note:** Accessing this endpoint does not count against your REST API rate limit.\n\n**Note:** The `rate` object is deprecated. If you're writing new API client code or updating existing code, you should use the `core` object instead of the `rate` object. The `core` object contains the same information that is present in the `rate` object.", - "documentationUrl": "https://docs.github.com/rest/reference/rate_limit/#get-rate-limit-status-for-the-authenticated-user", + "documentationUrl": "https://docs.github.com/rest/reference/rate-limit#get-rate-limit-status-for-the-authenticated-user", "previews": [], "headers": [], "parameters": [], @@ -30890,8 +31067,8 @@ "url": "/repos/{owner}/{repo}/comments/{comment_id}/reactions", "isDeprecated": false, "deprecationDate": null, - "description": "Create a reaction to a [commit comment](https://docs.github.com/rest/reference/repos#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment.", - "documentationUrl": "https://docs.github.com/rest/reference/reactions/#create-reaction-for-a-commit-comment", + "description": "Create a reaction to a [commit comment](https://docs.github.com/rest/reference/repos#comments). A response with an HTTP `200` status means that you already added the reaction type to this commit comment.", + "documentationUrl": "https://docs.github.com/rest/reference/reactions#create-reaction-for-a-commit-comment", "previews": [{ "name": "squirrel-girl" }], "headers": [], "parameters": [ @@ -30993,8 +31170,8 @@ "url": "/repos/{owner}/{repo}/issues/{issue_number}/reactions", "isDeprecated": false, "deprecationDate": null, - "description": "Create a reaction to an [issue](https://docs.github.com/rest/reference/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue.", - "documentationUrl": "https://docs.github.com/rest/reference/reactions/#create-reaction-for-an-issue", + "description": "Create a reaction to an [issue](https://docs.github.com/rest/reference/issues/). A response with an HTTP `200` status means that you already added the reaction type to this issue.", + "documentationUrl": "https://docs.github.com/rest/reference/reactions#create-reaction-for-an-issue", "previews": [{ "name": "squirrel-girl" }], "headers": [], "parameters": [ @@ -31096,8 +31273,8 @@ "url": "/repos/{owner}/{repo}/issues/comments/{comment_id}/reactions", "isDeprecated": false, "deprecationDate": null, - "description": "Create a reaction to an [issue comment](https://docs.github.com/rest/reference/issues#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment.", - "documentationUrl": "https://docs.github.com/rest/reference/reactions/#create-reaction-for-an-issue-comment", + "description": "Create a reaction to an [issue comment](https://docs.github.com/rest/reference/issues#comments). A response with an HTTP `200` status means that you already added the reaction type to this issue comment.", + "documentationUrl": "https://docs.github.com/rest/reference/reactions#create-reaction-for-an-issue-comment", "previews": [{ "name": "squirrel-girl" }], "headers": [], "parameters": [ @@ -31199,8 +31376,8 @@ "url": "/repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions", "isDeprecated": false, "deprecationDate": null, - "description": "Create a reaction to a [pull request review comment](https://docs.github.com/rest/reference/pulls#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment.", - "documentationUrl": "https://docs.github.com/rest/reference/reactions/#create-reaction-for-a-pull-request-review-comment", + "description": "Create a reaction to a [pull request review comment](https://docs.github.com/rest/reference/pulls#comments). A response with an HTTP `200` status means that you already added the reaction type to this pull request review comment.", + "documentationUrl": "https://docs.github.com/rest/reference/reactions#create-reaction-for-a-pull-request-review-comment", "previews": [{ "name": "squirrel-girl" }], "headers": [], "parameters": [ @@ -31302,8 +31479,8 @@ "url": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions", "isDeprecated": false, "deprecationDate": null, - "description": "Create a reaction to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.", - "documentationUrl": "https://docs.github.com/rest/reference/reactions/#create-reaction-for-a-team-discussion-comment", + "description": "Create a reaction to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.", + "documentationUrl": "https://docs.github.com/rest/reference/reactions#create-reaction-for-a-team-discussion-comment", "previews": [{ "name": "squirrel-girl" }], "headers": [], "parameters": [ @@ -31412,7 +31589,7 @@ "url": "/teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions", "isDeprecated": true, "deprecationDate": "2020-02-26", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Create reaction for a team discussion comment](https://docs.github.com/rest/reference/reactions#create-reaction-for-a-team-discussion-comment)\" endpoint.\n\nCreate a reaction to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment.", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new \"[Create reaction for a team discussion comment](https://docs.github.com/rest/reference/reactions#create-reaction-for-a-team-discussion-comment)\" endpoint.\n\nCreate a reaction to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment.", "documentationUrl": "https://docs.github.com/rest/reference/reactions/#create-reaction-for-a-team-discussion-comment-legacy", "previews": [{ "name": "squirrel-girl" }], "headers": [], @@ -31500,8 +31677,8 @@ "url": "/orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions", "isDeprecated": false, "deprecationDate": null, - "description": "Create a reaction to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.", - "documentationUrl": "https://docs.github.com/rest/reference/reactions/#create-reaction-for-a-team-discussion", + "description": "Create a reaction to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.", + "documentationUrl": "https://docs.github.com/rest/reference/reactions#create-reaction-for-a-team-discussion", "previews": [{ "name": "squirrel-girl" }], "headers": [], "parameters": [ @@ -31597,7 +31774,7 @@ "url": "/teams/{team_id}/discussions/{discussion_number}/reactions", "isDeprecated": true, "deprecationDate": "2020-02-26", - "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reference/reactions#create-reaction-for-a-team-discussion) endpoint.\n\nCreate a reaction to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion.", + "description": "**Deprecation Notice:** This endpoint route is deprecated and will be removed from the Teams API. We recommend migrating your existing code to use the new [`Create reaction for a team discussion`](https://docs.github.com/rest/reference/reactions#create-reaction-for-a-team-discussion) endpoint.\n\nCreate a reaction to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion.", "documentationUrl": "https://docs.github.com/rest/reference/reactions/#create-reaction-for-a-team-discussion-legacy", "previews": [{ "name": "squirrel-girl" }], "headers": [], @@ -31673,7 +31850,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to a [commit comment](https://docs.github.com/rest/reference/repos#comments).", - "documentationUrl": "https://docs.github.com/rest/reference/reactions/#delete-a-commit-comment-reaction", + "documentationUrl": "https://docs.github.com/rest/reference/reactions#delete-a-commit-comment-reaction", "previews": [{ "name": "squirrel-girl" }], "headers": [], "parameters": [ @@ -31742,7 +31919,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/issues/:issue_number/reactions/:reaction_id`.\n\nDelete a reaction to an [issue](https://docs.github.com/rest/reference/issues/).", - "documentationUrl": "https://docs.github.com/rest/reference/reactions/#delete-an-issue-reaction", + "documentationUrl": "https://docs.github.com/rest/reference/reactions#delete-an-issue-reaction", "previews": [{ "name": "squirrel-girl" }], "headers": [], "parameters": [ @@ -31811,7 +31988,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE delete /repositories/:repository_id/issues/comments/:comment_id/reactions/:reaction_id`.\n\nDelete a reaction to an [issue comment](https://docs.github.com/rest/reference/issues#comments).", - "documentationUrl": "https://docs.github.com/rest/reference/reactions/#delete-an-issue-comment-reaction", + "documentationUrl": "https://docs.github.com/rest/reference/reactions#delete-an-issue-comment-reaction", "previews": [{ "name": "squirrel-girl" }], "headers": [], "parameters": [ @@ -31880,7 +32057,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "**Note:** You can also specify a repository by `repository_id` using the route `DELETE /repositories/:repository_id/pulls/comments/:comment_id/reactions/:reaction_id.`\n\nDelete a reaction to a [pull request review comment](https://docs.github.com/rest/reference/pulls#review-comments).", - "documentationUrl": "https://docs.github.com/rest/reference/reactions/#delete-a-pull-request-comment-reaction", + "documentationUrl": "https://docs.github.com/rest/reference/reactions#delete-a-pull-request-comment-reaction", "previews": [{ "name": "squirrel-girl" }], "headers": [], "parameters": [ @@ -31949,7 +32126,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).", - "documentationUrl": "https://docs.github.com/rest/reference/reactions/#delete-team-discussion-reaction", + "documentationUrl": "https://docs.github.com/rest/reference/reactions#delete-team-discussion-reaction", "previews": [{ "name": "squirrel-girl" }], "headers": [], "parameters": [ @@ -32018,7 +32195,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "**Note:** You can also specify a team or organization with `team_id` and `org_id` using the route `DELETE /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions/:reaction_id`.\n\nDelete a reaction to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).", - "documentationUrl": "https://docs.github.com/rest/reference/reactions/#delete-team-discussion-comment-reaction", + "documentationUrl": "https://docs.github.com/rest/reference/reactions#delete-team-discussion-comment-reaction", "previews": [{ "name": "squirrel-girl" }], "headers": [], "parameters": [ @@ -32141,7 +32318,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "List the reactions to a [commit comment](https://docs.github.com/rest/reference/repos#comments).", - "documentationUrl": "https://docs.github.com/rest/reference/reactions/#list-reactions-for-a-commit-comment", + "documentationUrl": "https://docs.github.com/rest/reference/reactions#list-reactions-for-a-commit-comment", "previews": [{ "name": "squirrel-girl" }], "headers": [], "parameters": [ @@ -32257,7 +32434,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "List the reactions to an [issue](https://docs.github.com/rest/reference/issues).", - "documentationUrl": "https://docs.github.com/rest/reference/reactions/#list-reactions-for-an-issue", + "documentationUrl": "https://docs.github.com/rest/reference/reactions#list-reactions-for-an-issue", "previews": [{ "name": "squirrel-girl" }], "headers": [], "parameters": [ @@ -32374,7 +32551,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "List the reactions to an [issue comment](https://docs.github.com/rest/reference/issues#comments).", - "documentationUrl": "https://docs.github.com/rest/reference/reactions/#list-reactions-for-an-issue-comment", + "documentationUrl": "https://docs.github.com/rest/reference/reactions#list-reactions-for-an-issue-comment", "previews": [{ "name": "squirrel-girl" }], "headers": [], "parameters": [ @@ -32490,7 +32667,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "List the reactions to a [pull request review comment](https://docs.github.com/rest/reference/pulls#review-comments).", - "documentationUrl": "https://docs.github.com/rest/reference/reactions/#list-reactions-for-a-pull-request-review-comment", + "documentationUrl": "https://docs.github.com/rest/reference/reactions#list-reactions-for-a-pull-request-review-comment", "previews": [{ "name": "squirrel-girl" }], "headers": [], "parameters": [ @@ -32606,7 +32783,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "List the reactions to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments/). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`.", - "documentationUrl": "https://docs.github.com/rest/reference/reactions/#list-reactions-for-a-team-discussion-comment", + "documentationUrl": "https://docs.github.com/rest/reference/reactions#list-reactions-for-a-team-discussion-comment", "previews": [{ "name": "squirrel-girl" }], "headers": [], "parameters": [ @@ -32847,7 +33024,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "List the reactions to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `read:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/).\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`.", - "documentationUrl": "https://docs.github.com/rest/reference/reactions/#list-reactions-for-a-team-discussion", + "documentationUrl": "https://docs.github.com/rest/reference/reactions#list-reactions-for-a-team-discussion", "previews": [{ "name": "squirrel-girl" }], "headers": [], "parameters": [ @@ -33586,7 +33763,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Shows whether dependency alerts are enabled or disabled for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".", - "documentationUrl": "https://docs.github.com/rest/reference/repos/#check-if-vulnerability-alerts-are-enabled-for-a-repository", + "documentationUrl": "https://docs.github.com/rest/reference/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository", "previews": [{ "name": "dorian" }], "headers": [], "parameters": [ @@ -34268,7 +34445,7 @@ }, { "name": "transient_environment", - "description": "Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: `false` \n**Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://docs.github.com/rest/overview/api-previews#enhanced-deployments) custom media type. **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://docs.github.com/rest/overview/api-previews#enhanced-deployments) custom media type.", + "description": "Specifies if the given environment is specific to the deployment and will no longer exist at some point in the future. Default: `false` \n**Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://docs.github.com/rest/overview/api-previews#enhanced-deployments) custom media type.", "in": "BODY", "type": "boolean", "required": false, @@ -34409,7 +34586,7 @@ }, { "name": "log_url", - "description": "The full URL of the deployment's output. This parameter replaces `target_url`. We will continue to accept `target_url` to support legacy uses, but we recommend replacing `target_url` with `log_url`. Setting `log_url` will automatically set `target_url` to the same value. Default: `\"\"` \n**Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://docs.github.com/rest/overview/api-previews#enhanced-deployments) custom media type. **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://docs.github.com/rest/overview/api-previews#enhanced-deployments) custom media type.", + "description": "The full URL of the deployment's output. This parameter replaces `target_url`. We will continue to accept `target_url` to support legacy uses, but we recommend replacing `target_url` with `log_url`. Setting `log_url` will automatically set `target_url` to the same value. Default: `\"\"` \n**Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://docs.github.com/rest/overview/api-previews#enhanced-deployments) custom media type.", "in": "BODY", "type": "string", "required": false, @@ -34448,7 +34625,7 @@ }, { "name": "environment_url", - "description": "Sets the URL for accessing your environment. Default: `\"\"` \n**Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://docs.github.com/rest/overview/api-previews#enhanced-deployments) custom media type. **Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://docs.github.com/rest/overview/api-previews#enhanced-deployments) custom media type.", + "description": "Sets the URL for accessing your environment. Default: `\"\"` \n**Note:** This parameter requires you to use the [`application/vnd.github.ant-man-preview+json`](https://docs.github.com/rest/overview/api-previews#enhanced-deployments) custom media type.", "in": "BODY", "type": "string", "required": false, @@ -34496,7 +34673,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "You can use this endpoint to trigger a webhook event called `repository_dispatch` when you want activity that happens outside of GitHub to trigger a GitHub Actions workflow or GitHub App webhook. You must configure your GitHub Actions workflow or GitHub App to run when the `repository_dispatch` event occurs. For an example `repository_dispatch` webhook payload, see \"[RepositoryDispatchEvent](https://docs.github.com/webhooks/event-payloads/#repository_dispatch).\"\n\nThe `client_payload` parameter is available for any extra information that your workflow might need. This parameter is a JSON payload that will be passed on when the webhook event is dispatched. For example, the `client_payload` can include a message that a user would like to send using a GitHub Actions workflow. Or the `client_payload` can be used as a test to debug your workflow.\n\nThis endpoint requires write access to the repository by providing either:\n\n - Personal access tokens with `repo` scope. For more information, see \"[Creating a personal access token for the command line](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line)\" in the GitHub Help documentation.\n - GitHub Apps with both `metadata:read` and `contents:read&write` permissions.\n\nThis input example shows how you can use the `client_payload` as a test to debug your workflow.", - "documentationUrl": "https://docs.github.com/rest/reference/repos/#create-a-repository-dispatch-event", + "documentationUrl": "https://docs.github.com/rest/reference/repos#create-a-repository-dispatch-event", "previews": [], "headers": [], "parameters": [ @@ -34581,7 +34758,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Creates a new repository for the authenticated user.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository.", - "documentationUrl": "https://docs.github.com/rest/reference/repos/#create-a-repository-for-the-authenticated-user", + "documentationUrl": "https://docs.github.com/rest/reference/repos#create-a-repository-for-the-authenticated-user", "previews": [], "headers": [], "parameters": [ @@ -34911,7 +35088,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Creates a new repository in the specified organization. The authenticated user must be a member of the organization.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository", - "documentationUrl": "https://docs.github.com/rest/reference/repos/#create-an-organization-repository", + "documentationUrl": "https://docs.github.com/rest/reference/repos#create-an-organization-repository", "previews": [], "headers": [], "parameters": [ @@ -35819,7 +35996,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Creates a new repository using a repository template. Use the `template_owner` and `template_repo` route parameters to specify the repository to use as the template. The authenticated user must own or be a member of an organization that owns the repository. To check if a repository is available to use as a template, get the repository's information using the [Get a repository](https://docs.github.com/rest/reference/repos#get-a-repository) endpoint and check that the `is_template` key is `true`.\n\n**OAuth scope requirements**\n\nWhen using [OAuth](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/), authorizations must include:\n\n* `public_repo` scope or `repo` scope to create a public repository. Note: For GitHub AE, use `repo` scope to create an internal repository.\n* `repo` scope to create a private repository", - "documentationUrl": "https://docs.github.com/rest/reference/repos/#create-a-repository-using-a-template", + "documentationUrl": "https://docs.github.com/rest/reference/repos#create-a-repository-using-a-template", "previews": [{ "name": "baptiste" }], "headers": [], "parameters": [ @@ -36159,7 +36336,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Deleting a repository requires admin access. If OAuth is used, the `delete_repo` scope is required.\n\nIf an organization owner has configured the organization to prevent members from deleting organization-owned\nrepositories, you will get a `403 Forbidden` response.", - "documentationUrl": "https://docs.github.com/rest/reference/repos/#delete-a-repository", + "documentationUrl": "https://docs.github.com/rest/reference/repos#delete-a-repository", "previews": [], "headers": [], "parameters": [ @@ -36192,6 +36369,7 @@ ], "responses": [ { "code": 204, "description": "Response", "examples": null }, + { "code": 307, "description": "Temporary Redirect", "examples": null }, { "code": 403, "description": "If an organization owner has configured the organization to prevent members from deleting organization-owned repositories, a member will get this response:", @@ -37205,7 +37383,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Disables automated security fixes for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Configuring automated security fixes](https://help.github.com/en/articles/configuring-automated-security-fixes)\".", - "documentationUrl": "https://docs.github.com/rest/reference/repos/#disable-automated-security-fixes", + "documentationUrl": "https://docs.github.com/rest/reference/repos#disable-automated-security-fixes", "previews": [{ "name": "london" }], "headers": [], "parameters": [ @@ -37248,7 +37426,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Disables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".", - "documentationUrl": "https://docs.github.com/rest/reference/repos/#disable-vulnerability-alerts", + "documentationUrl": "https://docs.github.com/rest/reference/repos#disable-vulnerability-alerts", "previews": [{ "name": "dorian" }], "headers": [], "parameters": [ @@ -37525,7 +37703,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Enables automated security fixes for a repository. The authenticated user must have admin access to the repository. For more information, see \"[Configuring automated security fixes](https://help.github.com/en/articles/configuring-automated-security-fixes)\".", - "documentationUrl": "https://docs.github.com/rest/reference/repos/#enable-automated-security-fixes", + "documentationUrl": "https://docs.github.com/rest/reference/repos#enable-automated-security-fixes", "previews": [{ "name": "london" }], "headers": [], "parameters": [ @@ -37568,7 +37746,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Enables dependency alerts and the dependency graph for a repository. The authenticated user must have admin access to the repository. For more information, see \"[About security alerts for vulnerable dependencies](https://help.github.com/en/articles/about-security-alerts-for-vulnerable-dependencies)\".", - "documentationUrl": "https://docs.github.com/rest/reference/repos/#enable-vulnerability-alerts", + "documentationUrl": "https://docs.github.com/rest/reference/repos#enable-vulnerability-alerts", "previews": [{ "name": "dorian" }], "headers": [], "parameters": [ @@ -37611,7 +37789,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "When you pass the `scarlet-witch-preview` media type, requests to get a repository will also return the repository's code of conduct if it can be detected from the repository's code of conduct file.\n\nThe `parent` and `source` objects are present when the repository is a fork. `parent` is the repository this repository was forked from, `source` is the ultimate source for the network.", - "documentationUrl": "https://docs.github.com/rest/reference/repos/#get-a-repository", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-a-repository", "previews": [], "headers": [], "parameters": [ @@ -37919,7 +38097,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "", - "documentationUrl": "https://docs.github.com/rest/reference/repos/#get-all-repository-topics", + "documentationUrl": "https://docs.github.com/rest/reference/repos#get-all-repository-topics", "previews": [{ "name": "mercy" }], "headers": [], "parameters": [ @@ -38800,7 +38978,7 @@ "description": "Response", "examples": [ { - "data": "{\"health_percentage\":100,\"description\":\"My first repository on GitHub!\",\"documentation\":null,\"files\":{\"code_of_conduct\":{\"name\":\"Contributor Covenant\",\"key\":\"contributor_covenant\",\"url\":\"https://api.github.com/codes_of_conduct/contributor_covenant\",\"html_url\":\"https://github.com/octocat/Hello-World/blob/master/CODE_OF_CONDUCT.md\"},\"contributing\":{\"url\":\"https://api.github.com/repos/octocat/Hello-World/contents/CONTRIBUTING\",\"html_url\":\"https://github.com/octocat/Hello-World/blob/master/CONTRIBUTING\"},\"issue_template\":{\"url\":\"https://api.github.com/repos/octocat/Hello-World/contents/ISSUE_TEMPLATE\",\"html_url\":\"https://github.com/octocat/Hello-World/blob/master/ISSUE_TEMPLATE\"},\"pull_request_template\":{\"url\":\"https://api.github.com/repos/octocat/Hello-World/contents/PULL_REQUEST_TEMPLATE\",\"html_url\":\"https://github.com/octocat/Hello-World/blob/master/PULL_REQUEST_TEMPLATE\"},\"license\":{\"name\":\"MIT License\",\"key\":\"mit\",\"spdx_id\":\"MIT\",\"url\":\"https://api.github.com/licenses/mit\",\"html_url\":\"https://github.com/octocat/Hello-World/blob/master/LICENSE\",\"node_id\":\"MDc6TGljZW5zZW1pdA==\"},\"readme\":{\"url\":\"https://api.github.com/repos/octocat/Hello-World/contents/README.md\",\"html_url\":\"https://github.com/octocat/Hello-World/blob/master/README.md\"}},\"updated_at\":\"2017-02-28T19:09:29Z\",\"content_reports_enabled\":true}" + "data": "{\"health_percentage\":100,\"description\":\"My first repository on GitHub!\",\"documentation\":null,\"files\":{\"code_of_conduct\":{\"name\":\"Contributor Covenant\",\"key\":\"contributor_covenant\",\"url\":\"https://api.github.com/codes_of_conduct/contributor_covenant\",\"html_url\":\"https://github.com/octocat/Hello-World/blob/master/CODE_OF_CONDUCT.md\"},\"code_of_conduct_file\":{\"url\":\"https://api.github.com/repos/octocat/Hello-World/contents/CODE_OF_CONDUCT.md\",\"html_url\":\"https://github.com/octocat/Hello-World/blob/master/CODE_OF_CONDUCT.md\"},\"contributing\":{\"url\":\"https://api.github.com/repos/octocat/Hello-World/contents/CONTRIBUTING\",\"html_url\":\"https://github.com/octocat/Hello-World/blob/master/CONTRIBUTING\"},\"issue_template\":{\"url\":\"https://api.github.com/repos/octocat/Hello-World/contents/ISSUE_TEMPLATE\",\"html_url\":\"https://github.com/octocat/Hello-World/blob/master/ISSUE_TEMPLATE\"},\"pull_request_template\":{\"url\":\"https://api.github.com/repos/octocat/Hello-World/contents/PULL_REQUEST_TEMPLATE\",\"html_url\":\"https://github.com/octocat/Hello-World/blob/master/PULL_REQUEST_TEMPLATE\"},\"license\":{\"name\":\"MIT License\",\"key\":\"mit\",\"spdx_id\":\"MIT\",\"url\":\"https://api.github.com/licenses/mit\",\"html_url\":\"https://github.com/octocat/Hello-World/blob/master/LICENSE\",\"node_id\":\"MDc6TGljZW5zZW1pdA==\"},\"readme\":{\"url\":\"https://api.github.com/repos/octocat/Hello-World/contents/README.md\",\"html_url\":\"https://github.com/octocat/Hello-World/blob/master/README.md\"}},\"updated_at\":\"2017-02-28T19:09:29Z\",\"content_reports_enabled\":true}" } ] } @@ -41245,7 +41423,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Lists contributors to the specified repository and sorts them by the number of commits per contributor in descending order. This endpoint may return information that is a few hours old because the GitHub REST API v3 caches contributor data to improve performance.\n\nGitHub identifies contributors by author email address. This endpoint groups contribution counts by GitHub user, which includes all associated email addresses. To improve performance, only the first 500 author email addresses in the repository link to GitHub users. The rest will appear as anonymous contributors without associated GitHub user information.", - "documentationUrl": "https://docs.github.com/rest/reference/repos/#list-repository-contributors", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-repository-contributors", "previews": [], "headers": [], "parameters": [ @@ -41647,7 +41825,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Lists repositories that the authenticated user has explicit permission (`:read`, `:write`, or `:admin`) to access.\n\nThe authenticated user has explicit permission to access repositories they own, repositories where they are a collaborator, and repositories that they can access through an organization membership.", - "documentationUrl": "https://docs.github.com/rest/reference/repos/#list-repositories-for-the-authenticated-user", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-repositories-for-the-authenticated-user", "previews": [], "headers": [], "parameters": [ @@ -41799,7 +41977,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Lists repositories for the specified organization.", - "documentationUrl": "https://docs.github.com/rest/reference/repos/#list-organization-repositories", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-organization-repositories", "previews": [], "headers": [], "parameters": [ @@ -41818,7 +41996,7 @@ }, { "name": "type", - "description": "Specifies the types of repositories you want returned. Can be one of `all`, `public`, `private`, `forks`, `sources`, `member`, `internal`. Note: For GitHub AE, can be one of `all`, `private`, `forks`, `sources`, `member`, `internal`. Default: `all`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `type` can also be `internal`.", + "description": "Specifies the types of repositories you want returned. Can be one of `all`, `public`, `private`, `forks`, `sources`, `member`, `internal`. Note: For GitHub AE, can be one of `all`, `private`, `forks`, `sources`, `member`, `internal`. Default: `all`. If your organization is associated with an enterprise account using GitHub Enterprise Cloud or GitHub Enterprise Server 2.20+, `type` can also be `internal`. However, the `internal` value is not yet supported when a GitHub App calls this API with an installation access token.", "in": "QUERY", "type": "string", "required": false, @@ -41912,7 +42090,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Lists public repositories for the specified user. Note: For GitHub AE, this endpoint will list internal repositories for the specified user.", - "documentationUrl": "https://docs.github.com/rest/reference/repos/#list-repositories-for-a-user", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-repositories-for-a-user", "previews": [], "headers": [], "parameters": [ @@ -42251,7 +42429,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Lists languages for the specified repository. The value shown for each language is the number of bytes of code written in that language.", - "documentationUrl": "https://docs.github.com/rest/reference/repos/#list-repository-languages", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-repository-languages", "previews": [], "headers": [], "parameters": [ @@ -42379,7 +42557,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Lists all public repositories in the order that they were created.\n\nNotes:\n- For GitHub Enterprise Server and GitHub AE, this endpoint will only list repositories available to all users on the enterprise.\n- Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of repositories.", - "documentationUrl": "https://docs.github.com/rest/reference/repos/#list-public-repositories", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-public-repositories", "previews": [], "headers": [], "parameters": [ @@ -42686,7 +42864,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "", - "documentationUrl": "https://docs.github.com/rest/reference/repos/#list-repository-tags", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-repository-tags", "previews": [], "headers": [], "parameters": [ @@ -42765,7 +42943,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "", - "documentationUrl": "https://docs.github.com/rest/reference/repos/#list-repository-teams", + "documentationUrl": "https://docs.github.com/rest/reference/repos#list-repository-teams", "previews": [], "headers": [], "parameters": [ @@ -43603,7 +43781,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "", - "documentationUrl": "https://docs.github.com/rest/reference/repos/#replace-all-repository-topics", + "documentationUrl": "https://docs.github.com/rest/reference/repos#replace-all-repository-topics", "previews": [{ "name": "mercy" }], "headers": [], "parameters": [ @@ -44169,7 +44347,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "A transfer request will need to be accepted by the new owner when transferring a personal repository to another user. The response will contain the original `owner`, and the transfer will continue asynchronously. For more details on the requirements to transfer personal and organization-owned repositories, see [about repository transfers](https://help.github.com/articles/about-repository-transfers/).", - "documentationUrl": "https://docs.github.com/rest/reference/repos/#transfer-a-repository", + "documentationUrl": "https://docs.github.com/rest/reference/repos#transfer-a-repository", "previews": [], "headers": [], "parameters": [ @@ -44484,6 +44662,7 @@ } ] }, + { "code": 307, "description": "Temporary Redirect", "examples": null }, { "code": 403, "description": "Forbidden", "examples": null }, { "code": 404, "description": "Resource not found", "examples": null }, { "code": 422, "description": "Validation failed", "examples": null } @@ -46110,7 +46289,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Searches for query terms inside of a file. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for code, you can get text match metadata for the file **content** and file **path** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the definition of the `addClass` function inside [jQuery](https://github.com/jquery/jquery) repository, your query would look something like this:\n\n`q=addClass+in:file+language:js+repo:jquery/jquery`\n\nThis query searches for the keyword `addClass` within a file's contents. The query limits the search to files where the language is JavaScript in the `jquery/jquery` repository.\n\n#### Considerations for code search\n\nDue to the complexity of searching code, there are a few restrictions on how searches are performed:\n\n* Only the _default branch_ is considered. In most cases, this will be the `master` branch.\n* Only files smaller than 384 KB are searchable.\n* You must always include at least one search term when searching source code. For example, searching for [`language:go`](https://github.com/search?utf8=%E2%9C%93&q=language%3Ago&type=Code) is not valid, while [`amazing\nlanguage:go`](https://github.com/search?utf8=%E2%9C%93&q=amazing+language%3Ago&type=Code) is.", - "documentationUrl": "https://docs.github.com/rest/reference/search/#search-code", + "documentationUrl": "https://docs.github.com/rest/reference/search#search-code", "previews": [], "headers": [], "parameters": [ @@ -46206,7 +46385,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Find commits via various criteria on the default branch (usually `master`). This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for commits, you can get text match metadata for the **message** field when you provide the `text-match` media type. For more details about how to receive highlighted search results, see [Text match\nmetadata](https://docs.github.com/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find commits related to CSS in the [octocat/Spoon-Knife](https://github.com/octocat/Spoon-Knife) repository. Your query would look something like this:\n\n`q=repo:octocat/Spoon-Knife+css`", - "documentationUrl": "https://docs.github.com/rest/reference/search/#search-commits", + "documentationUrl": "https://docs.github.com/rest/reference/search#search-commits", "previews": [{ "name": "cloak" }], "headers": [], "parameters": [ @@ -46300,7 +46479,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Find issues by state and keyword. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for issues, you can get text match metadata for the issue **title**, issue **body**, and issue **comment body** fields when you pass the `text-match` media type. For more details about how to receive highlighted\nsearch results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find the oldest unresolved Python bugs on Windows. Your query might look something like this.\n\n`q=windows+label:bug+language:python+state:open&sort=created&order=asc`\n\nThis query searches for the keyword `windows`, within any open issue that is labeled as `bug`. The search runs across repositories whose primary language is Python. The results are sorted by creation date in ascending order, which means the oldest issues appear first in the search results.\n\n**Note:** For [user-to-server](https://docs.github.com/developers/apps/identifying-and-authorizing-users-for-github-apps#user-to-server-requests) GitHub App requests, you can't retrieve a combination of issues and pull requests in a single query. Requests that don't include the `is:issue` or `is:pull-request` qualifier will receive an HTTP `422 Unprocessable Entity` response. To get results for both issues and pull requests, you must send separate queries for issues and pull requests. For more information about the `is` qualifier, see \"[Searching only issues or pull requests](https://docs.github.com/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-only-issues-or-pull-requests).\"", - "documentationUrl": "https://docs.github.com/rest/reference/search/#search-issues-and-pull-requests", + "documentationUrl": "https://docs.github.com/rest/reference/search#search-issues-and-pull-requests", "previews": [], "headers": [], "parameters": [ @@ -46408,7 +46587,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Find labels in a repository with names or descriptions that match search keywords. Returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for labels, you can get text match metadata for the label **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata).\n\nFor example, if you want to find labels in the `linguist` repository that match `bug`, `defect`, or `enhancement`. Your query might look like this:\n\n`q=bug+defect+enhancement&repository_id=64778136`\n\nThe labels that best match the query appear first in the search results.", - "documentationUrl": "https://docs.github.com/rest/reference/search/#search-labels", + "documentationUrl": "https://docs.github.com/rest/reference/search#search-labels", "previews": [], "headers": [], "parameters": [ @@ -46491,7 +46670,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Find repositories via various criteria. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for repositories, you can get text match metadata for the **name** and **description** fields when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for popular Tetris repositories written in assembly code, your query might look like this:\n\n`q=tetris+language:assembly&sort=stars&order=desc`\n\nThis query searches for repositories with the word `tetris` in the name, the description, or the README. The results are limited to repositories where the primary language is assembly. The results are sorted by stars in descending order, so that the most popular repositories appear first in the search results.\n\nWhen you include the `mercy` preview header, you can also search for multiple topics by adding more `topic:` instances. For example, your query might look like this:\n\n`q=topic:ruby+topic:rails`", - "documentationUrl": "https://docs.github.com/rest/reference/search/#search-repositories", + "documentationUrl": "https://docs.github.com/rest/reference/search#search-repositories", "previews": [], "headers": [], "parameters": [ @@ -46586,7 +46765,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Find topics via various criteria. Results are sorted by best match. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination). See \"[Searching topics](https://help.github.com/articles/searching-topics/)\" for a detailed list of qualifiers.\n\nWhen searching for topics, you can get text match metadata for the topic's **short\\_description**, **description**, **name**, or **display\\_name** field when you pass the `text-match` media type. For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata).\n\nFor example, if you want to search for topics related to Ruby that are featured on https://github.com/topics. Your query might look like this:\n\n`q=ruby+is:featured`\n\nThis query searches for topics with the keyword `ruby` and limits the results to find only topics that are featured. The topics that are the best match for the query appear first in the search results.", - "documentationUrl": "https://docs.github.com/rest/reference/search/#search-topics", + "documentationUrl": "https://docs.github.com/rest/reference/search#search-topics", "previews": [{ "name": "mercy" }], "headers": [], "parameters": [ @@ -46628,7 +46807,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Find users via various criteria. This method returns up to 100 results [per page](https://docs.github.com/rest/overview/resources-in-the-rest-api#pagination).\n\nWhen searching for users, you can get text match metadata for the issue **login**, **email**, and **name** fields when you pass the `text-match` media type. For more details about highlighting search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata). For more details about how to receive highlighted search results, see [Text match metadata](https://docs.github.com/rest/reference/search#text-match-metadata).\n\nFor example, if you're looking for a list of popular users, you might try this query:\n\n`q=tom+repos:%3E42+followers:%3E1000`\n\nThis query searches for users with the name `tom`. The results are restricted to users with more than 42 repositories and over 1,000 followers.", - "documentationUrl": "https://docs.github.com/rest/reference/search/#search-users", + "documentationUrl": "https://docs.github.com/rest/reference/search#search-users", "previews": [], "headers": [], "parameters": [ @@ -47218,7 +47397,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Adds an organization project to a team. To add a project to a team or update the team's permission on a project, the authenticated user must have `admin` permissions for the project. The project and team must be part of the same organization.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PUT /organizations/{org_id}/team/{team_id}/projects/{project_id}`.", - "documentationUrl": "https://docs.github.com/rest/reference/teams/#add-or-update-team-project-permissions", + "documentationUrl": "https://docs.github.com/rest/reference/teams#add-or-update-team-project-permissions", "previews": [{ "name": "inertia" }], "headers": [], "parameters": [ @@ -47527,7 +47706,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Checks whether a team has `read`, `write`, or `admin` permissions for an organization project. The response includes projects inherited from a parent team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects/{project_id}`.", - "documentationUrl": "https://docs.github.com/rest/reference/teams/#check-team-permissions-for-a-project", + "documentationUrl": "https://docs.github.com/rest/reference/teams#check-team-permissions-for-a-project", "previews": [{ "name": "inertia" }], "headers": [], "parameters": [ @@ -47822,7 +48001,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "To create a team, the authenticated user must be a member or owner of `{org}`. By default, organization members can create teams. Organization owners can limit team creation to organization owners. For more information, see \"[Setting team creation permissions](https://help.github.com/en/articles/setting-team-creation-permissions-in-your-organization).\"\n\nWhen you create a new team, you automatically become a team maintainer without explicitly adding yourself to the optional array of `maintainers`. For more information, see \"[About teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/about-teams)\".", - "documentationUrl": "https://docs.github.com/rest/reference/teams/#create-a-team", + "documentationUrl": "https://docs.github.com/rest/reference/teams#create-a-team", "previews": [], "headers": [], "parameters": [ @@ -48495,7 +48674,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "To delete a team, the authenticated user must be an organization owner or team maintainer.\n\nIf you are an organization owner, deleting a parent team will delete all of its child teams as well.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}`.", - "documentationUrl": "https://docs.github.com/rest/reference/teams/#delete-a-team", + "documentationUrl": "https://docs.github.com/rest/reference/teams#delete-a-team", "previews": [], "headers": [], "parameters": [ @@ -48572,7 +48751,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Gets a team using the team's `slug`. GitHub generates the `slug` from the team `name`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}`.", - "documentationUrl": "https://docs.github.com/rest/reference/teams/#get-a-team-by-name", + "documentationUrl": "https://docs.github.com/rest/reference/teams#get-a-team-by-name", "previews": [], "headers": [], "parameters": [ @@ -49106,7 +49285,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Lists all teams in an organization that are visible to the authenticated user.", - "documentationUrl": "https://docs.github.com/rest/reference/teams/#list-teams", + "documentationUrl": "https://docs.github.com/rest/reference/teams#list-teams", "previews": [], "headers": [], "parameters": [ @@ -49173,7 +49352,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Lists the child teams of the team specified by `{team_slug}`.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/teams`.", - "documentationUrl": "https://docs.github.com/rest/reference/teams/#list-child-teams", + "documentationUrl": "https://docs.github.com/rest/reference/teams#list-child-teams", "previews": [], "headers": [], "parameters": [ @@ -49702,7 +49881,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "List all of the teams across all of the organizations to which the authenticated user belongs. This method requires `user`, `repo`, or `read:org` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/) when authenticating via [OAuth](https://docs.github.com/apps/building-oauth-apps/).", - "documentationUrl": "https://docs.github.com/rest/reference/teams/#list-teams-for-the-authenticated-user", + "documentationUrl": "https://docs.github.com/rest/reference/teams#list-teams-for-the-authenticated-user", "previews": [], "headers": [], "parameters": [ @@ -50075,7 +50254,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Lists the organization projects for a team.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/projects`.", - "documentationUrl": "https://docs.github.com/rest/reference/teams/#list-team-projects", + "documentationUrl": "https://docs.github.com/rest/reference/teams#list-team-projects", "previews": [{ "name": "inertia" }], "headers": [], "parameters": [ @@ -50222,7 +50401,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Lists a team's repositories visible to the authenticated user.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `GET /organizations/{org_id}/team/{team_id}/repos`.", - "documentationUrl": "https://docs.github.com/rest/reference/teams/#list-team-repositories", + "documentationUrl": "https://docs.github.com/rest/reference/teams#list-team-repositories", "previews": [], "headers": [], "parameters": [ @@ -50531,7 +50710,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Removes an organization project from a team. An organization owner or a team maintainer can remove any project from the team. To remove a project from a team as an organization member, the authenticated user must have `read` access to both the team and project, or `admin` access to the team or project. This endpoint removes the project from the team, but does not delete the project.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `DELETE /organizations/{org_id}/team/{team_id}/projects/{project_id}`.", - "documentationUrl": "https://docs.github.com/rest/reference/teams/#remove-a-project-from-a-team", + "documentationUrl": "https://docs.github.com/rest/reference/teams#remove-a-project-from-a-team", "previews": [], "headers": [], "parameters": [ @@ -51106,7 +51285,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "To edit a team, the authenticated user must either be an organization owner or a team maintainer.\n\n**Note:** You can also specify a team by `org_id` and `team_id` using the route `PATCH /organizations/{org_id}/team/{team_id}`.", - "documentationUrl": "https://docs.github.com/rest/reference/teams/#update-a-team", + "documentationUrl": "https://docs.github.com/rest/reference/teams#update-a-team", "previews": [], "headers": [], "parameters": [ @@ -51854,7 +52033,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "If the authenticated user is authenticated through basic authentication or OAuth with the `user` scope, then the response lists public and private profile information.\n\nIf the authenticated user is authenticated through OAuth without the `user` scope, then the response lists only public profile information.", - "documentationUrl": "https://docs.github.com/rest/reference/users/#get-the-authenticated-user", + "documentationUrl": "https://docs.github.com/rest/reference/users#get-the-authenticated-user", "previews": [], "headers": [], "parameters": [], @@ -51890,7 +52069,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Provides publicly available information about someone with a GitHub account.\n\nGitHub Apps with the `Plan` user permission can use this endpoint to retrieve information about a user's GitHub plan. The GitHub App must be authenticated as a user. See \"[Identifying and authorizing users for GitHub Apps](https://docs.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/)\" for details about authentication. For an example response, see 'Response with GitHub plan information' below\"\n\nThe `email` key in the following response is the publicly visible email address from your GitHub [profile page](https://github.com/settings/profile). When setting up your profile, you can select a primary email address to be “public” which provides an email entry for this endpoint. If you do not set a public email address for `email`, then it will have a value of `null`. You only see publicly visible email addresses when authenticated with GitHub. For more information, see [Authentication](https://docs.github.com/rest/overview/resources-in-the-rest-api#authentication).\n\nThe Emails API enables you to list all of your email addresses, and toggle a primary email to be visible publicly. For more information, see \"[Emails API](https://docs.github.com/rest/reference/users#emails)\".", - "documentationUrl": "https://docs.github.com/rest/reference/users/#get-a-user", + "documentationUrl": "https://docs.github.com/rest/reference/users#get-a-user", "previews": [], "headers": [], "parameters": [ @@ -51935,7 +52114,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Provides hovercard information when authenticated through basic auth or OAuth with the `repo` scope. You can find out more about someone in relation to their pull requests, issues, repositories, and organizations.\n\nThe `subject_type` and `subject_id` parameters provide context for the person's hovercard, which returns more information than without the parameters. For example, if you wanted to find out more about `octocat` who owns the `Spoon-Knife` repository via cURL, it would look like this:\n\n```shell\n curl -u username:token\n https://api.github.com/users/octocat/hovercard?subject_type=repository&subject_id=1300192\n```", - "documentationUrl": "https://docs.github.com/rest/reference/users/#get-contextual-information-for-a-user", + "documentationUrl": "https://docs.github.com/rest/reference/users#get-contextual-information-for-a-user", "previews": [], "headers": [], "parameters": [ @@ -52099,7 +52278,7 @@ "isDeprecated": false, "deprecationDate": null, "description": "Lists all users, in the order that they signed up on GitHub. This list includes personal user accounts and organization accounts.\n\nNote: Pagination is powered exclusively by the `since` parameter. Use the [Link header](https://docs.github.com/rest/overview/resources-in-the-rest-api#link-header) to get the URL for the next page of users.", - "documentationUrl": "https://docs.github.com/rest/reference/users/#list-users", + "documentationUrl": "https://docs.github.com/rest/reference/users#list-users", "previews": [], "headers": [], "parameters": [ diff --git a/src/generated/endpoints.ts b/src/generated/endpoints.ts index e85516244..e493c7b54 100644 --- a/src/generated/endpoints.ts +++ b/src/generated/endpoints.ts @@ -4,6 +4,9 @@ const Endpoints: EndpointsDefaultsAndDecorations = { addSelectedRepoToOrgSecret: [ "PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}", ], + approveWorkflowRun: [ + "POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve", + ], cancelWorkflowRun: [ "POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel", ], @@ -322,9 +325,14 @@ const Endpoints: EndpointsDefaultsAndDecorations = { "GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}", ], getSarif: ["GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"], + listAlertInstances: [ + "GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances", + ], listAlertsForRepo: ["GET /repos/{owner}/{repo}/code-scanning/alerts"], listAlertsInstances: [ "GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances", + {}, + { renamed: ["codeScanning", "listAlertInstances"] }, ], listRecentAnalyses: ["GET /repos/{owner}/{repo}/code-scanning/analyses"], updateAlert: [ diff --git a/src/generated/method-types.ts b/src/generated/method-types.ts index 515652802..4b4412b3a 100644 --- a/src/generated/method-types.ts +++ b/src/generated/method-types.ts @@ -15,6 +15,22 @@ export type RestEndpointMethods = { defaults: RequestInterface["defaults"]; endpoint: EndpointInterface<{ url: string }>; }; + /** + * **Note:** This endpoint is currently in beta and is subject to change. + * + * Approves a workflow run for a pull request from a public fork of a first time contributor. For more information, see ["Approving workflow runs from public forks](https://docs.github.com/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks)." + * + * You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. + */ + approveWorkflowRun: { + ( + params?: RestEndpointMethodTypes["actions"]["approveWorkflowRun"]["parameters"] + ): Promise< + RestEndpointMethodTypes["actions"]["approveWorkflowRun"]["response"] + >; + defaults: RequestInterface["defaults"]; + endpoint: EndpointInterface<{ url: string }>; + }; /** * Cancels a workflow run using its `id`. You must authenticate using an access token with the `repo` scope to use this endpoint. GitHub Apps must have the `actions:write` permission to use this endpoint. */ @@ -2397,6 +2413,18 @@ export type RestEndpointMethods = { defaults: RequestInterface["defaults"]; endpoint: EndpointInterface<{ url: string }>; }; + /** + * Lists all instances of the specified code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint. + */ + listAlertInstances: { + ( + params?: RestEndpointMethodTypes["codeScanning"]["listAlertInstances"]["parameters"] + ): Promise< + RestEndpointMethodTypes["codeScanning"]["listAlertInstances"]["response"] + >; + defaults: RequestInterface["defaults"]; + endpoint: EndpointInterface<{ url: string }>; + }; /** * Lists all open code scanning alerts for the default branch (usually `main` * or `master`). You must use an access token with the `security_events` scope to use @@ -2419,6 +2447,7 @@ export type RestEndpointMethods = { }; /** * Lists all instances of the specified code scanning alert. You must use an access token with the `security_events` scope to use this endpoint. GitHub Apps must have the `security_events` read permission to use this endpoint. + * @deprecated octokit.rest.codeScanning.listAlertsInstances() has been renamed to octokit.rest.codeScanning.listAlertInstances() (2021-04-30) */ listAlertsInstances: { ( @@ -5478,7 +5507,7 @@ export type RestEndpointMethods = { }; reactions: { /** - * Create a reaction to a [commit comment](https://docs.github.com/rest/reference/repos#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this commit comment. + * Create a reaction to a [commit comment](https://docs.github.com/rest/reference/repos#comments). A response with an HTTP `200` status means that you already added the reaction type to this commit comment. */ createForCommitComment: { ( @@ -5490,7 +5519,7 @@ export type RestEndpointMethods = { endpoint: EndpointInterface<{ url: string }>; }; /** - * Create a reaction to an [issue](https://docs.github.com/rest/reference/issues/). A response with a `Status: 200 OK` means that you already added the reaction type to this issue. + * Create a reaction to an [issue](https://docs.github.com/rest/reference/issues/). A response with an HTTP `200` status means that you already added the reaction type to this issue. */ createForIssue: { ( @@ -5502,7 +5531,7 @@ export type RestEndpointMethods = { endpoint: EndpointInterface<{ url: string }>; }; /** - * Create a reaction to an [issue comment](https://docs.github.com/rest/reference/issues#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this issue comment. + * Create a reaction to an [issue comment](https://docs.github.com/rest/reference/issues#comments). A response with an HTTP `200` status means that you already added the reaction type to this issue comment. */ createForIssueComment: { ( @@ -5514,7 +5543,7 @@ export type RestEndpointMethods = { endpoint: EndpointInterface<{ url: string }>; }; /** - * Create a reaction to a [pull request review comment](https://docs.github.com/rest/reference/pulls#comments). A response with a `Status: 200 OK` means that you already added the reaction type to this pull request review comment. + * Create a reaction to a [pull request review comment](https://docs.github.com/rest/reference/pulls#comments). A response with an HTTP `200` status means that you already added the reaction type to this pull request review comment. */ createForPullRequestReviewComment: { ( @@ -5526,7 +5555,7 @@ export type RestEndpointMethods = { endpoint: EndpointInterface<{ url: string }>; }; /** - * Create a reaction to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion comment. + * Create a reaction to a [team discussion comment](https://docs.github.com/rest/reference/teams#discussion-comments). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion comment. * * **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/comments/:comment_number/reactions`. */ @@ -5540,7 +5569,7 @@ export type RestEndpointMethods = { endpoint: EndpointInterface<{ url: string }>; }; /** - * Create a reaction to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with a `Status: 200 OK` means that you already added the reaction type to this team discussion. + * Create a reaction to a [team discussion](https://docs.github.com/rest/reference/teams#discussions). OAuth access tokens require the `write:discussion` [scope](https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/). A response with an HTTP `200` status means that you already added the reaction type to this team discussion. * * **Note:** You can also specify a team by `org_id` and `team_id` using the route `POST /organizations/:org_id/team/:team_id/discussions/:discussion_number/reactions`. */ diff --git a/src/generated/parameters-and-response-types.ts b/src/generated/parameters-and-response-types.ts index ef1ccfba4..f32849509 100644 --- a/src/generated/parameters-and-response-types.ts +++ b/src/generated/parameters-and-response-types.ts @@ -10,6 +10,14 @@ export type RestEndpointMethodTypes = { >; response: Endpoints["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"]["response"]; }; + approveWorkflowRun: { + parameters: RequestParameters & + Omit< + Endpoints["POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve"]["parameters"], + "baseUrl" | "headers" | "mediaType" + >; + response: Endpoints["POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve"]["response"]; + }; cancelWorkflowRun: { parameters: RequestParameters & Omit< @@ -1260,6 +1268,14 @@ export type RestEndpointMethodTypes = { >; response: Endpoints["GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"]["response"]; }; + listAlertInstances: { + parameters: RequestParameters & + Omit< + Endpoints["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances"]["parameters"], + "baseUrl" | "headers" | "mediaType" + >; + response: Endpoints["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances"]["response"]; + }; listAlertsForRepo: { parameters: RequestParameters & Omit<