diff --git a/content/actions/how-tos/write-workflows/choose-what-workflows-do/use-secrets.md b/content/actions/how-tos/write-workflows/choose-what-workflows-do/use-secrets.md index 9649e4e8be0a..8da765aac983 100644 --- a/content/actions/how-tos/write-workflows/choose-what-workflows-do/use-secrets.md +++ b/content/actions/how-tos/write-workflows/choose-what-workflows-do/use-secrets.md @@ -167,7 +167,8 @@ You can check which access policies are being applied to a secret in your organi > [!NOTE] > * {% data reusables.actions.forked-secrets %} > * Secrets are not automatically passed to reusable workflows. For more information, see [AUTOTITLE](/actions/using-workflows/reusing-workflows#passing-inputs-and-secrets-to-a-reusable-workflow). -> {% data reusables.actions.about-oidc-short-overview %} +> * Secrets are not available to workflows triggered by {% data variables.product.prodname_dependabot %} events. For more information, see [AUTOTITLE](/code-security/dependabot/troubleshooting-dependabot/troubleshooting-dependabot-on-github-actions#accessing-secrets). +> * {% data reusables.actions.about-oidc-short-overview %} > [!WARNING] Mask all sensitive information that is not a {% data variables.product.prodname_dotcom %} secret by using `::add-mask::VALUE`. This causes the value to be treated as a secret and redacted from logs. diff --git a/content/admin/managing-iam/configuring-authentication-for-enterprise-managed-users/configuring-saml-single-sign-on-for-enterprise-managed-users.md b/content/admin/managing-iam/configuring-authentication-for-enterprise-managed-users/configuring-saml-single-sign-on-for-enterprise-managed-users.md index 913ae8e3f2f5..8ee9983540a9 100644 --- a/content/admin/managing-iam/configuring-authentication-for-enterprise-managed-users/configuring-saml-single-sign-on-for-enterprise-managed-users.md +++ b/content/admin/managing-iam/configuring-authentication-for-enterprise-managed-users/configuring-saml-single-sign-on-for-enterprise-managed-users.md @@ -108,11 +108,14 @@ After the initial configuration of SAML SSO, the only setting you can update on {% data reusables.enterprise-accounts.identity-provider-tab %} {% data reusables.enterprise-accounts.sso-configuration %} -1. Under "SAML single sign-on", select **Add SAML configuration**. +1. Under "SAML single sign-on," select **Add SAML configuration**. 1. Under **Sign on URL**, type the HTTPS endpoint of your IdP for SSO requests that you noted while configuring your IdP. 1. Under **Issuer**, type your SAML issuer URL that you noted while configuring your IdP, to verify the authenticity of sent messages. 1. Under **Public Certificate**, paste the certificate that you noted while configuring your IdP, to verify SAML responses. -1. Under **Public Certificate**, select the **Signature Method** and **Digest Method** dropdown menus, then click the hashing algorithm used by your SAML issuer. + + > [!NOTE] + > {% data variables.product.github %} does not enforce the expiration of this SAML IdP certificate. This means that even if this certificate expires, your SAML authentication will continue to work. However, if your IdP administrator regenerates the SAML certificate, and you don't update it on the {% data variables.product.github %} side, users will encounter a `digest mismatch` error during SAML authentication attempts due to the certificate mismatch. See [Error: Digest mismatch](/admin/managing-iam/using-saml-for-enterprise-iam/troubleshooting-saml-authentication#error-digest-mismatch). +1. Under the same **Public Certificate** section, select the **Signature Method** and **Digest Method** dropdown menus, then click the hashing algorithm used by your SAML issuer. 1. Before enabling SAML SSO for your enterprise, to ensure that the information you've entered is correct, click **Test SAML configuration**. {% data reusables.saml.test-must-succeed %} 1. Click **Save SAML settings**. diff --git a/content/admin/managing-iam/using-saml-for-enterprise-iam/configuring-saml-single-sign-on-for-your-enterprise.md b/content/admin/managing-iam/using-saml-for-enterprise-iam/configuring-saml-single-sign-on-for-your-enterprise.md index 89dc473a8f1c..d6fbd4bf576d 100644 --- a/content/admin/managing-iam/using-saml-for-enterprise-iam/configuring-saml-single-sign-on-for-your-enterprise.md +++ b/content/admin/managing-iam/using-saml-for-enterprise-iam/configuring-saml-single-sign-on-for-your-enterprise.md @@ -92,6 +92,7 @@ For more detailed information about how to enable SAML using Okta, see [AUTOTITL {% data reusables.enterprise-accounts.access-enterprise %} {% data reusables.enterprise-accounts.settings-tab %} {% data reusables.enterprise-accounts.security-tab %} + 1. {% data reusables.enterprise-accounts.view-current-policy-config-orgs %} 1. Under "SAML single sign-on", select **Require SAML authentication**. 1. In the **Sign on URL** field, type the HTTPS endpoint of your IdP for single sign-on requests. This value is available in your IdP configuration. @@ -101,6 +102,7 @@ For more detailed information about how to enable SAML using Okta, see [AUTOTITL To find the certificate, refer to the documentation for your IdP. Some IdPs call this an X.509 certificate. {% data reusables.saml.edit-signature-and-digest-methods %} + 1. Before enabling SAML SSO for your enterprise, to ensure that the information you've entered is correct, click **Test SAML configuration** . {% data reusables.saml.test-must-succeed %} 1. Click **Save**. {% data reusables.enterprise-accounts.download-recovery-codes %} @@ -117,6 +119,7 @@ You can enable or disable SAML authentication for {% data variables.location.pro {% data reusables.enterprise_site_admin_settings.access-settings %} {% data reusables.enterprise_site_admin_settings.management-console %} {% data reusables.enterprise_management_console.authentication %} + 1. Under "Authentication", select **SAML**. 1. {% data reusables.enterprise_user_management.built-in-authentication-option %} 1. Optionally, to enable unsolicited response SSO, select **IdP initiated SSO**. By default, {% data variables.product.prodname_ghe_server %} will reply to an unsolicited Identity Provider (IdP) initiated request with an `AuthnRequest` back to the IdP. @@ -129,11 +132,15 @@ You can enable or disable SAML authentication for {% data variables.location.pro You must ensure that your IdP supports encrypted assertions and that the encryption and key transport methods in the management console match the values configured on your IdP. You must also provide {% data variables.location.product_location %}'s public certificate to your IdP. For more information, see [AUTOTITLE](/admin/identity-and-access-management/using-saml-for-enterprise-iam/enabling-encrypted-assertions). -1. Under "Single sign-on URL," type the HTTP or HTTPS endpoint on your IdP for single sign-on requests. This value is provided by your IdP configuration. If the host is only available from your internal network, you may need to [configure {% data variables.location.product_location %} to use internal nameservers](/admin/configuration/configuring-network-settings/configuring-dns-nameservers). +1. In the **Single sign-on URL** field, type the HTTP or HTTPS endpoint on your IdP for single sign-on requests. This value is provided by your IdP configuration. If the host is only available from your internal network, you may need to [configure {% data variables.location.product_location %} to use internal nameservers](/admin/configuration/configuring-network-settings/configuring-dns-nameservers). 1. Optionally, in the **Issuer** field, type your SAML issuer's name. This verifies the authenticity of messages sent to {% data variables.location.product_location %}. 1. Select the **Signature Method** and **Digest Method** dropdown menus, then click the hashing algorithm used by your SAML issuer to verify the integrity of the requests from {% data variables.location.product_location %}. 1. Select the **Name Identifier Format** dropdown menu, then click a format. -1. Under "Verification certificate," click **Choose File**, then choose a certificate to validate SAML responses from the IdP. +1. Under "Verification certificate", click **Choose File**, then choose a certificate to validate SAML responses from the IdP. + + > [!NOTE] + > {% data variables.product.github %} does not enforce the expiration of this SAML IdP certificate. This means that even if this certificate expires, your SAML authentication will continue to work. However, if your IdP administrator regenerates the SAML certificate, and you don't update it on the {% data variables.product.github %} side, users will encounter a `digest mismatch` error during SAML authentication attempts due to the certificate mismatch. See [Error: Digest mismatch](/admin/managing-iam/using-saml-for-enterprise-iam/troubleshooting-saml-authentication#error-digest-mismatch). + 1. Under "User attributes", modify the SAML attribute names to match your IdP if needed, or accept the default names. {% endif %} @@ -141,6 +148,7 @@ You can enable or disable SAML authentication for {% data variables.location.pro ## Further reading {%- ifversion ghec %} + * [AUTOTITLE](/organizations/managing-saml-single-sign-on-for-your-organization) {%- endif %} {%- ifversion ghes %} diff --git a/content/admin/managing-iam/using-saml-for-enterprise-iam/troubleshooting-saml-authentication.md b/content/admin/managing-iam/using-saml-for-enterprise-iam/troubleshooting-saml-authentication.md index 793b08433c45..261ca9c34b53 100644 --- a/content/admin/managing-iam/using-saml-for-enterprise-iam/troubleshooting-saml-authentication.md +++ b/content/admin/managing-iam/using-saml-for-enterprise-iam/troubleshooting-saml-authentication.md @@ -31,22 +31,24 @@ For more information about SAML response requirements, see [AUTOTITLE](/admin/id You can configure {% data variables.product.prodname_ghe_server %} to write verbose debug logs for every SAML authentication attempt. You may be able to troubleshoot failed authentication attempts with this extra output. > [!WARNING] +> > * Only enable SAML debugging temporarily, and disable debugging immediately after you finish troubleshooting. If you leave debugging enabled, the size of the logs increases much faster than usual, which can negatively impact the performance of {% data variables.product.prodname_ghe_server %}. > * Test new authentication settings for {% data variables.location.product_location %} in a staging environment before you apply the settings in your production environment. For more information, see [AUTOTITLE](/admin/installation/setting-up-a-github-enterprise-server-instance/setting-up-a-staging-instance). {% data reusables.enterprise-accounts.access-enterprise %} {% data reusables.enterprise-accounts.policies-tab %} {% data reusables.enterprise-accounts.options-tab %} + 1. Under "SAML debugging", select the drop-down and click **Enabled**. -1. Attempt to sign into {% data variables.location.product_location %} through your SAML IdP. -1. Review the debug output in the systemd journal for `github-unicorn`on {% data variables.location.product_location %}. For more information, see [AUTOTITLE](/admin/monitoring-and-managing-your-instance/monitoring-your-instance/about-system-logs#system-logs-in-the-systemd-journal-for-github-enterprise-server). +1. Attempt to sign in to {% data variables.location.product_location %} through your SAML IdP. +1. Review the debug output in the `systemd` journal for `github-unicorn` on {% data variables.location.product_location %}. For more information, see [AUTOTITLE](/admin/monitoring-and-managing-your-instance/monitoring-your-instance/about-system-logs#system-logs-in-the-systemd-journal-for-github-enterprise-server). 1. When you're done troubleshooting, select the drop-down and click **Disabled**. ## Decoding responses -Some output in the systemd journal for `github-unicorn` may be Base64-encoded. You can access the administrative shell and use the `base64` utility on {% data variables.location.product_location %} to decode these responses. For more information, see [AUTOTITLE](/admin/configuration/configuring-your-enterprise/accessing-the-administrative-shell-ssh). +Some output in the `systemd` journal for `github-unicorn` may be Base64-encoded. You can access the administrative shell and use the `base64` utility on {% data variables.location.product_location %} to decode these responses. For more information, see [AUTOTITLE](/admin/configuration/configuring-your-enterprise/accessing-the-administrative-shell-ssh). -To decode the output, run the following command, replacing ENCODED_OUTPUT with the encoded output from the log. +To decode the output, run the following command, replacing `ENCODED_OUTPUT` with the encoded output from the log. ```shell base64 --decode ENCODED_OUTPUT @@ -110,3 +112,11 @@ This error can occur in version 3.17.0 or later of {% data variables.location.pr {% ifversion ghec %} {% data reusables.saml.authentication-loop %} {% endif %} + +## Error: Digest mismatch + +A "Digest mismatch" error indicates that your SAML IdP is using a different SAML signing certificate than the one you have uploaded to {% data variables.product.github %}{% ifversion ghes %} or that the **Signature Method** or **Digest Method** configured on {% data variables.product.github %} differs from what your IdP is using{% endif %}. + +{% ifversion ghes %}Re-download this SAML certificate from your IdP and validate it using an online tool, such as the [Format a x509 cert](https://www.samltool.com/format_x509cert.php) tool from OneLogin. Then upload the SAML certificate again in the "Authentication" section in your {% data variables.product.prodname_ghe_server %} management console. See [AUTOTITLE](/admin/configuration/configuring-your-enterprise/accessing-the-management-console#accessing-the-management-console-as-an-unauthenticated-user).{% endif %} + +{% ifversion ghec %}Re-download this SAML certificate from your IdP and validate it using a tool such as the [Format a x509 cert](https://www.samltool.com/format_x509cert.php) tool from OneLogin. Then update the certificate saved in the {% data variables.product.github %} SAML settings.{% endif %} diff --git a/content/github-models/use-github-models/prototyping-with-ai-models.md b/content/github-models/use-github-models/prototyping-with-ai-models.md index bfb56fe91375..ee2cafb4a5f6 100644 --- a/content/github-models/use-github-models/prototyping-with-ai-models.md +++ b/content/github-models/use-github-models/prototyping-with-ai-models.md @@ -271,7 +271,7 @@ For custom models accessed with your own API keys, rate limits are set and enfor 1 - Azure OpenAI o1 and o3 + Azure OpenAI o1, o3, and gpt-5 Requests per minute Not applicable 1 @@ -300,7 +300,7 @@ For custom models accessed with your own API keys, rate limits are set and enfor 1 - Azure OpenAI o1-mini, o3-mini, and o4-mini + Azure OpenAI o1-mini, o3-mini, o4-mini, gpt-5-mini, gpt-5-nano, and gpt-5-chat Requests per minute Not applicable 2 diff --git a/content/organizations/managing-saml-single-sign-on-for-your-organization/enabling-and-testing-saml-single-sign-on-for-your-organization.md b/content/organizations/managing-saml-single-sign-on-for-your-organization/enabling-and-testing-saml-single-sign-on-for-your-organization.md index d0d6e43b69e6..461114ec1f4f 100644 --- a/content/organizations/managing-saml-single-sign-on-for-your-organization/enabling-and-testing-saml-single-sign-on-for-your-organization.md +++ b/content/organizations/managing-saml-single-sign-on-for-your-organization/enabling-and-testing-saml-single-sign-on-for-your-organization.md @@ -35,7 +35,8 @@ For more information about the identity providers (IdPs) that {% data variables. {% data reusables.profile.access_org %} {% data reusables.profile.org_settings %} {% data reusables.organizations.security %} -1. Under "SAML single sign-on", select **Enable SAML authentication**. + +1. Under "SAML single sign-on," select **Enable SAML authentication**. > [!NOTE] > After enabling SAML SSO, you can download your single sign-on recovery codes so that you can access your organization even if your IdP is unavailable. For more information, see [AUTOTITLE](/organizations/managing-saml-single-sign-on-for-your-organization/downloading-your-organizations-saml-single-sign-on-recovery-codes). @@ -46,8 +47,13 @@ For more information about the identity providers (IdPs) that {% data variables. > [!NOTE] > If you want to enable team synchronization for your organization, the "Issuer" field is a required. For more information, see [AUTOTITLE](/organizations/managing-saml-single-sign-on-for-your-organization/managing-team-synchronization-for-your-organization). -1. Under "Public Certificate," paste a certificate to verify SAML responses. +1. Under "Public Certificate", paste a certificate to verify SAML responses. + + > [!NOTE] + > {% data variables.product.github %} does not enforce the expiration of this SAML IdP certificate. This means that even if this certificate expires, your SAML authentication will continue to work. However, if your IdP administrator regenerates the SAML certificate, and you don't update it on the {% data variables.product.github %} side, users will encounter a `digest mismatch` error during SAML authentication attempts due to the certificate mismatch. See [Error: Digest mismatch](/admin/managing-iam/using-saml-for-enterprise-iam/troubleshooting-saml-authentication#error-digest-mismatch). + {% data reusables.saml.edit-signature-and-digest-methods %} + 1. Before enabling SAML SSO for your organization, to ensure that the information you've entered is correct, click **Test SAML configuration**. {% data reusables.saml.test-must-succeed %} > [!TIP] diff --git a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json index c05c184f1708..66bfc2bc9cd5 100644 --- a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json +++ b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat-permissions.json @@ -90,114 +90,6 @@ "title": "Administration", "displayTitle": "Organization permissions for \"Administration\"", "permissions": [ - { - "category": "actions", - "slug": "get-artifact-and-log-retention-settings-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/artifact-and-log-retention", - "additional-permissions": false, - "access": "read" - }, - { - "category": "actions", - "slug": "set-artifact-and-log-retention-settings-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/artifact-and-log-retention", - "additional-permissions": false, - "access": "write" - }, - { - "category": "actions", - "slug": "get-fork-pr-contributor-approval-permissions-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-contributor-approval", - "additional-permissions": false, - "access": "read" - }, - { - "category": "actions", - "slug": "set-fork-pr-contributor-approval-permissions-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-contributor-approval", - "additional-permissions": false, - "access": "write" - }, - { - "category": "actions", - "slug": "get-private-repo-fork-pr-workflow-settings-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-workflows-private-repos", - "additional-permissions": false, - "access": "read" - }, - { - "category": "actions", - "slug": "set-private-repo-fork-pr-workflow-settings-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-workflows-private-repos", - "additional-permissions": false, - "access": "write" - }, - { - "category": "actions", - "slug": "get-self-hosted-runners-settings-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners", - "additional-permissions": false, - "access": "read" - }, - { - "category": "actions", - "slug": "set-self-hosted-runners-settings-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners", - "additional-permissions": false, - "access": "write" - }, - { - "category": "actions", - "slug": "list-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories", - "additional-permissions": false, - "access": "read" - }, - { - "category": "actions", - "slug": "set-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories", - "additional-permissions": false, - "access": "write" - }, - { - "category": "actions", - "slug": "add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}", - "additional-permissions": true, - "access": "write" - }, - { - "category": "actions", - "slug": "remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "delete", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}", - "additional-permissions": true, - "access": "write" - }, { "category": "dependabot", "slug": "lists-the-repositories-dependabot-can-access-in-an-organization", @@ -396,6 +288,60 @@ "additional-permissions": false, "access": "write" }, + { + "category": "actions", + "slug": "get-artifact-and-log-retention-settings-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/artifact-and-log-retention", + "additional-permissions": false, + "access": "read" + }, + { + "category": "actions", + "slug": "set-artifact-and-log-retention-settings-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/artifact-and-log-retention", + "additional-permissions": false, + "access": "write" + }, + { + "category": "actions", + "slug": "get-fork-pr-contributor-approval-permissions-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-contributor-approval", + "additional-permissions": false, + "access": "read" + }, + { + "category": "actions", + "slug": "set-fork-pr-contributor-approval-permissions-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-contributor-approval", + "additional-permissions": false, + "access": "write" + }, + { + "category": "actions", + "slug": "get-private-repo-fork-pr-workflow-settings-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-workflows-private-repos", + "additional-permissions": false, + "access": "read" + }, + { + "category": "actions", + "slug": "set-private-repo-fork-pr-workflow-settings-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-workflows-private-repos", + "additional-permissions": false, + "access": "write" + }, { "category": "actions", "slug": "list-selected-repositories-enabled-for-github-actions-in-an-organization", @@ -450,6 +396,60 @@ "additional-permissions": false, "access": "write" }, + { + "category": "actions", + "slug": "get-self-hosted-runners-settings-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners", + "additional-permissions": false, + "access": "read" + }, + { + "category": "actions", + "slug": "set-self-hosted-runners-settings-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners", + "additional-permissions": false, + "access": "write" + }, + { + "category": "actions", + "slug": "list-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories", + "additional-permissions": false, + "access": "read" + }, + { + "category": "actions", + "slug": "set-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories", + "additional-permissions": false, + "access": "write" + }, + { + "category": "actions", + "slug": "add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}", + "additional-permissions": true, + "access": "write" + }, + { + "category": "actions", + "slug": "remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "delete", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}", + "additional-permissions": true, + "access": "write" + }, { "category": "actions", "slug": "get-default-workflow-permissions-for-an-organization", diff --git a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json index ba8fd1b335c0..3a08f096fae0 100644 --- a/src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json +++ b/src/github-apps/data/fpt-2022-11-28/fine-grained-pat.json @@ -1,77 +1,5 @@ { "actions": [ - { - "slug": "get-artifact-and-log-retention-settings-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/artifact-and-log-retention" - }, - { - "slug": "set-artifact-and-log-retention-settings-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/artifact-and-log-retention" - }, - { - "slug": "get-fork-pr-contributor-approval-permissions-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-contributor-approval" - }, - { - "slug": "set-fork-pr-contributor-approval-permissions-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-contributor-approval" - }, - { - "slug": "get-private-repo-fork-pr-workflow-settings-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-workflows-private-repos" - }, - { - "slug": "set-private-repo-fork-pr-workflow-settings-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-workflows-private-repos" - }, - { - "slug": "get-self-hosted-runners-settings-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners" - }, - { - "slug": "set-self-hosted-runners-settings-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners" - }, - { - "slug": "list-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories" - }, - { - "slug": "set-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories" - }, - { - "slug": "add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}" - }, - { - "slug": "remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "delete", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}" - }, { "slug": "get-github-actions-cache-usage-for-an-organization", "subcategory": "cache", @@ -168,6 +96,42 @@ "verb": "put", "requestPath": "/orgs/{org}/actions/permissions" }, + { + "slug": "get-artifact-and-log-retention-settings-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/artifact-and-log-retention" + }, + { + "slug": "set-artifact-and-log-retention-settings-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/artifact-and-log-retention" + }, + { + "slug": "get-fork-pr-contributor-approval-permissions-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-contributor-approval" + }, + { + "slug": "set-fork-pr-contributor-approval-permissions-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-contributor-approval" + }, + { + "slug": "get-private-repo-fork-pr-workflow-settings-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-workflows-private-repos" + }, + { + "slug": "set-private-repo-fork-pr-workflow-settings-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-workflows-private-repos" + }, { "slug": "list-selected-repositories-enabled-for-github-actions-in-an-organization", "subcategory": "permissions", @@ -204,6 +168,42 @@ "verb": "put", "requestPath": "/orgs/{org}/actions/permissions/selected-actions" }, + { + "slug": "get-self-hosted-runners-settings-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners" + }, + { + "slug": "set-self-hosted-runners-settings-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners" + }, + { + "slug": "list-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories" + }, + { + "slug": "set-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories" + }, + { + "slug": "add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}" + }, + { + "slug": "remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "delete", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}" + }, { "slug": "get-default-workflow-permissions-for-an-organization", "subcategory": "permissions", diff --git a/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json b/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json index cbbb6c68b954..5a2388a055c4 100644 --- a/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json +++ b/src/github-apps/data/fpt-2022-11-28/server-to-server-permissions.json @@ -108,138 +108,6 @@ "title": "Administration", "displayTitle": "Organization permissions for \"Administration\"", "permissions": [ - { - "category": "actions", - "slug": "get-artifact-and-log-retention-settings-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/artifact-and-log-retention", - "access": "read", - "user-to-server": true, - "server-to-server": true, - "additional-permissions": false - }, - { - "category": "actions", - "slug": "set-artifact-and-log-retention-settings-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/artifact-and-log-retention", - "access": "write", - "user-to-server": true, - "server-to-server": true, - "additional-permissions": false - }, - { - "category": "actions", - "slug": "get-fork-pr-contributor-approval-permissions-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-contributor-approval", - "access": "read", - "user-to-server": true, - "server-to-server": true, - "additional-permissions": false - }, - { - "category": "actions", - "slug": "set-fork-pr-contributor-approval-permissions-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-contributor-approval", - "access": "write", - "user-to-server": true, - "server-to-server": true, - "additional-permissions": false - }, - { - "category": "actions", - "slug": "get-private-repo-fork-pr-workflow-settings-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-workflows-private-repos", - "access": "read", - "user-to-server": true, - "server-to-server": true, - "additional-permissions": false - }, - { - "category": "actions", - "slug": "set-private-repo-fork-pr-workflow-settings-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-workflows-private-repos", - "access": "write", - "user-to-server": true, - "server-to-server": true, - "additional-permissions": false - }, - { - "category": "actions", - "slug": "get-self-hosted-runners-settings-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners", - "access": "read", - "user-to-server": true, - "server-to-server": true, - "additional-permissions": false - }, - { - "category": "actions", - "slug": "set-self-hosted-runners-settings-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners", - "access": "write", - "user-to-server": true, - "server-to-server": true, - "additional-permissions": false - }, - { - "category": "actions", - "slug": "list-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories", - "access": "read", - "user-to-server": true, - "server-to-server": true, - "additional-permissions": false - }, - { - "category": "actions", - "slug": "set-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories", - "access": "write", - "user-to-server": true, - "server-to-server": true, - "additional-permissions": false - }, - { - "category": "actions", - "slug": "add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}", - "access": "write", - "user-to-server": true, - "server-to-server": true, - "additional-permissions": true - }, - { - "category": "actions", - "slug": "remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "delete", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}", - "access": "write", - "user-to-server": true, - "server-to-server": true, - "additional-permissions": true - }, { "category": "dependabot", "slug": "lists-the-repositories-dependabot-can-access-in-an-organization", @@ -482,6 +350,72 @@ "server-to-server": true, "additional-permissions": false }, + { + "category": "actions", + "slug": "get-artifact-and-log-retention-settings-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/artifact-and-log-retention", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, + { + "category": "actions", + "slug": "set-artifact-and-log-retention-settings-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/artifact-and-log-retention", + "access": "write", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, + { + "category": "actions", + "slug": "get-fork-pr-contributor-approval-permissions-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-contributor-approval", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, + { + "category": "actions", + "slug": "set-fork-pr-contributor-approval-permissions-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-contributor-approval", + "access": "write", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, + { + "category": "actions", + "slug": "get-private-repo-fork-pr-workflow-settings-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-workflows-private-repos", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, + { + "category": "actions", + "slug": "set-private-repo-fork-pr-workflow-settings-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-workflows-private-repos", + "access": "write", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, { "category": "actions", "slug": "list-selected-repositories-enabled-for-github-actions-in-an-organization", @@ -548,6 +482,72 @@ "server-to-server": true, "additional-permissions": false }, + { + "category": "actions", + "slug": "get-self-hosted-runners-settings-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, + { + "category": "actions", + "slug": "set-self-hosted-runners-settings-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners", + "access": "write", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, + { + "category": "actions", + "slug": "list-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, + { + "category": "actions", + "slug": "set-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories", + "access": "write", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, + { + "category": "actions", + "slug": "add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}", + "access": "write", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": true + }, + { + "category": "actions", + "slug": "remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "delete", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}", + "access": "write", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": true + }, { "category": "actions", "slug": "get-default-workflow-permissions-for-an-organization", diff --git a/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json b/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json index e4fc4c343f84..4926cf9a5a6e 100644 --- a/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json +++ b/src/github-apps/data/fpt-2022-11-28/server-to-server-rest.json @@ -1,77 +1,5 @@ { "actions": [ - { - "slug": "get-artifact-and-log-retention-settings-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/artifact-and-log-retention" - }, - { - "slug": "set-artifact-and-log-retention-settings-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/artifact-and-log-retention" - }, - { - "slug": "get-fork-pr-contributor-approval-permissions-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-contributor-approval" - }, - { - "slug": "set-fork-pr-contributor-approval-permissions-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-contributor-approval" - }, - { - "slug": "get-private-repo-fork-pr-workflow-settings-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-workflows-private-repos" - }, - { - "slug": "set-private-repo-fork-pr-workflow-settings-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-workflows-private-repos" - }, - { - "slug": "get-self-hosted-runners-settings-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners" - }, - { - "slug": "set-self-hosted-runners-settings-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners" - }, - { - "slug": "list-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories" - }, - { - "slug": "set-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories" - }, - { - "slug": "add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}" - }, - { - "slug": "remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "delete", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}" - }, { "slug": "get-github-actions-cache-usage-for-an-organization", "subcategory": "cache", @@ -168,6 +96,42 @@ "verb": "put", "requestPath": "/orgs/{org}/actions/permissions" }, + { + "slug": "get-artifact-and-log-retention-settings-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/artifact-and-log-retention" + }, + { + "slug": "set-artifact-and-log-retention-settings-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/artifact-and-log-retention" + }, + { + "slug": "get-fork-pr-contributor-approval-permissions-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-contributor-approval" + }, + { + "slug": "set-fork-pr-contributor-approval-permissions-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-contributor-approval" + }, + { + "slug": "get-private-repo-fork-pr-workflow-settings-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-workflows-private-repos" + }, + { + "slug": "set-private-repo-fork-pr-workflow-settings-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-workflows-private-repos" + }, { "slug": "list-selected-repositories-enabled-for-github-actions-in-an-organization", "subcategory": "permissions", @@ -204,6 +168,42 @@ "verb": "put", "requestPath": "/orgs/{org}/actions/permissions/selected-actions" }, + { + "slug": "get-self-hosted-runners-settings-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners" + }, + { + "slug": "set-self-hosted-runners-settings-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners" + }, + { + "slug": "list-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories" + }, + { + "slug": "set-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories" + }, + { + "slug": "add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}" + }, + { + "slug": "remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "delete", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}" + }, { "slug": "get-default-workflow-permissions-for-an-organization", "subcategory": "permissions", diff --git a/src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json b/src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json index 1a9bfa7a9c77..7a9de6e785f9 100644 --- a/src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json +++ b/src/github-apps/data/fpt-2022-11-28/user-to-server-rest.json @@ -1,77 +1,5 @@ { "actions": [ - { - "slug": "get-artifact-and-log-retention-settings-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/artifact-and-log-retention" - }, - { - "slug": "set-artifact-and-log-retention-settings-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/artifact-and-log-retention" - }, - { - "slug": "get-fork-pr-contributor-approval-permissions-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-contributor-approval" - }, - { - "slug": "set-fork-pr-contributor-approval-permissions-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-contributor-approval" - }, - { - "slug": "get-private-repo-fork-pr-workflow-settings-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-workflows-private-repos" - }, - { - "slug": "set-private-repo-fork-pr-workflow-settings-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-workflows-private-repos" - }, - { - "slug": "get-self-hosted-runners-settings-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners" - }, - { - "slug": "set-self-hosted-runners-settings-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners" - }, - { - "slug": "list-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories" - }, - { - "slug": "set-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories" - }, - { - "slug": "add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}" - }, - { - "slug": "remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "delete", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}" - }, { "slug": "get-github-actions-cache-usage-for-an-organization", "subcategory": "cache", @@ -168,6 +96,42 @@ "verb": "put", "requestPath": "/orgs/{org}/actions/permissions" }, + { + "slug": "get-artifact-and-log-retention-settings-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/artifact-and-log-retention" + }, + { + "slug": "set-artifact-and-log-retention-settings-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/artifact-and-log-retention" + }, + { + "slug": "get-fork-pr-contributor-approval-permissions-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-contributor-approval" + }, + { + "slug": "set-fork-pr-contributor-approval-permissions-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-contributor-approval" + }, + { + "slug": "get-private-repo-fork-pr-workflow-settings-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-workflows-private-repos" + }, + { + "slug": "set-private-repo-fork-pr-workflow-settings-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-workflows-private-repos" + }, { "slug": "list-selected-repositories-enabled-for-github-actions-in-an-organization", "subcategory": "permissions", @@ -204,6 +168,42 @@ "verb": "put", "requestPath": "/orgs/{org}/actions/permissions/selected-actions" }, + { + "slug": "get-self-hosted-runners-settings-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners" + }, + { + "slug": "set-self-hosted-runners-settings-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners" + }, + { + "slug": "list-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories" + }, + { + "slug": "set-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories" + }, + { + "slug": "add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}" + }, + { + "slug": "remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "delete", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}" + }, { "slug": "get-default-workflow-permissions-for-an-organization", "subcategory": "permissions", diff --git a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json index c0d0ff071696..1bd7090e9cd0 100644 --- a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json +++ b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat-permissions.json @@ -282,114 +282,6 @@ "additional-permissions": true, "access": "read" }, - { - "category": "actions", - "slug": "get-artifact-and-log-retention-settings-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/artifact-and-log-retention", - "additional-permissions": false, - "access": "read" - }, - { - "category": "actions", - "slug": "set-artifact-and-log-retention-settings-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/artifact-and-log-retention", - "additional-permissions": false, - "access": "write" - }, - { - "category": "actions", - "slug": "get-fork-pr-contributor-approval-permissions-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-contributor-approval", - "additional-permissions": false, - "access": "read" - }, - { - "category": "actions", - "slug": "set-fork-pr-contributor-approval-permissions-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-contributor-approval", - "additional-permissions": false, - "access": "write" - }, - { - "category": "actions", - "slug": "get-private-repo-fork-pr-workflow-settings-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-workflows-private-repos", - "additional-permissions": false, - "access": "read" - }, - { - "category": "actions", - "slug": "set-private-repo-fork-pr-workflow-settings-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-workflows-private-repos", - "additional-permissions": false, - "access": "write" - }, - { - "category": "actions", - "slug": "get-self-hosted-runners-settings-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners", - "additional-permissions": false, - "access": "read" - }, - { - "category": "actions", - "slug": "set-self-hosted-runners-settings-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners", - "additional-permissions": false, - "access": "write" - }, - { - "category": "actions", - "slug": "list-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories", - "additional-permissions": false, - "access": "read" - }, - { - "category": "actions", - "slug": "set-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories", - "additional-permissions": false, - "access": "write" - }, - { - "category": "actions", - "slug": "add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}", - "additional-permissions": true, - "access": "write" - }, - { - "category": "actions", - "slug": "remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "delete", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}", - "additional-permissions": true, - "access": "write" - }, { "category": "dependabot", "slug": "lists-the-repositories-dependabot-can-access-in-an-organization", @@ -588,6 +480,60 @@ "additional-permissions": false, "access": "write" }, + { + "category": "actions", + "slug": "get-artifact-and-log-retention-settings-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/artifact-and-log-retention", + "additional-permissions": false, + "access": "read" + }, + { + "category": "actions", + "slug": "set-artifact-and-log-retention-settings-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/artifact-and-log-retention", + "additional-permissions": false, + "access": "write" + }, + { + "category": "actions", + "slug": "get-fork-pr-contributor-approval-permissions-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-contributor-approval", + "additional-permissions": false, + "access": "read" + }, + { + "category": "actions", + "slug": "set-fork-pr-contributor-approval-permissions-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-contributor-approval", + "additional-permissions": false, + "access": "write" + }, + { + "category": "actions", + "slug": "get-private-repo-fork-pr-workflow-settings-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-workflows-private-repos", + "additional-permissions": false, + "access": "read" + }, + { + "category": "actions", + "slug": "set-private-repo-fork-pr-workflow-settings-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-workflows-private-repos", + "additional-permissions": false, + "access": "write" + }, { "category": "actions", "slug": "list-selected-repositories-enabled-for-github-actions-in-an-organization", @@ -642,6 +588,60 @@ "additional-permissions": false, "access": "write" }, + { + "category": "actions", + "slug": "get-self-hosted-runners-settings-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners", + "additional-permissions": false, + "access": "read" + }, + { + "category": "actions", + "slug": "set-self-hosted-runners-settings-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners", + "additional-permissions": false, + "access": "write" + }, + { + "category": "actions", + "slug": "list-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories", + "additional-permissions": false, + "access": "read" + }, + { + "category": "actions", + "slug": "set-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories", + "additional-permissions": false, + "access": "write" + }, + { + "category": "actions", + "slug": "add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}", + "additional-permissions": true, + "access": "write" + }, + { + "category": "actions", + "slug": "remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "delete", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}", + "additional-permissions": true, + "access": "write" + }, { "category": "actions", "slug": "get-default-workflow-permissions-for-an-organization", diff --git a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json index 1e811fbd0c17..51df35f026b8 100644 --- a/src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json +++ b/src/github-apps/data/ghec-2022-11-28/fine-grained-pat.json @@ -12,78 +12,6 @@ "verb": "put", "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/issuer" }, - { - "slug": "get-artifact-and-log-retention-settings-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/artifact-and-log-retention" - }, - { - "slug": "set-artifact-and-log-retention-settings-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/artifact-and-log-retention" - }, - { - "slug": "get-fork-pr-contributor-approval-permissions-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-contributor-approval" - }, - { - "slug": "set-fork-pr-contributor-approval-permissions-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-contributor-approval" - }, - { - "slug": "get-private-repo-fork-pr-workflow-settings-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-workflows-private-repos" - }, - { - "slug": "set-private-repo-fork-pr-workflow-settings-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-workflows-private-repos" - }, - { - "slug": "get-self-hosted-runners-settings-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners" - }, - { - "slug": "set-self-hosted-runners-settings-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners" - }, - { - "slug": "list-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories" - }, - { - "slug": "set-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories" - }, - { - "slug": "add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}" - }, - { - "slug": "remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "delete", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}" - }, { "slug": "get-github-actions-cache-usage-for-an-organization", "subcategory": "cache", @@ -180,6 +108,42 @@ "verb": "put", "requestPath": "/orgs/{org}/actions/permissions" }, + { + "slug": "get-artifact-and-log-retention-settings-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/artifact-and-log-retention" + }, + { + "slug": "set-artifact-and-log-retention-settings-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/artifact-and-log-retention" + }, + { + "slug": "get-fork-pr-contributor-approval-permissions-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-contributor-approval" + }, + { + "slug": "set-fork-pr-contributor-approval-permissions-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-contributor-approval" + }, + { + "slug": "get-private-repo-fork-pr-workflow-settings-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-workflows-private-repos" + }, + { + "slug": "set-private-repo-fork-pr-workflow-settings-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-workflows-private-repos" + }, { "slug": "list-selected-repositories-enabled-for-github-actions-in-an-organization", "subcategory": "permissions", @@ -216,6 +180,42 @@ "verb": "put", "requestPath": "/orgs/{org}/actions/permissions/selected-actions" }, + { + "slug": "get-self-hosted-runners-settings-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners" + }, + { + "slug": "set-self-hosted-runners-settings-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners" + }, + { + "slug": "list-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories" + }, + { + "slug": "set-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories" + }, + { + "slug": "add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}" + }, + { + "slug": "remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "delete", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}" + }, { "slug": "get-default-workflow-permissions-for-an-organization", "subcategory": "permissions", diff --git a/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json b/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json index 5b73a9fba560..2daddf46d1bb 100644 --- a/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json +++ b/src/github-apps/data/ghec-2022-11-28/server-to-server-permissions.json @@ -506,138 +506,6 @@ "server-to-server": true, "additional-permissions": true }, - { - "category": "actions", - "slug": "get-artifact-and-log-retention-settings-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/artifact-and-log-retention", - "access": "read", - "user-to-server": true, - "server-to-server": true, - "additional-permissions": false - }, - { - "category": "actions", - "slug": "set-artifact-and-log-retention-settings-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/artifact-and-log-retention", - "access": "write", - "user-to-server": true, - "server-to-server": true, - "additional-permissions": false - }, - { - "category": "actions", - "slug": "get-fork-pr-contributor-approval-permissions-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-contributor-approval", - "access": "read", - "user-to-server": true, - "server-to-server": true, - "additional-permissions": false - }, - { - "category": "actions", - "slug": "set-fork-pr-contributor-approval-permissions-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-contributor-approval", - "access": "write", - "user-to-server": true, - "server-to-server": true, - "additional-permissions": false - }, - { - "category": "actions", - "slug": "get-private-repo-fork-pr-workflow-settings-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-workflows-private-repos", - "access": "read", - "user-to-server": true, - "server-to-server": true, - "additional-permissions": false - }, - { - "category": "actions", - "slug": "set-private-repo-fork-pr-workflow-settings-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-workflows-private-repos", - "access": "write", - "user-to-server": true, - "server-to-server": true, - "additional-permissions": false - }, - { - "category": "actions", - "slug": "get-self-hosted-runners-settings-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners", - "access": "read", - "user-to-server": true, - "server-to-server": true, - "additional-permissions": false - }, - { - "category": "actions", - "slug": "set-self-hosted-runners-settings-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners", - "access": "write", - "user-to-server": true, - "server-to-server": true, - "additional-permissions": false - }, - { - "category": "actions", - "slug": "list-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories", - "access": "read", - "user-to-server": true, - "server-to-server": true, - "additional-permissions": false - }, - { - "category": "actions", - "slug": "set-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories", - "access": "write", - "user-to-server": true, - "server-to-server": true, - "additional-permissions": false - }, - { - "category": "actions", - "slug": "add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}", - "access": "write", - "user-to-server": true, - "server-to-server": true, - "additional-permissions": true - }, - { - "category": "actions", - "slug": "remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "delete", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}", - "access": "write", - "user-to-server": true, - "server-to-server": true, - "additional-permissions": true - }, { "category": "dependabot", "slug": "lists-the-repositories-dependabot-can-access-in-an-organization", @@ -880,6 +748,72 @@ "server-to-server": true, "additional-permissions": false }, + { + "category": "actions", + "slug": "get-artifact-and-log-retention-settings-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/artifact-and-log-retention", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, + { + "category": "actions", + "slug": "set-artifact-and-log-retention-settings-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/artifact-and-log-retention", + "access": "write", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, + { + "category": "actions", + "slug": "get-fork-pr-contributor-approval-permissions-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-contributor-approval", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, + { + "category": "actions", + "slug": "set-fork-pr-contributor-approval-permissions-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-contributor-approval", + "access": "write", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, + { + "category": "actions", + "slug": "get-private-repo-fork-pr-workflow-settings-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-workflows-private-repos", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, + { + "category": "actions", + "slug": "set-private-repo-fork-pr-workflow-settings-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-workflows-private-repos", + "access": "write", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, { "category": "actions", "slug": "list-selected-repositories-enabled-for-github-actions-in-an-organization", @@ -946,6 +880,72 @@ "server-to-server": true, "additional-permissions": false }, + { + "category": "actions", + "slug": "get-self-hosted-runners-settings-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, + { + "category": "actions", + "slug": "set-self-hosted-runners-settings-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners", + "access": "write", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, + { + "category": "actions", + "slug": "list-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories", + "access": "read", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, + { + "category": "actions", + "slug": "set-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories", + "access": "write", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": false + }, + { + "category": "actions", + "slug": "add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}", + "access": "write", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": true + }, + { + "category": "actions", + "slug": "remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "delete", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}", + "access": "write", + "user-to-server": true, + "server-to-server": true, + "additional-permissions": true + }, { "category": "actions", "slug": "get-default-workflow-permissions-for-an-organization", diff --git a/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json b/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json index 1832bf5ef253..a5707aa09c4c 100644 --- a/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json +++ b/src/github-apps/data/ghec-2022-11-28/server-to-server-rest.json @@ -12,78 +12,6 @@ "verb": "put", "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/issuer" }, - { - "slug": "get-artifact-and-log-retention-settings-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/artifact-and-log-retention" - }, - { - "slug": "set-artifact-and-log-retention-settings-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/artifact-and-log-retention" - }, - { - "slug": "get-fork-pr-contributor-approval-permissions-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-contributor-approval" - }, - { - "slug": "set-fork-pr-contributor-approval-permissions-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-contributor-approval" - }, - { - "slug": "get-private-repo-fork-pr-workflow-settings-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-workflows-private-repos" - }, - { - "slug": "set-private-repo-fork-pr-workflow-settings-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-workflows-private-repos" - }, - { - "slug": "get-self-hosted-runners-settings-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners" - }, - { - "slug": "set-self-hosted-runners-settings-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners" - }, - { - "slug": "list-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories" - }, - { - "slug": "set-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories" - }, - { - "slug": "add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}" - }, - { - "slug": "remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "delete", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}" - }, { "slug": "get-github-actions-cache-usage-for-an-organization", "subcategory": "cache", @@ -180,6 +108,42 @@ "verb": "put", "requestPath": "/orgs/{org}/actions/permissions" }, + { + "slug": "get-artifact-and-log-retention-settings-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/artifact-and-log-retention" + }, + { + "slug": "set-artifact-and-log-retention-settings-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/artifact-and-log-retention" + }, + { + "slug": "get-fork-pr-contributor-approval-permissions-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-contributor-approval" + }, + { + "slug": "set-fork-pr-contributor-approval-permissions-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-contributor-approval" + }, + { + "slug": "get-private-repo-fork-pr-workflow-settings-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-workflows-private-repos" + }, + { + "slug": "set-private-repo-fork-pr-workflow-settings-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-workflows-private-repos" + }, { "slug": "list-selected-repositories-enabled-for-github-actions-in-an-organization", "subcategory": "permissions", @@ -216,6 +180,42 @@ "verb": "put", "requestPath": "/orgs/{org}/actions/permissions/selected-actions" }, + { + "slug": "get-self-hosted-runners-settings-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners" + }, + { + "slug": "set-self-hosted-runners-settings-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners" + }, + { + "slug": "list-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories" + }, + { + "slug": "set-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories" + }, + { + "slug": "add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}" + }, + { + "slug": "remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "delete", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}" + }, { "slug": "get-default-workflow-permissions-for-an-organization", "subcategory": "permissions", diff --git a/src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json b/src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json index 01412331ed37..b7f0e6440d42 100644 --- a/src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json +++ b/src/github-apps/data/ghec-2022-11-28/user-to-server-rest.json @@ -12,78 +12,6 @@ "verb": "put", "requestPath": "/enterprises/{enterprise}/actions/oidc/customization/issuer" }, - { - "slug": "get-artifact-and-log-retention-settings-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/artifact-and-log-retention" - }, - { - "slug": "set-artifact-and-log-retention-settings-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/artifact-and-log-retention" - }, - { - "slug": "get-fork-pr-contributor-approval-permissions-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-contributor-approval" - }, - { - "slug": "set-fork-pr-contributor-approval-permissions-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-contributor-approval" - }, - { - "slug": "get-private-repo-fork-pr-workflow-settings-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-workflows-private-repos" - }, - { - "slug": "set-private-repo-fork-pr-workflow-settings-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-workflows-private-repos" - }, - { - "slug": "get-self-hosted-runners-settings-for-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners" - }, - { - "slug": "set-self-hosted-runners-settings-for-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners" - }, - { - "slug": "list-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories" - }, - { - "slug": "set-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories" - }, - { - "slug": "add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}" - }, - { - "slug": "remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", - "subcategory": "permissions", - "verb": "delete", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}" - }, { "slug": "get-github-actions-cache-usage-for-an-organization", "subcategory": "cache", @@ -180,6 +108,42 @@ "verb": "put", "requestPath": "/orgs/{org}/actions/permissions" }, + { + "slug": "get-artifact-and-log-retention-settings-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/artifact-and-log-retention" + }, + { + "slug": "set-artifact-and-log-retention-settings-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/artifact-and-log-retention" + }, + { + "slug": "get-fork-pr-contributor-approval-permissions-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-contributor-approval" + }, + { + "slug": "set-fork-pr-contributor-approval-permissions-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-contributor-approval" + }, + { + "slug": "get-private-repo-fork-pr-workflow-settings-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-workflows-private-repos" + }, + { + "slug": "set-private-repo-fork-pr-workflow-settings-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-workflows-private-repos" + }, { "slug": "list-selected-repositories-enabled-for-github-actions-in-an-organization", "subcategory": "permissions", @@ -216,6 +180,42 @@ "verb": "put", "requestPath": "/orgs/{org}/actions/permissions/selected-actions" }, + { + "slug": "get-self-hosted-runners-settings-for-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners" + }, + { + "slug": "set-self-hosted-runners-settings-for-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners" + }, + { + "slug": "list-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories" + }, + { + "slug": "set-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories" + }, + { + "slug": "add-a-repository-to-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}" + }, + { + "slug": "remove-a-repository-from-the-list-of-repositories-allowed-to-use-self-hosted-runners-in-an-organization", + "subcategory": "permissions", + "verb": "delete", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}" + }, { "slug": "get-default-workflow-permissions-for-an-organization", "subcategory": "permissions", diff --git a/src/github-apps/lib/config.json b/src/github-apps/lib/config.json index 8406395bffb0..04d6c32946a2 100644 --- a/src/github-apps/lib/config.json +++ b/src/github-apps/lib/config.json @@ -60,5 +60,5 @@ "2022-11-28" ] }, - "sha": "666b21169e1897d67a032c0921ebe66432f1c93e" + "sha": "30ab35c5db4a05519ceed2e41292cdb7af182f1c" } \ No newline at end of file diff --git a/src/rest/data/fpt-2022-11-28/schema.json b/src/rest/data/fpt-2022-11-28/schema.json index 4c5def9df31e..b11814ae7379 100644 --- a/src/rest/data/fpt-2022-11-28/schema.json +++ b/src/rest/data/fpt-2022-11-28/schema.json @@ -4306,7 +4306,184 @@ { "serverUrl": "https://api.github.com", "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/artifact-and-log-retention", + "requestPath": "/orgs/{org}/actions/permissions", + "title": "Get GitHub Actions permissions for an organization", + "category": "actions", + "subcategory": "permissions", + "parameters": [ + { + "name": "org", + "description": "

The organization name. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Administration\" organization permissions": "read" + } + ] + }, + "codeExamples": [ + { + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "org": "ORG" + } + }, + "response": { + "statusCode": "200", + "contentType": "application/json", + "description": "

Response

", + "example": { + "enabled_repositories": "all", + "allowed_actions": "selected", + "selected_actions_url": "https://api.github.com/organizations/42/actions/permissions/selected-actions" + }, + "schema": { + "type": "object", + "properties": { + "enabled_repositories": { + "type": "string", + "description": "The policy that controls the repositories in the organization that are allowed to run GitHub Actions.", + "enum": [ + "all", + "none", + "selected" + ] + }, + "selected_repositories_url": { + "type": "string", + "description": "The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`." + }, + "allowed_actions": { + "type": "string", + "description": "The permissions policy that controls the actions and reusable workflows that are allowed to run.", + "enum": [ + "all", + "local_only", + "selected" + ] + }, + "selected_actions_url": { + "type": "string", + "description": "The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` is set to `selected`." + } + }, + "required": [ + "enabled_repositories" + ] + } + } + } + ], + "previews": [], + "descriptionHTML": "

Gets the GitHub Actions permissions policy for repositories and allowed actions and reusable workflows in an organization.

\n

OAuth tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", + "statusCodes": [ + { + "httpStatusCode": "200", + "description": "

OK

" + } + ] + }, + { + "serverUrl": "https://api.github.com", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions", + "title": "Set GitHub Actions permissions for an organization", + "category": "actions", + "subcategory": "permissions", + "parameters": [ + { + "name": "org", + "description": "

The organization name. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [ + { + "type": "string", + "name": "enabled_repositories", + "in": "body", + "description": "

The policy that controls the repositories in the organization that are allowed to run GitHub Actions.

", + "isRequired": true, + "enum": [ + "all", + "none", + "selected" + ] + }, + { + "type": "string", + "name": "allowed_actions", + "in": "body", + "description": "

The permissions policy that controls the actions and reusable workflows that are allowed to run.

", + "enum": [ + "all", + "local_only", + "selected" + ] + } + ], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Administration\" organization permissions": "write" + } + ] + }, + "codeExamples": [ + { + "key": "default", + "request": { + "contentType": "application/json", + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "enabled_repositories": "all", + "allowed_actions": "selected" + }, + "parameters": { + "org": "ORG" + } + }, + "response": { + "statusCode": "204", + "description": "

Response

" + } + } + ], + "previews": [], + "descriptionHTML": "

Sets the GitHub Actions permissions policy for repositories and allowed actions and reusable workflows in an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", + "statusCodes": [ + { + "httpStatusCode": "204", + "description": "

No Content

" + } + ] + }, + { + "serverUrl": "https://api.github.com", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/artifact-and-log-retention", "title": "Get artifact and log retention settings for an organization", "category": "actions", "subcategory": "permissions", @@ -4390,7 +4567,7 @@ { "serverUrl": "https://api.github.com", "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/artifact-and-log-retention", + "requestPath": "/orgs/{org}/actions/permissions/artifact-and-log-retention", "title": "Set artifact and log retention settings for an organization", "category": "actions", "subcategory": "permissions", @@ -4472,7 +4649,7 @@ { "serverUrl": "https://api.github.com", "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-contributor-approval", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-contributor-approval", "title": "Get fork PR contributor approval permissions for an organization", "category": "actions", "subcategory": "permissions", @@ -4551,7 +4728,7 @@ { "serverUrl": "https://api.github.com", "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-contributor-approval", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-contributor-approval", "title": "Set fork PR contributor approval permissions for an organization", "category": "actions", "subcategory": "permissions", @@ -4630,7 +4807,7 @@ { "serverUrl": "https://api.github.com", "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-workflows-private-repos", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-workflows-private-repos", "title": "Get private repo fork PR workflow settings for an organization", "category": "actions", "subcategory": "permissions", @@ -4726,7 +4903,7 @@ { "serverUrl": "https://api.github.com", "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-workflows-private-repos", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-workflows-private-repos", "title": "Set private repo fork PR workflow settings for an organization", "category": "actions", "subcategory": "permissions", @@ -4825,183 +5002,8 @@ { "serverUrl": "https://api.github.com", "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners", - "title": "Get self-hosted runners settings for an organization", - "category": "actions", - "subcategory": "permissions", - "parameters": [ - { - "name": "org", - "description": "

The organization name. The name is not case sensitive.

", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "bodyParameters": [], - "progAccess": { - "userToServerRest": true, - "serverToServer": true, - "fineGrainedPat": true, - "permissions": [ - { - "\"Administration\" organization permissions": "read" - } - ] - }, - "codeExamples": [ - { - "key": "default", - "request": { - "description": "Example", - "acceptHeader": "application/vnd.github.v3+json", - "parameters": { - "org": "ORG" - } - }, - "response": { - "statusCode": "200", - "contentType": "application/json", - "description": "

Example response

", - "example": { - "enabled_repositories": "selected", - "selected_repositories_url": "http://api.github.localhost/organizations/1/actions/permissions/self-hosted-runners/repositories" - }, - "schema": { - "type": "object", - "required": [ - "enabled_repositories" - ], - "properties": { - "enabled_repositories": { - "type": "string", - "description": "The policy that controls whether self-hosted runners can be used by repositories in the organization", - "enum": [ - "all", - "selected", - "none" - ] - }, - "selected_repositories_url": { - "type": "string", - "description": "The URL to the endpoint for managing selected repositories for self-hosted runners in the organization" - } - } - } - } - } - ], - "previews": [], - "descriptionHTML": "

Gets the settings for self-hosted runners for an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope or the \"Actions policies\" fine-grained permission to use this endpoint.

", - "statusCodes": [ - { - "httpStatusCode": "200", - "description": "

OK

" - }, - { - "httpStatusCode": "403", - "description": "

Forbidden

" - }, - { - "httpStatusCode": "404", - "description": "

Resource not found

" - } - ] - }, - { - "serverUrl": "https://api.github.com", - "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners", - "title": "Set self-hosted runners settings for an organization", - "category": "actions", - "subcategory": "permissions", - "parameters": [ - { - "name": "org", - "description": "

The organization name. The name is not case sensitive.

", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "bodyParameters": [ - { - "type": "string", - "name": "enabled_repositories", - "in": "body", - "description": "

The policy that controls whether self-hosted runners can be used in the organization

", - "isRequired": true, - "enum": [ - "all", - "selected", - "none" - ] - } - ], - "progAccess": { - "userToServerRest": true, - "serverToServer": true, - "fineGrainedPat": true, - "permissions": [ - { - "\"Administration\" organization permissions": "write" - } - ] - }, - "codeExamples": [ - { - "key": "application/json", - "request": { - "contentType": "application/json", - "description": "Example", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "enabled_repositories": "all" - }, - "parameters": { - "org": "ORG" - } - }, - "response": { - "statusCode": "204", - "description": "

No content

" - } - } - ], - "previews": [], - "descriptionHTML": "

Sets the settings for self-hosted runners for an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope or the \"Actions policies\" fine-grained permission to use this endpoint.

", - "statusCodes": [ - { - "httpStatusCode": "204", - "description": "

No content

" - }, - { - "httpStatusCode": "403", - "description": "

Forbidden

" - }, - { - "httpStatusCode": "404", - "description": "

Resource not found

" - }, - { - "httpStatusCode": "409", - "description": "

Conflict

" - }, - { - "httpStatusCode": "422", - "description": "

Validation failed, or the endpoint has been spammed.

" - } - ] - }, - { - "serverUrl": "https://api.github.com", - "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories", - "title": "List repositories allowed to use self-hosted runners in an organization", + "requestPath": "/orgs/{org}/actions/permissions/repositories", + "title": "List selected repositories enabled for GitHub Actions in an organization", "category": "actions", "subcategory": "permissions", "parameters": [ @@ -5188,9 +5190,13 @@ }, "schema": { "type": "object", + "required": [ + "total_count", + "repositories" + ], "properties": { "total_count": { - "type": "integer" + "type": "number" }, "repositories": { "type": "array", @@ -6150,27 +6156,19 @@ } ], "previews": [], - "descriptionHTML": "

Lists repositories that are allowed to use self-hosted runners in an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope or the \"Actions policies\" fine-grained permission to use this endpoint.

", + "descriptionHTML": "

Lists the selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for enabled_repositories must be configured to selected. For more information, see \"Set GitHub Actions permissions for an organization.\"

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" - }, - { - "httpStatusCode": "403", - "description": "

Forbidden

" - }, - { - "httpStatusCode": "404", - "description": "

Resource not found

" } ] }, { "serverUrl": "https://api.github.com", "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories", - "title": "Set repositories allowed to use self-hosted runners in an organization", + "requestPath": "/orgs/{org}/actions/permissions/repositories", + "title": "Set selected repositories enabled for GitHub Actions in an organization", "category": "actions", "subcategory": "permissions", "parameters": [ @@ -6189,7 +6187,7 @@ "type": "array of integers", "name": "selected_repository_ids", "in": "body", - "description": "

IDs of repositories that can use repository-level self-hosted runners

", + "description": "

List of repository IDs to enable for GitHub Actions.

", "isRequired": true } ], @@ -6205,16 +6203,15 @@ }, "codeExamples": [ { - "key": "application/json", + "key": "default", "request": { "contentType": "application/json", "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "bodyParameters": { "selected_repository_ids": [ - 1, - 2, - 3 + 32, + 42 ] }, "parameters": { @@ -6223,36 +6220,24 @@ }, "response": { "statusCode": "204", - "description": "

No content

" + "description": "

Response

" } } ], "previews": [], - "descriptionHTML": "

Sets repositories that are allowed to use self-hosted runners in an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope or the \"Actions policies\" fine-grained permission to use this endpoint.

", + "descriptionHTML": "

Replaces the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for enabled_repositories must be configured to selected. For more information, see \"Set GitHub Actions permissions for an organization.\"

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", - "description": "

No content

" - }, - { - "httpStatusCode": "403", - "description": "

Forbidden

" - }, - { - "httpStatusCode": "404", - "description": "

Resource not found

" - }, - { - "httpStatusCode": "422", - "description": "

Validation failed, or the endpoint has been spammed.

" + "description": "

No Content

" } ] }, { "serverUrl": "https://api.github.com", "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}", - "title": "Add a repository to the list of repositories allowed to use self-hosted runners in an organization", + "requestPath": "/orgs/{org}/actions/permissions/repositories/{repository_id}", + "title": "Enable a selected repository for GitHub Actions in an organization", "category": "actions", "subcategory": "permissions", "parameters": [ @@ -6300,40 +6285,24 @@ }, "response": { "statusCode": "204", - "description": "

No content

" + "description": "

Response

" } } ], "previews": [], - "descriptionHTML": "

Adds a repository to the list of repositories that are allowed to use self-hosted runners in an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope or the \"Actions policies\" fine-grained permission to use this endpoint.

", + "descriptionHTML": "

Adds a repository to the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for enabled_repositories must be must be configured to selected. For more information, see \"Set GitHub Actions permissions for an organization.\"

\n

OAuth tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", - "description": "

No content

" - }, - { - "httpStatusCode": "403", - "description": "

Forbidden

" - }, - { - "httpStatusCode": "404", - "description": "

Resource not found

" - }, - { - "httpStatusCode": "409", - "description": "

Conflict

" - }, - { - "httpStatusCode": "422", - "description": "

Validation failed, or the endpoint has been spammed.

" + "description": "

No Content

" } ] }, { "serverUrl": "https://api.github.com", "verb": "delete", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}", - "title": "Remove a repository from the list of repositories allowed to use self-hosted runners in an organization", + "requestPath": "/orgs/{org}/actions/permissions/repositories/{repository_id}", + "title": "Disable a selected repository for GitHub Actions in an organization", "category": "actions", "subcategory": "permissions", "parameters": [ @@ -6381,40 +6350,189 @@ }, "response": { "statusCode": "204", - "description": "

No content

" + "description": "

Response

" } } ], "previews": [], - "descriptionHTML": "

Removes a repository from the list of repositories that are allowed to use self-hosted runners in an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope or the \"Actions policies\" fine-grained permission to use this endpoint.

", + "descriptionHTML": "

Removes a repository from the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for enabled_repositories must be configured to selected. For more information, see \"Set GitHub Actions permissions for an organization.\"

\n

OAuth tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", - "description": "

No content

" - }, + "description": "

No Content

" + } + ] + }, + { + "serverUrl": "https://api.github.com", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/selected-actions", + "title": "Get allowed actions and reusable workflows for an organization", + "category": "actions", + "subcategory": "permissions", + "parameters": [ { - "httpStatusCode": "403", - "description": "

Forbidden

" - }, + "name": "org", + "description": "

The organization name. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Administration\" organization permissions": "read" + } + ] + }, + "codeExamples": [ { - "httpStatusCode": "404", - "description": "

Resource not found

" + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "org": "ORG" + } + }, + "response": { + "statusCode": "200", + "contentType": "application/json", + "description": "

Response

", + "example": { + "github_owned_allowed": true, + "verified_allowed": false, + "patterns_allowed": [ + "monalisa/octocat@*", + "docker/*" + ] + }, + "schema": { + "type": "object", + "properties": { + "github_owned_allowed": { + "type": "boolean", + "description": "Whether GitHub-owned actions are allowed. For example, this includes the actions in the `actions` organization." + }, + "verified_allowed": { + "type": "boolean", + "description": "Whether actions from GitHub Marketplace verified creators are allowed. Set to `true` to allow all actions by GitHub Marketplace verified creators." + }, + "patterns_allowed": { + "type": "array", + "description": "Specifies a list of string-matching patterns to allow specific action(s) and reusable workflow(s). Wildcards, tags, and SHAs are allowed. For example, `monalisa/octocat@*`, `monalisa/octocat@v2`, `monalisa/*`.\n\n> [!NOTE]\n> The `patterns_allowed` setting only applies to public repositories.", + "items": { + "type": "string" + } + } + } + } + } + } + ], + "previews": [], + "descriptionHTML": "

Gets the selected actions and reusable workflows that are allowed in an organization. To use this endpoint, the organization permission policy for allowed_actions must be configured to selected. For more information, see \"Set GitHub Actions permissions for an organization.\"

\n

OAuth tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", + "statusCodes": [ + { + "httpStatusCode": "200", + "description": "

OK

" + } + ] + }, + { + "serverUrl": "https://api.github.com", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/selected-actions", + "title": "Set allowed actions and reusable workflows for an organization", + "category": "actions", + "subcategory": "permissions", + "parameters": [ + { + "name": "org", + "description": "

The organization name. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [ + { + "type": "boolean", + "name": "github_owned_allowed", + "in": "body", + "description": "

Whether GitHub-owned actions are allowed. For example, this includes the actions in the actions organization.

" }, { - "httpStatusCode": "409", - "description": "

Conflict

" + "type": "boolean", + "name": "verified_allowed", + "in": "body", + "description": "

Whether actions from GitHub Marketplace verified creators are allowed. Set to true to allow all actions by GitHub Marketplace verified creators.

" }, { - "httpStatusCode": "422", - "description": "

Validation failed, or the endpoint has been spammed.

" + "type": "array of strings", + "name": "patterns_allowed", + "in": "body", + "description": "

Specifies a list of string-matching patterns to allow specific action(s) and reusable workflow(s). Wildcards, tags, and SHAs are allowed. For example, monalisa/octocat@*, monalisa/octocat@v2, monalisa/*.

\n

Note

\n

\nThe patterns_allowed setting only applies to public repositories.

\n
" + } + ], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Administration\" organization permissions": "write" + } + ] + }, + "codeExamples": [ + { + "key": "selected_actions", + "request": { + "contentType": "application/json", + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "github_owned_allowed": true, + "verified_allowed": false, + "patterns_allowed": [ + "monalisa/octocat@*", + "docker/*" + ] + }, + "parameters": { + "org": "ORG" + } + }, + "response": { + "statusCode": "204", + "description": "

Response

" + } + } + ], + "previews": [], + "descriptionHTML": "

Sets the actions and reusable workflows that are allowed in an organization. To use this endpoint, the organization permission policy for allowed_actions must be configured to selected. For more information, see \"Set GitHub Actions permissions for an organization.\"

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", + "statusCodes": [ + { + "httpStatusCode": "204", + "description": "

No Content

" } ] }, { "serverUrl": "https://api.github.com", "verb": "get", - "requestPath": "/orgs/{org}/actions/permissions", - "title": "Get GitHub Actions permissions for an organization", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners", + "title": "Get self-hosted runners settings for an organization", "category": "actions", "subcategory": "permissions", "parameters": [ @@ -6452,63 +6570,57 @@ "response": { "statusCode": "200", "contentType": "application/json", - "description": "

Response

", + "description": "

Example response

", "example": { - "enabled_repositories": "all", - "allowed_actions": "selected", - "selected_actions_url": "https://api.github.com/organizations/42/actions/permissions/selected-actions" + "enabled_repositories": "selected", + "selected_repositories_url": "http://api.github.localhost/organizations/1/actions/permissions/self-hosted-runners/repositories" }, "schema": { "type": "object", + "required": [ + "enabled_repositories" + ], "properties": { "enabled_repositories": { "type": "string", - "description": "The policy that controls the repositories in the organization that are allowed to run GitHub Actions.", + "description": "The policy that controls whether self-hosted runners can be used by repositories in the organization", "enum": [ "all", - "none", - "selected" + "selected", + "none" ] }, "selected_repositories_url": { "type": "string", - "description": "The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`." - }, - "allowed_actions": { - "type": "string", - "description": "The permissions policy that controls the actions and reusable workflows that are allowed to run.", - "enum": [ - "all", - "local_only", - "selected" - ] - }, - "selected_actions_url": { - "type": "string", - "description": "The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` is set to `selected`." + "description": "The URL to the endpoint for managing selected repositories for self-hosted runners in the organization" } - }, - "required": [ - "enabled_repositories" - ] + } } } } ], "previews": [], - "descriptionHTML": "

Gets the GitHub Actions permissions policy for repositories and allowed actions and reusable workflows in an organization.

\n

OAuth tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", + "descriptionHTML": "

Gets the settings for self-hosted runners for an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope or the \"Actions policies\" fine-grained permission to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "404", + "description": "

Resource not found

" } ] }, { "serverUrl": "https://api.github.com", "verb": "put", - "requestPath": "/orgs/{org}/actions/permissions", - "title": "Set GitHub Actions permissions for an organization", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners", + "title": "Set self-hosted runners settings for an organization", "category": "actions", "subcategory": "permissions", "parameters": [ @@ -6527,23 +6639,12 @@ "type": "string", "name": "enabled_repositories", "in": "body", - "description": "

The policy that controls the repositories in the organization that are allowed to run GitHub Actions.

", + "description": "

The policy that controls whether self-hosted runners can be used in the organization

", "isRequired": true, "enum": [ "all", - "none", - "selected" - ] - }, - { - "type": "string", - "name": "allowed_actions", - "in": "body", - "description": "

The permissions policy that controls the actions and reusable workflows that are allowed to run.

", - "enum": [ - "all", - "local_only", - "selected" + "selected", + "none" ] } ], @@ -6559,14 +6660,13 @@ }, "codeExamples": [ { - "key": "default", + "key": "application/json", "request": { "contentType": "application/json", "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "bodyParameters": { - "enabled_repositories": "all", - "allowed_actions": "selected" + "enabled_repositories": "all" }, "parameters": { "org": "ORG" @@ -6574,24 +6674,40 @@ }, "response": { "statusCode": "204", - "description": "

Response

" + "description": "

No content

" } } ], "previews": [], - "descriptionHTML": "

Sets the GitHub Actions permissions policy for repositories and allowed actions and reusable workflows in an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", + "descriptionHTML": "

Sets the settings for self-hosted runners for an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope or the \"Actions policies\" fine-grained permission to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", - "description": "

No Content

" + "description": "

No content

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "404", + "description": "

Resource not found

" + }, + { + "httpStatusCode": "409", + "description": "

Conflict

" + }, + { + "httpStatusCode": "422", + "description": "

Validation failed, or the endpoint has been spammed.

" } ] }, { "serverUrl": "https://api.github.com", "verb": "get", - "requestPath": "/orgs/{org}/actions/permissions/repositories", - "title": "List selected repositories enabled for GitHub Actions in an organization", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories", + "title": "List repositories allowed to use self-hosted runners in an organization", "category": "actions", "subcategory": "permissions", "parameters": [ @@ -6778,13 +6894,9 @@ }, "schema": { "type": "object", - "required": [ - "total_count", - "repositories" - ], "properties": { "total_count": { - "type": "number" + "type": "integer" }, "repositories": { "type": "array", @@ -7744,19 +7856,27 @@ } ], "previews": [], - "descriptionHTML": "

Lists the selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for enabled_repositories must be configured to selected. For more information, see \"Set GitHub Actions permissions for an organization.\"

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", + "descriptionHTML": "

Lists repositories that are allowed to use self-hosted runners in an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope or the \"Actions policies\" fine-grained permission to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "404", + "description": "

Resource not found

" } ] }, { "serverUrl": "https://api.github.com", "verb": "put", - "requestPath": "/orgs/{org}/actions/permissions/repositories", - "title": "Set selected repositories enabled for GitHub Actions in an organization", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories", + "title": "Set repositories allowed to use self-hosted runners in an organization", "category": "actions", "subcategory": "permissions", "parameters": [ @@ -7775,7 +7895,7 @@ "type": "array of integers", "name": "selected_repository_ids", "in": "body", - "description": "

List of repository IDs to enable for GitHub Actions.

", + "description": "

IDs of repositories that can use repository-level self-hosted runners

", "isRequired": true } ], @@ -7791,15 +7911,16 @@ }, "codeExamples": [ { - "key": "default", + "key": "application/json", "request": { "contentType": "application/json", "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "bodyParameters": { "selected_repository_ids": [ - 32, - 42 + 1, + 2, + 3 ] }, "parameters": { @@ -7808,24 +7929,117 @@ }, "response": { "statusCode": "204", - "description": "

Response

" + "description": "

No content

" } } ], "previews": [], - "descriptionHTML": "

Replaces the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for enabled_repositories must be configured to selected. For more information, see \"Set GitHub Actions permissions for an organization.\"

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", + "descriptionHTML": "

Sets repositories that are allowed to use self-hosted runners in an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope or the \"Actions policies\" fine-grained permission to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", - "description": "

No Content

" + "description": "

No content

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "404", + "description": "

Resource not found

" + }, + { + "httpStatusCode": "422", + "description": "

Validation failed, or the endpoint has been spammed.

" } ] }, { "serverUrl": "https://api.github.com", "verb": "put", - "requestPath": "/orgs/{org}/actions/permissions/repositories/{repository_id}", - "title": "Enable a selected repository for GitHub Actions in an organization", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}", + "title": "Add a repository to the list of repositories allowed to use self-hosted runners in an organization", + "category": "actions", + "subcategory": "permissions", + "parameters": [ + { + "name": "org", + "description": "

The organization name. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "repository_id", + "description": "

The unique identifier of the repository.

", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "bodyParameters": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Administration\" organization permissions": "write", + "\"Metadata\" repository permissions": "read" + } + ] + }, + "codeExamples": [ + { + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "org": "ORG", + "repository_id": "REPOSITORY_ID" + } + }, + "response": { + "statusCode": "204", + "description": "

No content

" + } + } + ], + "previews": [], + "descriptionHTML": "

Adds a repository to the list of repositories that are allowed to use self-hosted runners in an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope or the \"Actions policies\" fine-grained permission to use this endpoint.

", + "statusCodes": [ + { + "httpStatusCode": "204", + "description": "

No content

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "404", + "description": "

Resource not found

" + }, + { + "httpStatusCode": "409", + "description": "

Conflict

" + }, + { + "httpStatusCode": "422", + "description": "

Validation failed, or the endpoint has been spammed.

" + } + ] + }, + { + "serverUrl": "https://api.github.com", + "verb": "delete", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}", + "title": "Remove a repository from the list of repositories allowed to use self-hosted runners in an organization", "category": "actions", "subcategory": "permissions", "parameters": [ @@ -7873,246 +8087,32 @@ }, "response": { "statusCode": "204", - "description": "

Response

" + "description": "

No content

" } } ], "previews": [], - "descriptionHTML": "

Adds a repository to the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for enabled_repositories must be must be configured to selected. For more information, see \"Set GitHub Actions permissions for an organization.\"

\n

OAuth tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", + "descriptionHTML": "

Removes a repository from the list of repositories that are allowed to use self-hosted runners in an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope or the \"Actions policies\" fine-grained permission to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", - "description": "

No Content

" - } - ] - }, - { - "serverUrl": "https://api.github.com", - "verb": "delete", - "requestPath": "/orgs/{org}/actions/permissions/repositories/{repository_id}", - "title": "Disable a selected repository for GitHub Actions in an organization", - "category": "actions", - "subcategory": "permissions", - "parameters": [ - { - "name": "org", - "description": "

The organization name. The name is not case sensitive.

", - "in": "path", - "required": true, - "schema": { - "type": "string" - } + "description": "

No content

" }, { - "name": "repository_id", - "description": "

The unique identifier of the repository.

", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "bodyParameters": [], - "progAccess": { - "userToServerRest": true, - "serverToServer": true, - "fineGrainedPat": true, - "permissions": [ - { - "\"Administration\" organization permissions": "write", - "\"Metadata\" repository permissions": "read" - } - ] - }, - "codeExamples": [ - { - "key": "default", - "request": { - "description": "Example", - "acceptHeader": "application/vnd.github.v3+json", - "parameters": { - "org": "ORG", - "repository_id": "REPOSITORY_ID" - } - }, - "response": { - "statusCode": "204", - "description": "

Response

" - } - } - ], - "previews": [], - "descriptionHTML": "

Removes a repository from the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for enabled_repositories must be configured to selected. For more information, see \"Set GitHub Actions permissions for an organization.\"

\n

OAuth tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", - "statusCodes": [ - { - "httpStatusCode": "204", - "description": "

No Content

" - } - ] - }, - { - "serverUrl": "https://api.github.com", - "verb": "get", - "requestPath": "/orgs/{org}/actions/permissions/selected-actions", - "title": "Get allowed actions and reusable workflows for an organization", - "category": "actions", - "subcategory": "permissions", - "parameters": [ - { - "name": "org", - "description": "

The organization name. The name is not case sensitive.

", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "bodyParameters": [], - "progAccess": { - "userToServerRest": true, - "serverToServer": true, - "fineGrainedPat": true, - "permissions": [ - { - "\"Administration\" organization permissions": "read" - } - ] - }, - "codeExamples": [ - { - "key": "default", - "request": { - "description": "Example", - "acceptHeader": "application/vnd.github.v3+json", - "parameters": { - "org": "ORG" - } - }, - "response": { - "statusCode": "200", - "contentType": "application/json", - "description": "

Response

", - "example": { - "github_owned_allowed": true, - "verified_allowed": false, - "patterns_allowed": [ - "monalisa/octocat@*", - "docker/*" - ] - }, - "schema": { - "type": "object", - "properties": { - "github_owned_allowed": { - "type": "boolean", - "description": "Whether GitHub-owned actions are allowed. For example, this includes the actions in the `actions` organization." - }, - "verified_allowed": { - "type": "boolean", - "description": "Whether actions from GitHub Marketplace verified creators are allowed. Set to `true` to allow all actions by GitHub Marketplace verified creators." - }, - "patterns_allowed": { - "type": "array", - "description": "Specifies a list of string-matching patterns to allow specific action(s) and reusable workflow(s). Wildcards, tags, and SHAs are allowed. For example, `monalisa/octocat@*`, `monalisa/octocat@v2`, `monalisa/*`.\n\n> [!NOTE]\n> The `patterns_allowed` setting only applies to public repositories.", - "items": { - "type": "string" - } - } - } - } - } - } - ], - "previews": [], - "descriptionHTML": "

Gets the selected actions and reusable workflows that are allowed in an organization. To use this endpoint, the organization permission policy for allowed_actions must be configured to selected. For more information, see \"Set GitHub Actions permissions for an organization.\"

\n

OAuth tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", - "statusCodes": [ - { - "httpStatusCode": "200", - "description": "

OK

" - } - ] - }, - { - "serverUrl": "https://api.github.com", - "verb": "put", - "requestPath": "/orgs/{org}/actions/permissions/selected-actions", - "title": "Set allowed actions and reusable workflows for an organization", - "category": "actions", - "subcategory": "permissions", - "parameters": [ - { - "name": "org", - "description": "

The organization name. The name is not case sensitive.

", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "bodyParameters": [ - { - "type": "boolean", - "name": "github_owned_allowed", - "in": "body", - "description": "

Whether GitHub-owned actions are allowed. For example, this includes the actions in the actions organization.

" + "httpStatusCode": "403", + "description": "

Forbidden

" }, { - "type": "boolean", - "name": "verified_allowed", - "in": "body", - "description": "

Whether actions from GitHub Marketplace verified creators are allowed. Set to true to allow all actions by GitHub Marketplace verified creators.

" + "httpStatusCode": "404", + "description": "

Resource not found

" }, { - "type": "array of strings", - "name": "patterns_allowed", - "in": "body", - "description": "

Specifies a list of string-matching patterns to allow specific action(s) and reusable workflow(s). Wildcards, tags, and SHAs are allowed. For example, monalisa/octocat@*, monalisa/octocat@v2, monalisa/*.

\n

Note

\n

\nThe patterns_allowed setting only applies to public repositories.

\n
" - } - ], - "progAccess": { - "userToServerRest": true, - "serverToServer": true, - "fineGrainedPat": true, - "permissions": [ - { - "\"Administration\" organization permissions": "write" - } - ] - }, - "codeExamples": [ - { - "key": "selected_actions", - "request": { - "contentType": "application/json", - "description": "Example", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "github_owned_allowed": true, - "verified_allowed": false, - "patterns_allowed": [ - "monalisa/octocat@*", - "docker/*" - ] - }, - "parameters": { - "org": "ORG" - } - }, - "response": { - "statusCode": "204", - "description": "

Response

" - } - } - ], - "previews": [], - "descriptionHTML": "

Sets the actions and reusable workflows that are allowed in an organization. To use this endpoint, the organization permission policy for allowed_actions must be configured to selected. For more information, see \"Set GitHub Actions permissions for an organization.\"

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", - "statusCodes": [ + "httpStatusCode": "409", + "description": "

Conflict

" + }, { - "httpStatusCode": "204", - "description": "

No Content

" + "httpStatusCode": "422", + "description": "

Validation failed, or the endpoint has been spammed.

" } ] }, @@ -173782,7 +173782,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -174207,7 +174207,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -174850,7 +174850,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -175275,7 +175275,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -175652,7 +175652,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -176278,7 +176278,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -176354,7 +176354,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -176447,7 +176447,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -176864,7 +176864,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -179209,7 +179209,7 @@ "type": "array of integers", "name": "selected_repository_ids", "in": "body", - "description": "

An array of repository IDs to detach from configurations. Up to 1000 IDs can be provided.

" + "description": "

An array of repository IDs to detach from configurations. Up to 250 IDs can be provided.

" } ], "progAccess": { @@ -244335,6 +244335,7 @@ "pending_cancellation_date": null, "last_activity_at": "2021-10-14T00:53:32-06:00", "last_activity_editor": "vscode/1.77.3/copilot/1.86.82", + "last_authenticated_at": "2021-10-14T00:53:32-06:00", "plan_type": "business", "assignee": { "login": "octocat", @@ -244378,6 +244379,7 @@ "pending_cancellation_date": "2021-11-01", "last_activity_at": "2021-10-13T00:53:32-06:00", "last_activity_editor": "vscode/1.77.3/copilot/1.86.82", + "last_authenticated_at": "2021-10-14T00:53:32-06:00", "assignee": { "login": "octokitten", "id": 1, @@ -245020,6 +245022,14 @@ ], "description": "Last editor that was used by the user for a GitHub Copilot completion." }, + "last_authenticated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "Timestamp of the last time the user authenticated with GitHub Copilot, in ISO 8601 format." + }, "created_at": { "type": "string", "format": "date-time", @@ -245575,6 +245585,7 @@ "pending_cancellation_date": null, "last_activity_at": "2021-10-14T00:53:32-06:00", "last_activity_editor": "vscode/1.77.3/copilot/1.86.82", + "last_authenticated_at": "2021-10-14T00:53:32-06:00", "plan_type": "business", "assignee": { "login": "octocat", @@ -246222,6 +246233,14 @@ ], "description": "Last editor that was used by the user for a GitHub Copilot completion." }, + "last_authenticated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "Timestamp of the last time the user authenticated with GitHub Copilot, in ISO 8601 format." + }, "created_at": { "type": "string", "format": "date-time", @@ -246364,7 +246383,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -248344,6 +248363,22 @@ "type": "string" } }, + { + "name": "artifact_registry_url", + "in": "query", + "description": "

A comma-separated list of Artifact Registry URLs. If specified, only alerts for repositories with storage records matching these URLs will be returned.

", + "schema": { + "type": "string" + } + }, + { + "name": "package_registry", + "in": "query", + "description": "

A comma-separated list of Package Registry name strings. If specified, only alerts for repositories with storage records matching these registries will be returned.

\n

Can be: jfrog-artifactory

", + "schema": { + "type": "string" + } + }, { "name": "has", "in": "query", @@ -579376,7 +579411,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { diff --git a/src/rest/data/ghec-2022-11-28/schema.json b/src/rest/data/ghec-2022-11-28/schema.json index 928c77f4995c..23f338a4936c 100644 --- a/src/rest/data/ghec-2022-11-28/schema.json +++ b/src/rest/data/ghec-2022-11-28/schema.json @@ -977,7 +977,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -1829,7 +1829,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -2173,7 +2173,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -2529,7 +2529,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -2653,7 +2653,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -2759,13 +2759,13 @@ } ], "previews": [], + "descriptionHTML": "

Get the list of partner images available for GitHub-hosted runners for an enterprise.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Get the list of partner images available for GitHub-hosted runners for an enterprise.

" + ] }, { "serverUrl": "https://api.github.com", @@ -2777,7 +2777,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -2867,7 +2867,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -2980,7 +2980,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -3056,7 +3056,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -3351,7 +3351,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -3678,7 +3678,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -6158,7 +6158,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -6283,13 +6283,13 @@ } ], "previews": [], + "descriptionHTML": "

Gets the customization template for an OpenID Connect (OIDC) subject claim.

\n

OAuth app tokens and personal access tokens (classic) need the read:org scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

A JSON serialized template for OIDC subject claim customization

" } - ], - "descriptionHTML": "

Gets the customization template for an OpenID Connect (OIDC) subject claim.

\n

OAuth app tokens and personal access tokens (classic) need the read:org scope to use this endpoint.

" + ] }, { "serverUrl": "https://api.github.com", @@ -6598,7 +6598,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -6688,7 +6688,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -6767,7 +6767,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -6847,7 +6847,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -6917,7 +6917,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -6992,7 +6992,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -7067,7 +7067,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -7155,7 +7155,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -7246,7 +7246,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -7448,7 +7448,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -7513,7 +7513,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -7555,13 +7555,13 @@ } ], "previews": [], + "descriptionHTML": "

Adds an organization to the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for enabled_organizations must be configured to selected. For more information, see \"Set GitHub Actions permissions for an enterprise.\"

\n

OAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

" } - ], - "descriptionHTML": "

Adds an organization to the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for enabled_organizations must be configured to selected. For more information, see \"Set GitHub Actions permissions for an enterprise.\"

\n

OAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.

" + ] }, { "serverUrl": "https://api.github.com", @@ -7573,7 +7573,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -7633,7 +7633,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -7712,7 +7712,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -7790,7 +7790,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -7860,7 +7860,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -7930,7 +7930,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -8006,7 +8006,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -8071,8 +8071,8 @@ { "serverUrl": "https://api.github.com", "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/artifact-and-log-retention", - "title": "Get artifact and log retention settings for an organization", + "requestPath": "/orgs/{org}/actions/permissions", + "title": "Get GitHub Actions permissions for an organization", "category": "actions", "subcategory": "permissions", "parameters": [ @@ -8110,53 +8110,63 @@ "response": { "statusCode": "200", "contentType": "application/json", - "description": "

Example response

", + "description": "

Response

", "example": { - "days": 90, - "maximum_allowed_days": 365 + "enabled_repositories": "all", + "allowed_actions": "selected", + "selected_actions_url": "https://api.github.com/organizations/42/actions/permissions/selected-actions" }, "schema": { "type": "object", "properties": { - "days": { - "type": "integer", - "description": "The number of days artifacts and logs are retained" + "enabled_repositories": { + "type": "string", + "description": "The policy that controls the repositories in the organization that are allowed to run GitHub Actions.", + "enum": [ + "all", + "none", + "selected" + ] }, - "maximum_allowed_days": { - "type": "integer", - "description": "The maximum number of days that can be configured" + "selected_repositories_url": { + "type": "string", + "description": "The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`." + }, + "allowed_actions": { + "type": "string", + "description": "The permissions policy that controls the actions and reusable workflows that are allowed to run.", + "enum": [ + "all", + "local_only", + "selected" + ] + }, + "selected_actions_url": { + "type": "string", + "description": "The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` is set to `selected`." } }, "required": [ - "days", - "maximum_allowed_days" + "enabled_repositories" ] } } } ], "previews": [], - "descriptionHTML": "

Gets artifact and log retention settings for an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope or the \"Actions policies\" fine-grained permission to use this endpoint.

", + "descriptionHTML": "

Gets the GitHub Actions permissions policy for repositories and allowed actions and reusable workflows in an organization.

\n

OAuth tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" - }, - { - "httpStatusCode": "403", - "description": "

Forbidden

" - }, - { - "httpStatusCode": "404", - "description": "

Resource not found

" } ] }, { "serverUrl": "https://api.github.com", "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/artifact-and-log-retention", - "title": "Set artifact and log retention settings for an organization", + "requestPath": "/orgs/{org}/actions/permissions", + "title": "Set GitHub Actions permissions for an organization", "category": "actions", "subcategory": "permissions", "parameters": [ @@ -8172,11 +8182,27 @@ ], "bodyParameters": [ { - "type": "integer", - "name": "days", + "type": "string", + "name": "enabled_repositories", "in": "body", - "description": "

The number of days to retain artifacts and logs

", - "isRequired": true + "description": "

The policy that controls the repositories in the organization that are allowed to run GitHub Actions.

", + "isRequired": true, + "enum": [ + "all", + "none", + "selected" + ] + }, + { + "type": "string", + "name": "allowed_actions", + "in": "body", + "description": "

The permissions policy that controls the actions and reusable workflows that are allowed to run.

", + "enum": [ + "all", + "local_only", + "selected" + ] } ], "progAccess": { @@ -8191,13 +8217,14 @@ }, "codeExamples": [ { - "key": "application/json", + "key": "default", "request": { "contentType": "application/json", "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "bodyParameters": { - "days": 100 + "enabled_repositories": "all", + "allowed_actions": "selected" }, "parameters": { "org": "ORG" @@ -8205,40 +8232,24 @@ }, "response": { "statusCode": "204", - "description": "

No content

" + "description": "

Response

" } } ], "previews": [], - "descriptionHTML": "

Sets artifact and log retention settings for an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope or the \"Actions policies\" fine-grained permission to use this endpoint.

", + "descriptionHTML": "

Sets the GitHub Actions permissions policy for repositories and allowed actions in an organization.

\n

If the organization belongs to an enterprise that has set restrictive permissions at the enterprise level, such as allowed_actions to selected actions, then you cannot override them for the organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", - "description": "

No content

" - }, - { - "httpStatusCode": "403", - "description": "

Forbidden

" - }, - { - "httpStatusCode": "404", - "description": "

Resource not found

" - }, - { - "httpStatusCode": "409", - "description": "

Conflict

" - }, - { - "httpStatusCode": "422", - "description": "

Validation failed, or the endpoint has been spammed.

" + "description": "

No Content

" } ] }, { "serverUrl": "https://api.github.com", "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-contributor-approval", - "title": "Get fork PR contributor approval permissions for an organization", + "requestPath": "/orgs/{org}/actions/permissions/artifact-and-log-retention", + "title": "Get artifact and log retention settings for an organization", "category": "actions", "subcategory": "permissions", "parameters": [ @@ -8276,48 +8287,53 @@ "response": { "statusCode": "200", "contentType": "application/json", - "description": "

Response

", + "description": "

Example response

", "example": { - "approval_policy": "first_time_contributors" + "days": 90, + "maximum_allowed_days": 365 }, "schema": { "type": "object", "properties": { - "approval_policy": { - "type": "string", - "enum": [ - "first_time_contributors_new_to_github", - "first_time_contributors", - "all_external_contributors" - ], - "description": "The policy that controls when fork PR workflows require approval from a maintainer." + "days": { + "type": "integer", + "description": "The number of days artifacts and logs are retained" + }, + "maximum_allowed_days": { + "type": "integer", + "description": "The maximum number of days that can be configured" } }, "required": [ - "approval_policy" + "days", + "maximum_allowed_days" ] } } } ], "previews": [], + "descriptionHTML": "

Gets artifact and log retention settings for an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope or the \"Actions policies\" fine-grained permission to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, { "httpStatusCode": "404", "description": "

Resource not found

" } - ], - "descriptionHTML": "

Gets the fork PR contributor approval policy for an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope or the \"Actions policies\" fine-grained permission to use this endpoint.

" + ] }, { "serverUrl": "https://api.github.com", "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-contributor-approval", - "title": "Set fork PR contributor approval permissions for an organization", + "requestPath": "/orgs/{org}/actions/permissions/artifact-and-log-retention", + "title": "Set artifact and log retention settings for an organization", "category": "actions", "subcategory": "permissions", "parameters": [ @@ -8333,16 +8349,11 @@ ], "bodyParameters": [ { - "type": "string", - "name": "approval_policy", + "type": "integer", + "name": "days", "in": "body", - "description": "

The policy that controls when fork PR workflows require approval from a maintainer.

", - "isRequired": true, - "enum": [ - "first_time_contributors_new_to_github", - "first_time_contributors", - "all_external_contributors" - ] + "description": "

The number of days to retain artifacts and logs

", + "isRequired": true } ], "progAccess": { @@ -8357,13 +8368,13 @@ }, "codeExamples": [ { - "key": "default", + "key": "application/json", "request": { "contentType": "application/json", - "description": "Set approval policy to first time contributors", + "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "bodyParameters": { - "approval_policy": "first_time_contributors" + "days": 100 }, "parameters": { "org": "ORG" @@ -8371,21 +8382,29 @@ }, "response": { "statusCode": "204", - "description": "

Response

" + "description": "

No content

" } } ], "previews": [], - "descriptionHTML": "

Sets the fork PR contributor approval policy for an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", + "descriptionHTML": "

Sets artifact and log retention settings for an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope or the \"Actions policies\" fine-grained permission to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", - "description": "

No Content

" + "description": "

No content

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" }, { "httpStatusCode": "404", "description": "

Resource not found

" }, + { + "httpStatusCode": "409", + "description": "

Conflict

" + }, { "httpStatusCode": "422", "description": "

Validation failed, or the endpoint has been spammed.

" @@ -8395,8 +8414,8 @@ { "serverUrl": "https://api.github.com", "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-workflows-private-repos", - "title": "Get private repo fork PR workflow settings for an organization", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-contributor-approval", + "title": "Get fork PR contributor approval permissions for an organization", "category": "actions", "subcategory": "permissions", "parameters": [ @@ -8436,52 +8455,35 @@ "contentType": "application/json", "description": "

Response

", "example": { - "run_workflows_from_fork_pull_requests": true, - "send_write_tokens_to_workflows": false, - "send_secrets_and_variables": false, - "require_approval_for_fork_pr_workflows": true + "approval_policy": "first_time_contributors" }, "schema": { "type": "object", - "required": [ - "run_workflows_from_fork_pull_requests", - "send_write_tokens_to_workflows", - "send_secrets_and_variables", - "require_approval_for_fork_pr_workflows" - ], "properties": { - "run_workflows_from_fork_pull_requests": { - "type": "boolean", - "description": "Whether workflows triggered by pull requests from forks are allowed to run on private repositories." - }, - "send_write_tokens_to_workflows": { - "type": "boolean", - "description": "Whether GitHub Actions can create pull requests or submit approving pull request reviews from a workflow triggered by a fork pull request." - }, - "send_secrets_and_variables": { - "type": "boolean", - "description": "Whether to make secrets and variables available to workflows triggered by pull requests from forks." - }, - "require_approval_for_fork_pr_workflows": { - "type": "boolean", - "description": "Whether workflows triggered by pull requests from forks require approval from a repository administrator to run." + "approval_policy": { + "type": "string", + "enum": [ + "first_time_contributors_new_to_github", + "first_time_contributors", + "all_external_contributors" + ], + "description": "The policy that controls when fork PR workflows require approval from a maintainer." } - } + }, + "required": [ + "approval_policy" + ] } } } ], "previews": [], - "descriptionHTML": "

Gets the settings for whether workflows from fork pull requests can run on private repositories in an organization.

", + "descriptionHTML": "

Gets the fork PR contributor approval policy for an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope or the \"Actions policies\" fine-grained permission to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" }, - { - "httpStatusCode": "403", - "description": "

Forbidden

" - }, { "httpStatusCode": "404", "description": "

Resource not found

" @@ -8491,8 +8493,8 @@ { "serverUrl": "https://api.github.com", "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/fork-pr-workflows-private-repos", - "title": "Set private repo fork PR workflow settings for an organization", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-contributor-approval", + "title": "Set fork PR contributor approval permissions for an organization", "category": "actions", "subcategory": "permissions", "parameters": [ @@ -8508,29 +8510,16 @@ ], "bodyParameters": [ { - "type": "boolean", - "name": "run_workflows_from_fork_pull_requests", - "in": "body", - "description": "

Whether workflows triggered by pull requests from forks are allowed to run on private repositories.

", - "isRequired": true - }, - { - "type": "boolean", - "name": "send_write_tokens_to_workflows", - "in": "body", - "description": "

Whether GitHub Actions can create pull requests or submit approving pull request reviews from a workflow triggered by a fork pull request.

" - }, - { - "type": "boolean", - "name": "send_secrets_and_variables", - "in": "body", - "description": "

Whether to make secrets and variables available to workflows triggered by pull requests from forks.

" - }, - { - "type": "boolean", - "name": "require_approval_for_fork_pr_workflows", + "type": "string", + "name": "approval_policy", "in": "body", - "description": "

Whether workflows triggered by pull requests from forks require approval from a repository administrator to run.

" + "description": "

The policy that controls when fork PR workflows require approval from a maintainer.

", + "isRequired": true, + "enum": [ + "first_time_contributors_new_to_github", + "first_time_contributors", + "all_external_contributors" + ] } ], "progAccess": { @@ -8548,13 +8537,10 @@ "key": "default", "request": { "contentType": "application/json", - "description": "Example", + "description": "Set approval policy to first time contributors", "acceptHeader": "application/vnd.github.v3+json", "bodyParameters": { - "run_workflows_from_fork_pull_requests": true, - "send_write_tokens_to_workflows": false, - "send_secrets_and_variables": false, - "require_approval_for_fork_pr_workflows": true + "approval_policy": "first_time_contributors" }, "parameters": { "org": "ORG" @@ -8562,20 +8548,16 @@ }, "response": { "statusCode": "204", - "description": "

Empty response for successful settings update

" + "description": "

Response

" } } ], "previews": [], - "descriptionHTML": "

Sets the settings for whether workflows from fork pull requests can run on private repositories in an organization.

", + "descriptionHTML": "

Sets the fork PR contributor approval policy for an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", - "description": "

Empty response for successful settings update

" - }, - { - "httpStatusCode": "403", - "description": "

Forbidden - Fork PR workflow settings for private repositories are managed by the enterprise owner

" + "description": "

No Content

" }, { "httpStatusCode": "404", @@ -8590,8 +8572,8 @@ { "serverUrl": "https://api.github.com", "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners", - "title": "Get self-hosted runners settings for an organization", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-workflows-private-repos", + "title": "Get private repo fork PR workflow settings for an organization", "category": "actions", "subcategory": "permissions", "parameters": [ @@ -8629,29 +8611,37 @@ "response": { "statusCode": "200", "contentType": "application/json", - "description": "

Example response

", + "description": "

Response

", "example": { - "enabled_repositories": "selected", - "selected_repositories_url": "http://api.github.localhost/organizations/1/actions/permissions/self-hosted-runners/repositories" + "run_workflows_from_fork_pull_requests": true, + "send_write_tokens_to_workflows": false, + "send_secrets_and_variables": false, + "require_approval_for_fork_pr_workflows": true }, "schema": { "type": "object", "required": [ - "enabled_repositories" + "run_workflows_from_fork_pull_requests", + "send_write_tokens_to_workflows", + "send_secrets_and_variables", + "require_approval_for_fork_pr_workflows" ], "properties": { - "enabled_repositories": { - "type": "string", - "description": "The policy that controls whether self-hosted runners can be used by repositories in the organization", - "enum": [ - "all", - "selected", - "none" - ] + "run_workflows_from_fork_pull_requests": { + "type": "boolean", + "description": "Whether workflows triggered by pull requests from forks are allowed to run on private repositories." }, - "selected_repositories_url": { - "type": "string", - "description": "The URL to the endpoint for managing selected repositories for self-hosted runners in the organization" + "send_write_tokens_to_workflows": { + "type": "boolean", + "description": "Whether GitHub Actions can create pull requests or submit approving pull request reviews from a workflow triggered by a fork pull request." + }, + "send_secrets_and_variables": { + "type": "boolean", + "description": "Whether to make secrets and variables available to workflows triggered by pull requests from forks." + }, + "require_approval_for_fork_pr_workflows": { + "type": "boolean", + "description": "Whether workflows triggered by pull requests from forks require approval from a repository administrator to run." } } } @@ -8659,7 +8649,7 @@ } ], "previews": [], - "descriptionHTML": "

Gets the settings for self-hosted runners for an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope or the \"Actions policies\" fine-grained permission to use this endpoint.

", + "descriptionHTML": "

Gets the settings for whether workflows from fork pull requests can run on private repositories in an organization.

", "statusCodes": [ { "httpStatusCode": "200", @@ -8678,8 +8668,8 @@ { "serverUrl": "https://api.github.com", "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners", - "title": "Set self-hosted runners settings for an organization", + "requestPath": "/orgs/{org}/actions/permissions/fork-pr-workflows-private-repos", + "title": "Set private repo fork PR workflow settings for an organization", "category": "actions", "subcategory": "permissions", "parameters": [ @@ -8695,16 +8685,29 @@ ], "bodyParameters": [ { - "type": "string", - "name": "enabled_repositories", + "type": "boolean", + "name": "run_workflows_from_fork_pull_requests", "in": "body", - "description": "

The policy that controls whether self-hosted runners can be used in the organization

", - "isRequired": true, - "enum": [ - "all", - "selected", - "none" - ] + "description": "

Whether workflows triggered by pull requests from forks are allowed to run on private repositories.

", + "isRequired": true + }, + { + "type": "boolean", + "name": "send_write_tokens_to_workflows", + "in": "body", + "description": "

Whether GitHub Actions can create pull requests or submit approving pull request reviews from a workflow triggered by a fork pull request.

" + }, + { + "type": "boolean", + "name": "send_secrets_and_variables", + "in": "body", + "description": "

Whether to make secrets and variables available to workflows triggered by pull requests from forks.

" + }, + { + "type": "boolean", + "name": "require_approval_for_fork_pr_workflows", + "in": "body", + "description": "

Whether workflows triggered by pull requests from forks require approval from a repository administrator to run.

" } ], "progAccess": { @@ -8719,13 +8722,16 @@ }, "codeExamples": [ { - "key": "application/json", + "key": "default", "request": { "contentType": "application/json", "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "bodyParameters": { - "enabled_repositories": "all" + "run_workflows_from_fork_pull_requests": true, + "send_write_tokens_to_workflows": false, + "send_secrets_and_variables": false, + "require_approval_for_fork_pr_workflows": true }, "parameters": { "org": "ORG" @@ -8733,29 +8739,25 @@ }, "response": { "statusCode": "204", - "description": "

No content

" + "description": "

Empty response for successful settings update

" } } ], "previews": [], - "descriptionHTML": "

Sets the settings for self-hosted runners for an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope or the \"Actions policies\" fine-grained permission to use this endpoint.

", + "descriptionHTML": "

Sets the settings for whether workflows from fork pull requests can run on private repositories in an organization.

", "statusCodes": [ { "httpStatusCode": "204", - "description": "

No content

" + "description": "

Empty response for successful settings update

" }, { "httpStatusCode": "403", - "description": "

Forbidden

" + "description": "

Forbidden - Fork PR workflow settings for private repositories are managed by the enterprise owner

" }, { "httpStatusCode": "404", "description": "

Resource not found

" }, - { - "httpStatusCode": "409", - "description": "

Conflict

" - }, { "httpStatusCode": "422", "description": "

Validation failed, or the endpoint has been spammed.

" @@ -8765,8 +8767,8 @@ { "serverUrl": "https://api.github.com", "verb": "get", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories", - "title": "List repositories allowed to use self-hosted runners in an organization", + "requestPath": "/orgs/{org}/actions/permissions/repositories", + "title": "List selected repositories enabled for GitHub Actions in an organization", "category": "actions", "subcategory": "permissions", "parameters": [ @@ -8953,9 +8955,13 @@ }, "schema": { "type": "object", + "required": [ + "total_count", + "repositories" + ], "properties": { "total_count": { - "type": "integer" + "type": "number" }, "repositories": { "type": "array", @@ -9915,27 +9921,19 @@ } ], "previews": [], - "descriptionHTML": "

Lists repositories that are allowed to use self-hosted runners in an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope or the \"Actions policies\" fine-grained permission to use this endpoint.

", + "descriptionHTML": "

Lists the selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for enabled_repositories must be configured to selected. For more information, see \"Set GitHub Actions permissions for an organization.\"

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" - }, - { - "httpStatusCode": "403", - "description": "

Forbidden

" - }, - { - "httpStatusCode": "404", - "description": "

Resource not found

" } ] }, { "serverUrl": "https://api.github.com", "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories", - "title": "Set repositories allowed to use self-hosted runners in an organization", + "requestPath": "/orgs/{org}/actions/permissions/repositories", + "title": "Set selected repositories enabled for GitHub Actions in an organization", "category": "actions", "subcategory": "permissions", "parameters": [ @@ -9954,7 +9952,7 @@ "type": "array of integers", "name": "selected_repository_ids", "in": "body", - "description": "

IDs of repositories that can use repository-level self-hosted runners

", + "description": "

List of repository IDs to enable for GitHub Actions.

", "isRequired": true } ], @@ -9970,16 +9968,15 @@ }, "codeExamples": [ { - "key": "application/json", + "key": "default", "request": { "contentType": "application/json", "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "bodyParameters": { "selected_repository_ids": [ - 1, - 2, - 3 + 32, + 42 ] }, "parameters": { @@ -9988,36 +9985,24 @@ }, "response": { "statusCode": "204", - "description": "

No content

" + "description": "

Response

" } } ], "previews": [], - "descriptionHTML": "

Sets repositories that are allowed to use self-hosted runners in an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope or the \"Actions policies\" fine-grained permission to use this endpoint.

", + "descriptionHTML": "

Replaces the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for enabled_repositories must be configured to selected. For more information, see \"Set GitHub Actions permissions for an organization.\"

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", - "description": "

No content

" - }, - { - "httpStatusCode": "403", - "description": "

Forbidden

" - }, - { - "httpStatusCode": "404", - "description": "

Resource not found

" - }, - { - "httpStatusCode": "422", - "description": "

Validation failed, or the endpoint has been spammed.

" + "description": "

No Content

" } ] }, { "serverUrl": "https://api.github.com", "verb": "put", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}", - "title": "Add a repository to the list of repositories allowed to use self-hosted runners in an organization", + "requestPath": "/orgs/{org}/actions/permissions/repositories/{repository_id}", + "title": "Enable a selected repository for GitHub Actions in an organization", "category": "actions", "subcategory": "permissions", "parameters": [ @@ -10065,40 +10050,24 @@ }, "response": { "statusCode": "204", - "description": "

No content

" + "description": "

Response

" } } ], "previews": [], - "descriptionHTML": "

Adds a repository to the list of repositories that are allowed to use self-hosted runners in an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope or the \"Actions policies\" fine-grained permission to use this endpoint.

", + "descriptionHTML": "

Adds a repository to the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for enabled_repositories must be must be configured to selected. For more information, see \"Set GitHub Actions permissions for an organization.\"

\n

OAuth tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", - "description": "

No content

" - }, - { - "httpStatusCode": "403", - "description": "

Forbidden

" - }, - { - "httpStatusCode": "404", - "description": "

Resource not found

" - }, - { - "httpStatusCode": "409", - "description": "

Conflict

" - }, - { - "httpStatusCode": "422", - "description": "

Validation failed, or the endpoint has been spammed.

" + "description": "

No Content

" } ] }, { "serverUrl": "https://api.github.com", "verb": "delete", - "requestPath": "/organizations/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}", - "title": "Remove a repository from the list of repositories allowed to use self-hosted runners in an organization", + "requestPath": "/orgs/{org}/actions/permissions/repositories/{repository_id}", + "title": "Disable a selected repository for GitHub Actions in an organization", "category": "actions", "subcategory": "permissions", "parameters": [ @@ -10146,40 +10115,189 @@ }, "response": { "statusCode": "204", - "description": "

No content

" + "description": "

Response

" } } ], "previews": [], - "descriptionHTML": "

Removes a repository from the list of repositories that are allowed to use self-hosted runners in an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope or the \"Actions policies\" fine-grained permission to use this endpoint.

", + "descriptionHTML": "

Removes a repository from the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for enabled_repositories must be configured to selected. For more information, see \"Set GitHub Actions permissions for an organization.\"

\n

OAuth tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", - "description": "

No content

" - }, + "description": "

No Content

" + } + ] + }, + { + "serverUrl": "https://api.github.com", + "verb": "get", + "requestPath": "/orgs/{org}/actions/permissions/selected-actions", + "title": "Get allowed actions and reusable workflows for an organization", + "category": "actions", + "subcategory": "permissions", + "parameters": [ { - "httpStatusCode": "403", - "description": "

Forbidden

" - }, + "name": "org", + "description": "

The organization name. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Administration\" organization permissions": "read" + } + ] + }, + "codeExamples": [ { - "httpStatusCode": "404", - "description": "

Resource not found

" + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "org": "ORG" + } + }, + "response": { + "statusCode": "200", + "contentType": "application/json", + "description": "

Response

", + "example": { + "github_owned_allowed": true, + "verified_allowed": false, + "patterns_allowed": [ + "monalisa/octocat@*", + "docker/*" + ] + }, + "schema": { + "type": "object", + "properties": { + "github_owned_allowed": { + "type": "boolean", + "description": "Whether GitHub-owned actions are allowed. For example, this includes the actions in the `actions` organization." + }, + "verified_allowed": { + "type": "boolean", + "description": "Whether actions from GitHub Marketplace verified creators are allowed. Set to `true` to allow all actions by GitHub Marketplace verified creators." + }, + "patterns_allowed": { + "type": "array", + "description": "Specifies a list of string-matching patterns to allow specific action(s) and reusable workflow(s). Wildcards, tags, and SHAs are allowed. For example, `monalisa/octocat@*`, `monalisa/octocat@v2`, `monalisa/*`.", + "items": { + "type": "string" + } + } + } + } + } + } + ], + "previews": [], + "descriptionHTML": "

Gets the selected actions and reusable workflows that are allowed in an organization. To use this endpoint, the organization permission policy for allowed_actions must be configured to selected. For more information, see \"Set GitHub Actions permissions for an organization.\"

\n

OAuth tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", + "statusCodes": [ + { + "httpStatusCode": "200", + "description": "

OK

" + } + ] + }, + { + "serverUrl": "https://api.github.com", + "verb": "put", + "requestPath": "/orgs/{org}/actions/permissions/selected-actions", + "title": "Set allowed actions for an organization", + "category": "actions", + "subcategory": "permissions", + "parameters": [ + { + "name": "org", + "description": "

The organization name. The name is not case sensitive.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "bodyParameters": [ + { + "type": "boolean", + "name": "github_owned_allowed", + "in": "body", + "description": "

Whether GitHub-owned actions are allowed. For example, this includes the actions in the actions organization.

" }, { - "httpStatusCode": "409", - "description": "

Conflict

" + "type": "boolean", + "name": "verified_allowed", + "in": "body", + "description": "

Whether actions from GitHub Marketplace verified creators are allowed. Set to true to allow all actions by GitHub Marketplace verified creators.

" }, { - "httpStatusCode": "422", - "description": "

Validation failed, or the endpoint has been spammed.

" + "type": "array of strings", + "name": "patterns_allowed", + "in": "body", + "description": "

Specifies a list of string-matching patterns to allow specific action(s) and reusable workflow(s). Wildcards, tags, and SHAs are allowed. For example, monalisa/octocat@*, monalisa/octocat@v2, monalisa/*.

" + } + ], + "progAccess": { + "userToServerRest": true, + "serverToServer": true, + "fineGrainedPat": true, + "permissions": [ + { + "\"Administration\" organization permissions": "write" + } + ] + }, + "codeExamples": [ + { + "key": "selected_actions", + "request": { + "contentType": "application/json", + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "bodyParameters": { + "github_owned_allowed": true, + "verified_allowed": false, + "patterns_allowed": [ + "monalisa/octocat@*", + "docker/*" + ] + }, + "parameters": { + "org": "ORG" + } + }, + "response": { + "statusCode": "204", + "description": "

Response

" + } + } + ], + "previews": [], + "descriptionHTML": "

Sets the actions that are allowed in an organization. To use this endpoint, the organization permission policy for allowed_actions must be configured to selected. For more information, see \"Set GitHub Actions permissions for an organization.\"

\n

If the organization belongs to an enterprise that has selected actions set at the enterprise level, then you cannot override any of the enterprise's allowed actions settings.

\n

To use the patterns_allowed setting for private repositories, the organization must belong to an enterprise. If the organization does not belong to an enterprise, then the patterns_allowed setting only applies to public repositories in the organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", + "statusCodes": [ + { + "httpStatusCode": "204", + "description": "

No Content

" } ] }, { "serverUrl": "https://api.github.com", "verb": "get", - "requestPath": "/orgs/{org}/actions/permissions", - "title": "Get GitHub Actions permissions for an organization", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners", + "title": "Get self-hosted runners settings for an organization", "category": "actions", "subcategory": "permissions", "parameters": [ @@ -10217,63 +10335,57 @@ "response": { "statusCode": "200", "contentType": "application/json", - "description": "

Response

", + "description": "

Example response

", "example": { - "enabled_repositories": "all", - "allowed_actions": "selected", - "selected_actions_url": "https://api.github.com/organizations/42/actions/permissions/selected-actions" + "enabled_repositories": "selected", + "selected_repositories_url": "http://api.github.localhost/organizations/1/actions/permissions/self-hosted-runners/repositories" }, "schema": { "type": "object", + "required": [ + "enabled_repositories" + ], "properties": { "enabled_repositories": { "type": "string", - "description": "The policy that controls the repositories in the organization that are allowed to run GitHub Actions.", + "description": "The policy that controls whether self-hosted runners can be used by repositories in the organization", "enum": [ "all", - "none", - "selected" + "selected", + "none" ] }, "selected_repositories_url": { "type": "string", - "description": "The API URL to use to get or set the selected repositories that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`." - }, - "allowed_actions": { - "type": "string", - "description": "The permissions policy that controls the actions and reusable workflows that are allowed to run.", - "enum": [ - "all", - "local_only", - "selected" - ] - }, - "selected_actions_url": { - "type": "string", - "description": "The API URL to use to get or set the actions and reusable workflows that are allowed to run, when `allowed_actions` is set to `selected`." + "description": "The URL to the endpoint for managing selected repositories for self-hosted runners in the organization" } - }, - "required": [ - "enabled_repositories" - ] + } } } } ], "previews": [], - "descriptionHTML": "

Gets the GitHub Actions permissions policy for repositories and allowed actions and reusable workflows in an organization.

\n

OAuth tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", + "descriptionHTML": "

Gets the settings for self-hosted runners for an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope or the \"Actions policies\" fine-grained permission to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "404", + "description": "

Resource not found

" } ] }, { "serverUrl": "https://api.github.com", "verb": "put", - "requestPath": "/orgs/{org}/actions/permissions", - "title": "Set GitHub Actions permissions for an organization", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners", + "title": "Set self-hosted runners settings for an organization", "category": "actions", "subcategory": "permissions", "parameters": [ @@ -10292,23 +10404,12 @@ "type": "string", "name": "enabled_repositories", "in": "body", - "description": "

The policy that controls the repositories in the organization that are allowed to run GitHub Actions.

", + "description": "

The policy that controls whether self-hosted runners can be used in the organization

", "isRequired": true, "enum": [ "all", - "none", - "selected" - ] - }, - { - "type": "string", - "name": "allowed_actions", - "in": "body", - "description": "

The permissions policy that controls the actions and reusable workflows that are allowed to run.

", - "enum": [ - "all", - "local_only", - "selected" + "selected", + "none" ] } ], @@ -10324,14 +10425,13 @@ }, "codeExamples": [ { - "key": "default", + "key": "application/json", "request": { "contentType": "application/json", "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "bodyParameters": { - "enabled_repositories": "all", - "allowed_actions": "selected" + "enabled_repositories": "all" }, "parameters": { "org": "ORG" @@ -10339,24 +10439,40 @@ }, "response": { "statusCode": "204", - "description": "

Response

" + "description": "

No content

" } } ], "previews": [], - "descriptionHTML": "

Sets the GitHub Actions permissions policy for repositories and allowed actions in an organization.

\n

If the organization belongs to an enterprise that has set restrictive permissions at the enterprise level, such as allowed_actions to selected actions, then you cannot override them for the organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", + "descriptionHTML": "

Sets the settings for self-hosted runners for an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope or the \"Actions policies\" fine-grained permission to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", - "description": "

No Content

" + "description": "

No content

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "404", + "description": "

Resource not found

" + }, + { + "httpStatusCode": "409", + "description": "

Conflict

" + }, + { + "httpStatusCode": "422", + "description": "

Validation failed, or the endpoint has been spammed.

" } ] }, { "serverUrl": "https://api.github.com", "verb": "get", - "requestPath": "/orgs/{org}/actions/permissions/repositories", - "title": "List selected repositories enabled for GitHub Actions in an organization", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories", + "title": "List repositories allowed to use self-hosted runners in an organization", "category": "actions", "subcategory": "permissions", "parameters": [ @@ -10543,13 +10659,9 @@ }, "schema": { "type": "object", - "required": [ - "total_count", - "repositories" - ], "properties": { "total_count": { - "type": "number" + "type": "integer" }, "repositories": { "type": "array", @@ -11509,19 +11621,27 @@ } ], "previews": [], - "descriptionHTML": "

Lists the selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for enabled_repositories must be configured to selected. For more information, see \"Set GitHub Actions permissions for an organization.\"

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", + "descriptionHTML": "

Lists repositories that are allowed to use self-hosted runners in an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope or the \"Actions policies\" fine-grained permission to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "404", + "description": "

Resource not found

" } ] }, { "serverUrl": "https://api.github.com", "verb": "put", - "requestPath": "/orgs/{org}/actions/permissions/repositories", - "title": "Set selected repositories enabled for GitHub Actions in an organization", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories", + "title": "Set repositories allowed to use self-hosted runners in an organization", "category": "actions", "subcategory": "permissions", "parameters": [ @@ -11540,7 +11660,7 @@ "type": "array of integers", "name": "selected_repository_ids", "in": "body", - "description": "

List of repository IDs to enable for GitHub Actions.

", + "description": "

IDs of repositories that can use repository-level self-hosted runners

", "isRequired": true } ], @@ -11556,15 +11676,16 @@ }, "codeExamples": [ { - "key": "default", + "key": "application/json", "request": { "contentType": "application/json", "description": "Example", "acceptHeader": "application/vnd.github.v3+json", "bodyParameters": { "selected_repository_ids": [ - 32, - 42 + 1, + 2, + 3 ] }, "parameters": { @@ -11573,24 +11694,36 @@ }, "response": { "statusCode": "204", - "description": "

Response

" + "description": "

No content

" } } ], "previews": [], - "descriptionHTML": "

Replaces the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for enabled_repositories must be configured to selected. For more information, see \"Set GitHub Actions permissions for an organization.\"

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", + "descriptionHTML": "

Sets repositories that are allowed to use self-hosted runners in an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope or the \"Actions policies\" fine-grained permission to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", - "description": "

No Content

" + "description": "

No content

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "404", + "description": "

Resource not found

" + }, + { + "httpStatusCode": "422", + "description": "

Validation failed, or the endpoint has been spammed.

" } ] }, { "serverUrl": "https://api.github.com", "verb": "put", - "requestPath": "/orgs/{org}/actions/permissions/repositories/{repository_id}", - "title": "Enable a selected repository for GitHub Actions in an organization", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}", + "title": "Add a repository to the list of repositories allowed to use self-hosted runners in an organization", "category": "actions", "subcategory": "permissions", "parameters": [ @@ -11638,24 +11771,40 @@ }, "response": { "statusCode": "204", - "description": "

Response

" + "description": "

No content

" } } ], "previews": [], - "descriptionHTML": "

Adds a repository to the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for enabled_repositories must be must be configured to selected. For more information, see \"Set GitHub Actions permissions for an organization.\"

\n

OAuth tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", + "descriptionHTML": "

Adds a repository to the list of repositories that are allowed to use self-hosted runners in an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope or the \"Actions policies\" fine-grained permission to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", - "description": "

No Content

" + "description": "

No content

" + }, + { + "httpStatusCode": "403", + "description": "

Forbidden

" + }, + { + "httpStatusCode": "404", + "description": "

Resource not found

" + }, + { + "httpStatusCode": "409", + "description": "

Conflict

" + }, + { + "httpStatusCode": "422", + "description": "

Validation failed, or the endpoint has been spammed.

" } ] }, { "serverUrl": "https://api.github.com", "verb": "delete", - "requestPath": "/orgs/{org}/actions/permissions/repositories/{repository_id}", - "title": "Disable a selected repository for GitHub Actions in an organization", + "requestPath": "/orgs/{org}/actions/permissions/self-hosted-runners/repositories/{repository_id}", + "title": "Remove a repository from the list of repositories allowed to use self-hosted runners in an organization", "category": "actions", "subcategory": "permissions", "parameters": [ @@ -11703,181 +11852,32 @@ }, "response": { "statusCode": "204", - "description": "

Response

" + "description": "

No content

" } } ], "previews": [], + "descriptionHTML": "

Removes a repository from the list of repositories that are allowed to use self-hosted runners in an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope or the \"Actions policies\" fine-grained permission to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", - "description": "

No Content

" - } - ], - "descriptionHTML": "

Removes a repository from the list of selected repositories that are enabled for GitHub Actions in an organization. To use this endpoint, the organization permission policy for enabled_repositories must be configured to selected. For more information, see \"Set GitHub Actions permissions for an organization.\"

\n

OAuth tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

" - }, - { - "serverUrl": "https://api.github.com", - "verb": "get", - "requestPath": "/orgs/{org}/actions/permissions/selected-actions", - "title": "Get allowed actions and reusable workflows for an organization", - "category": "actions", - "subcategory": "permissions", - "parameters": [ - { - "name": "org", - "description": "

The organization name. The name is not case sensitive.

", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "bodyParameters": [], - "progAccess": { - "userToServerRest": true, - "serverToServer": true, - "fineGrainedPat": true, - "permissions": [ - { - "\"Administration\" organization permissions": "read" - } - ] - }, - "codeExamples": [ - { - "key": "default", - "request": { - "description": "Example", - "acceptHeader": "application/vnd.github.v3+json", - "parameters": { - "org": "ORG" - } - }, - "response": { - "statusCode": "200", - "contentType": "application/json", - "description": "

Response

", - "example": { - "github_owned_allowed": true, - "verified_allowed": false, - "patterns_allowed": [ - "monalisa/octocat@*", - "docker/*" - ] - }, - "schema": { - "type": "object", - "properties": { - "github_owned_allowed": { - "type": "boolean", - "description": "Whether GitHub-owned actions are allowed. For example, this includes the actions in the `actions` organization." - }, - "verified_allowed": { - "type": "boolean", - "description": "Whether actions from GitHub Marketplace verified creators are allowed. Set to `true` to allow all actions by GitHub Marketplace verified creators." - }, - "patterns_allowed": { - "type": "array", - "description": "Specifies a list of string-matching patterns to allow specific action(s) and reusable workflow(s). Wildcards, tags, and SHAs are allowed. For example, `monalisa/octocat@*`, `monalisa/octocat@v2`, `monalisa/*`.", - "items": { - "type": "string" - } - } - } - } - } - } - ], - "previews": [], - "statusCodes": [ - { - "httpStatusCode": "200", - "description": "

OK

" - } - ], - "descriptionHTML": "

Gets the selected actions and reusable workflows that are allowed in an organization. To use this endpoint, the organization permission policy for allowed_actions must be configured to selected. For more information, see \"Set GitHub Actions permissions for an organization.\"

\n

OAuth tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

" - }, - { - "serverUrl": "https://api.github.com", - "verb": "put", - "requestPath": "/orgs/{org}/actions/permissions/selected-actions", - "title": "Set allowed actions for an organization", - "category": "actions", - "subcategory": "permissions", - "parameters": [ - { - "name": "org", - "description": "

The organization name. The name is not case sensitive.

", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - } - ], - "bodyParameters": [ - { - "type": "boolean", - "name": "github_owned_allowed", - "in": "body", - "description": "

Whether GitHub-owned actions are allowed. For example, this includes the actions in the actions organization.

" + "description": "

No content

" }, { - "type": "boolean", - "name": "verified_allowed", - "in": "body", - "description": "

Whether actions from GitHub Marketplace verified creators are allowed. Set to true to allow all actions by GitHub Marketplace verified creators.

" + "httpStatusCode": "403", + "description": "

Forbidden

" }, { - "type": "array of strings", - "name": "patterns_allowed", - "in": "body", - "description": "

Specifies a list of string-matching patterns to allow specific action(s) and reusable workflow(s). Wildcards, tags, and SHAs are allowed. For example, monalisa/octocat@*, monalisa/octocat@v2, monalisa/*.

" - } - ], - "progAccess": { - "userToServerRest": true, - "serverToServer": true, - "fineGrainedPat": true, - "permissions": [ - { - "\"Administration\" organization permissions": "write" - } - ] - }, - "codeExamples": [ + "httpStatusCode": "404", + "description": "

Resource not found

" + }, { - "key": "selected_actions", - "request": { - "contentType": "application/json", - "description": "Example", - "acceptHeader": "application/vnd.github.v3+json", - "bodyParameters": { - "github_owned_allowed": true, - "verified_allowed": false, - "patterns_allowed": [ - "monalisa/octocat@*", - "docker/*" - ] - }, - "parameters": { - "org": "ORG" - } - }, - "response": { - "statusCode": "204", - "description": "

Response

" - } - } - ], - "previews": [], - "descriptionHTML": "

Sets the actions that are allowed in an organization. To use this endpoint, the organization permission policy for allowed_actions must be configured to selected. For more information, see \"Set GitHub Actions permissions for an organization.\"

\n

If the organization belongs to an enterprise that has selected actions set at the enterprise level, then you cannot override any of the enterprise's allowed actions settings.

\n

To use the patterns_allowed setting for private repositories, the organization must belong to an enterprise. If the organization does not belong to an enterprise, then the patterns_allowed setting only applies to public repositories in the organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", - "statusCodes": [ + "httpStatusCode": "409", + "description": "

Conflict

" + }, { - "httpStatusCode": "204", - "description": "

No Content

" + "httpStatusCode": "422", + "description": "

Validation failed, or the endpoint has been spammed.

" } ] }, @@ -14941,13 +14941,13 @@ } ], "previews": [], + "descriptionHTML": "

Lists all repositories that have been selected when the visibility\nfor repository access to a secret is set to selected.

\n

Authenticated users must have collaborator access to a repository to create, update, or read secrets.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint. If the repository is private, the repo scope is also required.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Lists all repositories that have been selected when the visibility\nfor repository access to a secret is set to selected.

\n

Authenticated users must have collaborator access to a repository to create, update, or read secrets.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint. If the repository is private, the repo scope is also required.

" + ] }, { "serverUrl": "https://api.github.com", @@ -16522,7 +16522,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -16720,7 +16720,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -16918,7 +16918,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -17039,13 +17039,13 @@ } ], "previews": [], + "descriptionHTML": "

Gets a specific self-hosted runner group for an enterprise.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Gets a specific self-hosted runner group for an enterprise.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

" + ] }, { "serverUrl": "https://api.github.com", @@ -17057,7 +17057,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -17227,13 +17227,13 @@ } ], "previews": [], + "descriptionHTML": "

Updates the name and visibility of a self-hosted runner group in an enterprise.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Updates the name and visibility of a self-hosted runner group in an enterprise.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

" + ] }, { "serverUrl": "https://api.github.com", @@ -17245,7 +17245,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -17287,13 +17287,13 @@ } ], "previews": [], + "descriptionHTML": "

Deletes a self-hosted runner group for an enterprise.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

" } - ], - "descriptionHTML": "

Deletes a self-hosted runner group for an enterprise.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

" + ] }, { "serverUrl": "https://api.github.com", @@ -17305,7 +17305,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -17499,13 +17499,13 @@ } ], "previews": [], + "descriptionHTML": "

Lists the organizations with access to a self-hosted runner group.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Lists the organizations with access to a self-hosted runner group.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

" + ] }, { "serverUrl": "https://api.github.com", @@ -17517,7 +17517,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -17592,7 +17592,77 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "runner_group_id", + "description": "

Unique identifier of the self-hosted runner group.

", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + }, + { + "name": "org_id", + "description": "

The unique identifier of the organization.

", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "bodyParameters": [], + "progAccess": { + "userToServerRest": false, + "serverToServer": false, + "fineGrainedPat": false, + "permissions": [] + }, + "codeExamples": [ + { + "key": "default", + "request": { + "description": "Example", + "acceptHeader": "application/vnd.github.v3+json", + "parameters": { + "enterprise": "ENTERPRISE", + "runner_group_id": "RUNNER_GROUP_ID", + "org_id": "ORG_ID" + } + }, + "response": { + "statusCode": "204", + "description": "

Response

" + } + } + ], + "previews": [], + "descriptionHTML": "

Adds an organization to the list of selected organizations that can access a self-hosted runner group. The runner group must have visibility set to selected. For more information, see \"Create a self-hosted runner group for an enterprise.\"

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

", + "statusCodes": [ + { + "httpStatusCode": "204", + "description": "

No Content

" + } + ] + }, + { + "serverUrl": "https://api.github.com", + "verb": "delete", + "requestPath": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}", + "title": "Remove organization access to a self-hosted runner group in an enterprise", + "category": "actions", + "subcategory": "self-hosted-runner-groups", + "parameters": [ + { + "name": "enterprise", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -17644,7 +17714,7 @@ } ], "previews": [], - "descriptionHTML": "

Adds an organization to the list of selected organizations that can access a self-hosted runner group. The runner group must have visibility set to selected. For more information, see \"Create a self-hosted runner group for an enterprise.\"

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

", + "descriptionHTML": "

Removes an organization from the list of selected organizations that can access a self-hosted runner group. The runner group must have visibility set to selected. For more information, see \"Create a self-hosted runner group for an enterprise.\"

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", @@ -17652,76 +17722,6 @@ } ] }, - { - "serverUrl": "https://api.github.com", - "verb": "delete", - "requestPath": "/enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}", - "title": "Remove organization access to a self-hosted runner group in an enterprise", - "category": "actions", - "subcategory": "self-hosted-runner-groups", - "parameters": [ - { - "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "runner_group_id", - "description": "

Unique identifier of the self-hosted runner group.

", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - }, - { - "name": "org_id", - "description": "

The unique identifier of the organization.

", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "bodyParameters": [], - "progAccess": { - "userToServerRest": false, - "serverToServer": false, - "fineGrainedPat": false, - "permissions": [] - }, - "codeExamples": [ - { - "key": "default", - "request": { - "description": "Example", - "acceptHeader": "application/vnd.github.v3+json", - "parameters": { - "enterprise": "ENTERPRISE", - "runner_group_id": "RUNNER_GROUP_ID", - "org_id": "ORG_ID" - } - }, - "response": { - "statusCode": "204", - "description": "

Response

" - } - } - ], - "previews": [], - "statusCodes": [ - { - "httpStatusCode": "204", - "description": "

No Content

" - } - ], - "descriptionHTML": "

Removes an organization from the list of selected organizations that can access a self-hosted runner group. The runner group must have visibility set to selected. For more information, see \"Create a self-hosted runner group for an enterprise.\"

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

" - }, { "serverUrl": "https://api.github.com", "verb": "get", @@ -17732,7 +17732,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -17953,13 +17953,13 @@ } ], "previews": [], + "descriptionHTML": "

Lists the self-hosted runners that are in a specific enterprise group.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Lists the self-hosted runners that are in a specific enterprise group.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

" + ] }, { "serverUrl": "https://api.github.com", @@ -17971,7 +17971,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -18028,13 +18028,13 @@ } ], "previews": [], + "descriptionHTML": "

Replaces the list of self-hosted runners that are part of an enterprise runner group.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

" } - ], - "descriptionHTML": "

Replaces the list of self-hosted runners that are part of an enterprise runner group.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

" + ] }, { "serverUrl": "https://api.github.com", @@ -18046,7 +18046,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -18116,7 +18116,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -18746,13 +18746,13 @@ } ], "previews": [], + "descriptionHTML": "

Gets a specific self-hosted runner group for an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Gets a specific self-hosted runner group for an organization.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

" + ] }, { "serverUrl": "https://api.github.com", @@ -19370,13 +19370,13 @@ } ], "previews": [], + "descriptionHTML": "

Lists the GitHub-hosted runners in an organization group.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Lists the GitHub-hosted runners in an organization group.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

" + ] }, { "serverUrl": "https://api.github.com", @@ -21307,7 +21307,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -21532,7 +21532,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -21650,7 +21650,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -21884,7 +21884,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -22944,7 +22944,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -23986,13 +23986,13 @@ } ], "previews": [], + "descriptionHTML": "

Returns a token that you can pass to the config script to remove a self-hosted runner from an enterprise. The token expires after one hour.

\n

Example using remove token:

\n

To remove your self-hosted runner from an enterprise, replace TOKEN with the remove token provided by this\nendpoint.

\n
./config.sh remove --token TOKEN\n
\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "201", "description": "

Created

" } - ], - "descriptionHTML": "

Returns a token that you can pass to the config script to remove a self-hosted runner from an enterprise. The token expires after one hour.

\n

Example using remove token:

\n

To remove your self-hosted runner from an enterprise, replace TOKEN with the remove token provided by this\nendpoint.

\n
./config.sh remove --token TOKEN\n
\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

" + ] }, { "serverUrl": "https://api.github.com", @@ -24004,7 +24004,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -24180,7 +24180,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -24244,7 +24244,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -24375,7 +24375,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -24525,7 +24525,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -24675,7 +24675,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -24805,7 +24805,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -32627,13 +32627,13 @@ } ], "previews": [], + "descriptionHTML": "

Lists all organization variables.

\n

Authenticated users must have collaborator access to a repository to create, update, or read variables.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint. If the repository is private, the repo scope is also required.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Lists all organization variables.

\n

Authenticated users must have collaborator access to a repository to create, update, or read variables.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint. If the repository is private, the repo scope is also required.

" + ] }, { "serverUrl": "https://api.github.com", @@ -32866,13 +32866,13 @@ } ], "previews": [], + "descriptionHTML": "

Gets a specific variable in an organization.

\n

The authenticated user must have collaborator access to a repository to create, update, or read variables.

\n

OAuth tokens and personal access tokens (classic) need theadmin:org scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Gets a specific variable in an organization.

\n

The authenticated user must have collaborator access to a repository to create, update, or read variables.

\n

OAuth tokens and personal access tokens (classic) need theadmin:org scope to use this endpoint. If the repository is private, OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.

" + ] }, { "serverUrl": "https://api.github.com", @@ -34938,13 +34938,13 @@ } ], "previews": [], + "descriptionHTML": "

Updates a repository variable that you can reference in a GitHub Actions workflow.

\n

Authenticated users must have collaborator access to a repository to create, update, or read variables.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

" } - ], - "descriptionHTML": "

Updates a repository variable that you can reference in a GitHub Actions workflow.

\n

Authenticated users must have collaborator access to a repository to create, update, or read variables.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.

" + ] }, { "serverUrl": "https://api.github.com", @@ -48551,13 +48551,13 @@ } ], "previews": [], + "descriptionHTML": "

Approve or reject pending deployments that are waiting on approval by a required reviewer.

\n

Required reviewers with read access to the repository contents and deployments can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Approve or reject pending deployments that are waiting on approval by a required reviewer.

\n

Required reviewers with read access to the repository contents and deployments can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.

" + ] }, { "serverUrl": "https://api.github.com", @@ -52445,13 +52445,13 @@ } ], "previews": [], + "descriptionHTML": "

Disables a workflow and sets the state of the workflow to disabled_manually. You can replace workflow_id with the workflow file name. For example, you could use main.yaml.

\n

OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

" } - ], - "descriptionHTML": "

Disables a workflow and sets the state of the workflow to disabled_manually. You can replace workflow_id with the workflow file name. For example, you could use main.yaml.

\n

OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.

" + ] }, { "serverUrl": "https://api.github.com", @@ -79614,13 +79614,13 @@ } ], "previews": [], + "descriptionHTML": "

Note

\n

\nThis API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.

\n
", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Note

\n

\nThis API is not built to serve real-time use cases. Depending on the time of day, event latency can be anywhere from 30s to 6h.

\n
" + ] }, { "serverUrl": "https://api.github.com", @@ -90047,13 +90047,13 @@ } ], "previews": [], + "descriptionHTML": "

Marks a thread as \"done.\" Marking a thread as \"done\" is equivalent to marking a notification in your notification inbox on GitHub Enterprise Cloud as done: https://github.com/notifications.

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No content

" } - ], - "descriptionHTML": "

Marks a thread as \"done.\" Marking a thread as \"done\" is equivalent to marking a notification in your notification inbox on GitHub Enterprise Cloud as done: https://github.com/notifications.

" + ] }, { "serverUrl": "https://api.github.com", @@ -97183,13 +97183,13 @@ } ], "previews": [], + "descriptionHTML": "

Lists repositories a user has starred.

\n

This endpoint supports the following custom media types. For more information, see \"Media types.\"

\n", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Lists repositories a user has starred.

\n

This endpoint supports the following custom media types. For more information, see \"Media types.\"

\n" + ] } ], "watching": [ @@ -99940,7 +99940,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -100040,7 +100040,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -100167,7 +100167,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -100436,13 +100436,13 @@ } ], "previews": [], + "descriptionHTML": "

Sets the announcement banner to display for the organization.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Sets the announcement banner to display for the organization.

" + ] }, { "serverUrl": "https://api.github.com", @@ -122065,13 +122065,13 @@ } ], "previews": [], + "descriptionHTML": "

Gets the summary of the free and paid GitHub Actions minutes used.

\n

Paid 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\".

\n

OAuth app tokens and personal access tokens (classic) need the user scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Gets the summary of the free and paid GitHub Actions minutes used.

\n

Paid 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\".

\n

OAuth app tokens and personal access tokens (classic) need the user scope to use this endpoint.

" + ] }, { "serverUrl": "https://api.github.com", @@ -142147,13 +142147,13 @@ } ], "previews": [], + "descriptionHTML": "

Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

" } - ], - "descriptionHTML": "

Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.

" + ] }, { "serverUrl": "https://api.github.com", @@ -146553,6 +146553,7 @@ } ], "previews": [], + "descriptionHTML": "

Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.

\n

Removes the ability of a team to push to this branch. You can also remove push access for child teams.

", "statusCodes": [ { "httpStatusCode": "200", @@ -146562,8 +146563,7 @@ "httpStatusCode": "422", "description": "

Validation failed, or the endpoint has been spammed.

" } - ], - "descriptionHTML": "

Protected branches are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, GitHub Enterprise Cloud, and GitHub Enterprise Server. For more information, see GitHub's products in the GitHub Help documentation.

\n

Removes the ability of a team to push to this branch. You can also remove push access for child teams.

" + ] }, { "serverUrl": "https://api.github.com", @@ -156341,13 +156341,13 @@ } ], "previews": [], + "descriptionHTML": "

Updates a check run for a specific commit in a repository.

\n

Note

\n

\nThe endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty pull_requests array.

\n
\n

OAuth apps and personal access tokens (classic) cannot use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Updates a check run for a specific commit in a repository.

\n

Note

\n

\nThe endpoints to manage checks only look for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty pull_requests array.

\n
\n

OAuth apps and personal access tokens (classic) cannot use this endpoint.

" + ] }, { "serverUrl": "https://api.github.com", @@ -170378,7 +170378,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -186822,7 +186822,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -187247,7 +187247,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -187890,7 +187890,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -188315,7 +188315,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -188692,7 +188692,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -189284,6 +189284,7 @@ } ], "previews": [], + "descriptionHTML": "

Updates a code security configuration in an enterprise.

\n

The authenticated user must be an administrator of the enterprise in order to use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", @@ -189305,8 +189306,7 @@ "httpStatusCode": "409", "description": "

Conflict

" } - ], - "descriptionHTML": "

Updates a code security configuration in an enterprise.

\n

The authenticated user must be an administrator of the enterprise in order to use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.

" + ] }, { "serverUrl": "https://api.github.com", @@ -189318,7 +189318,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -189394,7 +189394,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -189487,7 +189487,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -189904,7 +189904,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -192249,7 +192249,7 @@ "type": "array of integers", "name": "selected_repository_ids", "in": "body", - "description": "

An array of repository IDs to detach from configurations. Up to 1000 IDs can be provided.

" + "description": "

An array of repository IDs to detach from configurations. Up to 250 IDs can be provided.

" } ], "progAccess": { @@ -193351,6 +193351,7 @@ } ], "previews": [], + "descriptionHTML": "

Updates a code security configuration in an organization.

\n

The authenticated user must be an administrator or security manager for the organization to use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the write:org scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", @@ -193360,8 +193361,7 @@ "httpStatusCode": "204", "description": "

Response when no new updates are made

" } - ], - "descriptionHTML": "

Updates a code security configuration in an organization.

\n

The authenticated user must be an administrator or security manager for the organization to use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the write:org scope to use this endpoint.

" + ] }, { "serverUrl": "https://api.github.com", @@ -233252,13 +233252,13 @@ } ], "previews": [], + "descriptionHTML": "

Gets your public key, which you need to encrypt secrets. You need to\nencrypt a secret before you can create or update secrets.

\n

If the repository is private, OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Gets your public key, which you need to encrypt secrets. You need to\nencrypt a secret before you can create or update secrets.

\n

If the repository is private, OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.

" + ] }, { "serverUrl": "https://api.github.com", @@ -256220,7 +256220,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -256795,7 +256795,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -258556,7 +258556,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -258612,6 +258612,7 @@ "pending_cancellation_date": null, "last_activity_at": "2021-10-14T00:53:32-06:00", "last_activity_editor": "vscode/1.77.3/copilot/1.86.82", + "last_authenticated_at": "2021-10-14T00:53:32-06:00", "plan_type": "business", "assignee": { "login": "octocat", @@ -258655,6 +258656,7 @@ "pending_cancellation_date": "2021-11-01", "last_activity_at": "2021-10-13T00:53:32-06:00", "last_activity_editor": "vscode/1.77.3/copilot/1.86.82", + "last_authenticated_at": "2021-10-14T00:53:32-06:00", "assignee": { "login": "octokitten", "id": 1, @@ -259297,6 +259299,14 @@ ], "description": "Last editor that was used by the user for a GitHub Copilot completion." }, + "last_authenticated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "Timestamp of the last time the user authenticated with GitHub Copilot, in ISO 8601 format." + }, "created_at": { "type": "string", "format": "date-time", @@ -259364,7 +259374,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -259412,6 +259422,7 @@ "pending_cancellation_date": null, "last_activity_at": "2021-10-14T00:53:32-06:00", "last_activity_editor": "vscode/1.77.3/copilot/1.86.82", + "last_authenticated_at": "2021-10-14T00:53:32-06:00", "plan_type": "business", "assignee": { "login": "octocat", @@ -259455,6 +259466,7 @@ "pending_cancellation_date": "2021-11-01", "last_activity_at": "2021-10-13T00:53:32-06:00", "last_activity_editor": "vscode/1.77.3/copilot/1.86.82", + "last_authenticated_at": "2021-10-14T00:53:32-06:00", "assignee": { "login": "octokitten", "id": 1, @@ -260097,6 +260109,14 @@ ], "description": "Last editor that was used by the user for a GitHub Copilot completion." }, + "last_authenticated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "Timestamp of the last time the user authenticated with GitHub Copilot, in ISO 8601 format." + }, "created_at": { "type": "string", "format": "date-time", @@ -260423,6 +260443,7 @@ "pending_cancellation_date": null, "last_activity_at": "2021-10-14T00:53:32-06:00", "last_activity_editor": "vscode/1.77.3/copilot/1.86.82", + "last_authenticated_at": "2021-10-14T00:53:32-06:00", "plan_type": "business", "assignee": { "login": "octocat", @@ -260466,6 +260487,7 @@ "pending_cancellation_date": "2021-11-01", "last_activity_at": "2021-10-13T00:53:32-06:00", "last_activity_editor": "vscode/1.77.3/copilot/1.86.82", + "last_authenticated_at": "2021-10-14T00:53:32-06:00", "assignee": { "login": "octokitten", "id": 1, @@ -261108,6 +261130,14 @@ ], "description": "Last editor that was used by the user for a GitHub Copilot completion." }, + "last_authenticated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "Timestamp of the last time the user authenticated with GitHub Copilot, in ISO 8601 format." + }, "created_at": { "type": "string", "format": "date-time", @@ -261663,6 +261693,7 @@ "pending_cancellation_date": null, "last_activity_at": "2021-10-14T00:53:32-06:00", "last_activity_editor": "vscode/1.77.3/copilot/1.86.82", + "last_authenticated_at": "2021-10-14T00:53:32-06:00", "plan_type": "business", "assignee": { "login": "octocat", @@ -262310,6 +262341,14 @@ ], "description": "Last editor that was used by the user for a GitHub Copilot completion." }, + "last_authenticated_at": { + "type": [ + "string", + "null" + ], + "format": "date-time", + "description": "Timestamp of the last time the user authenticated with GitHub Copilot, in ISO 8601 format." + }, "created_at": { "type": "string", "format": "date-time", @@ -262452,7 +262491,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -264432,6 +264471,22 @@ "type": "string" } }, + { + "name": "artifact_registry_url", + "in": "query", + "description": "

A comma-separated list of Artifact Registry URLs. If specified, only alerts for repositories with storage records matching these URLs will be returned.

", + "schema": { + "type": "string" + } + }, + { + "name": "package_registry", + "in": "query", + "description": "

A comma-separated list of Package Registry name strings. If specified, only alerts for repositories with storage records matching these registries will be returned.

\n

Can be: jfrog-artifactory

", + "schema": { + "type": "string" + } + }, { "name": "has", "in": "query", @@ -270751,13 +270806,13 @@ } ], "previews": [], + "descriptionHTML": "

Gets your public key, which you need to encrypt secrets. You need to\nencrypt a secret before you can create or update secrets.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Gets your public key, which you need to encrypt secrets. You need to\nencrypt a secret before you can create or update secrets.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

" + ] }, { "serverUrl": "https://api.github.com", @@ -272112,13 +272167,13 @@ } ], "previews": [], + "descriptionHTML": "

Lists all repositories that have been selected when the visibility\nfor repository access to a secret is set to selected.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Lists all repositories that have been selected when the visibility\nfor repository access to a secret is set to selected.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

" + ] }, { "serverUrl": "https://api.github.com", @@ -273994,13 +274049,13 @@ } ], "previews": [], + "descriptionHTML": "", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "" + ] }, { "serverUrl": "https://api.github.com", @@ -275268,13 +275323,13 @@ } ], "previews": [], + "descriptionHTML": "

Simple filtering of deployments is available via query parameters:

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Simple filtering of deployments is available via query parameters:

" + ] }, { "serverUrl": "https://api.github.com", @@ -279414,13 +279469,13 @@ } ], "previews": [], + "descriptionHTML": "

Note

\n

\nTo get information about name patterns that branches must match in order to deploy to this environment, see \"Get a deployment branch policy.\"

\n
\n

Anyone with read access to the repository can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Note

\n

\nTo get information about name patterns that branches must match in order to deploy to this environment, see \"Get a deployment branch policy.\"

\n
\n

Anyone with read access to the repository can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

" + ] }, { "serverUrl": "https://api.github.com", @@ -286129,7 +286184,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -286436,13 +286491,13 @@ } ], "previews": [], + "descriptionHTML": "

Gets the audit log for an enterprise.

\n

This endpoint has a rate limit of 1,750 queries per hour per user and IP address. If your integration receives a rate limit error (typically a 403 or 429 response), it should wait before making another request to the GitHub API. For more information, see \"Rate limits for the REST API\" and \"Best practices for integrators.\"

\n

The authenticated user must be an enterprise admin to use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the read:audit_log scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Gets the audit log for an enterprise.

\n

This endpoint has a rate limit of 1,750 queries per hour per user and IP address. If your integration receives a rate limit error (typically a 403 or 429 response), it should wait before making another request to the GitHub API. For more information, see \"Rate limits for the REST API\" and \"Best practices for integrators.\"

\n

The authenticated user must be an enterprise admin to use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the read:audit_log scope to use this endpoint.

" + ] }, { "serverUrl": "https://api.github.com", @@ -286454,7 +286509,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -286508,13 +286563,13 @@ } ], "previews": [], + "descriptionHTML": "

Retrieves the audit log streaming public key for encrypting secrets.

\n

When using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See \"Encrypting secrets for the REST API.\"

", "statusCodes": [ { "httpStatusCode": "200", "description": "

The stream key for the audit log streaming configuration was retrieved successfully.

" } - ], - "descriptionHTML": "

Retrieves the audit log streaming public key for encrypting secrets.

\n

When using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See \"Encrypting secrets for the REST API.\"

" + ] }, { "serverUrl": "https://api.github.com", @@ -286526,7 +286581,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -286633,7 +286688,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -287079,13 +287134,13 @@ } ], "previews": [], + "descriptionHTML": "

Creates an audit log streaming configuration for any of the supported streaming endpoints: Azure Blob Storage, Azure Event Hubs, Amazon S3, Splunk, Google Cloud Storage, Datadog.

\n

When using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See \"Encrypting secrets for the REST API.\"

", "statusCodes": [ { "httpStatusCode": "200", "description": "

The audit log stream configuration was created successfully.

" } - ], - "descriptionHTML": "

Creates an audit log streaming configuration for any of the supported streaming endpoints: Azure Blob Storage, Azure Event Hubs, Amazon S3, Splunk, Google Cloud Storage, Datadog.

\n

When using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See \"Encrypting secrets for the REST API.\"

" + ] }, { "serverUrl": "https://api.github.com", @@ -287097,7 +287152,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -287191,13 +287246,13 @@ } ], "previews": [], + "descriptionHTML": "

Lists one audit log stream configuration via a stream ID.

\n

When using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See \"Encrypting secrets for the REST API.\"

", "statusCodes": [ { "httpStatusCode": "200", "description": "

Lists one audit log stream configuration via stream ID.

" } - ], - "descriptionHTML": "

Lists one audit log stream configuration via a stream ID.

\n

When using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See \"Encrypting secrets for the REST API.\"

" + ] }, { "serverUrl": "https://api.github.com", @@ -287209,7 +287264,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -287687,7 +287742,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -287749,7 +287804,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -287902,7 +287957,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -288110,7 +288165,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -288145,6 +288200,7 @@ "id": "2eeb8ffe-6903-11ee-8c99-0242ac120002", "name": "Cost Center Name", "state": "active", + "azure_subscription": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", "resources": [ { "type": "User", @@ -288155,6 +288211,17 @@ "name": "octocat/hello-world" } ] + }, + { + "id": "3ffb9ffe-6903-11ee-8c99-0242ac120003", + "name": "Another Cost Center", + "state": "active", + "resources": [ + { + "type": "User", + "name": "Octocat" + } + ] } ] }, @@ -288182,6 +288249,13 @@ "deleted" ] }, + "azure_subscription": { + "type": [ + "string", + "null" + ], + "description": "Azure subscription ID associated with the cost center. Only present for cost centers linked to Azure subscriptions." + }, "resources": { "type": "array", "items": { @@ -288250,7 +288324,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -288307,6 +288381,21 @@ "type": "string", "description": "Name of the cost center" }, + "azure_subscription": { + "type": [ + "string", + "null" + ], + "description": "Azure subscription ID associated with the cost center. Only present for cost centers linked to Azure subscriptions." + }, + "state": { + "type": "string", + "description": "State of the cost center.", + "enum": [ + "active", + "deleted" + ] + }, "resources": { "type": "array", "description": "List of resources assigned to this cost center", @@ -288360,7 +288449,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -288399,22 +288488,22 @@ "statusCode": "200", "contentType": "application/json", "description": "

Response when getting a cost center

", - "example": [ - { - "id": "2eeb8ffe-6903-11ee-8c99-0242ac120002", - "name": "Cost Center Name", - "resources": [ - { - "type": "User", - "name": "Monalisa" - }, - { - "type": "Repo", - "name": "octocat/hello-world" - } - ] - } - ], + "example": { + "id": "2eeb8ffe-6903-11ee-8c99-0242ac120002", + "name": "Cost Center Name", + "state": "active", + "azure_subscription": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resources": [ + { + "type": "User", + "name": "Monalisa" + }, + { + "type": "Repo", + "name": "octocat/hello-world" + } + ] + }, "schema": { "type": "object", "properties": { @@ -288426,6 +288515,21 @@ "type": "string", "description": "Name of the cost center." }, + "azure_subscription": { + "type": [ + "string", + "null" + ], + "description": "Azure subscription ID associated with the cost center. Only present for cost centers linked to Azure subscriptions." + }, + "state": { + "type": "string", + "description": "State of the cost center.", + "enum": [ + "active", + "deleted" + ] + }, "resources": { "type": "array", "items": { @@ -288542,22 +288646,22 @@ "statusCode": "200", "contentType": "application/json", "description": "

Response when updating a cost center

", - "example": [ - { - "id": "2eeb8ffe-6903-11ee-8c99-0242ac120002", - "name": "Cost Center Name", - "resources": [ - { - "type": "User", - "name": "Monalisa" - }, - { - "type": "Repo", - "name": "octocat/hello-world" - } - ] - } - ], + "example": { + "id": "2eeb8ffe-6903-11ee-8c99-0242ac120002", + "name": "Cost Center Name", + "state": "active", + "azure_subscription": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee", + "resources": [ + { + "type": "User", + "name": "Monalisa" + }, + { + "type": "Repo", + "name": "octocat/hello-world" + } + ] + }, "schema": { "type": "object", "properties": { @@ -288569,6 +288673,21 @@ "type": "string", "description": "Name of the cost center." }, + "azure_subscription": { + "type": [ + "string", + "null" + ], + "description": "Azure subscription ID associated with the cost center. Only present for cost centers linked to Azure subscriptions." + }, + "state": { + "type": "string", + "description": "State of the cost center.", + "enum": [ + "active", + "deleted" + ] + }, "resources": { "type": "array", "items": { @@ -288642,7 +288761,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -288759,7 +288878,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -288876,7 +288995,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -288989,7 +289108,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -289071,7 +289190,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -289153,7 +289272,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -289353,7 +289472,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -289794,7 +289913,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -289929,7 +290048,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -290040,7 +290159,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -290132,7 +290251,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -290328,7 +290447,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -290622,7 +290741,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -290819,7 +290938,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -291006,7 +291125,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -291253,7 +291372,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -291327,7 +291446,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -291580,7 +291699,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -291693,7 +291812,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -291858,7 +291977,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -292008,7 +292127,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -292135,7 +292254,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -292293,7 +292412,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -292353,7 +292472,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -292451,13 +292570,13 @@ } ], "previews": [], + "descriptionHTML": "

Gets a hosted compute network settings resource configured for an enterprise.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Gets a hosted compute network settings resource configured for an enterprise.

" + ] } ], "organization-installations": [ @@ -292471,7 +292590,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -292569,13 +292688,13 @@ } ], "previews": [], + "descriptionHTML": "

List the organizations owned by the enterprise, intended for use by GitHub Apps that are managing applications across the enterprise.

\n

This API can only be called by a GitHub App installed on the enterprise that owns the organization.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

A list of organizations owned by the enterprise on which the authenticated GitHub App is installed.

" } - ], - "descriptionHTML": "

List the organizations owned by the enterprise, intended for use by GitHub Apps that are managing applications across the enterprise.

\n

This API can only be called by a GitHub App installed on the enterprise that owns the organization.

" + ] }, { "serverUrl": "https://api.github.com", @@ -292587,7 +292706,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -292721,7 +292840,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -293287,7 +293406,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -294418,7 +294537,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -294505,7 +294624,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -294654,7 +294773,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -295794,7 +295913,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -295940,7 +296059,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -296092,7 +296211,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -298707,7 +298826,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -300063,7 +300182,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -302685,7 +302804,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -302757,7 +302876,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -302905,7 +303024,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -303126,7 +303245,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -303443,7 +303562,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -303779,7 +303898,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -304053,7 +304172,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -304598,7 +304717,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -305149,7 +305268,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -305273,7 +305392,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -305680,7 +305799,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -306531,7 +306650,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -306898,7 +307017,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -307432,7 +307551,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -308478,7 +308597,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -448758,13 +448877,13 @@ } ], "previews": [], + "descriptionHTML": "

Get overall statistics of API requests made within an organization by all users and apps within a specified time frame.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Get overall statistics of API requests made within an organization by all users and apps within a specified time frame.

" + ] }, { "serverUrl": "https://api.github.com", @@ -461120,13 +461239,13 @@ } ], "previews": [], + "descriptionHTML": "

Gets a hosted compute network configuration configured in an organization.

\n

OAuth app tokens and personal access tokens (classic) need the read:network_configurations scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Gets a hosted compute network configuration configured in an organization.

\n

OAuth app tokens and personal access tokens (classic) need the read:network_configurations scope to use this endpoint.

" + ] }, { "serverUrl": "https://api.github.com", @@ -461466,13 +461585,13 @@ } ], "previews": [], + "descriptionHTML": "

Gets a hosted compute network settings resource configured for an organization.

\n

OAuth app tokens and personal access tokens (classic) need the read:network_configurations scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Gets a hosted compute network settings resource configured for an organization.

\n

OAuth app tokens and personal access tokens (classic) need the read:network_configurations scope to use this endpoint.

" + ] } ], "organization-roles": [ @@ -462630,13 +462749,13 @@ } ], "previews": [], + "descriptionHTML": "

Revokes all assigned organization roles from a user. For more information on organization roles, see \"Using organization roles.\"

\n

The authenticated user must be an administrator for the organization to use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

" } - ], - "descriptionHTML": "

Revokes all assigned organization roles from a user. For more information on organization roles, see \"Using organization roles.\"

\n

The authenticated user must be an administrator for the organization to use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

" + ] }, { "serverUrl": "https://api.github.com", @@ -495417,13 +495536,13 @@ } ], "previews": [], + "descriptionHTML": "

Gets information about a GitHub Enterprise Cloud Pages build.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Gets information about a GitHub Enterprise Cloud Pages build.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.

" + ] }, { "serverUrl": "https://api.github.com", @@ -495782,6 +495901,7 @@ } ], "previews": [], + "descriptionHTML": "

Cancels a GitHub Pages deployment.

\n

The authenticated user must have write permissions for the GitHub Pages site.

", "statusCodes": [ { "httpStatusCode": "204", @@ -495791,8 +495911,7 @@ "httpStatusCode": "404", "description": "

Resource not found

" } - ], - "descriptionHTML": "

Cancels a GitHub Pages deployment.

\n

The authenticated user must have write permissions for the GitHub Pages site.

" + ] }, { "serverUrl": "https://api.github.com", @@ -583686,13 +583805,13 @@ } ], "previews": [], + "descriptionHTML": "

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. If the repository is not public, 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 endpoint and check that the is_template key is true.

\n

OAuth app tokens and personal access tokens (classic) need the public_repo or repo scope to create a public repository, and repo scope to create a private repository.

", "statusCodes": [ { "httpStatusCode": "201", "description": "

Created

" } - ], - "descriptionHTML": "

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. If the repository is not public, 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 endpoint and check that the is_template key is true.

\n

OAuth app tokens and personal access tokens (classic) need the public_repo or repo scope to create a public repository, and repo scope to create a private repository.

" + ] }, { "serverUrl": "https://api.github.com", @@ -592166,6 +592285,7 @@ } ], "previews": [], + "descriptionHTML": "

Users with admin access to the repository can create an autolink.

", "statusCodes": [ { "httpStatusCode": "201", @@ -592175,8 +592295,7 @@ "httpStatusCode": "422", "description": "

Validation failed, or the endpoint has been spammed.

" } - ], - "descriptionHTML": "

Users with admin access to the repository can create an autolink.

" + ] }, { "serverUrl": "https://api.github.com", @@ -626077,7 +626196,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -637544,7 +637663,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -637806,7 +637925,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -665564,13 +665683,13 @@ } ], "previews": [], + "descriptionHTML": "

Warning

\n

\nClosing down notice: Projects (classic) is being deprecated in favor of the new Projects experience.\nSee the changelog for more information.

\n
", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Warning

\n

\nClosing down notice: Projects (classic) is being deprecated in favor of the new Projects experience.\nSee the changelog for more information.

\n
" + ] }, { "serverUrl": "https://api.github.com", @@ -677404,13 +677523,13 @@ } ], "previews": [], + "descriptionHTML": "

Deletes a comment on a team discussion.

\n

Note

\n

\nYou can also specify a team by org_id and team_id using the route DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}.

\n
\n

OAuth app tokens and personal access tokens (classic) need the write:discussion scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

" } - ], - "descriptionHTML": "

Deletes a comment on a team discussion.

\n

Note

\n

\nYou can also specify a team by org_id and team_id using the route DELETE /organizations/{org_id}/team/{team_id}/discussions/{discussion_number}/comments/{comment_number}.

\n
\n

OAuth app tokens and personal access tokens (classic) need the write:discussion scope to use this endpoint.

" + ] }, { "serverUrl": "https://api.github.com", @@ -679801,13 +679920,13 @@ } ], "previews": [], + "descriptionHTML": "

List all discussions on a team's page.

\n

Note

\n

\nYou can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/discussions.

\n
\n

OAuth app tokens and personal access tokens (classic) need the read:discussion scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

List all discussions on a team's page.

\n

Note

\n

\nYou can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/discussions.

\n
\n

OAuth app tokens and personal access tokens (classic) need the read:discussion scope to use this endpoint.

" + ] }, { "serverUrl": "https://api.github.com", @@ -695002,13 +695121,13 @@ } ], "previews": [], + "descriptionHTML": "

Lists the people following the specified user.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Lists the people following the specified user.

" + ] }, { "serverUrl": "https://api.github.com", @@ -697281,13 +697400,13 @@ } ], "previews": [], + "descriptionHTML": "

Lists the verified public SSH keys for a user. This is accessible by anyone.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Lists the verified public SSH keys for a user. This is accessible by anyone.

" + ] } ], "social-accounts": [ @@ -697677,13 +697796,13 @@ } ], "previews": [], + "descriptionHTML": "

Lists social media accounts for a user. This endpoint is accessible by anyone.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ], - "descriptionHTML": "

Lists social media accounts for a user. This endpoint is accessible by anyone.

" + ] } ], "ssh-signing-keys": [ diff --git a/src/rest/data/ghes-3.14-2022-11-28/schema.json b/src/rest/data/ghes-3.14-2022-11-28/schema.json index 9a17c04fff7d..824ade7b4e0f 100644 --- a/src/rest/data/ghes-3.14-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.14-2022-11-28/schema.json @@ -942,7 +942,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -1018,7 +1018,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -1098,7 +1098,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -2483,7 +2483,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -2573,7 +2573,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -2652,7 +2652,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -2854,7 +2854,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -2919,7 +2919,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -2979,7 +2979,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -3039,7 +3039,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -3118,7 +3118,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -3196,7 +3196,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -3272,7 +3272,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -9065,7 +9065,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -9256,7 +9256,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -9439,7 +9439,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -9569,7 +9569,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -9742,7 +9742,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -9802,7 +9802,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -10014,7 +10014,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -10089,7 +10089,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -10159,7 +10159,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -10229,7 +10229,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -10468,7 +10468,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -10543,7 +10543,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -10613,7 +10613,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -13347,7 +13347,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -13572,7 +13572,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -13700,7 +13700,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -13934,7 +13934,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -14994,7 +14994,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -16054,7 +16054,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -16230,7 +16230,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -16294,7 +16294,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -16425,7 +16425,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -16575,7 +16575,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -16725,7 +16725,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -16855,7 +16855,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -152128,7 +152128,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -178746,7 +178746,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -201954,7 +201954,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -202386,7 +202386,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -202583,7 +202583,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -202702,7 +202702,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -202806,7 +202806,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -211171,7 +211171,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -211488,7 +211488,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -211824,7 +211824,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -212098,7 +212098,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -212643,7 +212643,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -213194,7 +213194,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -213318,7 +213318,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -213725,7 +213725,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -214576,7 +214576,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -214943,7 +214943,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -215477,7 +215477,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -216523,7 +216523,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -498372,7 +498372,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { diff --git a/src/rest/data/ghes-3.15-2022-11-28/schema.json b/src/rest/data/ghes-3.15-2022-11-28/schema.json index b1dff5d4ee0f..394f7c98e9c4 100644 --- a/src/rest/data/ghes-3.15-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.15-2022-11-28/schema.json @@ -942,7 +942,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -1018,7 +1018,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -1098,7 +1098,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -2483,7 +2483,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -2573,7 +2573,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -2652,7 +2652,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -2854,7 +2854,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -2919,7 +2919,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -2979,7 +2979,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -3039,7 +3039,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -3118,7 +3118,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -3196,7 +3196,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -3272,7 +3272,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -9077,7 +9077,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -9268,7 +9268,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -9451,7 +9451,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -9581,7 +9581,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -9754,7 +9754,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -9814,7 +9814,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -10026,7 +10026,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -10101,7 +10101,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -10171,7 +10171,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -10241,7 +10241,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -10480,7 +10480,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -10555,7 +10555,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -10625,7 +10625,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -13371,7 +13371,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -13596,7 +13596,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -13724,7 +13724,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -13958,7 +13958,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -15018,7 +15018,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -16078,7 +16078,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -16254,7 +16254,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -16318,7 +16318,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -16449,7 +16449,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -16599,7 +16599,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -16749,7 +16749,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -16879,7 +16879,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -152820,7 +152820,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -182921,7 +182921,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -206177,7 +206177,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -206609,7 +206609,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -206806,7 +206806,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -206933,7 +206933,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -207044,7 +207044,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -214068,7 +214068,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -214385,7 +214385,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -214721,7 +214721,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -214995,7 +214995,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -215540,7 +215540,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -216091,7 +216091,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -216215,7 +216215,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -216622,7 +216622,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -217473,7 +217473,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -217840,7 +217840,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -218374,7 +218374,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -219420,7 +219420,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -502922,7 +502922,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { diff --git a/src/rest/data/ghes-3.16-2022-11-28/schema.json b/src/rest/data/ghes-3.16-2022-11-28/schema.json index 8e87268fd960..8a77e35075aa 100644 --- a/src/rest/data/ghes-3.16-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.16-2022-11-28/schema.json @@ -942,7 +942,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -1018,7 +1018,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -1098,7 +1098,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -2483,7 +2483,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -2555,13 +2555,13 @@ } ], "previews": [], - "descriptionHTML": "

Gets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.

\n

OAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ] + ], + "descriptionHTML": "

Gets the GitHub Actions permissions policy for organizations and allowed actions in an enterprise.

\n

OAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -2573,7 +2573,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -2652,7 +2652,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -2854,7 +2854,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -2919,7 +2919,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -2961,13 +2961,13 @@ } ], "previews": [], - "descriptionHTML": "

Adds an organization to the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for enabled_organizations must be configured to selected. For more information, see \"Set GitHub Actions permissions for an enterprise.\"

\n

OAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

" } - ] + ], + "descriptionHTML": "

Adds an organization to the list of selected organizations that are enabled for GitHub Actions in an enterprise. To use this endpoint, the enterprise permission policy for enabled_organizations must be configured to selected. For more information, see \"Set GitHub Actions permissions for an enterprise.\"

\n

OAuth app tokens and personal access tokens (classic) need the admin:enterprise scope to use this endpoint.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -2979,7 +2979,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -3039,7 +3039,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -3118,7 +3118,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -3196,7 +3196,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -3272,7 +3272,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -8012,13 +8012,13 @@ } ], "previews": [], - "descriptionHTML": "

Lists all secrets available in a repository without revealing their encrypted\nvalues.

\n

Authenticated users must have collaborator access to a repository to create, update, or read secrets.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ] + ], + "descriptionHTML": "

Lists all secrets available in a repository without revealing their encrypted\nvalues.

\n

Authenticated users must have collaborator access to a repository to create, update, or read secrets.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -8834,13 +8834,13 @@ } ], "previews": [], - "descriptionHTML": "

Gets a single environment secret without revealing its encrypted value.

\n

Authenticated users must have collaborator access to a repository to create, update, or read secrets.

\n

OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ] + ], + "descriptionHTML": "

Gets a single environment secret without revealing its encrypted value.

\n

Authenticated users must have collaborator access to a repository to create, update, or read secrets.

\n

OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -9077,7 +9077,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -9268,7 +9268,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -9451,7 +9451,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -9581,7 +9581,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -9736,13 +9736,13 @@ } ], "previews": [], - "descriptionHTML": "

Updates the name and visibility of a self-hosted runner group in an enterprise.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ] + ], + "descriptionHTML": "

Updates the name and visibility of a self-hosted runner group in an enterprise.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -9754,7 +9754,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -9814,7 +9814,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -10008,13 +10008,13 @@ } ], "previews": [], - "descriptionHTML": "

Lists the organizations with access to a self-hosted runner group.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ] + ], + "descriptionHTML": "

Lists the organizations with access to a self-hosted runner group.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -10026,7 +10026,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -10101,7 +10101,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -10171,7 +10171,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -10241,7 +10241,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -10480,7 +10480,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -10555,7 +10555,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -10607,13 +10607,13 @@ } ], "previews": [], - "descriptionHTML": "

Adds a self-hosted runner to a runner group configured in an enterprise.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

" } - ] + ], + "descriptionHTML": "

Adds a self-hosted runner to a runner group configured in an enterprise.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -10625,7 +10625,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -10677,13 +10677,13 @@ } ], "previews": [], - "descriptionHTML": "

Removes a self-hosted runner from a group configured in an enterprise. The runner is then returned to the default group.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

" } - ] + ], + "descriptionHTML": "

Removes a self-hosted runner from a group configured in an enterprise. The runner is then returned to the default group.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -13371,7 +13371,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -13596,7 +13596,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -13724,7 +13724,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -13958,7 +13958,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -15018,7 +15018,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -16078,7 +16078,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -16236,13 +16236,13 @@ } ], "previews": [], - "descriptionHTML": "

Gets a specific self-hosted runner configured in an enterprise.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ] + ], + "descriptionHTML": "

Gets a specific self-hosted runner configured in an enterprise.

\n

OAuth app tokens and personal access tokens (classic) need the manage_runners:enterprise scope to use this endpoint.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -16254,7 +16254,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -16318,7 +16318,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -16449,7 +16449,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -16599,7 +16599,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -16749,7 +16749,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -16879,7 +16879,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -26776,13 +26776,13 @@ } ], "previews": [], - "descriptionHTML": "

Creates a repository variable that you can reference in a GitHub Actions workflow.

\n

Authenticated users must have collaborator access to a repository to create, update, or read variables.

\n

OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "201", "description": "

Created

" } - ] + ], + "descriptionHTML": "

Creates a repository variable that you can reference in a GitHub Actions workflow.

\n

Authenticated users must have collaborator access to a repository to create, update, or read variables.

\n

OAuth tokens and personal access tokens (classic) need the repo scope to use this endpoint.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -43339,13 +43339,13 @@ } ], "previews": [], - "descriptionHTML": "

List all workflow runs for a workflow. You can replace workflow_id with the workflow file name. For example, you could use main.yaml. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

\n

This endpoint will return up to 1,000 results for each search when using the following parameters: actor, branch, check_suite_id, created, event, head_sha, status.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ] + ], + "descriptionHTML": "

List all workflow runs for a workflow. You can replace workflow_id with the workflow file name. For example, you could use main.yaml. You can use parameters to narrow the list of results. For more information about using parameters, see Parameters.

\n

Anyone with read access to the repository can use this endpoint

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

\n

This endpoint will return up to 1,000 results for each search when using the following parameters: actor, branch, check_suite_id, created, event, head_sha, status.

" } ], "workflows": [ @@ -78888,13 +78888,13 @@ } ], "previews": [], - "descriptionHTML": "

Lists the feeds available to the authenticated user. The response provides a URL for each feed. You can then get a specific feed by sending a request to one of the feed URLs.

\n\n

By default, timeline resources are returned in JSON. You can specify the application/atom+xml type in the Accept header to return timeline resources in Atom format. For more information, see \"Media types.\"

\n

Note

\n

\nPrivate feeds are only returned when authenticating via Basic Auth since current feed URIs use the older, non revocable auth tokens.

\n
", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ] + ], + "descriptionHTML": "

Lists the feeds available to the authenticated user. The response provides a URL for each feed. You can then get a specific feed by sending a request to one of the feed URLs.

\n\n

By default, timeline resources are returned in JSON. You can specify the application/atom+xml type in the Accept header to return timeline resources in Atom format. For more information, see \"Media types.\"

\n

Note

\n

\nPrivate feeds are only returned when authenticating via Basic Auth since current feed URIs use the older, non revocable auth tokens.

\n
" } ], "notifications": [ @@ -137689,13 +137689,13 @@ } ], "previews": [], - "descriptionHTML": "

Creates a new check run for a specific commit in a repository.

\n

To create a check run, you must use a GitHub App. OAuth apps and authenticated users are not able to create a check suite.

\n

In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.

\n

Note

\n

\nThe Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty pull_requests array.

\n
", "statusCodes": [ { "httpStatusCode": "201", "description": "

Created

" } - ] + ], + "descriptionHTML": "

Creates a new check run for a specific commit in a repository.

\n

To create a check run, you must use a GitHub App. OAuth apps and authenticated users are not able to create a check suite.

\n

In a check suite, GitHub limits the number of check runs with the same name to 1000. Once these check runs exceed 1000, GitHub will start to automatically delete older check runs.

\n

Note

\n

\nThe Checks API only looks for pushes in the repository where the check suite or check run were created. Pushes to a branch in a forked repository are not detected and return an empty pull_requests array.

\n
" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -152918,7 +152918,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -160427,7 +160427,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -160771,7 +160771,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -161234,7 +161234,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -161561,7 +161561,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -161857,7 +161857,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -162318,7 +162318,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -162394,7 +162394,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -162487,7 +162487,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -162820,7 +162820,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -186571,7 +186571,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -188537,6 +188537,22 @@ "type": "string" } }, + { + "name": "artifact_registry_url", + "in": "query", + "description": "

A comma-separated list of Artifact Registry URLs. If specified, only alerts for repositories with storage records matching these URLs will be returned.

", + "schema": { + "type": "string" + } + }, + { + "name": "package_registry", + "in": "query", + "description": "

A comma-separated list of Package Registry name strings. If specified, only alerts for repositories with storage records matching these registries will be returned.

\n

Can be: jfrog-artifactory

", + "schema": { + "type": "string" + } + }, { "name": "has", "in": "query", @@ -201752,13 +201768,13 @@ } ], "previews": [], - "descriptionHTML": "

Lists the environments for a repository.

\n

Anyone with read access to the repository can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ] + ], + "descriptionHTML": "

Lists the environments for a repository.

\n

Anyone with read access to the repository can use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -209485,13 +209501,13 @@ } ], "previews": [], - "descriptionHTML": "", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ] + ], + "descriptionHTML": "" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -209553,13 +209569,13 @@ } ], "previews": [], - "descriptionHTML": "", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ] + ], + "descriptionHTML": "" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -210055,7 +210071,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -210485,7 +210501,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -210557,7 +210573,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -210664,7 +210680,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -211128,7 +211144,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -211222,13 +211238,13 @@ } ], "previews": [], - "descriptionHTML": "

Lists one audit log stream configuration via a stream ID.

\n

When using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See \"Encrypting secrets for the REST API.\"

", "statusCodes": [ { "httpStatusCode": "200", "description": "

Lists one audit log stream configuration via stream ID.

" } - ] + ], + "descriptionHTML": "

Lists one audit log stream configuration via a stream ID.

\n

When using this endpoint, you must encrypt the credentials following the same encryption steps as outlined in the guide on encrypting secrets. See \"Encrypting secrets for the REST API.\"

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -211240,7 +211256,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -211718,7 +211734,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -211780,7 +211796,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -211977,7 +211993,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -212104,7 +212120,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -212215,7 +212231,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -213788,13 +213804,13 @@ } ], "previews": [], - "descriptionHTML": "", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ] + ], + "descriptionHTML": "" } ], "manage-ghes": [ @@ -219252,7 +219268,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -219569,7 +219585,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -219905,7 +219921,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -220179,7 +220195,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -220724,7 +220740,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -221275,7 +221291,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -221399,7 +221415,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -221806,7 +221822,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -222657,7 +222673,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -223024,7 +223040,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -223558,7 +223574,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -224604,7 +224620,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -302019,13 +302035,13 @@ } ], "previews": [], - "descriptionHTML": "

Updates a label using the given label name.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ] + ], + "descriptionHTML": "

Updates a label using the given label name.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -368594,13 +368610,13 @@ } ], "previews": [], - "descriptionHTML": "

Updates the webhook configuration for an organization. To update more information about the webhook, including the active state and events, use \"Update an organization webhook .\"

\n

You must be an organization owner to use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need admin:org_hook scope. OAuth apps cannot list, view, or edit\nwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ] + ], + "descriptionHTML": "

Updates the webhook configuration for an organization. To update more information about the webhook, including the active state and events, use \"Update an organization webhook .\"

\n

You must be an organization owner to use this endpoint.

\n

OAuth app tokens and personal access tokens (classic) need admin:org_hook scope. OAuth apps cannot list, view, or edit\nwebhooks that they did not create and users cannot list, view, or edit webhooks that were created by OAuth apps.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -373702,13 +373718,13 @@ } ], "previews": [], - "descriptionHTML": "

Gets a specific package version in an organization.

\n

OAuth app tokens and personal access tokens (classic) need the read:packages scope to use this endpoint. For more information, see \"About permissions for GitHub Packages.\"

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ] + ], + "descriptionHTML": "

Gets a specific package version in an organization.

\n

OAuth app tokens and personal access tokens (classic) need the read:packages scope to use this endpoint. For more information, see \"About permissions for GitHub Packages.\"

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -385661,7 +385677,6 @@ } ], "previews": [], - "descriptionHTML": "

Gets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets.

\n

OAuth tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

", "statusCodes": [ { "httpStatusCode": "200", @@ -385671,7 +385686,8 @@ "httpStatusCode": "404", "description": "

Resource not found

" } - ] + ], + "descriptionHTML": "

Gets the org public key, which is needed to encrypt private registry secrets. You need to encrypt a secret before you can create or update secrets.

\n

OAuth tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -428576,13 +428592,13 @@ } ], "previews": [], - "descriptionHTML": "

Lists all reviews for a specified pull request. The list of reviews returns in chronological order.

\n

This endpoint supports the following custom media types. For more information, see \"Media types.\"

\n", "statusCodes": [ { "httpStatusCode": "200", "description": "

The list of reviews returns in chronological order.

" } - ] + ], + "descriptionHTML": "

Lists all reviews for a specified pull request. The list of reviews returns in chronological order.

\n

This endpoint supports the following custom media types. For more information, see \"Media types.\"

\n" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -508894,7 +508910,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -519423,7 +519439,6 @@ } ], "previews": [], - "descriptionHTML": "

Gets a team using the team's slug. To create the slug, GitHub Enterprise Server replaces special characters in the name string, changes all words to lowercase, and replaces spaces with a - separator. For example, \"My TEam Näme\" would become my-team-name.

\n

Note

\n

\nYou can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}.

\n
", "statusCodes": [ { "httpStatusCode": "200", @@ -519433,7 +519448,8 @@ "httpStatusCode": "404", "description": "

Resource not found

" } - ] + ], + "descriptionHTML": "

Gets a team using the team's slug. To create the slug, GitHub Enterprise Server replaces special characters in the name string, changes all words to lowercase, and replaces spaces with a - separator. For example, \"My TEam Näme\" would become my-team-name.

\n

Note

\n

\nYou can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}.

\n
" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -524627,13 +524643,13 @@ } ], "previews": [], - "descriptionHTML": "

Lists the child teams of the team specified by {team_slug}.

\n

Note

\n

\nYou can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/teams.

\n
", "statusCodes": [ { "httpStatusCode": "200", "description": "

if child teams exist

" } - ] + ], + "descriptionHTML": "

Lists the child teams of the team specified by {team_slug}.

\n

Note

\n

\nYou can also specify a team by org_id and team_id using the route GET /organizations/{org_id}/team/{team_id}/teams.

\n
" }, { "serverUrl": "http(s)://HOSTNAME/api/v3", @@ -539979,13 +539995,13 @@ } ], "previews": [], - "descriptionHTML": "

Deletes a connection between a team and an external group.

\n

You can manage team membership with your IdP using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

", "statusCodes": [ { "httpStatusCode": "204", "description": "

No Content

" } - ] + ], + "descriptionHTML": "

Deletes a connection between a team and an external group.

\n

You can manage team membership with your IdP using Enterprise Managed Users for GitHub Enterprise Cloud. For more information, see GitHub's products in the GitHub Help documentation.

" } ], "members": [ @@ -550063,13 +550079,13 @@ } ], "previews": [], - "descriptionHTML": "

Lists the verified public SSH keys for a user. This is accessible by anyone.

", "statusCodes": [ { "httpStatusCode": "200", "description": "

OK

" } - ] + ], + "descriptionHTML": "

Lists the verified public SSH keys for a user. This is accessible by anyone.

" } ], "social-accounts": [ diff --git a/src/rest/data/ghes-3.17-2022-11-28/schema.json b/src/rest/data/ghes-3.17-2022-11-28/schema.json index e37fd76ab6b8..f3104650770b 100644 --- a/src/rest/data/ghes-3.17-2022-11-28/schema.json +++ b/src/rest/data/ghes-3.17-2022-11-28/schema.json @@ -942,7 +942,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -1018,7 +1018,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -1098,7 +1098,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -2483,7 +2483,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -2573,7 +2573,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -2652,7 +2652,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -2854,7 +2854,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -2919,7 +2919,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -2979,7 +2979,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -3039,7 +3039,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -3118,7 +3118,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -3196,7 +3196,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -3272,7 +3272,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -9089,7 +9089,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -9280,7 +9280,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -9463,7 +9463,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -9593,7 +9593,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -9766,7 +9766,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -9826,7 +9826,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -10038,7 +10038,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -10113,7 +10113,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -10183,7 +10183,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -10253,7 +10253,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -10492,7 +10492,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -10567,7 +10567,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -10637,7 +10637,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -13395,7 +13395,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -13620,7 +13620,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -13748,7 +13748,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -13982,7 +13982,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -15042,7 +15042,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -16102,7 +16102,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -16278,7 +16278,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -16342,7 +16342,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -16473,7 +16473,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -16623,7 +16623,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -16773,7 +16773,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -16903,7 +16903,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -153213,7 +153213,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -160722,7 +160722,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -161086,7 +161086,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -161596,7 +161596,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -161943,7 +161943,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -162260,7 +162260,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -162768,7 +162768,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -162844,7 +162844,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -162937,7 +162937,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -163291,7 +163291,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -187332,7 +187332,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -189298,6 +189298,22 @@ "type": "string" } }, + { + "name": "artifact_registry_url", + "in": "query", + "description": "

A comma-separated list of Artifact Registry URLs. If specified, only alerts for repositories with storage records matching these URLs will be returned.

", + "schema": { + "type": "string" + } + }, + { + "name": "package_registry", + "in": "query", + "description": "

A comma-separated list of Package Registry name strings. If specified, only alerts for repositories with storage records matching these registries will be returned.

\n

Can be: jfrog-artifactory

", + "schema": { + "type": "string" + } + }, { "name": "has", "in": "query", @@ -210844,7 +210860,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -211274,7 +211290,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -211346,7 +211362,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -211453,7 +211469,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -211917,7 +211933,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -212029,7 +212045,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -212507,7 +212523,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -212569,7 +212585,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -212779,7 +212795,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -212906,7 +212922,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -213017,7 +213033,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -220054,7 +220070,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -220371,7 +220387,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -220707,7 +220723,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -220981,7 +220997,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -221526,7 +221542,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -222077,7 +222093,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -222201,7 +222217,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -222608,7 +222624,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -223459,7 +223475,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -223826,7 +223842,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -224360,7 +224376,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -225406,7 +225422,7 @@ }, { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { @@ -513244,7 +513260,7 @@ "parameters": [ { "name": "enterprise", - "description": "

The slug version of the enterprise name. You can also substitute this value with the enterprise id.

", + "description": "

The slug version of the enterprise name.

", "in": "path", "required": true, "schema": { diff --git a/src/rest/lib/config.json b/src/rest/lib/config.json index c85e05058548..c3715424cf28 100644 --- a/src/rest/lib/config.json +++ b/src/rest/lib/config.json @@ -44,5 +44,5 @@ ] } }, - "sha": "666b21169e1897d67a032c0921ebe66432f1c93e" + "sha": "30ab35c5db4a05519ceed2e41292cdb7af182f1c" } \ No newline at end of file diff --git a/src/webhooks/lib/config.json b/src/webhooks/lib/config.json index 0cca48cbd42d..6a386b0d5643 100644 --- a/src/webhooks/lib/config.json +++ b/src/webhooks/lib/config.json @@ -1,3 +1,3 @@ { - "sha": "666b21169e1897d67a032c0921ebe66432f1c93e" + "sha": "30ab35c5db4a05519ceed2e41292cdb7af182f1c" } \ No newline at end of file