diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index e7509a784..0cb21b284 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -2531,7 +2531,7 @@ "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": { "get": { "summary": "Get Copilot metrics for an enterprise team", - "description": "Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.\n\nTo access this endpoint, the Copilot Metrics API access policy must be enabled or set to \"no policy\" for the enterprise within GitHub settings.\nOnly owners and billing managers for the enterprise that contains the enterprise team can view Copilot metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See \"[About enterprise accounts for Copilot Business](https://docs.github.com/admin/copilot-business-only/about-enterprise-accounts-for-copilot-business).\"\n\nUse this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.\n\nTo access this endpoint, the Copilot Metrics API access policy must be enabled or set to \"no policy\" for the enterprise within GitHub settings.\nOnly owners and billing managers for the enterprise that contains the enterprise team can view Copilot metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -2621,7 +2621,7 @@ "/enterprises/{enterprise}/team/{team_slug}/copilot/usage": { "get": { "summary": "Get a summary of Copilot usage for an enterprise team", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had five or more members with active Copilot licenses, as evaluated at the end of that day.\n\nOwners and billing managers for the enterprise that contains the enterprise team can view Copilot usage metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change. This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See \"[About enterprise accounts for Copilot Business](https://docs.github.com/admin/copilot-business-only/about-enterprise-accounts-for-copilot-business).\"\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had five or more members with active Copilot licenses, as evaluated at the end of that day.\n\nOwners and billing managers for the enterprise that contains the enterprise team can view Copilot usage metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -9770,6 +9770,9 @@ ], "default": "disabled" }, + "code_scanning_default_setup_options": { + "$ref": "#/components/schemas/code-scanning-default-setup-options" + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -10194,6 +10197,9 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "$ref": "#/components/schemas/code-scanning-default-setup-options" + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -11643,7 +11649,7 @@ "/orgs/{org}/copilot/billing/selected_teams": { "post": { "summary": "Add teams to the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for all users within each specified team.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can add Copilot seats for their organization members.\n\nIn order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response will contain the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for all users within each specified team.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -11743,7 +11749,7 @@ }, "delete": { "summary": "Remove teams from the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all members of each team specified to \"pending cancellation\".\nThis will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team.\n\nFor more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nFor more information about disabling access to Copilot Business or Enterprise, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response will contain the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all members of each team specified to \"pending cancellation\".\nThis will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -11845,7 +11851,7 @@ "/orgs/{org}/copilot/billing/selected_users": { "post": { "summary": "Add users to the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for each user specified.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can add Copilot seats for their organization members.\n\nIn order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response will contain the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for each user specified.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -11945,7 +11951,7 @@ }, "delete": { "summary": "Remove users from the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\n\nFor more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nFor more information about disabling access to Copilot Business or Enterprise, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response will contain the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -13720,6 +13726,9 @@ }, { "$ref": "#/components/parameters/api-insights-route-stats-sort" + }, + { + "$ref": "#/components/parameters/api-insights-api-route-substring" } ], "responses": { @@ -13779,6 +13788,9 @@ }, { "$ref": "#/components/parameters/api-insights-sort" + }, + { + "$ref": "#/components/parameters/api-insights-subject-name-substring" } ], "responses": { @@ -14150,6 +14162,9 @@ }, { "$ref": "#/components/parameters/api-insights-sort" + }, + { + "$ref": "#/components/parameters/api-insights-actor-name-substring" } ], "responses": { @@ -101831,6 +101846,35 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "standard", + "labeled", + "not_set", + null + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning when runner_type is 'labeled'." + } + } + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -101944,6 +101988,31 @@ } } }, + "code-scanning-default-setup-options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning default setup when runner_type is 'labeled'." + } + } + }, "code-security-default-configurations": { "type": "array", "description": "A list of default code security configurations", @@ -113890,6 +113959,24 @@ "not-configured" ] }, + "runner_type": { + "description": "Runner type to be used.", + "type": "string", + "enum": [ + "standard", + "labeled" + ] + }, + "runner_label": { + "description": "Runner label to be used if the runner type is labeled.", + "type": [ + "string", + "null" + ], + "examples": [ + "code-scanning" + ] + }, "query_suite": { "description": "CodeQL query suite to be used.", "type": "string", @@ -123793,7 +123880,7 @@ }, "status": { "type": "string", - "description": "The state of the scan. Either \"completed\" or \"running\"" + "description": "The state of the scan. Either \"completed\", \"running\", or \"pending\"" }, "completed_at": { "type": [ @@ -123801,12 +123888,15 @@ "null" ], "format": "date-time", - "description": "The time that the scan was completed. Empty if the scan is active" + "description": "The time that the scan was completed. Empty if the scan is running" }, "started_at": { - "type": "string", + "type": [ + "string", + "null" + ], "format": "date-time", - "description": "The time that the scan was started" + "description": "The time that the scan was started. Empty if the scan is pending" } } }, @@ -278417,6 +278507,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "enabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -278448,6 +278542,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "enabled", "secret_scanning_push_protection": "enabled", "secret_scanning_delegated_bypass": "enabled", @@ -278486,6 +278584,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "enabled", "secret_scanning_push_protection": "enabled", "secret_scanning_delegated_bypass": "disabled", @@ -278515,6 +278617,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "disabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -303131,6 +303237,15 @@ } } }, + "api-insights-api-route-substring": { + "name": "api_route_substring", + "in": "query", + "description": "Providing a substring will filter results where the API route contains the substring. This is a case-insensitive search.", + "required": false, + "schema": { + "type": "string" + } + }, "api-insights-sort": { "name": "sort", "description": "The property to sort the results by.", @@ -303151,6 +303266,15 @@ } } }, + "api-insights-subject-name-substring": { + "name": "subject_name_substring", + "in": "query", + "description": "Providing a substring will filter results where the subject name contains the substring. This is a case-insensitive search.", + "required": false, + "schema": { + "type": "string" + } + }, "api-insights-user-id": { "name": "user_id", "in": "path", @@ -303169,6 +303293,15 @@ "type": "string" } }, + "api-insights-actor-name-substring": { + "name": "actor_name_substring", + "in": "query", + "description": "Providing a substring will filter results where the actor name contains the substring. This is a case-insensitive search.", + "required": false, + "schema": { + "type": "string" + } + }, "invitation-id": { "name": "invitation_id", "description": "The unique identifier of the invitation.", diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index e469ef314..d61450224 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -1767,6 +1767,9 @@ paths: get: summary: Get Copilot metrics for an enterprise team description: |- + > [!NOTE] + > This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See "[About enterprise accounts for Copilot Business](https://docs.github.com/admin/copilot-business-only/about-enterprise-accounts-for-copilot-business)." + Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day, @@ -1843,7 +1846,7 @@ paths: summary: Get a summary of Copilot usage for an enterprise team description: |- > [!NOTE] - > This endpoint is in public preview and is subject to change. + > This endpoint is in public preview and is subject to change. This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See "[About enterprise accounts for Copilot Business](https://docs.github.com/admin/copilot-business-only/about-enterprise-accounts-for-copilot-business)." You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE for users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. @@ -7088,6 +7091,8 @@ paths: - disabled - not_set default: disabled + code_scanning_default_setup_options: + "$ref": "#/components/schemas/code-scanning-default-setup-options" secret_scanning: type: string description: The enablement status of secret scanning @@ -7411,6 +7416,8 @@ paths: - enabled - disabled - not_set + code_scanning_default_setup_options: + "$ref": "#/components/schemas/code-scanning-default-setup-options" secret_scanning: type: string description: The enablement status of secret scanning @@ -8496,13 +8503,11 @@ paths: Purchases a GitHub Copilot seat for all users within each specified team. The organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)." - Only organization owners can add Copilot seats for their organization members. - - In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy. + Only organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy. For more information about setting up a Copilot subscription, see "[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization)." For more information about setting a suggestion matching policy, see "[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching)." - The response will contain the total number of new seats that were created and existing seats that were refreshed. + The response contains the total number of new seats that were created and existing seats that were refreshed. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: @@ -8580,14 +8585,11 @@ paths: Sets seats for all members of each team specified to "pending cancellation". This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team. - - For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)." - - For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)." + For more information about disabling access to Copilot, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)." Only organization owners can cancel Copilot seats for their organization members. - The response will contain the total number of seats set to "pending cancellation". + The response contains the total number of seats set to "pending cancellation". OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: @@ -8667,13 +8669,11 @@ paths: Purchases a GitHub Copilot seat for each user specified. The organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)." - Only organization owners can add Copilot seats for their organization members. - - In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy. + Only organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy. For more information about setting up a Copilot subscription, see "[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization)." For more information about setting a suggestion matching policy, see "[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching)." - The response will contain the total number of new seats that were created and existing seats that were refreshed. + The response contains the total number of new seats that were created and existing seats that were refreshed. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: @@ -8750,14 +8750,11 @@ paths: Sets seats for all users specified to "pending cancellation". This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership. - - For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)." - - For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)." + For more information about disabling access to Copilot, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)." Only organization owners can cancel Copilot seats for their organization members. - The response will contain the total number of seats set to "pending cancellation". + The response contains the total number of seats set to "pending cancellation". OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: @@ -10059,6 +10056,7 @@ paths: - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/api-insights-route-stats-sort" + - "$ref": "#/components/parameters/api-insights-api-route-substring" responses: '200': description: Response @@ -10092,6 +10090,7 @@ paths: - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/api-insights-sort" + - "$ref": "#/components/parameters/api-insights-subject-name-substring" responses: '200': description: Response @@ -10310,6 +10309,7 @@ paths: - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/api-insights-sort" + - "$ref": "#/components/parameters/api-insights-actor-name-substring" responses: '200': description: Response @@ -73815,6 +73815,28 @@ components: - enabled - disabled - not_set + code_scanning_default_setup_options: + type: + - object + - 'null' + description: Feature options for code scanning default setup + properties: + runner_type: + type: + - string + - 'null' + enum: + - standard + - labeled + - not_set + - + description: Whether to use labeled runners or standard GitHub runners. + runner_label: + type: + - string + - 'null' + description: The label of the runner to use for code scanning when runner_type + is 'labeled'. secret_scanning: type: string description: The enablement status of secret scanning @@ -73899,6 +73921,25 @@ components: updated_at: type: string format: date-time + code-scanning-default-setup-options: + type: + - object + - 'null' + description: Feature options for code scanning default setup + properties: + runner_type: + type: string + enum: + - standard + - labeled + - not_set + description: Whether to use labeled runners or standard GitHub runners. + runner_label: + type: + - string + - 'null' + description: The label of the runner to use for code scanning default setup + when runner_type is 'labeled'. code-security-default-configurations: type: array description: A list of default code security configurations @@ -82661,6 +82702,19 @@ components: enum: - configured - not-configured + runner_type: + description: Runner type to be used. + type: string + enum: + - standard + - labeled + runner_label: + description: Runner label to be used if the runner type is labeled. + type: + - string + - 'null' + examples: + - code-scanning query_suite: description: CodeQL query suite to be used. type: string @@ -89634,18 +89688,20 @@ components: description: The type of scan status: type: string - description: The state of the scan. Either "completed" or "running" + description: The state of the scan. Either "completed", "running", or "pending" completed_at: type: - string - 'null' format: date-time description: The time that the scan was completed. Empty if the scan is - active + running started_at: - type: string + type: + - string + - 'null' format: date-time - description: The time that the scan was started + description: The time that the scan was started. Empty if the scan is pending secret-scanning-scan-history: type: object properties: @@ -205594,6 +205650,9 @@ components: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: disabled + code_scanning_default_setup_options: + runner_type: not_set + runner_label: secret_scanning: enabled secret_scanning_push_protection: disabled secret_scanning_delegated_bypass: disabled @@ -205621,6 +205680,9 @@ components: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: enabled + code_scanning_default_setup_options: + runner_type: not_set + runner_label: secret_scanning: enabled secret_scanning_push_protection: enabled secret_scanning_delegated_bypass: enabled @@ -205652,6 +205714,9 @@ components: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: enabled + code_scanning_default_setup_options: + runner_type: not_set + runner_label: secret_scanning: enabled secret_scanning_push_protection: enabled secret_scanning_delegated_bypass: disabled @@ -205676,6 +205741,9 @@ components: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: enabled + code_scanning_default_setup_options: + runner_type: not_set + runner_label: secret_scanning: disabled secret_scanning_push_protection: disabled secret_scanning_delegated_bypass: disabled @@ -226944,6 +227012,14 @@ components: - api_route - total_request_count default: total_request_count + api-insights-api-route-substring: + name: api_route_substring + in: query + description: Providing a substring will filter results where the API route contains + the substring. This is a case-insensitive search. + required: false + schema: + type: string api-insights-sort: name: sort description: The property to sort the results by. @@ -226960,6 +227036,14 @@ components: - subject_name - total_request_count default: total_request_count + api-insights-subject-name-substring: + name: subject_name_substring + in: query + description: Providing a substring will filter results where the subject name + contains the substring. This is a case-insensitive search. + required: false + schema: + type: string api-insights-user-id: name: user_id in: path @@ -226975,6 +227059,14 @@ components: required: true schema: type: string + api-insights-actor-name-substring: + name: actor_name_substring + in: query + description: Providing a substring will filter results where the actor name + contains the substring. This is a case-insensitive search. + required: false + schema: + type: string invitation-id: name: invitation_id description: The unique identifier of the invitation. diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index e7509a784..0cb21b284 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -2531,7 +2531,7 @@ "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": { "get": { "summary": "Get Copilot metrics for an enterprise team", - "description": "Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.\n\nTo access this endpoint, the Copilot Metrics API access policy must be enabled or set to \"no policy\" for the enterprise within GitHub settings.\nOnly owners and billing managers for the enterprise that contains the enterprise team can view Copilot metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See \"[About enterprise accounts for Copilot Business](https://docs.github.com/admin/copilot-business-only/about-enterprise-accounts-for-copilot-business).\"\n\nUse this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.\n\nTo access this endpoint, the Copilot Metrics API access policy must be enabled or set to \"no policy\" for the enterprise within GitHub settings.\nOnly owners and billing managers for the enterprise that contains the enterprise team can view Copilot metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -2621,7 +2621,7 @@ "/enterprises/{enterprise}/team/{team_slug}/copilot/usage": { "get": { "summary": "Get a summary of Copilot usage for an enterprise team", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had five or more members with active Copilot licenses, as evaluated at the end of that day.\n\nOwners and billing managers for the enterprise that contains the enterprise team can view Copilot usage metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change. This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See \"[About enterprise accounts for Copilot Business](https://docs.github.com/admin/copilot-business-only/about-enterprise-accounts-for-copilot-business).\"\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had five or more members with active Copilot licenses, as evaluated at the end of that day.\n\nOwners and billing managers for the enterprise that contains the enterprise team can view Copilot usage metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -9770,6 +9770,9 @@ ], "default": "disabled" }, + "code_scanning_default_setup_options": { + "$ref": "#/components/schemas/code-scanning-default-setup-options" + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -10194,6 +10197,9 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "$ref": "#/components/schemas/code-scanning-default-setup-options" + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -11643,7 +11649,7 @@ "/orgs/{org}/copilot/billing/selected_teams": { "post": { "summary": "Add teams to the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for all users within each specified team.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can add Copilot seats for their organization members.\n\nIn order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response will contain the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for all users within each specified team.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -11743,7 +11749,7 @@ }, "delete": { "summary": "Remove teams from the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all members of each team specified to \"pending cancellation\".\nThis will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team.\n\nFor more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nFor more information about disabling access to Copilot Business or Enterprise, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response will contain the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all members of each team specified to \"pending cancellation\".\nThis will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -11845,7 +11851,7 @@ "/orgs/{org}/copilot/billing/selected_users": { "post": { "summary": "Add users to the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for each user specified.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can add Copilot seats for their organization members.\n\nIn order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response will contain the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for each user specified.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -11945,7 +11951,7 @@ }, "delete": { "summary": "Remove users from the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\n\nFor more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nFor more information about disabling access to Copilot Business or Enterprise, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response will contain the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -13720,6 +13726,9 @@ }, { "$ref": "#/components/parameters/api-insights-route-stats-sort" + }, + { + "$ref": "#/components/parameters/api-insights-api-route-substring" } ], "responses": { @@ -13779,6 +13788,9 @@ }, { "$ref": "#/components/parameters/api-insights-sort" + }, + { + "$ref": "#/components/parameters/api-insights-subject-name-substring" } ], "responses": { @@ -14150,6 +14162,9 @@ }, { "$ref": "#/components/parameters/api-insights-sort" + }, + { + "$ref": "#/components/parameters/api-insights-actor-name-substring" } ], "responses": { @@ -101831,6 +101846,35 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "standard", + "labeled", + "not_set", + null + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning when runner_type is 'labeled'." + } + } + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -101944,6 +101988,31 @@ } } }, + "code-scanning-default-setup-options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning default setup when runner_type is 'labeled'." + } + } + }, "code-security-default-configurations": { "type": "array", "description": "A list of default code security configurations", @@ -113890,6 +113959,24 @@ "not-configured" ] }, + "runner_type": { + "description": "Runner type to be used.", + "type": "string", + "enum": [ + "standard", + "labeled" + ] + }, + "runner_label": { + "description": "Runner label to be used if the runner type is labeled.", + "type": [ + "string", + "null" + ], + "examples": [ + "code-scanning" + ] + }, "query_suite": { "description": "CodeQL query suite to be used.", "type": "string", @@ -123793,7 +123880,7 @@ }, "status": { "type": "string", - "description": "The state of the scan. Either \"completed\" or \"running\"" + "description": "The state of the scan. Either \"completed\", \"running\", or \"pending\"" }, "completed_at": { "type": [ @@ -123801,12 +123888,15 @@ "null" ], "format": "date-time", - "description": "The time that the scan was completed. Empty if the scan is active" + "description": "The time that the scan was completed. Empty if the scan is running" }, "started_at": { - "type": "string", + "type": [ + "string", + "null" + ], "format": "date-time", - "description": "The time that the scan was started" + "description": "The time that the scan was started. Empty if the scan is pending" } } }, @@ -278417,6 +278507,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "enabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -278448,6 +278542,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "enabled", "secret_scanning_push_protection": "enabled", "secret_scanning_delegated_bypass": "enabled", @@ -278486,6 +278584,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "enabled", "secret_scanning_push_protection": "enabled", "secret_scanning_delegated_bypass": "disabled", @@ -278515,6 +278617,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "disabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -303131,6 +303237,15 @@ } } }, + "api-insights-api-route-substring": { + "name": "api_route_substring", + "in": "query", + "description": "Providing a substring will filter results where the API route contains the substring. This is a case-insensitive search.", + "required": false, + "schema": { + "type": "string" + } + }, "api-insights-sort": { "name": "sort", "description": "The property to sort the results by.", @@ -303151,6 +303266,15 @@ } } }, + "api-insights-subject-name-substring": { + "name": "subject_name_substring", + "in": "query", + "description": "Providing a substring will filter results where the subject name contains the substring. This is a case-insensitive search.", + "required": false, + "schema": { + "type": "string" + } + }, "api-insights-user-id": { "name": "user_id", "in": "path", @@ -303169,6 +303293,15 @@ "type": "string" } }, + "api-insights-actor-name-substring": { + "name": "actor_name_substring", + "in": "query", + "description": "Providing a substring will filter results where the actor name contains the substring. This is a case-insensitive search.", + "required": false, + "schema": { + "type": "string" + } + }, "invitation-id": { "name": "invitation_id", "description": "The unique identifier of the invitation.", diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index e469ef314..d61450224 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -1767,6 +1767,9 @@ paths: get: summary: Get Copilot metrics for an enterprise team description: |- + > [!NOTE] + > This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See "[About enterprise accounts for Copilot Business](https://docs.github.com/admin/copilot-business-only/about-enterprise-accounts-for-copilot-business)." + Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day, @@ -1843,7 +1846,7 @@ paths: summary: Get a summary of Copilot usage for an enterprise team description: |- > [!NOTE] - > This endpoint is in public preview and is subject to change. + > This endpoint is in public preview and is subject to change. This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See "[About enterprise accounts for Copilot Business](https://docs.github.com/admin/copilot-business-only/about-enterprise-accounts-for-copilot-business)." You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE for users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. @@ -7088,6 +7091,8 @@ paths: - disabled - not_set default: disabled + code_scanning_default_setup_options: + "$ref": "#/components/schemas/code-scanning-default-setup-options" secret_scanning: type: string description: The enablement status of secret scanning @@ -7411,6 +7416,8 @@ paths: - enabled - disabled - not_set + code_scanning_default_setup_options: + "$ref": "#/components/schemas/code-scanning-default-setup-options" secret_scanning: type: string description: The enablement status of secret scanning @@ -8496,13 +8503,11 @@ paths: Purchases a GitHub Copilot seat for all users within each specified team. The organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)." - Only organization owners can add Copilot seats for their organization members. - - In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy. + Only organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy. For more information about setting up a Copilot subscription, see "[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization)." For more information about setting a suggestion matching policy, see "[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching)." - The response will contain the total number of new seats that were created and existing seats that were refreshed. + The response contains the total number of new seats that were created and existing seats that were refreshed. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: @@ -8580,14 +8585,11 @@ paths: Sets seats for all members of each team specified to "pending cancellation". This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team. - - For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)." - - For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)." + For more information about disabling access to Copilot, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)." Only organization owners can cancel Copilot seats for their organization members. - The response will contain the total number of seats set to "pending cancellation". + The response contains the total number of seats set to "pending cancellation". OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: @@ -8667,13 +8669,11 @@ paths: Purchases a GitHub Copilot seat for each user specified. The organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)." - Only organization owners can add Copilot seats for their organization members. - - In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy. + Only organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy. For more information about setting up a Copilot subscription, see "[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization)." For more information about setting a suggestion matching policy, see "[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching)." - The response will contain the total number of new seats that were created and existing seats that were refreshed. + The response contains the total number of new seats that were created and existing seats that were refreshed. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: @@ -8750,14 +8750,11 @@ paths: Sets seats for all users specified to "pending cancellation". This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership. - - For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)." - - For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)." + For more information about disabling access to Copilot, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)." Only organization owners can cancel Copilot seats for their organization members. - The response will contain the total number of seats set to "pending cancellation". + The response contains the total number of seats set to "pending cancellation". OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: @@ -10059,6 +10056,7 @@ paths: - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/api-insights-route-stats-sort" + - "$ref": "#/components/parameters/api-insights-api-route-substring" responses: '200': description: Response @@ -10092,6 +10090,7 @@ paths: - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/api-insights-sort" + - "$ref": "#/components/parameters/api-insights-subject-name-substring" responses: '200': description: Response @@ -10310,6 +10309,7 @@ paths: - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/api-insights-sort" + - "$ref": "#/components/parameters/api-insights-actor-name-substring" responses: '200': description: Response @@ -73815,6 +73815,28 @@ components: - enabled - disabled - not_set + code_scanning_default_setup_options: + type: + - object + - 'null' + description: Feature options for code scanning default setup + properties: + runner_type: + type: + - string + - 'null' + enum: + - standard + - labeled + - not_set + - + description: Whether to use labeled runners or standard GitHub runners. + runner_label: + type: + - string + - 'null' + description: The label of the runner to use for code scanning when runner_type + is 'labeled'. secret_scanning: type: string description: The enablement status of secret scanning @@ -73899,6 +73921,25 @@ components: updated_at: type: string format: date-time + code-scanning-default-setup-options: + type: + - object + - 'null' + description: Feature options for code scanning default setup + properties: + runner_type: + type: string + enum: + - standard + - labeled + - not_set + description: Whether to use labeled runners or standard GitHub runners. + runner_label: + type: + - string + - 'null' + description: The label of the runner to use for code scanning default setup + when runner_type is 'labeled'. code-security-default-configurations: type: array description: A list of default code security configurations @@ -82661,6 +82702,19 @@ components: enum: - configured - not-configured + runner_type: + description: Runner type to be used. + type: string + enum: + - standard + - labeled + runner_label: + description: Runner label to be used if the runner type is labeled. + type: + - string + - 'null' + examples: + - code-scanning query_suite: description: CodeQL query suite to be used. type: string @@ -89634,18 +89688,20 @@ components: description: The type of scan status: type: string - description: The state of the scan. Either "completed" or "running" + description: The state of the scan. Either "completed", "running", or "pending" completed_at: type: - string - 'null' format: date-time description: The time that the scan was completed. Empty if the scan is - active + running started_at: - type: string + type: + - string + - 'null' format: date-time - description: The time that the scan was started + description: The time that the scan was started. Empty if the scan is pending secret-scanning-scan-history: type: object properties: @@ -205594,6 +205650,9 @@ components: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: disabled + code_scanning_default_setup_options: + runner_type: not_set + runner_label: secret_scanning: enabled secret_scanning_push_protection: disabled secret_scanning_delegated_bypass: disabled @@ -205621,6 +205680,9 @@ components: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: enabled + code_scanning_default_setup_options: + runner_type: not_set + runner_label: secret_scanning: enabled secret_scanning_push_protection: enabled secret_scanning_delegated_bypass: enabled @@ -205652,6 +205714,9 @@ components: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: enabled + code_scanning_default_setup_options: + runner_type: not_set + runner_label: secret_scanning: enabled secret_scanning_push_protection: enabled secret_scanning_delegated_bypass: disabled @@ -205676,6 +205741,9 @@ components: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: enabled + code_scanning_default_setup_options: + runner_type: not_set + runner_label: secret_scanning: disabled secret_scanning_push_protection: disabled secret_scanning_delegated_bypass: disabled @@ -226944,6 +227012,14 @@ components: - api_route - total_request_count default: total_request_count + api-insights-api-route-substring: + name: api_route_substring + in: query + description: Providing a substring will filter results where the API route contains + the substring. This is a case-insensitive search. + required: false + schema: + type: string api-insights-sort: name: sort description: The property to sort the results by. @@ -226960,6 +227036,14 @@ components: - subject_name - total_request_count default: total_request_count + api-insights-subject-name-substring: + name: subject_name_substring + in: query + description: Providing a substring will filter results where the subject name + contains the substring. This is a case-insensitive search. + required: false + schema: + type: string api-insights-user-id: name: user_id in: path @@ -226975,6 +227059,14 @@ components: required: true schema: type: string + api-insights-actor-name-substring: + name: actor_name_substring + in: query + description: Providing a substring will filter results where the actor name + contains the substring. This is a case-insensitive search. + required: false + schema: + type: string invitation-id: name: invitation_id description: The unique identifier of the invitation. diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 5870c29e4..7599a62ef 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -23310,7 +23310,7 @@ "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": { "get": { "summary": "Get Copilot metrics for an enterprise team", - "description": "Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.\n\nTo access this endpoint, the Copilot Metrics API access policy must be enabled or set to \"no policy\" for the enterprise within GitHub settings.\nOnly owners and billing managers for the enterprise that contains the enterprise team can view Copilot metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See \"[About enterprise accounts for Copilot Business](https://docs.github.com/admin/copilot-business-only/about-enterprise-accounts-for-copilot-business).\"\n\nUse this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.\n\nTo access this endpoint, the Copilot Metrics API access policy must be enabled or set to \"no policy\" for the enterprise within GitHub settings.\nOnly owners and billing managers for the enterprise that contains the enterprise team can view Copilot metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -23975,7 +23975,7 @@ "/enterprises/{enterprise}/team/{team_slug}/copilot/usage": { "get": { "summary": "Get a summary of Copilot usage for an enterprise team", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had five or more members with active Copilot licenses, as evaluated at the end of that day.\n\nOwners and billing managers for the enterprise that contains the enterprise team can view Copilot usage metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change. This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See \"[About enterprise accounts for Copilot Business](https://docs.github.com/admin/copilot-business-only/about-enterprise-accounts-for-copilot-business).\"\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had five or more members with active Copilot licenses, as evaluated at the end of that day.\n\nOwners and billing managers for the enterprise that contains the enterprise team can view Copilot usage metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -71871,6 +71871,35 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "standard", + "labeled", + "not_set", + null + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning when runner_type is 'labeled'." + } + } + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -72224,6 +72253,31 @@ ], "default": "disabled" }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning default setup when runner_type is 'labeled'." + } + } + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -72439,6 +72493,35 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "standard", + "labeled", + "not_set", + null + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning when runner_type is 'labeled'." + } + } + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -72568,6 +72651,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "enabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -72724,6 +72811,35 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "standard", + "labeled", + "not_set", + null + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning when runner_type is 'labeled'." + } + } + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -72859,6 +72975,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "enabled", "secret_scanning_push_protection": "enabled", "secret_scanning_delegated_bypass": "enabled", @@ -72897,6 +73017,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "enabled", "secret_scanning_push_protection": "enabled", "secret_scanning_delegated_bypass": "disabled", @@ -73318,6 +73442,35 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "standard", + "labeled", + "not_set", + null + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning when runner_type is 'labeled'." + } + } + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -73447,6 +73600,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "enabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -73638,6 +73795,31 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning default setup when runner_type is 'labeled'." + } + } + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -73839,6 +74021,35 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "standard", + "labeled", + "not_set", + null + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning when runner_type is 'labeled'." + } + } + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -73968,6 +74179,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "disabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -74458,6 +74673,35 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "standard", + "labeled", + "not_set", + null + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning when runner_type is 'labeled'." + } + } + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -74592,6 +74836,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "enabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -81492,7 +81740,7 @@ "/orgs/{org}/copilot/billing/selected_teams": { "post": { "summary": "Add teams to the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for all users within each specified team.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can add Copilot seats for their organization members.\n\nIn order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response will contain the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for all users within each specified team.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -81690,7 +81938,7 @@ }, "delete": { "summary": "Remove teams from the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all members of each team specified to \"pending cancellation\".\nThis will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team.\n\nFor more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nFor more information about disabling access to Copilot Business or Enterprise, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response will contain the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all members of each team specified to \"pending cancellation\".\nThis will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -81890,7 +82138,7 @@ "/orgs/{org}/copilot/billing/selected_users": { "post": { "summary": "Add users to the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for each user specified.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can add Copilot seats for their organization members.\n\nIn order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response will contain the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for each user specified.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -82088,7 +82336,7 @@ }, "delete": { "summary": "Remove users from the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\n\nFor more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nFor more information about disabling access to Copilot Business or Enterprise, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response will contain the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -94910,6 +95158,15 @@ "default": "total_request_count" } } + }, + { + "name": "api_route_substring", + "in": "query", + "description": "Providing a substring will filter results where the API route contains the substring. This is a case-insensitive search.", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { @@ -95070,6 +95327,15 @@ "default": "total_request_count" } } + }, + { + "name": "subject_name_substring", + "in": "query", + "description": "Providing a substring will filter results where the subject name contains the substring. This is a case-insensitive search.", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { @@ -95922,6 +96188,15 @@ "default": "total_request_count" } } + }, + { + "name": "actor_name_substring", + "in": "query", + "description": "Providing a substring will filter results where the actor name contains the substring. This is a case-insensitive search.", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { @@ -252586,6 +252861,24 @@ "not-configured" ] }, + "runner_type": { + "description": "Runner type to be used.", + "type": "string", + "enum": [ + "standard", + "labeled" + ] + }, + "runner_label": { + "description": "Runner label to be used if the runner type is labeled.", + "type": [ + "string", + "null" + ], + "examples": [ + "code-scanning" + ] + }, "query_suite": { "description": "CodeQL query suite to be used.", "type": "string", @@ -253298,6 +253591,35 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "standard", + "labeled", + "not_set", + null + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning when runner_type is 'labeled'." + } + } + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -474024,7 +474346,7 @@ }, "status": { "type": "string", - "description": "The state of the scan. Either \"completed\" or \"running\"" + "description": "The state of the scan. Either \"completed\", \"running\", or \"pending\"" }, "completed_at": { "type": [ @@ -474032,12 +474354,15 @@ "null" ], "format": "date-time", - "description": "The time that the scan was completed. Empty if the scan is active" + "description": "The time that the scan was completed. Empty if the scan is running" }, "started_at": { - "type": "string", + "type": [ + "string", + "null" + ], "format": "date-time", - "description": "The time that the scan was started" + "description": "The time that the scan was started. Empty if the scan is pending" } } } @@ -474054,7 +474379,7 @@ }, "status": { "type": "string", - "description": "The state of the scan. Either \"completed\" or \"running\"" + "description": "The state of the scan. Either \"completed\", \"running\", or \"pending\"" }, "completed_at": { "type": [ @@ -474062,12 +474387,15 @@ "null" ], "format": "date-time", - "description": "The time that the scan was completed. Empty if the scan is active" + "description": "The time that the scan was completed. Empty if the scan is running" }, "started_at": { - "type": "string", + "type": [ + "string", + "null" + ], "format": "date-time", - "description": "The time that the scan was started" + "description": "The time that the scan was started. Empty if the scan is pending" } } } @@ -474084,7 +474412,7 @@ }, "status": { "type": "string", - "description": "The state of the scan. Either \"completed\" or \"running\"" + "description": "The state of the scan. Either \"completed\", \"running\", or \"pending\"" }, "completed_at": { "type": [ @@ -474092,12 +474420,15 @@ "null" ], "format": "date-time", - "description": "The time that the scan was completed. Empty if the scan is active" + "description": "The time that the scan was completed. Empty if the scan is running" }, "started_at": { - "type": "string", + "type": [ + "string", + "null" + ], "format": "date-time", - "description": "The time that the scan was started" + "description": "The time that the scan was started. Empty if the scan is pending" } } } @@ -474116,7 +474447,7 @@ }, "status": { "type": "string", - "description": "The state of the scan. Either \"completed\" or \"running\"" + "description": "The state of the scan. Either \"completed\", \"running\", or \"pending\"" }, "completed_at": { "type": [ @@ -474124,12 +474455,15 @@ "null" ], "format": "date-time", - "description": "The time that the scan was completed. Empty if the scan is active" + "description": "The time that the scan was completed. Empty if the scan is running" }, "started_at": { - "type": "string", + "type": [ + "string", + "null" + ], "format": "date-time", - "description": "The time that the scan was started" + "description": "The time that the scan was started. Empty if the scan is pending" } } }, diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 33efb7cb9..0d3fa3717 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -888,7 +888,7 @@ paths: - subscriptions_url - type - url - type: &225 + type: &226 type: string description: The type of credit the user is receiving. enum: @@ -1054,7 +1054,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &528 + - &529 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1585,7 +1585,7 @@ paths: schema: type: integer default: 30 - - &150 + - &151 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1601,7 +1601,7 @@ paths: application/json: schema: type: array - items: &151 + items: &152 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1694,7 +1694,7 @@ paths: - installation_id - repository_id examples: - default: &152 + default: &153 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1829,7 +1829,7 @@ paths: description: Response content: application/json: - schema: &153 + schema: &154 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1964,7 +1964,7 @@ paths: - request - response examples: - default: &154 + default: &155 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -7276,7 +7276,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &133 + items: &134 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -7361,7 +7361,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &172 + - &173 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -7420,7 +7420,7 @@ paths: parent: anyOf: - type: 'null' - - &186 + - &187 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -7614,7 +7614,7 @@ paths: - created_at additionalProperties: false examples: - default: &134 + default: &135 value: total_seats: 2 seats: @@ -8417,7 +8417,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *38 - - &136 + - &137 name: state in: query description: |- @@ -8426,7 +8426,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &137 + - &138 name: severity in: query description: |- @@ -8435,7 +8435,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &138 + - &139 name: ecosystem in: query description: |- @@ -8444,14 +8444,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &139 + - &140 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &140 + - &141 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8461,7 +8461,7 @@ paths: enum: - development - runtime - - &141 + - &142 name: sort in: query description: |- @@ -8477,7 +8477,7 @@ paths: - *40 - *41 - *42 - - &142 + - &143 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -8490,7 +8490,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &143 + - &144 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -8510,7 +8510,7 @@ paths: application/json: schema: type: array - items: &144 + items: &145 type: object description: A Dependabot alert. properties: @@ -8565,7 +8565,7 @@ paths: - development - runtime - - security_advisory: &382 + security_advisory: &383 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8832,7 +8832,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &383 + auto_dismissed_at: &384 type: - string - 'null' @@ -9180,7 +9180,7 @@ paths: - repository additionalProperties: false examples: - default: &145 + default: &146 value: - number: 2 state: dismissed @@ -9524,7 +9524,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *38 - - &216 + - &217 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9535,7 +9535,7 @@ paths: enum: - open - resolved - - &217 + - &218 name: secret_type in: query description: |- @@ -9545,7 +9545,7 @@ paths: required: false schema: type: string - - &218 + - &219 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9554,7 +9554,7 @@ paths: required: false schema: type: string - - &219 + - &220 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -9570,7 +9570,7 @@ paths: - *17 - *41 - *42 - - &220 + - &221 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9579,7 +9579,7 @@ paths: required: false schema: type: string - - &221 + - &222 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9588,7 +9588,7 @@ paths: schema: type: boolean default: false - - &222 + - &223 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9604,7 +9604,7 @@ paths: application/json: schema: type: array - items: &223 + items: &224 type: object properties: number: *46 @@ -9620,14 +9620,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &520 + state: &521 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &521 + resolution: &522 type: - string - 'null' @@ -9720,7 +9720,7 @@ paths: description: Whether the detected secret was found in multiple repositories in the same organization or enterprise. examples: - default: &224 + default: &225 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -9975,6 +9975,9 @@ paths: get: summary: Get Copilot metrics for an enterprise team description: |- + > [!NOTE] + > This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See "[About enterprise accounts for Copilot Business](https://docs.github.com/admin/copilot-business-only/about-enterprise-accounts-for-copilot-business)." + Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day, @@ -10050,7 +10053,7 @@ paths: summary: Get a summary of Copilot usage for an enterprise team description: |- > [!NOTE] - > This endpoint is in public preview and is subject to change. + > This endpoint is in public preview and is subject to change. This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See "[About enterprise accounts for Copilot Business](https://docs.github.com/admin/copilot-business-only/about-enterprise-accounts-for-copilot-business)." You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE for users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. @@ -10074,7 +10077,7 @@ paths: url: https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-an-enterprise-team parameters: - *38 - - &183 + - &184 name: team_slug description: The slug of the team name. in: path @@ -10114,7 +10117,7 @@ paths: type: array items: *55 examples: - default: &135 + default: &136 value: - day: '2023-10-15' total_suggestions_count: 1000 @@ -10387,7 +10390,7 @@ paths: milestone: anyOf: - type: 'null' - - &370 + - &371 title: Milestone description: A collection of related issues and pull requests. @@ -10651,7 +10654,7 @@ paths: - author_association - created_at - updated_at - comment: &429 + comment: &430 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11224,7 +11227,7 @@ paths: url: type: string format: uri - user: &551 + user: &552 title: Public User description: Public User type: object @@ -13114,7 +13117,7 @@ paths: - closed - all default: open - - &173 + - &174 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -13165,7 +13168,7 @@ paths: type: array items: *72 examples: - default: &174 + default: &175 value: - id: 1 node_id: MDU6SXNzdWUx @@ -14561,14 +14564,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &241 + - &242 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &242 + - &243 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -14639,7 +14642,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &253 + '301': &254 description: Moved permanently content: application/json: @@ -14661,7 +14664,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &458 + - &459 name: all description: If `true`, show notifications marked as read. in: query @@ -14669,7 +14672,7 @@ paths: schema: type: boolean default: false - - &459 + - &460 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14679,7 +14682,7 @@ paths: type: boolean default: false - *62 - - &460 + - &461 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -15050,7 +15053,7 @@ paths: type: boolean examples: - false - security_and_analysis: &207 + security_and_analysis: &208 type: - object - 'null' @@ -15197,7 +15200,7 @@ paths: - url - subscription_url examples: - default: &461 + default: &462 value: - id: '1' repository: @@ -15748,7 +15751,7 @@ paths: type: array items: *88 examples: - default: &568 + default: &569 value: - login: github id: 1 @@ -16721,7 +16724,7 @@ paths: type: integer repository_cache_usages: type: array - items: &258 + items: &259 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -16894,7 +16897,7 @@ paths: - all - local_only - selected - selected_actions_url: &264 + selected_actions_url: &265 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` @@ -16984,7 +16987,7 @@ paths: type: array items: *57 examples: - default: &562 + default: &563 value: total_count: 1 repositories: @@ -17312,7 +17315,7 @@ paths: description: Response content: application/json: - schema: &268 + schema: &269 type: object properties: default_workflow_permissions: &102 @@ -17363,7 +17366,7 @@ paths: required: false content: application/json: - schema: &269 + schema: &270 type: object properties: default_workflow_permissions: *102 @@ -17801,7 +17804,7 @@ paths: type: array items: *108 examples: - default: &554 + default: &555 value: total_count: 1 repositories: @@ -18444,7 +18447,7 @@ paths: application/json: schema: type: array - items: &270 + items: &271 title: Runner Application description: Runner Application type: object @@ -18469,7 +18472,7 @@ paths: - download_url - filename examples: - default: &271 + default: &272 value: - os: osx architecture: x64 @@ -18555,7 +18558,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &272 + '201': &273 description: Response content: application/json: @@ -18669,7 +18672,7 @@ paths: - token - expires_at examples: - default: &273 + default: &274 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -18708,7 +18711,7 @@ paths: application/json: schema: *112 examples: - default: &274 + default: &275 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -18742,7 +18745,7 @@ paths: application/json: schema: *110 examples: - default: &275 + default: &276 value: id: 23 name: MBP @@ -18966,7 +18969,7 @@ paths: - *89 - *109 responses: - '200': &276 + '200': &277 description: Response content: application/json: @@ -19023,7 +19026,7 @@ paths: parameters: - *89 - *109 - - &277 + - &278 name: name description: The name of a self-hosted runner's custom label. in: path @@ -19155,7 +19158,7 @@ paths: description: Response content: application/json: - schema: &289 + schema: &290 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -19190,7 +19193,7 @@ paths: - key_id - key examples: - default: &290 + default: &291 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -19601,7 +19604,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *89 - - &263 + - &264 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -20131,7 +20134,7 @@ paths: repository_id: type: integer examples: - default: &303 + default: &304 value: attestations: - bundle: @@ -20250,7 +20253,7 @@ paths: type: array items: *4 examples: - default: &175 + default: &176 value: - login: octocat id: 1 @@ -20368,7 +20371,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *89 - - &328 + - &329 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -20378,7 +20381,7 @@ paths: schema: &124 type: string description: The name of the tool used to generate the code scanning analysis. - - &329 + - &330 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -20402,7 +20405,7 @@ paths: be returned. in: query required: false - schema: &331 + schema: &332 type: string description: State of a code scanning alert. enum: @@ -20425,7 +20428,7 @@ paths: be returned. in: query required: false - schema: &332 + schema: &333 type: string description: Severity of a code scanning alert. enum: @@ -20451,7 +20454,7 @@ paths: updated_at: *48 url: *49 html_url: *50 - instances_url: &333 + instances_url: &334 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -20473,7 +20476,7 @@ paths: - type: 'null' - *4 dismissed_at: *123 - dismissed_reason: &334 + dismissed_reason: &335 type: - string - 'null' @@ -20484,14 +20487,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &335 + dismissed_comment: &336 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &336 + rule: &337 type: object properties: id: @@ -20552,7 +20555,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &337 + tool: &338 type: object properties: name: *124 @@ -20563,15 +20566,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *125 - most_recent_instance: &338 + most_recent_instance: &339 type: object properties: - ref: &330 + ref: &331 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &344 + analysis_key: &345 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -20582,7 +20585,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &345 + category: &346 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -20997,6 +21000,29 @@ paths: - enabled - disabled - not_set + code_scanning_default_setup_options: + type: + - object + - 'null' + description: Feature options for code scanning default setup + properties: + runner_type: + type: + - string + - 'null' + enum: + - standard + - labeled + - not_set + - + description: Whether to use labeled runners or standard + GitHub runners. + runner_label: + type: + - string + - 'null' + description: The label of the runner to use for code scanning + when runner_type is 'labeled'. secret_scanning: type: string description: The enablement status of secret scanning @@ -21238,6 +21264,26 @@ paths: - disabled - not_set default: disabled + code_scanning_default_setup_options: &131 + type: + - object + - 'null' + description: Feature options for code scanning default setup + properties: + runner_type: + type: string + enum: + - standard + - labeled + - not_set + description: Whether to use labeled runners or standard GitHub + runners. + runner_label: + type: + - string + - 'null' + description: The label of the runner to use for code scanning + default setup when runner_type is 'labeled'. secret_scanning: type: string description: The enablement status of secret scanning @@ -21353,6 +21399,9 @@ paths: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: disabled + code_scanning_default_setup_options: + runner_type: not_set + runner_label: secret_scanning: enabled secret_scanning_push_protection: disabled secret_scanning_delegated_bypass: disabled @@ -21423,6 +21472,9 @@ paths: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: enabled + code_scanning_default_setup_options: + runner_type: not_set + runner_label: secret_scanning: enabled secret_scanning_push_protection: enabled secret_scanning_delegated_bypass: enabled @@ -21454,6 +21506,9 @@ paths: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: enabled + code_scanning_default_setup_options: + runner_type: not_set + runner_label: secret_scanning: enabled secret_scanning_push_protection: enabled secret_scanning_delegated_bypass: disabled @@ -21512,7 +21567,7 @@ paths: - 32 - 91 responses: - '204': &131 + '204': &132 description: A header with no content is returned. '400': *14 '403': *27 @@ -21645,6 +21700,7 @@ paths: - enabled - disabled - not_set + code_scanning_default_setup_options: *131 secret_scanning: type: string description: The enablement status of secret scanning @@ -21747,6 +21803,9 @@ paths: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: enabled + code_scanning_default_setup_options: + runner_type: not_set + runner_label: secret_scanning: disabled secret_scanning_push_protection: disabled secret_scanning_delegated_bypass: disabled @@ -21785,7 +21844,7 @@ paths: - *89 - *130 responses: - '204': *131 + '204': *132 '400': *14 '403': *27 '404': *6 @@ -22107,7 +22166,7 @@ paths: type: integer codespaces: type: array - items: &176 + items: &177 type: object title: Codespace description: A codespace. @@ -22142,7 +22201,7 @@ paths: machine: anyOf: - type: 'null' - - &358 + - &359 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -22429,7 +22488,7 @@ paths: - pulls_url - recent_folders examples: - default: &177 + default: &178 value: total_count: 3 codespaces: @@ -23053,7 +23112,7 @@ paths: type: integer secrets: type: array - items: &132 + items: &133 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -23094,7 +23153,7 @@ paths: - updated_at - visibility examples: - default: &359 + default: &360 value: total_count: 2 secrets: @@ -23132,7 +23191,7 @@ paths: description: Response content: application/json: - schema: &360 + schema: &361 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -23167,7 +23226,7 @@ paths: - key_id - key examples: - default: &361 + default: &362 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23197,9 +23256,9 @@ paths: description: Response content: application/json: - schema: *132 + schema: *133 examples: - default: &363 + default: &364 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -23668,9 +23727,9 @@ paths: currently being billed. seats: type: array - items: *133 + items: *134 examples: - default: *134 + default: *135 headers: Link: *37 '500': *39 @@ -23692,13 +23751,11 @@ paths: Purchases a GitHub Copilot seat for all users within each specified team. The organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)." - Only organization owners can add Copilot seats for their organization members. - - In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy. + Only organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy. For more information about setting up a Copilot subscription, see "[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization)." For more information about setting a suggestion matching policy, see "[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching)." - The response will contain the total number of new seats that were created and existing seats that were refreshed. + The response contains the total number of new seats that were created and existing seats that were refreshed. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: @@ -23772,14 +23829,11 @@ paths: Sets seats for all members of each team specified to "pending cancellation". This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team. - - For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)." - - For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)." + For more information about disabling access to Copilot, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)." Only organization owners can cancel Copilot seats for their organization members. - The response will contain the total number of seats set to "pending cancellation". + The response contains the total number of seats set to "pending cancellation". OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: @@ -23855,13 +23909,11 @@ paths: Purchases a GitHub Copilot seat for each user specified. The organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)." - Only organization owners can add Copilot seats for their organization members. - - In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy. + Only organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy. For more information about setting up a Copilot subscription, see "[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization)." For more information about setting a suggestion matching policy, see "[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching)." - The response will contain the total number of new seats that were created and existing seats that were refreshed. + The response contains the total number of new seats that were created and existing seats that were refreshed. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: @@ -23934,14 +23986,11 @@ paths: Sets seats for all users specified to "pending cancellation". This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership. - - For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)." - - For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)." + For more information about disabling access to Copilot, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)." Only organization owners can cancel Copilot seats for their organization members. - The response will contain the total number of seats set to "pending cancellation". + The response contains the total number of seats set to "pending cancellation". OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: @@ -24135,7 +24184,7 @@ paths: type: array items: *55 examples: - default: *135 + default: *136 '500': *39 '401': *23 '403': *27 @@ -24162,17 +24211,17 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *89 - - *136 - *137 - *138 - *139 - *140 - *141 + - *142 - *40 - *41 - *42 - - *142 - *143 + - *144 - *17 responses: '200': @@ -24181,9 +24230,9 @@ paths: application/json: schema: type: array - items: *144 + items: *145 examples: - default: *145 + default: *146 '304': *35 '400': *14 '403': *27 @@ -24227,7 +24276,7 @@ paths: type: integer secrets: type: array - items: &146 + items: &147 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -24306,7 +24355,7 @@ paths: description: Response content: application/json: - schema: &386 + schema: &387 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -24325,7 +24374,7 @@ paths: - key_id - key examples: - default: &387 + default: &388 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -24355,7 +24404,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *147 examples: default: value: @@ -24652,7 +24701,7 @@ paths: application/json: schema: type: array - items: &188 + items: &189 title: Package description: A software package type: object @@ -24723,7 +24772,7 @@ paths: - created_at - updated_at examples: - default: &189 + default: &190 value: - id: 197 name: hello_docker @@ -24890,7 +24939,7 @@ paths: application/json: schema: type: array - items: &169 + items: &170 title: Organization Invitation description: Organization Invitation type: object @@ -24944,7 +24993,7 @@ paths: - invitation_teams_url - node_id examples: - default: &170 + default: &171 value: - id: 1 login: monalisa @@ -25011,7 +25060,7 @@ paths: application/json: schema: type: array - items: &147 + items: &148 title: Org Hook description: Org Hook type: object @@ -25196,9 +25245,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *148 examples: - default: &148 + default: &149 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -25246,7 +25295,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *89 - - &149 + - &150 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -25259,9 +25308,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *148 examples: - default: *148 + default: *149 '404': *6 x-github: githubCloudOnly: false @@ -25289,7 +25338,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *89 - - *149 + - *150 requestBody: required: false content: @@ -25335,7 +25384,7 @@ paths: description: Response content: application/json: - schema: *147 + schema: *148 examples: default: value: @@ -25377,7 +25426,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *89 - - *149 + - *150 responses: '204': description: Response @@ -25405,7 +25454,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *89 - - *149 + - *150 responses: '200': description: Response @@ -25436,7 +25485,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *89 - - *149 + - *150 requestBody: required: false content: @@ -25487,9 +25536,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *89 - - *149 - - *17 - *150 + - *17 + - *151 responses: '200': description: Response @@ -25497,9 +25546,9 @@ paths: application/json: schema: type: array - items: *151 + items: *152 examples: - default: *152 + default: *153 '400': *14 '422': *15 x-github: @@ -25525,16 +25574,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *89 - - *149 + - *150 - *16 responses: '200': description: Response content: application/json: - schema: *153 + schema: *154 examples: - default: *154 + default: *155 '400': *14 '422': *15 x-github: @@ -25560,7 +25609,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *89 - - *149 + - *150 - *16 responses: '202': *94 @@ -25590,7 +25639,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *89 - - *149 + - *150 responses: '204': description: Response @@ -25613,7 +25662,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *89 - - &159 + - &160 name: actor_type in: path description: The type of the actor @@ -25626,14 +25675,14 @@ paths: - fine_grained_pats - oauth_apps - github_apps_user_to_server - - &160 + - &161 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &155 + - &156 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -25641,7 +25690,7 @@ paths: required: true schema: type: string - - &156 + - &157 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -25669,6 +25718,13 @@ paths: - api_route - total_request_count default: total_request_count + - name: api_route_substring + in: query + description: Providing a substring will filter results where the API route + contains the substring. This is a case-insensitive search. + required: false + schema: + type: string responses: '200': description: Response @@ -25729,12 +25785,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *89 - - *155 - *156 + - *157 - *18 - *17 - *40 - - &165 + - &166 name: sort description: The property to sort the results by. in: query @@ -25750,6 +25806,13 @@ paths: - subject_name - total_request_count default: total_request_count + - name: subject_name_substring + in: query + description: Providing a substring will filter results where the subject name + contains the substring. This is a case-insensitive search. + required: false + schema: + type: string responses: '200': description: Response @@ -25807,14 +25870,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *89 - - *155 - *156 + - *157 responses: '200': description: Response content: application/json: - schema: &157 + schema: &158 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -25830,7 +25893,7 @@ paths: type: integer format: int64 examples: - default: &158 + default: &159 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -25851,23 +25914,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *89 - - &161 + - &162 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *155 - *156 + - *157 responses: '200': description: Response content: application/json: - schema: *157 + schema: *158 examples: - default: *158 + default: *159 x-github: enabledForGitHubApps: true category: orgs @@ -25886,18 +25949,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *89 - - *155 - *156 - - *159 + - *157 - *160 + - *161 responses: '200': description: Response content: application/json: - schema: *157 + schema: *158 examples: - default: *158 + default: *159 x-github: enabledForGitHubApps: true category: orgs @@ -25915,9 +25978,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *89 - - *155 - *156 - - &162 + - *157 + - &163 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -25930,7 +25993,7 @@ paths: description: Response content: application/json: - schema: &163 + schema: &164 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -25946,7 +26009,7 @@ paths: type: integer format: int64 examples: - default: &164 + default: &165 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -25983,18 +26046,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *89 - - *161 - - *155 - - *156 - *162 + - *156 + - *157 + - *163 responses: '200': description: Response content: application/json: - schema: *163 + schema: *164 examples: - default: *164 + default: *165 x-github: enabledForGitHubApps: true category: orgs @@ -26012,19 +26075,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *89 - - *159 - *160 - - *155 + - *161 - *156 - - *162 + - *157 + - *163 responses: '200': description: Response content: application/json: - schema: *163 + schema: *164 examples: - default: *164 + default: *165 x-github: enabledForGitHubApps: true category: orgs @@ -26042,13 +26105,20 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *89 - - *161 - - *155 + - *162 - *156 + - *157 - *18 - *17 - *40 - - *165 + - *166 + - name: actor_name_substring + in: query + description: Providing a substring will filter results where the actor name + contains the substring. This is a case-insensitive search. + required: false + schema: + type: string responses: '200': description: Response @@ -26125,7 +26195,7 @@ paths: application/json: schema: *20 examples: - default: &425 + default: &426 value: id: 1 account: @@ -26291,12 +26361,12 @@ paths: application/json: schema: anyOf: - - &167 + - &168 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &166 + limit: &167 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -26324,7 +26394,7 @@ paths: properties: {} additionalProperties: false examples: - default: &168 + default: &169 value: limit: collaborators_only origin: organization @@ -26353,13 +26423,13 @@ paths: required: true content: application/json: - schema: &426 + schema: &427 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *166 + limit: *167 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -26384,9 +26454,9 @@ paths: description: Response content: application/json: - schema: *167 + schema: *168 examples: - default: *168 + default: *169 '422': *15 x-github: githubCloudOnly: false @@ -26462,9 +26532,9 @@ paths: application/json: schema: type: array - items: *169 + items: *170 examples: - default: *170 + default: *171 headers: Link: *37 '404': *6 @@ -26541,7 +26611,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *170 examples: default: value: @@ -26596,7 +26666,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *89 - - &171 + - &172 name: invitation_id description: The unique identifier of the invitation. in: path @@ -26627,7 +26697,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *89 - - *171 + - *172 - *17 - *18 responses: @@ -26637,9 +26707,9 @@ paths: application/json: schema: type: array - items: *172 + items: *173 examples: - default: &187 + default: &188 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -26714,7 +26784,7 @@ paths: - closed - all default: open - - *173 + - *174 - name: sort description: What to sort results by. in: query @@ -26739,7 +26809,7 @@ paths: type: array items: *72 examples: - default: *174 + default: *175 headers: Link: *37 '404': *6 @@ -26797,7 +26867,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *176 headers: Link: *37 '422': *15 @@ -26893,9 +26963,9 @@ paths: type: integer codespaces: type: array - items: *176 + items: *177 examples: - default: *177 + default: *178 '304': *35 '500': *39 '401': *23 @@ -26922,7 +26992,7 @@ paths: parameters: - *89 - *121 - - &178 + - &179 name: codespace_name in: path required: true @@ -26957,15 +27027,15 @@ paths: parameters: - *89 - *121 - - *178 + - *179 responses: '200': description: Response content: application/json: - schema: *176 + schema: *177 examples: - default: &357 + default: &358 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -27145,7 +27215,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *133 + schema: *134 examples: default: value: @@ -27220,7 +27290,7 @@ paths: description: Response content: application/json: - schema: &179 + schema: &180 title: Org Membership description: Org Membership type: object @@ -27273,7 +27343,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &180 + response-if-user-has-an-active-admin-membership-with-organization: &181 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -27370,9 +27440,9 @@ paths: description: Response content: application/json: - schema: *179 + schema: *180 examples: - response-if-user-already-had-membership-with-organization: *180 + response-if-user-already-had-membership-with-organization: *181 '422': *15 '403': *27 x-github: @@ -27441,7 +27511,7 @@ paths: application/json: schema: type: array - items: &181 + items: &182 title: Migration description: A migration. type: object @@ -27779,7 +27849,7 @@ paths: description: Response content: application/json: - schema: *181 + schema: *182 examples: default: value: @@ -27958,7 +28028,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *89 - - &182 + - &183 name: migration_id description: The unique identifier of the migration. in: path @@ -27986,7 +28056,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *181 + schema: *182 examples: default: value: @@ -28156,7 +28226,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *89 - - *182 + - *183 responses: '302': description: Response @@ -28178,7 +28248,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *89 - - *182 + - *183 responses: '204': description: Response @@ -28202,8 +28272,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *89 - - *182 - - &567 + - *183 + - &568 name: repo_name description: repo_name parameter in: path @@ -28231,7 +28301,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *89 - - *182 + - *183 - *17 - *18 responses: @@ -28243,7 +28313,7 @@ paths: type: array items: *108 examples: - default: &194 + default: &195 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -28396,7 +28466,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &185 + items: &186 title: Organization Role description: Organization roles type: object @@ -28546,7 +28616,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *89 - - *183 + - *184 responses: '204': description: Response @@ -28572,8 +28642,8 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *89 - - *183 - - &184 + - *184 + - &185 name: role_id description: The unique identifier of the role. in: path @@ -28609,8 +28679,8 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *89 - - *183 - *184 + - *185 responses: '204': description: Response @@ -28663,7 +28733,7 @@ paths: parameters: - *89 - *121 - - *184 + - *185 responses: '204': description: Response @@ -28695,7 +28765,7 @@ paths: parameters: - *89 - *121 - - *184 + - *185 responses: '204': description: Response @@ -28724,13 +28794,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *89 - - *184 + - *185 responses: '200': description: Response content: application/json: - schema: *185 + schema: *186 examples: default: value: @@ -28781,7 +28851,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *89 - - *184 + - *185 - *17 - *18 responses: @@ -28860,7 +28930,7 @@ paths: parent: anyOf: - type: 'null' - - *186 + - *187 required: - id - node_id @@ -28874,7 +28944,7 @@ paths: - slug - parent examples: - default: *187 + default: *188 headers: Link: *37 '404': @@ -28904,7 +28974,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *89 - - *184 + - *185 - *17 - *18 responses: @@ -28933,7 +29003,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *186 + items: *187 name: type: - string @@ -29050,7 +29120,7 @@ paths: - type - url examples: - default: *175 + default: *176 headers: Link: *37 '404': @@ -29098,7 +29168,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *176 headers: Link: *37 x-github: @@ -29240,7 +29310,7 @@ paths: - nuget - container - *89 - - &569 + - &570 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -29276,12 +29346,12 @@ paths: application/json: schema: type: array - items: *188 + items: *189 examples: - default: *189 + default: *190 '403': *27 '401': *23 - '400': &571 + '400': &572 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -29303,7 +29373,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &190 + - &191 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -29321,7 +29391,7 @@ paths: - docker - nuget - container - - &191 + - &192 name: package_name description: The name of the package. in: path @@ -29334,7 +29404,7 @@ paths: description: Response content: application/json: - schema: *188 + schema: *189 examples: default: value: @@ -29386,8 +29456,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *190 - *191 + - *192 - *89 responses: '204': @@ -29420,8 +29490,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *190 - *191 + - *192 - *89 - name: token description: package token @@ -29454,8 +29524,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *190 - *191 + - *192 - *89 - *18 - *17 @@ -29476,7 +29546,7 @@ paths: application/json: schema: type: array - items: &192 + items: &193 title: Package Version description: A version of a software package type: object @@ -29611,10 +29681,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *190 - *191 + - *192 - *89 - - &193 + - &194 name: package_version_id description: Unique identifier of the package version. in: path @@ -29626,7 +29696,7 @@ paths: description: Response content: application/json: - schema: *192 + schema: *193 examples: default: value: @@ -29662,10 +29732,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *190 - *191 + - *192 - *89 - - *193 + - *194 responses: '204': description: Response @@ -29697,10 +29767,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *190 - *191 + - *192 - *89 - - *193 + - *194 responses: '204': description: Response @@ -29730,7 +29800,7 @@ paths: - *89 - *17 - *18 - - &195 + - &196 name: sort description: The property by which to sort the results. in: query @@ -29741,7 +29811,7 @@ paths: - created_at default: created_at - *40 - - &196 + - &197 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -29753,7 +29823,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &197 + - &198 name: repository description: The name of the repository to use to filter the results. in: query @@ -29762,7 +29832,7 @@ paths: type: string examples: - Hello-World - - &198 + - &199 name: permission description: The permission to use to filter the results. in: query @@ -29771,7 +29841,7 @@ paths: type: string examples: - issues_read - - &199 + - &200 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -29781,7 +29851,7 @@ paths: schema: type: string format: date-time - - &200 + - &201 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -30055,7 +30125,7 @@ paths: '422': *15 '404': *6 '403': *27 - '204': *131 + '204': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30098,7 +30168,7 @@ paths: type: array items: *108 examples: - default: *194 + default: *195 headers: Link: *37 x-github: @@ -30124,13 +30194,13 @@ paths: - *89 - *17 - *18 - - *195 - - *40 - *196 + - *40 - *197 - *198 - *199 - *200 + - *201 responses: '500': *39 '422': *15 @@ -30371,7 +30441,7 @@ paths: responses: '500': *39 '404': *6 - '204': *131 + '204': *132 '403': *27 '422': *15 x-github: @@ -30414,7 +30484,7 @@ paths: type: array items: *108 examples: - default: *194 + default: *195 headers: Link: *37 x-github: @@ -30457,7 +30527,7 @@ paths: application/json: schema: type: array - items: &201 + items: &202 title: Project description: Projects are a way to organize columns and cards of work. @@ -30636,7 +30706,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *202 examples: default: value: @@ -30674,7 +30744,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &250 + '410': &251 description: Gone content: application/json: @@ -30706,7 +30776,7 @@ paths: application/json: schema: type: array - items: &202 + items: &203 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -30782,7 +30852,7 @@ paths: - property_name - value_type examples: - default: &203 + default: &204 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -30837,7 +30907,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *202 + items: *203 minItems: 1 maxItems: 100 required: @@ -30867,9 +30937,9 @@ paths: application/json: schema: type: array - items: *202 + items: *203 examples: - default: *203 + default: *204 '403': *27 '404': *6 x-github: @@ -30891,7 +30961,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *89 - - &204 + - &205 name: custom_property_name description: The custom property name in: path @@ -30903,9 +30973,9 @@ paths: description: Response content: application/json: - schema: *202 + schema: *203 examples: - default: &205 + default: &206 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -30940,7 +31010,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *89 - - *204 + - *205 requestBody: required: true content: @@ -31005,9 +31075,9 @@ paths: description: Response content: application/json: - schema: *202 + schema: *203 examples: - default: *205 + default: *206 '403': *27 '404': *6 x-github: @@ -31031,9 +31101,9 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *89 - - *204 + - *205 responses: - '204': *131 + '204': *132 '403': *27 '404': *6 x-github: @@ -31095,7 +31165,7 @@ paths: - octocat/Hello-World properties: type: array - items: &206 + items: &207 title: Custom Property Value description: Custom property name and associated value type: object @@ -31185,7 +31255,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *206 + items: *207 required: - repository_names - properties @@ -31238,7 +31308,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *176 headers: Link: *37 x-github: @@ -31377,7 +31447,7 @@ paths: type: array items: *108 examples: - default: *194 + default: *195 headers: Link: *37 x-github: @@ -31580,7 +31650,7 @@ paths: description: Response content: application/json: - schema: &252 + schema: &253 title: Full Repository description: Full Repository type: object @@ -32045,7 +32115,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &376 + code_of_conduct: &377 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -32075,7 +32145,7 @@ paths: - key - name - html_url - security_and_analysis: *207 + security_and_analysis: *208 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -32159,7 +32229,7 @@ paths: - network_count - subscribers_count examples: - default: &254 + default: &255 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -32680,7 +32750,7 @@ paths: - *89 - *17 - *18 - - &507 + - &508 name: targets description: | A comma-separated list of rule targets to filter by. @@ -32699,7 +32769,7 @@ paths: application/json: schema: type: array - items: &214 + items: &215 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -32732,7 +32802,7 @@ paths: source: type: string description: The name of the source - enforcement: &210 + enforcement: &211 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -32745,7 +32815,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &211 + items: &212 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -32811,7 +32881,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &208 + - &209 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -32835,7 +32905,7 @@ paths: match. items: type: string - - &212 + - &213 title: Organization ruleset conditions type: object description: |- @@ -32848,7 +32918,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *208 + - *209 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -32882,7 +32952,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *208 + - *209 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -32904,7 +32974,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *208 + - *209 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -32917,7 +32987,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &209 + items: &210 title: Repository ruleset property targeting definition type: object @@ -32950,7 +33020,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *209 + items: *210 required: - repository_property type: @@ -32958,12 +33028,12 @@ paths: - object rules: type: array - items: &213 + items: &214 title: Repository Rule type: object description: A repository rule. oneOf: - - &489 + - &490 title: creation description: Only allow users with bypass permission to create matching refs. @@ -32975,7 +33045,7 @@ paths: type: string enum: - creation - - &490 + - &491 title: update description: Only allow users with bypass permission to update matching refs. @@ -32996,7 +33066,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &492 + - &493 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -33008,7 +33078,7 @@ paths: type: string enum: - deletion - - &493 + - &494 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -33020,7 +33090,7 @@ paths: type: string enum: - required_linear_history - - &494 + - &495 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -33098,7 +33168,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &495 + - &496 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -33122,7 +33192,7 @@ paths: type: string required: - required_deployment_environments - - &496 + - &497 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -33134,7 +33204,7 @@ paths: type: string enum: - required_signatures - - &497 + - &498 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -33180,7 +33250,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &498 + - &499 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -33228,7 +33298,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &499 + - &500 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -33240,7 +33310,7 @@ paths: type: string enum: - non_fast_forward - - &500 + - &501 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -33276,7 +33346,7 @@ paths: required: - operator - pattern - - &501 + - &502 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -33312,7 +33382,7 @@ paths: required: - operator - pattern - - &502 + - &503 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -33348,7 +33418,7 @@ paths: required: - operator - pattern - - &503 + - &504 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -33384,7 +33454,7 @@ paths: required: - operator - pattern - - &504 + - &505 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -33510,7 +33580,7 @@ paths: maximum: 100 required: - max_file_size - - &505 + - &506 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -33560,7 +33630,7 @@ paths: - repository_id required: - workflows - - &506 + - &507 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -33693,16 +33763,16 @@ paths: - tag - push default: branch - enforcement: *210 + enforcement: *211 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *211 - conditions: *212 + items: *212 + conditions: *213 rules: type: array description: An array of rules within the ruleset. - items: *213 + items: *214 required: - name - enforcement @@ -33740,9 +33810,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *215 examples: - default: &215 + default: &216 value: id: 21 name: super cool ruleset @@ -33797,7 +33867,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *89 - - &508 + - &509 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -33812,7 +33882,7 @@ paths: in: query schema: type: string - - &509 + - &510 name: time_period description: |- The time period to filter by. @@ -33828,14 +33898,14 @@ paths: - week - month default: day - - &510 + - &511 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &511 + - &512 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -33855,7 +33925,7 @@ paths: description: Response content: application/json: - schema: &512 + schema: &513 title: Rule Suites description: Response type: array @@ -33911,7 +33981,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &513 + default: &514 value: - id: 21 actor_id: 12 @@ -33955,7 +34025,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *89 - - &514 + - &515 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -33971,7 +34041,7 @@ paths: description: Response content: application/json: - schema: &515 + schema: &516 title: Rule Suite description: Response type: object @@ -34078,7 +34148,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &516 + default: &517 value: id: 21 actor_id: 12 @@ -34151,9 +34221,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *215 examples: - default: *215 + default: *216 '404': *6 '500': *39 put: @@ -34196,16 +34266,16 @@ paths: - branch - tag - push - enforcement: *210 + enforcement: *211 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *211 - conditions: *212 + items: *212 + conditions: *213 rules: description: An array of rules within the ruleset. type: array - items: *213 + items: *214 examples: default: value: @@ -34240,9 +34310,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *215 examples: - default: *215 + default: *216 '404': *6 '500': *39 delete: @@ -34289,14 +34359,14 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *89 - - *216 - *217 - *218 - *219 + - *220 - *40 - *18 - *17 - - &518 + - &519 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -34306,7 +34376,7 @@ paths: required: false schema: type: string - - &519 + - &520 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -34316,9 +34386,9 @@ paths: required: false schema: type: string - - *220 - *221 - *222 + - *223 responses: '200': description: Response @@ -34326,9 +34396,9 @@ paths: application/json: schema: type: array - items: *223 + items: *224 examples: - default: *224 + default: *225 headers: Link: *37 '404': *6 @@ -34398,7 +34468,7 @@ paths: application/json: schema: type: array - items: &526 + items: &527 description: A repository security advisory. type: object properties: @@ -34642,7 +34712,7 @@ paths: login: type: string description: The username of the user credited. - type: *225 + type: *226 credits_detailed: type: - array @@ -34653,7 +34723,7 @@ paths: type: object properties: user: *4 - type: *225 + type: *226 state: type: string description: The state of the user's acceptance of the @@ -34679,7 +34749,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *172 + items: *173 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -34717,7 +34787,7 @@ paths: - private_fork additionalProperties: false examples: - default: &527 + default: &528 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -35107,9 +35177,9 @@ paths: application/json: schema: type: array - items: *186 + items: *187 examples: - default: *187 + default: *188 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35133,7 +35203,7 @@ paths: url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - *89 - - *183 + - *184 responses: '204': description: Response @@ -35159,7 +35229,7 @@ paths: url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *89 - - *183 + - *184 responses: '204': description: Response @@ -35191,7 +35261,7 @@ paths: description: Response content: application/json: - schema: &585 + schema: &586 type: object properties: total_minutes_used: @@ -35261,7 +35331,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &586 + default: &587 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -35297,7 +35367,7 @@ paths: description: Response content: application/json: - schema: &587 + schema: &588 type: object properties: total_gigabytes_bandwidth_used: @@ -35315,7 +35385,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &588 + default: &589 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -35347,7 +35417,7 @@ paths: description: Response content: application/json: - schema: &589 + schema: &590 type: object properties: days_left_in_billing_cycle: @@ -35365,7 +35435,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &590 + default: &591 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -35400,7 +35470,7 @@ paths: url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *89 - - *183 + - *184 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -35473,7 +35543,7 @@ paths: url: https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team parameters: - *89 - - *183 + - *184 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -35507,7 +35577,7 @@ paths: type: array items: *55 examples: - default: *135 + default: *136 '500': *39 '401': *23 '403': *27 @@ -35539,9 +35609,9 @@ paths: application/json: schema: type: array - items: *172 + items: *173 examples: - default: *187 + default: *188 headers: Link: *37 '403': *27 @@ -35635,7 +35705,7 @@ paths: description: Response content: application/json: - schema: &226 + schema: &227 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -35709,7 +35779,7 @@ paths: parent: anyOf: - type: 'null' - - *186 + - *187 members_count: type: integer examples: @@ -36015,7 +36085,7 @@ paths: - repos_count - organization examples: - default: &227 + default: &228 value: id: 1 node_id: MDQ6VGVhbTE= @@ -36086,15 +36156,15 @@ paths: url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - *89 - - *183 + - *184 responses: '200': description: Response content: application/json: - schema: *226 + schema: *227 examples: - default: *227 + default: *228 '404': *6 x-github: githubCloudOnly: false @@ -36116,7 +36186,7 @@ paths: url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - *89 - - *183 + - *184 requestBody: required: false content: @@ -36179,16 +36249,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *226 + schema: *227 examples: - default: *227 + default: *228 '201': description: Response content: application/json: - schema: *226 + schema: *227 examples: - default: *227 + default: *228 '404': *6 '422': *15 '403': *27 @@ -36214,7 +36284,7 @@ paths: url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - *89 - - *183 + - *184 responses: '204': description: Response @@ -36241,7 +36311,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - *89 - - *183 + - *184 - *40 - *17 - *18 @@ -36258,7 +36328,7 @@ paths: application/json: schema: type: array - items: &228 + items: &229 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -36369,7 +36439,7 @@ paths: - updated_at - url examples: - default: &541 + default: &542 value: - author: login: octocat @@ -36444,7 +36514,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - *89 - - *183 + - *184 requestBody: required: true content: @@ -36478,9 +36548,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: &229 + default: &230 value: author: login: octocat @@ -36553,8 +36623,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - *89 - - *183 - - &230 + - *184 + - &231 name: discussion_number description: The number that identifies the discussion. in: path @@ -36566,9 +36636,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: *229 + default: *230 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36591,8 +36661,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - *89 - - *183 - - *230 + - *184 + - *231 requestBody: required: false content: @@ -36615,9 +36685,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: &542 + default: &543 value: author: login: octocat @@ -36688,8 +36758,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - *89 - - *183 - - *230 + - *184 + - *231 responses: '204': description: Response @@ -36716,8 +36786,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - *89 - - *183 - - *230 + - *184 + - *231 - *40 - *17 - *18 @@ -36728,7 +36798,7 @@ paths: application/json: schema: type: array - items: &231 + items: &232 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -36808,7 +36878,7 @@ paths: - updated_at - url examples: - default: &543 + default: &544 value: - author: login: octocat @@ -36877,8 +36947,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - *89 - - *183 - - *230 + - *184 + - *231 requestBody: required: true content: @@ -36900,9 +36970,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *232 examples: - default: &232 + default: &233 value: author: login: octocat @@ -36969,9 +37039,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - *89 - - *183 - - *230 - - &233 + - *184 + - *231 + - &234 name: comment_number description: The number that identifies the comment. in: path @@ -36983,9 +37053,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *232 examples: - default: *232 + default: *233 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37008,9 +37078,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - *89 - - *183 - - *230 - - *233 + - *184 + - *231 + - *234 requestBody: required: true content: @@ -37032,9 +37102,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *232 examples: - default: &544 + default: &545 value: author: login: octocat @@ -37099,9 +37169,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *89 - - *183 - - *230 - - *233 + - *184 + - *231 + - *234 responses: '204': description: Response @@ -37128,9 +37198,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *89 - - *183 - - *230 - - *233 + - *184 + - *231 + - *234 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -37156,7 +37226,7 @@ paths: application/json: schema: type: array - items: &234 + items: &235 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -37200,7 +37270,7 @@ paths: - content - created_at examples: - default: &236 + default: &237 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -37251,9 +37321,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *89 - - *183 - - *230 - - *233 + - *184 + - *231 + - *234 requestBody: required: true content: @@ -37286,9 +37356,9 @@ paths: team discussion comment content: application/json: - schema: *234 + schema: *235 examples: - default: &235 + default: &236 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -37317,9 +37387,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *235 + default: *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37343,10 +37413,10 @@ paths: url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *89 - - *183 - - *230 - - *233 - - &237 + - *184 + - *231 + - *234 + - &238 name: reaction_id description: The unique identifier of the reaction. in: path @@ -37379,8 +37449,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *89 - - *183 - - *230 + - *184 + - *231 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -37406,9 +37476,9 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: - default: *236 + default: *237 headers: Link: *37 x-github: @@ -37435,8 +37505,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *89 - - *183 - - *230 + - *184 + - *231 requestBody: required: true content: @@ -37468,16 +37538,16 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *235 + default: *236 '201': description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *235 + default: *236 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -37501,9 +37571,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - *89 - - *183 - - *230 - - *237 + - *184 + - *231 + - *238 responses: '204': description: Response @@ -37528,7 +37598,7 @@ paths: url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - *89 - - *183 + - *184 - *17 - *18 responses: @@ -37538,9 +37608,9 @@ paths: application/json: schema: type: array - items: *169 + items: *170 examples: - default: *170 + default: *171 headers: Link: *37 x-github: @@ -37563,7 +37633,7 @@ paths: url: https://docs.github.com/rest/teams/members#list-team-members parameters: - *89 - - *183 + - *184 - name: role description: Filters members returned by their role in the team. in: query @@ -37586,7 +37656,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *176 headers: Link: *37 x-github: @@ -37617,14 +37687,14 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - *89 - - *183 + - *184 - *121 responses: '200': description: Response content: application/json: - schema: &238 + schema: &239 title: Team Membership description: Team Membership type: object @@ -37652,7 +37722,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &545 + response-if-user-is-a-team-maintainer: &546 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -37689,7 +37759,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *89 - - *183 + - *184 - *121 requestBody: required: false @@ -37715,9 +37785,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *239 examples: - response-if-users-membership-with-team-is-now-pending: &546 + response-if-users-membership-with-team-is-now-pending: &547 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -37753,7 +37823,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - *89 - - *183 + - *184 - *121 responses: '204': @@ -37781,7 +37851,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - *89 - - *183 + - *184 - *17 - *18 responses: @@ -37791,7 +37861,7 @@ paths: application/json: schema: type: array - items: &239 + items: &240 title: Team Project description: A team's access to a project. type: object @@ -37860,7 +37930,7 @@ paths: - updated_at - permissions examples: - default: &547 + default: &548 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -37922,8 +37992,8 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - *89 - - *183 - - &240 + - *184 + - &241 name: project_id description: The unique identifier of the project. in: path @@ -37935,9 +38005,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *240 examples: - default: &548 + default: &549 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -37998,8 +38068,8 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - *89 - - *183 - - *240 + - *184 + - *241 requestBody: required: false content: @@ -38065,8 +38135,8 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - *89 - - *183 - - *240 + - *184 + - *241 responses: '204': description: Response @@ -38091,7 +38161,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - *89 - - *183 + - *184 - *17 - *18 responses: @@ -38103,7 +38173,7 @@ paths: type: array items: *108 examples: - default: *194 + default: *195 headers: Link: *37 x-github: @@ -38133,15 +38203,15 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *89 - - *183 - - *241 + - *184 - *242 + - *243 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &549 + schema: &550 title: Team Repository description: A team's access to a repository. type: object @@ -38783,9 +38853,9 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *89 - - *183 - - *241 + - *184 - *242 + - *243 requestBody: required: false content: @@ -38831,9 +38901,9 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - *89 - - *183 - - *241 + - *184 - *242 + - *243 responses: '204': description: Response @@ -38858,7 +38928,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - *89 - - *183 + - *184 - *17 - *18 responses: @@ -38868,9 +38938,9 @@ paths: application/json: schema: type: array - items: *172 + items: *173 examples: - response-if-child-teams-exist: &550 + response-if-child-teams-exist: &551 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -38994,7 +39064,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#get-a-project-card parameters: - - &243 + - &244 name: card_id description: The unique identifier of the card. in: path @@ -39006,7 +39076,7 @@ paths: description: Response content: application/json: - schema: &244 + schema: &245 title: Project Card description: Project cards represent a scope of work. type: object @@ -39081,7 +39151,7 @@ paths: - created_at - updated_at examples: - default: &245 + default: &246 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -39131,7 +39201,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#update-an-existing-project-card parameters: - - *243 + - *244 requestBody: required: false content: @@ -39161,9 +39231,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: - default: *245 + default: *246 '304': *35 '403': *27 '401': *23 @@ -39184,7 +39254,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#delete-a-project-card parameters: - - *243 + - *244 responses: '204': description: Response @@ -39222,7 +39292,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#move-a-project-card parameters: - - *243 + - *244 requestBody: required: true content: @@ -39329,7 +39399,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#get-a-project-column parameters: - - &246 + - &247 name: column_id description: The unique identifier of the column. in: path @@ -39341,7 +39411,7 @@ paths: description: Response content: application/json: - schema: &247 + schema: &248 title: Project Column description: Project columns contain cards of work. type: object @@ -39395,7 +39465,7 @@ paths: - created_at - updated_at examples: - default: &248 + default: &249 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -39424,7 +39494,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#update-an-existing-project-column parameters: - - *246 + - *247 requestBody: required: true content: @@ -39449,9 +39519,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 '304': *35 '403': *27 '401': *23 @@ -39470,7 +39540,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#delete-a-project-column parameters: - - *246 + - *247 responses: '204': description: Response @@ -39493,7 +39563,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#list-project-cards parameters: - - *246 + - *247 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -39514,7 +39584,7 @@ paths: application/json: schema: type: array - items: *244 + items: *245 examples: default: value: @@ -39567,7 +39637,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#create-a-project-card parameters: - - *246 + - *247 requestBody: required: true content: @@ -39611,9 +39681,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: - default: *245 + default: *246 '304': *35 '403': *27 '401': *23 @@ -39663,7 +39733,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#move-a-project-column parameters: - - *246 + - *247 requestBody: required: true content: @@ -39720,15 +39790,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-a-project parameters: - - *240 + - *241 responses: '200': description: Response content: application/json: - schema: *201 + schema: *202 examples: - default: &249 + default: &250 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -39781,7 +39851,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#update-a-project parameters: - - *240 + - *241 requestBody: required: false content: @@ -39830,9 +39900,9 @@ paths: description: Response content: application/json: - schema: *201 + schema: *202 examples: - default: *249 + default: *250 '404': description: Not Found if the authenticated user does not have access to the project @@ -39853,7 +39923,7 @@ paths: items: type: string '401': *23 - '410': *250 + '410': *251 '422': *7 x-github: githubCloudOnly: false @@ -39871,7 +39941,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#delete-a-project parameters: - - *240 + - *241 responses: '204': description: Delete Success @@ -39892,7 +39962,7 @@ paths: items: type: string '401': *23 - '410': *250 + '410': *251 '404': *6 x-github: githubCloudOnly: false @@ -39915,7 +39985,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#list-project-collaborators parameters: - - *240 + - *241 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -39942,7 +40012,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *176 headers: Link: *37 '404': *6 @@ -39967,7 +40037,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#add-project-collaborator parameters: - - *240 + - *241 - *121 requestBody: required: false @@ -40017,7 +40087,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *240 + - *241 - *121 responses: '204': @@ -40046,7 +40116,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *240 + - *241 - *121 responses: '200': @@ -40111,7 +40181,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#list-project-columns parameters: - - *240 + - *241 - *17 - *18 responses: @@ -40121,7 +40191,7 @@ paths: application/json: schema: type: array - items: *247 + items: *248 examples: default: value: @@ -40153,7 +40223,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#create-a-project-column parameters: - - *240 + - *241 requestBody: required: true content: @@ -40177,7 +40247,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: default: value: @@ -40238,7 +40308,7 @@ paths: resources: type: object properties: - core: &251 + core: &252 title: Rate Limit type: object properties: @@ -40255,19 +40325,19 @@ paths: - remaining - reset - used - graphql: *251 - search: *251 - code_search: *251 - source_import: *251 - integration_manifest: *251 - code_scanning_upload: *251 - actions_runner_registration: *251 - scim: *251 - dependency_snapshots: *251 + graphql: *252 + search: *252 + code_search: *252 + source_import: *252 + integration_manifest: *252 + code_scanning_upload: *252 + actions_runner_registration: *252 + scim: *252 + dependency_snapshots: *252 required: - core - search - rate: *251 + rate: *252 required: - rate - resources @@ -40366,14 +40436,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *241 - *242 + - *243 responses: '200': description: Response content: application/json: - schema: *252 + schema: *253 examples: default-response: summary: Default response @@ -40874,7 +40944,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *253 + '301': *254 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40892,8 +40962,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *241 - *242 + - *243 requestBody: required: false content: @@ -41130,10 +41200,10 @@ paths: description: Response content: application/json: - schema: *252 + schema: *253 examples: - default: *254 - '307': &255 + default: *255 + '307': &256 description: Temporary Redirect content: application/json: @@ -41162,8 +41232,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *241 - *242 + - *243 responses: '204': description: Response @@ -41185,7 +41255,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *255 + '307': *256 '404': *6 x-github: githubCloudOnly: false @@ -41208,11 +41278,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *241 - *242 + - *243 - *17 - *18 - - &281 + - &282 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -41235,7 +41305,7 @@ paths: type: integer artifacts: type: array - items: &256 + items: &257 title: Artifact description: An artifact type: object @@ -41321,7 +41391,7 @@ paths: - expires_at - updated_at examples: - default: &282 + default: &283 value: total_count: 2 artifacts: @@ -41380,9 +41450,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *241 - *242 - - &257 + - *243 + - &258 name: artifact_id description: The unique identifier of the artifact. in: path @@ -41394,7 +41464,7 @@ paths: description: Response content: application/json: - schema: *256 + schema: *257 examples: default: value: @@ -41431,9 +41501,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *241 - *242 - - *257 + - *243 + - *258 responses: '204': description: Response @@ -41457,9 +41527,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *241 - *242 - - *257 + - *243 + - *258 - name: archive_format in: path required: true @@ -41473,7 +41543,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': *250 + '410': *251 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41496,14 +41566,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *241 - *242 + - *243 responses: '200': description: Response content: application/json: - schema: *258 + schema: *259 examples: default: value: @@ -41529,11 +41599,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *241 - *242 + - *243 - *17 - *18 - - &259 + - &260 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -41567,7 +41637,7 @@ paths: description: Response content: application/json: - schema: &260 + schema: &261 title: Repository actions caches description: Repository actions caches type: object @@ -41617,7 +41687,7 @@ paths: - total_count - actions_caches examples: - default: &261 + default: &262 value: total_count: 1 actions_caches: @@ -41649,23 +41719,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *241 - *242 + - *243 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *259 + - *260 responses: '200': description: Response content: application/json: - schema: *260 + schema: *261 examples: - default: *261 + default: *262 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41685,8 +41755,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *241 - *242 + - *243 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -41717,9 +41787,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *241 - *242 - - &262 + - *243 + - &263 name: job_id description: The unique identifier of the job. in: path @@ -41731,7 +41801,7 @@ paths: description: Response content: application/json: - schema: &285 + schema: &286 title: Job description: Information of a job execution in a workflow run type: object @@ -42078,9 +42148,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *241 - *242 - - *262 + - *243 + - *263 responses: '302': description: Response @@ -42108,9 +42178,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *241 - *242 - - *262 + - *243 + - *263 requestBody: required: false content: @@ -42156,8 +42226,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *241 - *242 + - *243 responses: '200': description: Status response @@ -42207,8 +42277,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -42271,8 +42341,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -42290,7 +42360,7 @@ paths: type: integer secrets: type: array - items: &287 + items: &288 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -42311,7 +42381,7 @@ paths: - created_at - updated_at examples: - default: &288 + default: &289 value: total_count: 2 secrets: @@ -42344,9 +42414,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *241 - *242 - - *263 + - *243 + - *264 - *18 responses: '200': @@ -42363,7 +42433,7 @@ paths: type: integer variables: type: array - items: &291 + items: &292 title: Actions Variable type: object properties: @@ -42397,7 +42467,7 @@ paths: - created_at - updated_at examples: - default: &292 + default: &293 value: total_count: 2 variables: @@ -42430,8 +42500,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -42440,11 +42510,11 @@ paths: schema: type: object properties: - enabled: &265 + enabled: &266 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *98 - selected_actions_url: *264 + selected_actions_url: *265 required: - enabled examples: @@ -42471,8 +42541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *241 - *242 + - *243 responses: '204': description: Response @@ -42483,7 +42553,7 @@ paths: schema: type: object properties: - enabled: *265 + enabled: *266 allowed_actions: *98 required: - enabled @@ -42513,14 +42583,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *241 - *242 + - *243 responses: '200': description: Response content: application/json: - schema: &266 + schema: &267 type: object properties: access_level: @@ -42537,7 +42607,7 @@ paths: required: - access_level examples: - default: &267 + default: &268 value: access_level: organization x-github: @@ -42561,15 +42631,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *241 - *242 + - *243 requestBody: required: true content: application/json: - schema: *266 + schema: *267 examples: - default: *267 + default: *268 responses: '204': description: Response @@ -42593,8 +42663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -42621,8 +42691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *241 - *242 + - *243 responses: '204': description: Response @@ -42654,14 +42724,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *241 - *242 + - *243 responses: '200': description: Response content: application/json: - schema: *268 + schema: *269 examples: default: *104 x-github: @@ -42684,8 +42754,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *241 - *242 + - *243 responses: '204': description: Success response @@ -42696,7 +42766,7 @@ paths: required: true content: application/json: - schema: *269 + schema: *270 examples: default: *104 x-github: @@ -42725,8 +42795,8 @@ paths: in: query schema: type: string - - *241 - *242 + - *243 - *17 - *18 responses: @@ -42770,8 +42840,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -42779,9 +42849,9 @@ paths: application/json: schema: type: array - items: *270 + items: *271 examples: - default: *271 + default: *272 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42803,8 +42873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -42847,7 +42917,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *272 + '201': *273 '404': *6 '422': *7 x-github: @@ -42877,8 +42947,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *241 - *242 + - *243 responses: '201': description: Response @@ -42886,7 +42956,7 @@ paths: application/json: schema: *112 examples: - default: *273 + default: *274 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42914,8 +42984,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *241 - *242 + - *243 responses: '201': description: Response @@ -42923,7 +42993,7 @@ paths: application/json: schema: *112 examples: - default: *274 + default: *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42945,8 +43015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *241 - *242 + - *243 - *109 responses: '200': @@ -42955,7 +43025,7 @@ paths: application/json: schema: *110 examples: - default: *275 + default: *276 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42976,8 +43046,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *241 - *242 + - *243 - *109 responses: '204': @@ -43003,8 +43073,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *241 - *242 + - *243 - *109 responses: '200': *114 @@ -43029,8 +43099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *241 - *242 + - *243 - *109 requestBody: required: true @@ -43079,8 +43149,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *241 - *242 + - *243 - *109 requestBody: required: true @@ -43130,11 +43200,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *241 - *242 + - *243 - *109 responses: - '200': *276 + '200': *277 '404': *6 x-github: githubCloudOnly: false @@ -43161,10 +43231,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *241 - *242 + - *243 - *109 - - *277 + - *278 responses: '200': *114 '404': *6 @@ -43192,9 +43262,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *241 - *242 - - &295 + - *243 + - &296 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -43202,7 +43272,7 @@ paths: required: false schema: type: string - - &296 + - &297 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -43210,7 +43280,7 @@ paths: required: false schema: type: string - - &297 + - &298 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -43219,7 +43289,7 @@ paths: required: false schema: type: string - - &298 + - &299 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -43246,7 +43316,7 @@ paths: - pending - *17 - *18 - - &299 + - &300 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -43255,7 +43325,7 @@ paths: schema: type: string format: date-time - - &278 + - &279 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -43264,13 +43334,13 @@ paths: schema: type: boolean default: false - - &300 + - &301 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &301 + - &302 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -43293,7 +43363,7 @@ paths: type: integer workflow_runs: type: array - items: &279 + items: &280 title: Workflow Run description: An invocation of a workflow type: object @@ -43410,7 +43480,7 @@ paths: type: - array - 'null' - items: &320 + items: &321 title: Pull Request Minimal type: object properties: @@ -43537,7 +43607,7 @@ paths: head_commit: anyOf: - type: 'null' - - &324 + - &325 title: Simple Commit description: A commit. type: object @@ -43652,7 +43722,7 @@ paths: - workflow_url - pull_requests examples: - default: &302 + default: &303 value: total_count: 1 workflow_runs: @@ -43888,24 +43958,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *241 - *242 - - &280 + - *243 + - &281 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *278 + - *279 responses: '200': description: Response content: application/json: - schema: *279 + schema: *280 examples: - default: &283 + default: &284 value: id: 30433642 name: Build @@ -44146,9 +44216,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *241 - *242 - - *280 + - *243 + - *281 responses: '204': description: Response @@ -44171,9 +44241,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *241 - *242 - - *280 + - *243 + - *281 responses: '200': description: Response @@ -44301,9 +44371,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *241 - *242 - - *280 + - *243 + - *281 responses: '201': description: Response @@ -44336,12 +44406,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *241 - *242 - - *280 + - *243 + - *281 - *17 - *18 - - *281 + - *282 responses: '200': description: Response @@ -44357,9 +44427,9 @@ paths: type: integer artifacts: type: array - items: *256 + items: *257 examples: - default: *282 + default: *283 headers: Link: *37 x-github: @@ -44383,25 +44453,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *241 - *242 - - *280 - - &284 + - *243 + - *281 + - &285 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *278 + - *279 responses: '200': description: Response content: application/json: - schema: *279 + schema: *280 examples: - default: *283 + default: *284 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44424,10 +44494,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *241 - *242 - - *280 - - *284 + - *243 + - *281 + - *285 - *17 - *18 responses: @@ -44445,9 +44515,9 @@ paths: type: integer jobs: type: array - items: *285 + items: *286 examples: - default: &286 + default: &287 value: total_count: 1 jobs: @@ -44560,10 +44630,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *241 - *242 - - *280 - - *284 + - *243 + - *281 + - *285 responses: '302': description: Response @@ -44591,9 +44661,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *241 - *242 - - *280 + - *243 + - *281 responses: '202': description: Response @@ -44626,9 +44696,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *241 - *242 - - *280 + - *243 + - *281 requestBody: required: true content: @@ -44695,9 +44765,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *241 - *242 - - *280 + - *243 + - *281 responses: '202': description: Response @@ -44730,9 +44800,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *241 - *242 - - *280 + - *243 + - *281 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -44762,9 +44832,9 @@ paths: type: integer jobs: type: array - items: *285 + items: *286 examples: - default: *286 + default: *287 headers: Link: *37 x-github: @@ -44789,9 +44859,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *241 - *242 - - *280 + - *243 + - *281 responses: '302': description: Response @@ -44818,9 +44888,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *241 - *242 - - *280 + - *243 + - *281 responses: '204': description: Response @@ -44847,9 +44917,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *241 - *242 - - *280 + - *243 + - *281 responses: '200': description: Response @@ -44918,7 +44988,7 @@ paths: items: type: object properties: - type: &395 + type: &396 type: string description: The type of reviewer. enum: @@ -44929,7 +44999,7 @@ paths: reviewer: anyOf: - *4 - - *172 + - *173 required: - environment - wait_timer @@ -45004,9 +45074,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *241 - *242 - - *280 + - *243 + - *281 requestBody: required: true content: @@ -45056,7 +45126,7 @@ paths: application/json: schema: type: array - items: &390 + items: &391 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -45168,7 +45238,7 @@ paths: - created_at - updated_at examples: - default: &391 + default: &392 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -45224,9 +45294,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *241 - *242 - - *280 + - *243 + - *281 requestBody: required: false content: @@ -45271,9 +45341,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *241 - *242 - - *280 + - *243 + - *281 requestBody: required: false content: @@ -45320,9 +45390,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *241 - *242 - - *280 + - *243 + - *281 responses: '200': description: Response @@ -45459,8 +45529,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -45478,9 +45548,9 @@ paths: type: integer secrets: type: array - items: *287 + items: *288 examples: - default: *288 + default: *289 headers: Link: *37 x-github: @@ -45505,16 +45575,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *241 - *242 + - *243 responses: '200': description: Response content: application/json: - schema: *289 + schema: *290 examples: - default: *290 + default: *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45536,17 +45606,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *241 - *242 + - *243 - *116 responses: '200': description: Response content: application/json: - schema: *287 + schema: *288 examples: - default: &408 + default: &409 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -45572,8 +45642,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *241 - *242 + - *243 - *116 requestBody: required: true @@ -45628,8 +45698,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *241 - *242 + - *243 - *116 responses: '204': @@ -45655,9 +45725,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *241 - *242 - - *263 + - *243 + - *264 - *18 responses: '200': @@ -45674,9 +45744,9 @@ paths: type: integer variables: type: array - items: *291 + items: *292 examples: - default: *292 + default: *293 headers: Link: *37 x-github: @@ -45699,8 +45769,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -45752,17 +45822,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *241 - *242 + - *243 - *119 responses: '200': description: Response content: application/json: - schema: *291 + schema: *292 examples: - default: &409 + default: &410 value: name: USERNAME value: octocat @@ -45788,8 +45858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *241 - *242 + - *243 - *119 requestBody: required: true @@ -45832,8 +45902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *241 - *242 + - *243 - *119 responses: '204': @@ -45859,8 +45929,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -45878,7 +45948,7 @@ paths: type: integer workflows: type: array - items: &293 + items: &294 title: Workflow description: A GitHub Actions workflow type: object @@ -45996,9 +46066,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *241 - *242 - - &294 + - *243 + - &295 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -46013,7 +46083,7 @@ paths: description: Response content: application/json: - schema: *293 + schema: *294 examples: default: value: @@ -46046,9 +46116,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *241 - *242 - - *294 + - *243 + - *295 responses: '204': description: Response @@ -46073,9 +46143,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *241 - *242 - - *294 + - *243 + - *295 responses: '204': description: Response @@ -46126,9 +46196,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *241 - *242 - - *294 + - *243 + - *295 responses: '204': description: Response @@ -46155,19 +46225,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *241 - *242 - - *294 + - *243 - *295 - *296 - *297 - *298 + - *299 - *17 - *18 - - *299 - - *278 - *300 + - *279 - *301 + - *302 responses: '200': description: Response @@ -46183,9 +46253,9 @@ paths: type: integer workflow_runs: type: array - items: *279 + items: *280 examples: - default: *302 + default: *303 headers: Link: *37 x-github: @@ -46211,9 +46281,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *241 - *242 - - *294 + - *243 + - *295 responses: '200': description: Response @@ -46274,8 +46344,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *241 - *242 + - *243 - *40 - *17 - *41 @@ -46443,8 +46513,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -46456,7 +46526,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *176 headers: Link: *37 '404': *6 @@ -46481,8 +46551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *241 - *242 + - *243 - name: assignee in: path required: true @@ -46518,8 +46588,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -46631,8 +46701,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *241 - *242 + - *243 - *17 - *41 - *42 @@ -46676,7 +46746,7 @@ paths: repository_id: type: integer examples: - default: *303 + default: *304 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46696,8 +46766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -46705,7 +46775,7 @@ paths: application/json: schema: type: array - items: &304 + items: &305 title: Autolink reference description: An autolink reference. type: object @@ -46759,8 +46829,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -46799,9 +46869,9 @@ paths: description: response content: application/json: - schema: *304 + schema: *305 examples: - default: &305 + default: &306 value: id: 1 key_prefix: TICKET- @@ -46832,9 +46902,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *241 - *242 - - &306 + - *243 + - &307 name: autolink_id description: The unique identifier of the autolink. in: path @@ -46846,9 +46916,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *305 examples: - default: *305 + default: *306 '404': *6 x-github: githubCloudOnly: false @@ -46868,9 +46938,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *241 - *242 - - *306 + - *243 + - *307 responses: '204': description: Response @@ -46894,8 +46964,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-automated-security-fixes-are-enabled-for-a-repository parameters: - - *241 - *242 + - *243 responses: '200': description: Response if Dependabot is enabled @@ -46945,8 +47015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-automated-security-fixes parameters: - - *241 - *242 + - *243 responses: '204': description: Response @@ -46967,8 +47037,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-automated-security-fixes parameters: - - *241 - *242 + - *243 responses: '204': description: Response @@ -46988,8 +47058,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *241 - *242 + - *243 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -47027,7 +47097,7 @@ paths: - url protected: type: boolean - protection: &308 + protection: &309 title: Branch Protection description: Branch Protection type: object @@ -47070,7 +47140,7 @@ paths: required: - contexts - checks - enforce_admins: &311 + enforce_admins: &312 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -47087,7 +47157,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &313 + required_pull_request_reviews: &314 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -47109,7 +47179,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *172 + items: *173 apps: description: The list of apps with review dismissal access. @@ -47141,7 +47211,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *172 + items: *173 apps: description: The list of apps allowed to bypass pull request requirements. @@ -47171,7 +47241,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &310 + restrictions: &311 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -47496,9 +47566,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *241 - *242 - - &309 + - *243 + - &310 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -47512,14 +47582,14 @@ paths: description: Response content: application/json: - schema: &319 + schema: &320 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &366 + commit: &367 title: Commit description: Commit type: object @@ -47558,7 +47628,7 @@ paths: author: anyOf: - type: 'null' - - &307 + - &308 title: Git User description: Metaproperties for Git author/committer information. @@ -47579,7 +47649,7 @@ paths: committer: anyOf: - type: 'null' - - *307 + - *308 message: type: string examples: @@ -47603,7 +47673,7 @@ paths: required: - sha - url - verification: &415 + verification: &416 title: Verification type: object properties: @@ -47682,7 +47752,7 @@ paths: type: integer files: type: array - items: &378 + items: &379 title: Diff Entry description: Diff Entry type: object @@ -47776,7 +47846,7 @@ paths: - self protected: type: boolean - protection: *308 + protection: *309 protection_url: type: string format: uri @@ -47885,7 +47955,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *253 + '301': *254 '404': *6 x-github: githubCloudOnly: false @@ -47907,15 +47977,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *241 - *242 - - *309 + - *243 + - *310 responses: '200': description: Response content: application/json: - schema: *308 + schema: *309 examples: default: value: @@ -48109,9 +48179,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *241 - *242 - - *309 + - *243 + - *310 requestBody: required: true content: @@ -48371,7 +48441,7 @@ paths: url: type: string format: uri - required_status_checks: &316 + required_status_checks: &317 title: Status Check Policy description: Status Check Policy type: object @@ -48452,7 +48522,7 @@ paths: items: *4 teams: type: array - items: *172 + items: *173 apps: type: array items: *5 @@ -48470,7 +48540,7 @@ paths: items: *4 teams: type: array - items: *172 + items: *173 apps: type: array items: *5 @@ -48530,7 +48600,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *310 + restrictions: *311 required_conversation_resolution: type: object properties: @@ -48642,9 +48712,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *241 - *242 - - *309 + - *243 + - *310 responses: '204': description: Response @@ -48669,17 +48739,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *241 - *242 - - *309 + - *243 + - *310 responses: '200': description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: &312 + default: &313 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -48701,17 +48771,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *241 - *242 - - *309 + - *243 + - *310 responses: '200': description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *312 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48730,9 +48800,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *241 - *242 - - *309 + - *243 + - *310 responses: '204': description: Response @@ -48757,17 +48827,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *241 - *242 - - *309 + - *243 + - *310 responses: '200': description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: &314 + default: &315 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -48863,9 +48933,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *241 - *242 - - *309 + - *243 + - *310 requestBody: required: false content: @@ -48963,9 +49033,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 '422': *15 x-github: githubCloudOnly: false @@ -48986,9 +49056,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *241 - *242 - - *309 + - *243 + - *310 responses: '204': description: Response @@ -49015,17 +49085,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *241 - *242 - - *309 + - *243 + - *310 responses: '200': description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: &315 + default: &316 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -49048,17 +49118,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *241 - *242 - - *309 + - *243 + - *310 responses: '200': description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *315 + default: *316 '404': *6 x-github: githubCloudOnly: false @@ -49078,9 +49148,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *241 - *242 - - *309 + - *243 + - *310 responses: '204': description: Response @@ -49105,17 +49175,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *241 - *242 - - *309 + - *243 + - *310 responses: '200': description: Response content: application/json: - schema: *316 + schema: *317 examples: - default: &317 + default: &318 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -49141,9 +49211,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *241 - *242 - - *309 + - *243 + - *310 requestBody: required: false content: @@ -49195,9 +49265,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 '404': *6 '422': *15 x-github: @@ -49219,9 +49289,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *241 - *242 - - *309 + - *243 + - *310 responses: '204': description: Response @@ -49245,9 +49315,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *241 - *242 - - *309 + - *243 + - *310 responses: '200': description: Response @@ -49281,9 +49351,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *241 - *242 - - *309 + - *243 + - *310 requestBody: required: false content: @@ -49350,9 +49420,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *241 - *242 - - *309 + - *243 + - *310 requestBody: required: false content: @@ -49416,9 +49486,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *241 - *242 - - *309 + - *243 + - *310 requestBody: content: application/json: @@ -49484,15 +49554,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *241 - *242 - - *309 + - *243 + - *310 responses: '200': description: Response content: application/json: - schema: *310 + schema: *311 examples: default: value: @@ -49583,9 +49653,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *241 - *242 - - *309 + - *243 + - *310 responses: '204': description: Response @@ -49608,9 +49678,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *241 - *242 - - *309 + - *243 + - *310 responses: '200': description: Response @@ -49620,7 +49690,7 @@ paths: type: array items: *5 examples: - default: &318 + default: &319 value: - id: 1 slug: octoapp @@ -49677,9 +49747,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *241 - *242 - - *309 + - *243 + - *310 requestBody: required: true content: @@ -49713,7 +49783,7 @@ paths: type: array items: *5 examples: - default: *318 + default: *319 '422': *15 x-github: githubCloudOnly: false @@ -49734,9 +49804,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *241 - *242 - - *309 + - *243 + - *310 requestBody: required: true content: @@ -49770,7 +49840,7 @@ paths: type: array items: *5 examples: - default: *318 + default: *319 '422': *15 x-github: githubCloudOnly: false @@ -49791,9 +49861,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *241 - *242 - - *309 + - *243 + - *310 requestBody: required: true content: @@ -49827,7 +49897,7 @@ paths: type: array items: *5 examples: - default: *318 + default: *319 '422': *15 x-github: githubCloudOnly: false @@ -49849,9 +49919,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *241 - *242 - - *309 + - *243 + - *310 responses: '200': description: Response @@ -49859,9 +49929,9 @@ paths: application/json: schema: type: array - items: *172 + items: *173 examples: - default: *187 + default: *188 '404': *6 x-github: githubCloudOnly: false @@ -49881,9 +49951,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *241 - *242 - - *309 + - *243 + - *310 requestBody: required: false content: @@ -49919,9 +49989,9 @@ paths: application/json: schema: type: array - items: *172 + items: *173 examples: - default: *187 + default: *188 '422': *15 x-github: githubCloudOnly: false @@ -49942,9 +50012,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *241 - *242 - - *309 + - *243 + - *310 requestBody: required: false content: @@ -49980,9 +50050,9 @@ paths: application/json: schema: type: array - items: *172 + items: *173 examples: - default: *187 + default: *188 '422': *15 x-github: githubCloudOnly: false @@ -50003,9 +50073,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *241 - *242 - - *309 + - *243 + - *310 requestBody: content: application/json: @@ -50040,9 +50110,9 @@ paths: application/json: schema: type: array - items: *172 + items: *173 examples: - default: *187 + default: *188 '422': *15 x-github: githubCloudOnly: false @@ -50064,9 +50134,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *241 - *242 - - *309 + - *243 + - *310 responses: '200': description: Response @@ -50076,7 +50146,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *176 '404': *6 x-github: githubCloudOnly: false @@ -50100,9 +50170,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *241 - *242 - - *309 + - *243 + - *310 requestBody: required: true content: @@ -50135,7 +50205,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *176 '422': *15 x-github: githubCloudOnly: false @@ -50160,9 +50230,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *241 - *242 - - *309 + - *243 + - *310 requestBody: required: true content: @@ -50195,7 +50265,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *176 '422': *15 x-github: githubCloudOnly: false @@ -50220,9 +50290,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *241 - *242 - - *309 + - *243 + - *310 requestBody: required: true content: @@ -50255,7 +50325,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *176 '422': *15 x-github: githubCloudOnly: false @@ -50282,9 +50352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *241 - *242 - - *309 + - *243 + - *310 requestBody: required: true content: @@ -50306,7 +50376,7 @@ paths: description: Response content: application/json: - schema: *319 + schema: *320 examples: default: value: @@ -50422,8 +50492,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -50702,7 +50772,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &322 title: CheckRun description: A check performed on the code of a given code change type: object @@ -50837,8 +50907,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *320 - deployment: &599 + items: *321 + deployment: &600 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -51125,9 +51195,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *241 - *242 - - &322 + - *243 + - &323 name: check_run_id description: The unique identifier of the check run. in: path @@ -51139,9 +51209,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: &323 + default: &324 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -51241,9 +51311,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *241 - *242 - - *322 + - *243 + - *323 requestBody: required: true content: @@ -51483,9 +51553,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *323 + default: *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51505,9 +51575,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *241 - *242 - - *322 + - *243 + - *323 - *17 - *18 responses: @@ -51619,9 +51689,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *241 - *242 - - *322 + - *243 + - *323 responses: '201': description: Response @@ -51665,8 +51735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -51688,7 +51758,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &325 + schema: &326 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -51770,7 +51840,7 @@ paths: type: - array - 'null' - items: *320 + items: *321 app: anyOf: - type: 'null' @@ -51786,7 +51856,7 @@ paths: - string - 'null' format: date-time - head_commit: *324 + head_commit: *325 latest_check_runs_count: type: integer check_runs_url: @@ -51814,7 +51884,7 @@ paths: - check_runs_url - pull_requests examples: - default: &326 + default: &327 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -52105,9 +52175,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *325 + schema: *326 examples: - default: *326 + default: *327 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52126,8 +52196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -52436,9 +52506,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *241 - *242 - - &327 + - *243 + - &328 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -52450,9 +52520,9 @@ paths: description: Response content: application/json: - schema: *325 + schema: *326 examples: - default: *326 + default: *327 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52475,17 +52545,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *241 - *242 - - *327 - - &373 + - *243 + - *328 + - &374 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &374 + - &375 name: status description: Returns check runs with the specified `status`. in: query @@ -52524,9 +52594,9 @@ paths: type: integer check_runs: type: array - items: *321 + items: *322 examples: - default: &375 + default: &376 value: total_count: 1 check_runs: @@ -52628,9 +52698,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *241 - *242 - - *327 + - *243 + - *328 responses: '201': description: Response @@ -52663,21 +52733,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *241 - *242 - - *328 + - *243 - *329 + - *330 - *18 - *17 - - &342 + - &343 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *330 - - &343 + schema: *331 + - &344 name: pr description: The number of the pull request for the results you want to list. in: query @@ -52702,13 +52772,13 @@ paths: be returned. in: query required: false - schema: *331 + schema: *332 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *332 + schema: *333 responses: '200': description: Response @@ -52724,7 +52794,7 @@ paths: updated_at: *48 url: *49 html_url: *50 - instances_url: *333 + instances_url: *334 state: *126 fixed_at: *122 dismissed_by: @@ -52732,11 +52802,11 @@ paths: - type: 'null' - *4 dismissed_at: *123 - dismissed_reason: *334 - dismissed_comment: *335 - rule: *336 - tool: *337 - most_recent_instance: *338 + dismissed_reason: *335 + dismissed_comment: *336 + rule: *337 + tool: *338 + most_recent_instance: *339 required: - number - created_at @@ -52852,7 +52922,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &339 + '403': &340 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -52879,9 +52949,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *241 - *242 - - &340 + - *243 + - &341 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -52895,7 +52965,7 @@ paths: description: Response content: application/json: - schema: &341 + schema: &342 type: object properties: number: *46 @@ -52903,7 +52973,7 @@ paths: updated_at: *48 url: *49 html_url: *50 - instances_url: *333 + instances_url: *334 state: *126 fixed_at: *122 dismissed_by: @@ -52911,8 +52981,8 @@ paths: - type: 'null' - *4 dismissed_at: *123 - dismissed_reason: *334 - dismissed_comment: *335 + dismissed_reason: *335 + dismissed_comment: *336 rule: type: object properties: @@ -52974,8 +53044,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *337 - most_recent_instance: *338 + tool: *338 + most_recent_instance: *339 required: - number - created_at @@ -53064,7 +53134,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *339 + '403': *340 '404': *6 '503': *60 x-github: @@ -53084,9 +53154,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *241 - *242 - - *340 + - *243 + - *341 requestBody: required: true content: @@ -53101,8 +53171,8 @@ paths: enum: - open - dismissed - dismissed_reason: *334 - dismissed_comment: *335 + dismissed_reason: *335 + dismissed_comment: *336 required: - state examples: @@ -53117,7 +53187,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *342 examples: default: value: @@ -53192,7 +53262,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &348 + '403': &349 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -53219,13 +53289,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *241 - *242 - - *340 + - *243 + - *341 - *18 - *17 - - *342 - *343 + - *344 responses: '200': description: Response @@ -53233,7 +53303,7 @@ paths: application/json: schema: type: array - items: *338 + items: *339 examples: default: value: @@ -53272,7 +53342,7 @@ paths: end_column: 50 classifications: - source - '403': *339 + '403': *340 '404': *6 '503': *60 x-github: @@ -53306,25 +53376,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *241 - *242 - - *328 + - *243 - *329 + - *330 - *18 - *17 - - *343 + - *344 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *330 + schema: *331 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &346 + schema: &347 type: string description: An identifier for the upload. examples: @@ -53346,23 +53416,23 @@ paths: application/json: schema: type: array - items: &347 + items: &348 type: object properties: - ref: *330 - commit_sha: &356 + ref: *331 + commit_sha: &357 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *344 + analysis_key: *345 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *345 + category: *346 error: type: string examples: @@ -53387,8 +53457,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *346 - tool: *337 + sarif_id: *347 + tool: *338 deletable: type: boolean warning: @@ -53450,7 +53520,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *339 + '403': *340 '404': *6 '503': *60 x-github: @@ -53486,8 +53556,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *241 - *242 + - *243 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -53500,7 +53570,7 @@ paths: description: Response content: application/json: - schema: *347 + schema: *348 examples: response: summary: application/json response @@ -53554,7 +53624,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *339 + '403': *340 '404': *6 '503': *60 x-github: @@ -53636,8 +53706,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *241 - *242 + - *243 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -53693,7 +53763,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *348 + '403': *349 '404': *6 '503': *60 x-github: @@ -53715,8 +53785,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -53724,7 +53794,7 @@ paths: application/json: schema: type: array - items: &349 + items: &350 title: CodeQL Database description: A CodeQL database. type: object @@ -53836,7 +53906,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *339 + '403': *340 '404': *6 '503': *60 x-github: @@ -53865,8 +53935,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *241 - *242 + - *243 - name: language in: path description: The language of the CodeQL database. @@ -53878,7 +53948,7 @@ paths: description: Response content: application/json: - schema: *349 + schema: *350 examples: default: value: @@ -53910,9 +53980,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &380 + '302': &381 description: Found - '403': *339 + '403': *340 '404': *6 '503': *60 x-github: @@ -53934,8 +54004,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *241 - *242 + - *243 - name: language in: path description: The language of the CodeQL database. @@ -53945,7 +54015,7 @@ paths: responses: '204': description: Response - '403': *348 + '403': *349 '404': *6 '503': *60 x-github: @@ -53973,8 +54043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -53983,7 +54053,7 @@ paths: type: object additionalProperties: false properties: - language: &350 + language: &351 type: string description: The language targeted by the CodeQL query enum: @@ -54061,7 +54131,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &354 + schema: &355 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -54071,7 +54141,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *350 + query_language: *351 query_pack_url: type: string description: The download url for the query pack. @@ -54119,7 +54189,7 @@ paths: items: type: object properties: - repository: &351 + repository: &352 title: Repository Identifier description: Repository Identifier type: object @@ -54161,7 +54231,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &355 + analysis_status: &356 type: string description: The new status of the CodeQL variant analysis repository task. @@ -54193,7 +54263,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &352 + access_mismatch_repos: &353 type: object properties: repository_count: @@ -54208,7 +54278,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *351 + items: *352 required: - repository_count - repositories @@ -54231,8 +54301,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *352 - over_limit_repos: *352 + no_codeql_db_repos: *353 + over_limit_repos: *353 required: - access_mismatch_repos - not_found_repos @@ -54248,7 +54318,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &353 + value: &354 summary: Default response value: id: 1 @@ -54400,10 +54470,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *353 + value: *354 repository_lists: summary: Response for a successful variant analysis submission - value: *353 + value: *354 '404': *6 '422': description: Unable to process variant analysis submission @@ -54431,8 +54501,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *241 - *242 + - *243 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -54444,9 +54514,9 @@ paths: description: Response content: application/json: - schema: *354 + schema: *355 examples: - default: *353 + default: *354 '404': *6 '503': *60 x-github: @@ -54469,7 +54539,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *241 + - *242 - name: repo in: path description: The name of the controller repository. @@ -54504,7 +54574,7 @@ paths: type: object properties: repository: *51 - analysis_status: *355 + analysis_status: *356 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -54629,8 +54699,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -54695,7 +54765,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *339 + '403': *340 '404': *6 '503': *60 x-github: @@ -54716,8 +54786,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -54732,6 +54802,19 @@ paths: enum: - configured - not-configured + runner_type: + description: Runner type to be used. + type: string + enum: + - standard + - labeled + runner_label: + description: Runner label to be used if the runner type is labeled. + type: + - string + - 'null' + examples: + - code-scanning query_suite: description: CodeQL query suite to be used. type: string @@ -54787,7 +54870,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *348 + '403': *349 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -54852,8 +54935,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -54861,7 +54944,7 @@ paths: schema: type: object properties: - commit_sha: *356 + commit_sha: *357 ref: type: string description: |- @@ -54921,7 +55004,7 @@ paths: schema: type: object properties: - id: *346 + id: *347 url: type: string description: The REST API URL for checking the status of the upload. @@ -54935,7 +55018,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *348 + '403': *349 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -54958,8 +55041,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *241 - *242 + - *243 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -55007,7 +55090,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *339 + '403': *340 '404': description: Not Found if the sarif id does not match any upload '503': *60 @@ -55032,8 +55115,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -55086,7 +55169,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *131 + '204': *132 '304': *35 '403': *27 '404': *6 @@ -55111,8 +55194,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *241 - *242 + - *243 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -55240,8 +55323,8 @@ paths: parameters: - *17 - *18 - - *241 - *242 + - *243 responses: '200': description: Response @@ -55257,7 +55340,7 @@ paths: type: integer codespaces: type: array - items: *176 + items: *177 examples: default: value: @@ -55555,8 +55638,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -55620,17 +55703,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *176 + schema: *177 examples: - default: *357 + default: *358 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *176 + schema: *177 examples: - default: *357 + default: *358 '400': *14 '401': *23 '403': *27 @@ -55659,8 +55742,8 @@ paths: parameters: - *17 - *18 - - *241 - *242 + - *243 responses: '200': description: Response @@ -55724,8 +55807,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *241 - *242 + - *243 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -55762,9 +55845,9 @@ paths: type: integer machines: type: array - items: *358 + items: *359 examples: - default: &557 + default: &558 value: total_count: 2 machines: @@ -55804,8 +55887,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *241 - *242 + - *243 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -55892,8 +55975,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *241 - *242 + - *243 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -55962,8 +56045,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -55981,7 +56064,7 @@ paths: type: integer secrets: type: array - items: &362 + items: &363 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -56002,7 +56085,7 @@ paths: - created_at - updated_at examples: - default: *359 + default: *360 headers: Link: *37 x-github: @@ -56025,16 +56108,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *241 - *242 + - *243 responses: '200': description: Response content: application/json: - schema: *360 + schema: *361 examples: - default: *361 + default: *362 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -56054,17 +56137,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *241 - *242 + - *243 - *116 responses: '200': description: Response content: application/json: - schema: *362 + schema: *363 examples: - default: *363 + default: *364 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56084,8 +56167,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *241 - *242 + - *243 - *116 requestBody: required: true @@ -56138,8 +56221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *241 - *242 + - *243 - *116 responses: '204': @@ -56168,8 +56251,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *241 - *242 + - *243 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -56207,7 +56290,7 @@ paths: application/json: schema: type: array - items: &364 + items: &365 title: Collaborator description: Collaborator type: object @@ -56400,8 +56483,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *241 - *242 + - *243 - *121 responses: '204': @@ -56444,8 +56527,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *241 - *242 + - *243 - *121 requestBody: required: false @@ -56472,7 +56555,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &428 + schema: &429 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -56693,8 +56776,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *241 - *242 + - *243 - *121 responses: '204': @@ -56724,8 +56807,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *241 - *242 + - *243 - *121 responses: '200': @@ -56746,7 +56829,7 @@ paths: user: anyOf: - type: 'null' - - *364 + - *365 required: - permission - role_name @@ -56800,8 +56883,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -56811,7 +56894,7 @@ paths: application/json: schema: type: array - items: &365 + items: &366 title: Commit Comment description: Commit Comment type: object @@ -56869,7 +56952,7 @@ paths: - created_at - updated_at examples: - default: &368 + default: &369 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -56928,17 +57011,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *241 - *242 + - *243 - *71 responses: '200': description: Response content: application/json: - schema: *365 + schema: *366 examples: - default: &369 + default: &370 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -56995,8 +57078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *241 - *242 + - *243 - *71 requestBody: required: true @@ -57019,7 +57102,7 @@ paths: description: Response content: application/json: - schema: *365 + schema: *366 examples: default: value: @@ -57070,8 +57153,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *241 - *242 + - *243 - *71 responses: '204': @@ -57093,8 +57176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *241 - *242 + - *243 - *71 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -57121,9 +57204,9 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: - default: *236 + default: *237 headers: Link: *37 '404': *6 @@ -57144,8 +57227,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *241 - *242 + - *243 - *71 requestBody: required: true @@ -57178,16 +57261,16 @@ paths: description: Reaction exists content: application/json: - schema: *234 + schema: *235 examples: - default: *235 + default: *236 '201': description: Reaction created content: application/json: - schema: *234 + schema: *235 examples: - default: *235 + default: *236 '422': *15 x-github: githubCloudOnly: false @@ -57209,10 +57292,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *241 - *242 + - *243 - *71 - - *237 + - *238 responses: '204': description: Response @@ -57261,8 +57344,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *241 - *242 + - *243 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -57318,9 +57401,9 @@ paths: application/json: schema: type: array - items: *366 + items: *367 examples: - default: &476 + default: &477 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -57414,9 +57497,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *241 - *242 - - &367 + - *243 + - &368 name: commit_sha description: The SHA of the commit. in: path @@ -57488,9 +57571,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *241 - *242 - - *367 + - *243 + - *368 - *17 - *18 responses: @@ -57500,9 +57583,9 @@ paths: application/json: schema: type: array - items: *365 + items: *366 examples: - default: *368 + default: *369 headers: Link: *37 x-github: @@ -57530,9 +57613,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *241 - *242 - - *367 + - *243 + - *368 requestBody: required: true content: @@ -57567,9 +57650,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *366 examples: - default: *369 + default: *370 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -57597,9 +57680,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *241 - *242 - - *367 + - *243 + - *368 - *17 - *18 responses: @@ -57609,7 +57692,7 @@ paths: application/json: schema: type: array - items: &467 + items: &468 title: Pull Request Simple description: Pull Request Simple type: object @@ -57729,7 +57812,7 @@ paths: milestone: anyOf: - type: 'null' - - *370 + - *371 active_lock_reason: type: - string @@ -57784,7 +57867,7 @@ paths: type: - array - 'null' - items: *172 + items: *173 head: type: object properties: @@ -57828,7 +57911,7 @@ paths: _links: type: object properties: - comments: &371 + comments: &372 title: Link description: Hypermedia Link type: object @@ -57837,13 +57920,13 @@ paths: type: string required: - href - commits: *371 - statuses: *371 - html: *371 - issue: *371 - review_comments: *371 - review_comment: *371 - self: *371 + commits: *372 + statuses: *372 + html: *372 + issue: *372 + review_comments: *372 + review_comment: *372 + self: *372 required: - comments - commits @@ -57854,7 +57937,7 @@ paths: - review_comment - self author_association: *58 - auto_merge: &469 + auto_merge: &470 title: Auto merge description: The status of auto merging a pull request. type: @@ -57919,7 +58002,7 @@ paths: - author_association - auto_merge examples: - default: &468 + default: &469 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -58456,11 +58539,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *241 - *242 + - *243 - *18 - *17 - - &372 + - &373 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -58475,9 +58558,9 @@ paths: description: Response content: application/json: - schema: *366 + schema: *367 examples: - default: &455 + default: &456 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -58590,11 +58673,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *241 - *242 - - *372 + - *243 - *373 - *374 + - *375 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -58628,9 +58711,9 @@ paths: type: integer check_runs: type: array - items: *321 + items: *322 examples: - default: *375 + default: *376 headers: Link: *37 x-github: @@ -58655,9 +58738,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *241 - *242 - - *372 + - *243 + - *373 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -58665,7 +58748,7 @@ paths: schema: type: integer example: 1 - - *373 + - *374 - *17 - *18 responses: @@ -58683,7 +58766,7 @@ paths: type: integer check_suites: type: array - items: *325 + items: *326 examples: default: value: @@ -58883,9 +58966,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *241 - *242 - - *372 + - *243 + - *373 - *17 - *18 responses: @@ -59087,9 +59170,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *241 - *242 - - *372 + - *243 + - *373 - *17 - *18 responses: @@ -59099,7 +59182,7 @@ paths: application/json: schema: type: array - items: &531 + items: &532 title: Status description: The status of a commit. type: object @@ -59180,7 +59263,7 @@ paths: site_admin: false headers: Link: *37 - '301': *253 + '301': *254 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59208,8 +59291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -59242,11 +59325,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *376 + - *377 code_of_conduct_file: anyOf: - type: 'null' - - &377 + - &378 title: Community Health File type: object properties: @@ -59266,19 +59349,19 @@ paths: contributing: anyOf: - type: 'null' - - *377 + - *378 readme: anyOf: - type: 'null' - - *377 + - *378 issue_template: anyOf: - type: 'null' - - *377 + - *378 pull_request_template: anyOf: - type: 'null' - - *377 + - *378 required: - code_of_conduct - code_of_conduct_file @@ -59407,8 +59490,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *241 - *242 + - *243 - *18 - *17 - name: basehead @@ -59456,8 +59539,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *366 - merge_base_commit: *366 + base_commit: *367 + merge_base_commit: *367 status: type: string enum: @@ -59481,10 +59564,10 @@ paths: - 6 commits: type: array - items: *366 + items: *367 files: type: array - items: *378 + items: *379 required: - url - html_url @@ -59770,8 +59853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *241 - *242 + - *243 - name: path description: path parameter in: path @@ -59922,7 +60005,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &379 + response-if-content-is-a-file: &380 summary: Response if content is a file value: type: file @@ -60059,7 +60142,7 @@ paths: - size - type - url - - &481 + - &482 title: Content File description: Content File type: object @@ -60277,7 +60360,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *379 + response-if-content-is-a-file: *380 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -60346,7 +60429,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *380 + '302': *381 '304': *35 x-github: githubCloudOnly: false @@ -60369,8 +60452,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *241 - *242 + - *243 - name: path description: path parameter in: path @@ -60465,7 +60548,7 @@ paths: description: Response content: application/json: - schema: &381 + schema: &382 title: File Commit description: File Commit type: object @@ -60621,7 +60704,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *382 examples: example-for-creating-a-file: value: @@ -60675,7 +60758,7 @@ paths: schema: oneOf: - *3 - - &410 + - &411 description: Repository rule violation was detected type: object properties: @@ -60696,7 +60779,7 @@ paths: items: type: object properties: - placeholder_id: &523 + placeholder_id: &524 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -60728,8 +60811,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *241 - *242 + - *243 - name: path description: path parameter in: path @@ -60790,7 +60873,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *382 examples: default: value: @@ -60845,8 +60928,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *241 - *242 + - *243 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -60970,20 +61053,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *241 - *242 - - *136 + - *243 - *137 - *138 - *139 + - *140 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *140 - *141 + - *142 - *40 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -61003,8 +61086,8 @@ paths: default: 30 - *41 - *42 - - *142 - *143 + - *144 responses: '200': description: Response @@ -61012,7 +61095,7 @@ paths: application/json: schema: type: array - items: &384 + items: &385 type: object description: A Dependabot alert. properties: @@ -61047,7 +61130,7 @@ paths: - development - runtime - - security_advisory: *382 + security_advisory: *383 security_vulnerability: *45 url: *49 html_url: *50 @@ -61078,7 +61161,7 @@ paths: dismissal. maxLength: 280 fixed_at: *122 - auto_dismissed_at: *383 + auto_dismissed_at: *384 required: - number - state @@ -61305,9 +61388,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *241 - *242 - - &385 + - *243 + - &386 name: alert_number in: path description: |- @@ -61322,7 +61405,7 @@ paths: description: Response content: application/json: - schema: *384 + schema: *385 examples: default: value: @@ -61432,9 +61515,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *241 - *242 - - *385 + - *243 + - *386 requestBody: required: true content: @@ -61479,7 +61562,7 @@ paths: description: Response content: application/json: - schema: *384 + schema: *385 examples: default: value: @@ -61608,8 +61691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -61627,7 +61710,7 @@ paths: type: integer secrets: type: array - items: &388 + items: &389 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -61681,16 +61764,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *241 - *242 + - *243 responses: '200': description: Response content: application/json: - schema: *386 + schema: *387 examples: - default: *387 + default: *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61710,15 +61793,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *241 - *242 + - *243 - *116 responses: '200': description: Response content: application/json: - schema: *388 + schema: *389 examples: default: value: @@ -61744,8 +61827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *241 - *242 + - *243 - *116 requestBody: required: true @@ -61798,8 +61881,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *241 - *242 + - *243 - *116 responses: '204': @@ -61822,8 +61905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *241 - *242 + - *243 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -61997,8 +62080,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -62258,8 +62341,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -62342,7 +62425,7 @@ paths: - version - url additionalProperties: false - metadata: &389 + metadata: &390 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -62381,7 +62464,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *389 + metadata: *390 resolved: type: object description: A collection of resolved package dependencies. @@ -62395,7 +62478,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *389 + metadata: *390 relationship: type: string description: A notation of whether a dependency is requested @@ -62528,8 +62611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *241 - *242 + - *243 - name: sha description: The SHA recorded at creation time. in: query @@ -62570,9 +62653,9 @@ paths: application/json: schema: type: array - items: *390 + items: *391 examples: - default: *391 + default: *392 headers: Link: *37 x-github: @@ -62638,8 +62721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -62721,7 +62804,7 @@ paths: description: Response content: application/json: - schema: *390 + schema: *391 examples: simple-example: summary: Simple example @@ -62794,9 +62877,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *241 - *242 - - &392 + - *243 + - &393 name: deployment_id description: deployment_id parameter in: path @@ -62808,7 +62891,7 @@ paths: description: Response content: application/json: - schema: *390 + schema: *391 examples: default: value: @@ -62873,9 +62956,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *241 - *242 - - *392 + - *243 + - *393 responses: '204': description: Response @@ -62897,9 +62980,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *241 - *242 - - *392 + - *243 + - *393 - *17 - *18 responses: @@ -62909,7 +62992,7 @@ paths: application/json: schema: type: array - items: &393 + items: &394 title: Deployment Status description: The status of a deployment. type: object @@ -63073,9 +63156,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *241 - *242 - - *392 + - *243 + - *393 requestBody: required: true content: @@ -63150,9 +63233,9 @@ paths: description: Response content: application/json: - schema: *393 + schema: *394 examples: - default: &394 + default: &395 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -63208,9 +63291,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *241 - *242 - - *392 + - *243 + - *393 - name: status_id in: path required: true @@ -63221,9 +63304,9 @@ paths: description: Response content: application/json: - schema: *393 + schema: *394 examples: - default: *394 + default: *395 '404': *6 x-github: githubCloudOnly: false @@ -63248,8 +63331,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -63306,8 +63389,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -63325,7 +63408,7 @@ paths: - 5 environments: type: array - items: &396 + items: &397 title: Environment description: Details of a deployment environment type: object @@ -63387,7 +63470,7 @@ paths: type: string examples: - wait_timer - wait_timer: &398 + wait_timer: &399 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -63429,11 +63512,11 @@ paths: items: type: object properties: - type: *395 + type: *396 reviewer: anyOf: - *4 - - *172 + - *173 required: - id - node_id @@ -63456,7 +63539,7 @@ paths: - id - node_id - type - deployment_branch_policy: &399 + deployment_branch_policy: &400 type: - object - 'null' @@ -63573,9 +63656,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *241 - *242 - - &397 + - *243 + - &398 name: environment_name in: path required: true @@ -63588,9 +63671,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *397 examples: - default: &400 + default: &401 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -63674,9 +63757,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *241 - *242 - - *397 + - *243 + - *398 requestBody: required: false content: @@ -63686,7 +63769,7 @@ paths: - object - 'null' properties: - wait_timer: *398 + wait_timer: *399 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -63705,14 +63788,14 @@ paths: items: type: object properties: - type: *395 + type: *396 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *399 + deployment_branch_policy: *400 additionalProperties: false examples: default: @@ -63732,9 +63815,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *397 examples: - default: *400 + default: *401 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -63758,9 +63841,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *241 - *242 - - *397 + - *243 + - *398 responses: '204': description: Default response @@ -63785,9 +63868,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *241 - *242 - - *397 + - *243 + - *398 - *17 - *18 responses: @@ -63806,7 +63889,7 @@ paths: - 2 branch_policies: type: array - items: &401 + items: &402 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -63867,9 +63950,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *241 - *242 - - *397 + - *243 + - *398 requestBody: required: true content: @@ -63917,9 +64000,9 @@ paths: description: Response content: application/json: - schema: *401 + schema: *402 examples: - example-wildcard: &402 + example-wildcard: &403 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -63961,10 +64044,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *241 - *242 - - *397 - - &403 + - *243 + - *398 + - &404 name: branch_policy_id in: path required: true @@ -63976,9 +64059,9 @@ paths: description: Response content: application/json: - schema: *401 + schema: *402 examples: - default: *402 + default: *403 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63997,10 +64080,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *241 - *242 - - *397 - - *403 + - *243 + - *398 + - *404 requestBody: required: true content: @@ -64029,9 +64112,9 @@ paths: description: Response content: application/json: - schema: *401 + schema: *402 examples: - default: *402 + default: *403 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64050,10 +64133,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *241 - *242 - - *397 - - *403 + - *243 + - *398 + - *404 responses: '204': description: Response @@ -64078,9 +64161,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *397 + - *398 + - *243 - *242 - - *241 responses: '200': description: List of deployment protection rules @@ -64097,7 +64180,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &404 + items: &405 title: Deployment protection rule description: Deployment protection rule type: object @@ -64119,7 +64202,7 @@ paths: for the environment. examples: - true - app: &405 + app: &406 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -64222,9 +64305,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *397 + - *398 + - *243 - *242 - - *241 requestBody: content: application/json: @@ -64245,9 +64328,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *404 + schema: *405 examples: - default: &406 + default: &407 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -64282,9 +64365,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *397 + - *398 + - *243 - *242 - - *241 - *18 - *17 responses: @@ -64304,7 +64387,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *405 + items: *406 examples: default: value: @@ -64339,10 +64422,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *241 - *242 - - *397 - - &407 + - *243 + - *398 + - &408 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -64354,9 +64437,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *405 examples: - default: *406 + default: *407 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64377,10 +64460,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *397 + - *398 + - *243 - *242 - - *241 - - *407 + - *408 responses: '204': description: Response @@ -64406,9 +64489,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *241 - *242 - - *397 + - *243 + - *398 - *17 - *18 responses: @@ -64426,9 +64509,9 @@ paths: type: integer secrets: type: array - items: *287 + items: *288 examples: - default: *288 + default: *289 headers: Link: *37 x-github: @@ -64453,17 +64536,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *241 - *242 - - *397 + - *243 + - *398 responses: '200': description: Response content: application/json: - schema: *289 + schema: *290 examples: - default: *290 + default: *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64485,18 +64568,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *241 - *242 - - *397 + - *243 + - *398 - *116 responses: '200': description: Response content: application/json: - schema: *287 + schema: *288 examples: - default: *408 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64518,9 +64601,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *241 - *242 - - *397 + - *243 + - *398 - *116 requestBody: required: true @@ -64578,9 +64661,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *241 - *242 - - *397 + - *243 + - *398 - *116 responses: '204': @@ -64606,10 +64689,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *241 - *242 - - *397 - - *263 + - *243 + - *398 + - *264 - *18 responses: '200': @@ -64626,9 +64709,9 @@ paths: type: integer variables: type: array - items: *291 + items: *292 examples: - default: *292 + default: *293 headers: Link: *37 x-github: @@ -64651,9 +64734,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *241 - *242 - - *397 + - *243 + - *398 requestBody: required: true content: @@ -64705,18 +64788,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *241 - *242 - - *397 + - *243 + - *398 - *119 responses: '200': description: Response content: application/json: - schema: *291 + schema: *292 examples: - default: *409 + default: *410 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64737,10 +64820,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *241 - *242 + - *243 - *119 - - *397 + - *398 requestBody: required: true content: @@ -64782,10 +64865,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *241 - *242 + - *243 - *119 - - *397 + - *398 responses: '204': description: Response @@ -64807,8 +64890,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -64885,8 +64968,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *241 - *242 + - *243 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -65045,8 +65128,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *241 - *242 + - *243 requestBody: required: false content: @@ -65079,9 +65162,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *253 examples: - default: *254 + default: *255 '400': *14 '422': *15 '403': *27 @@ -65102,8 +65185,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -65163,7 +65246,7 @@ paths: schema: oneOf: - *92 - - *410 + - *411 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65188,8 +65271,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *241 - *242 + - *243 - name: file_sha in: path required: true @@ -65289,8 +65372,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -65399,7 +65482,7 @@ paths: description: Response content: application/json: - schema: &411 + schema: &412 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -65625,15 +65708,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *241 - *242 - - *367 + - *243 + - *368 responses: '200': description: Response content: application/json: - schema: *411 + schema: *412 examples: default: value: @@ -65689,9 +65772,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *241 - *242 - - &412 + - *243 + - &413 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -65708,7 +65791,7 @@ paths: application/json: schema: type: array - items: &413 + items: &414 title: Git Reference description: Git references within a repository type: object @@ -65784,17 +65867,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *241 - *242 - - *412 + - *243 + - *413 responses: '200': description: Response content: application/json: - schema: *413 + schema: *414 examples: - default: &414 + default: &415 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -65823,8 +65906,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -65853,9 +65936,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *414 examples: - default: *414 + default: *415 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -65881,9 +65964,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *241 - *242 - - *412 + - *243 + - *413 requestBody: required: true content: @@ -65912,9 +65995,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *414 examples: - default: *414 + default: *415 '422': *15 '409': *128 x-github: @@ -65932,9 +66015,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *241 - *242 - - *412 + - *243 + - *413 responses: '204': description: Response @@ -65987,8 +66070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -66055,7 +66138,7 @@ paths: description: Response content: application/json: - schema: &416 + schema: &417 title: Git Tag description: Metadata for a Git tag type: object @@ -66111,7 +66194,7 @@ paths: - sha - type - url - verification: *415 + verification: *416 required: - sha - url @@ -66121,7 +66204,7 @@ paths: - tag - message examples: - default: &417 + default: &418 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -66194,8 +66277,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *241 - *242 + - *243 - name: tag_sha in: path required: true @@ -66206,9 +66289,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *417 examples: - default: *417 + default: *418 '404': *6 '409': *128 x-github: @@ -66232,8 +66315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -66307,7 +66390,7 @@ paths: description: Response content: application/json: - schema: &418 + schema: &419 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -66425,8 +66508,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *241 - *242 + - *243 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -66449,7 +66532,7 @@ paths: description: Response content: application/json: - schema: *418 + schema: *419 examples: default-response: summary: Default response @@ -66508,8 +66591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -66519,7 +66602,7 @@ paths: application/json: schema: type: array - items: &419 + items: &420 title: Webhook description: Webhooks for repositories. type: object @@ -66582,7 +66665,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &630 + last_response: &631 title: Hook Response type: object properties: @@ -66659,8 +66742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *241 - *242 + - *243 requestBody: required: false content: @@ -66713,9 +66796,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *420 examples: - default: &420 + default: &421 value: type: Repository id: 12345678 @@ -66763,17 +66846,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *241 - *242 - - *149 + - *243 + - *150 responses: '200': description: Response content: application/json: - schema: *419 + schema: *420 examples: - default: *420 + default: *421 '404': *6 x-github: githubCloudOnly: false @@ -66793,9 +66876,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *241 - *242 - - *149 + - *243 + - *150 requestBody: required: true content: @@ -66840,9 +66923,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *420 examples: - default: *420 + default: *421 '422': *15 '404': *6 x-github: @@ -66863,9 +66946,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *241 - *242 - - *149 + - *243 + - *150 responses: '204': description: Response @@ -66889,9 +66972,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *241 - *242 - - *149 + - *243 + - *150 responses: '200': description: Response @@ -66918,9 +67001,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *241 - *242 - - *149 + - *243 + - *150 requestBody: required: false content: @@ -66964,11 +67047,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *241 - *242 - - *149 - - *17 + - *243 - *150 + - *17 + - *151 responses: '200': description: Response @@ -66976,9 +67059,9 @@ paths: application/json: schema: type: array - items: *151 + items: *152 examples: - default: *152 + default: *153 '400': *14 '422': *15 x-github: @@ -66997,18 +67080,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *241 - *242 - - *149 + - *243 + - *150 - *16 responses: '200': description: Response content: application/json: - schema: *153 + schema: *154 examples: - default: *154 + default: *155 '400': *14 '422': *15 x-github: @@ -67027,9 +67110,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *241 - *242 - - *149 + - *243 + - *150 - *16 responses: '202': *94 @@ -67052,9 +67135,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *241 - *242 - - *149 + - *243 + - *150 responses: '204': description: Response @@ -67079,9 +67162,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *241 - *242 - - *149 + - *243 + - *150 responses: '204': description: Response @@ -67139,14 +67222,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *241 - *242 + - *243 responses: '200': description: Response content: application/json: - schema: &421 + schema: &422 title: Import description: A repository import from an external source. type: object @@ -67253,7 +67336,7 @@ paths: - html_url - authors_url examples: - default: &424 + default: &425 value: vcs: subversion use_lfs: true @@ -67269,7 +67352,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &422 + '503': &423 description: Unavailable due to service under maintenance. content: application/json: @@ -67298,8 +67381,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -67347,7 +67430,7 @@ paths: description: Response content: application/json: - schema: *421 + schema: *422 examples: default: value: @@ -67372,7 +67455,7 @@ paths: type: string '422': *15 '404': *6 - '503': *422 + '503': *423 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67400,8 +67483,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *241 - *242 + - *243 requestBody: required: false content: @@ -67453,7 +67536,7 @@ paths: description: Response content: application/json: - schema: *421 + schema: *422 examples: example-1: summary: Example 1 @@ -67501,7 +67584,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *422 + '503': *423 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67524,12 +67607,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *241 - *242 + - *243 responses: '204': description: Response - '503': *422 + '503': *423 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67555,9 +67638,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *241 - *242 - - &580 + - *243 + - &581 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -67571,7 +67654,7 @@ paths: application/json: schema: type: array - items: &423 + items: &424 title: Porter Author description: Porter Author type: object @@ -67625,7 +67708,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *422 + '503': *423 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67650,8 +67733,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *241 - *242 + - *243 - name: author_id in: path required: true @@ -67681,7 +67764,7 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: default: value: @@ -67694,7 +67777,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *422 + '503': *423 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67718,8 +67801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -67760,7 +67843,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *422 + '503': *423 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67788,8 +67871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -67816,11 +67899,11 @@ paths: description: Response content: application/json: - schema: *421 + schema: *422 examples: - default: *424 + default: *425 '422': *15 - '503': *422 + '503': *423 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67843,8 +67926,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -67852,8 +67935,8 @@ paths: application/json: schema: *20 examples: - default: *425 - '301': *253 + default: *426 + '301': *254 '404': *6 x-github: githubCloudOnly: false @@ -67873,8 +67956,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -67882,12 +67965,12 @@ paths: application/json: schema: anyOf: - - *167 + - *168 - type: object properties: {} additionalProperties: false examples: - default: &427 + default: &428 value: limit: collaborators_only origin: repository @@ -67912,13 +67995,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *241 - *242 + - *243 requestBody: required: true content: application/json: - schema: *426 + schema: *427 examples: default: summary: Example request body @@ -67930,9 +68013,9 @@ paths: description: Response content: application/json: - schema: *167 + schema: *168 examples: - default: *427 + default: *428 '409': description: Response x-github: @@ -67954,8 +68037,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *241 - *242 + - *243 responses: '204': description: Response @@ -67978,8 +68061,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -67989,9 +68072,9 @@ paths: application/json: schema: type: array - items: *428 + items: *429 examples: - default: &573 + default: &574 value: - id: 1 repository: @@ -68122,9 +68205,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *241 - *242 - - *171 + - *243 + - *172 requestBody: required: false content: @@ -68153,7 +68236,7 @@ paths: description: Response content: application/json: - schema: *428 + schema: *429 examples: default: value: @@ -68284,9 +68367,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *241 - *242 - - *171 + - *243 + - *172 responses: '204': description: Response @@ -68317,8 +68400,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *241 - *242 + - *243 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -68358,7 +68441,7 @@ paths: required: false schema: type: string - - *173 + - *174 - name: sort description: What to sort results by. in: query @@ -68383,7 +68466,7 @@ paths: type: array items: *72 examples: - default: &437 + default: &438 value: - id: 1 node_id: MDU6SXNzdWUx @@ -68531,7 +68614,7 @@ paths: state_reason: completed headers: Link: *37 - '301': *253 + '301': *254 '422': *15 '404': *6 x-github: @@ -68560,8 +68643,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -68644,7 +68727,7 @@ paths: application/json: schema: *72 examples: - default: &432 + default: &433 value: id: 1 node_id: MDU6SXNzdWUx @@ -68800,7 +68883,7 @@ paths: '422': *15 '503': *60 '404': *6 - '410': *250 + '410': *251 x-github: triggersNotification: true githubCloudOnly: false @@ -68828,8 +68911,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *241 - *242 + - *243 - *81 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -68850,9 +68933,9 @@ paths: application/json: schema: type: array - items: *429 + items: *430 examples: - default: &434 + default: &435 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -68910,17 +68993,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *241 - *242 + - *243 - *71 responses: '200': description: Response content: application/json: - schema: *429 + schema: *430 examples: - default: &430 + default: &431 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -68974,8 +69057,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *241 - *242 + - *243 - *71 requestBody: required: true @@ -68998,9 +69081,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *430 examples: - default: *430 + default: *431 '422': *15 x-github: githubCloudOnly: false @@ -69018,8 +69101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *241 - *242 + - *243 - *71 responses: '204': @@ -69040,8 +69123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *241 - *242 + - *243 - *71 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -69068,9 +69151,9 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: - default: *236 + default: *237 headers: Link: *37 '404': *6 @@ -69091,8 +69174,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *241 - *242 + - *243 - *71 requestBody: required: true @@ -69125,16 +69208,16 @@ paths: description: Reaction exists content: application/json: - schema: *234 + schema: *235 examples: - default: *235 + default: *236 '201': description: Reaction created content: application/json: - schema: *234 + schema: *235 examples: - default: *235 + default: *236 '422': *15 x-github: githubCloudOnly: false @@ -69156,10 +69239,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *241 - *242 + - *243 - *71 - - *237 + - *238 responses: '204': description: Response @@ -69179,8 +69262,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -69190,7 +69273,7 @@ paths: application/json: schema: type: array - items: &431 + items: &432 title: Issue Event description: Issue Event type: object @@ -69270,7 +69353,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *172 + requested_team: *173 dismissed_review: title: Issue Event Dismissed Review type: object @@ -69529,8 +69612,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *241 - *242 + - *243 - name: event_id in: path required: true @@ -69541,7 +69624,7 @@ paths: description: Response content: application/json: - schema: *431 + schema: *432 examples: default: value: @@ -69734,7 +69817,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *250 + '410': *251 '403': *27 x-github: githubCloudOnly: false @@ -69768,9 +69851,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *241 - *242 - - &433 + - *243 + - &434 name: issue_number description: The number that identifies the issue. in: path @@ -69784,10 +69867,10 @@ paths: application/json: schema: *72 examples: - default: *432 - '301': *253 + default: *433 + '301': *254 '404': *6 - '410': *250 + '410': *251 '304': *35 x-github: githubCloudOnly: false @@ -69812,9 +69895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *241 - *242 - - *433 + - *243 + - *434 requestBody: required: false content: @@ -69924,13 +70007,13 @@ paths: application/json: schema: *72 examples: - default: *432 + default: *433 '422': *15 '503': *60 '403': *27 - '301': *253 + '301': *254 '404': *6 - '410': *250 + '410': *251 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69948,9 +70031,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *241 - *242 - - *433 + - *243 + - *434 requestBody: required: false content: @@ -69978,7 +70061,7 @@ paths: application/json: schema: *72 examples: - default: *432 + default: *433 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69994,9 +70077,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *241 - *242 - - *433 + - *243 + - *434 requestBody: content: application/json: @@ -70023,7 +70106,7 @@ paths: application/json: schema: *72 examples: - default: *432 + default: *433 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70045,9 +70128,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *241 - *242 - - *433 + - *243 + - *434 - name: assignee in: path required: true @@ -70087,9 +70170,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *241 - *242 - - *433 + - *243 + - *434 - *62 - *17 - *18 @@ -70100,13 +70183,13 @@ paths: application/json: schema: type: array - items: *429 + items: *430 examples: - default: *434 + default: *435 headers: Link: *37 '404': *6 - '410': *250 + '410': *251 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70135,9 +70218,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *241 - *242 - - *433 + - *243 + - *434 requestBody: required: true content: @@ -70159,16 +70242,16 @@ paths: description: Response content: application/json: - schema: *429 + schema: *430 examples: - default: *430 + default: *431 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *250 + '410': *251 '422': *15 '404': *6 x-github: @@ -70188,9 +70271,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *241 - *242 - - *433 + - *243 + - *434 - *17 - *18 responses: @@ -70204,7 +70287,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &438 + - &439 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -70253,7 +70336,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &439 + - &440 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -70381,7 +70464,7 @@ paths: - performed_via_github_app - assignee - assigner - - &440 + - &441 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -70427,7 +70510,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &441 + - &442 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -70473,7 +70556,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &442 + - &443 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -70522,7 +70605,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &443 + - &444 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -70551,7 +70634,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *172 + requested_team: *173 requested_reviewer: *4 required: - review_requester @@ -70564,7 +70647,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &444 + - &445 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -70593,7 +70676,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *172 + requested_team: *173 requested_reviewer: *4 required: - review_requester @@ -70606,7 +70689,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &445 + - &446 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -70662,7 +70745,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &446 + - &447 title: Locked Issue Event description: Locked Issue Event type: object @@ -70707,7 +70790,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &447 + - &448 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -70768,7 +70851,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &448 + - &449 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -70829,7 +70912,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &449 + - &450 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -70890,7 +70973,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &450 + - &451 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -70983,7 +71066,7 @@ paths: color: red headers: Link: *37 - '410': *250 + '410': *251 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71000,9 +71083,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *241 - *242 - - *433 + - *243 + - *434 - *17 - *18 responses: @@ -71012,7 +71095,7 @@ paths: application/json: schema: type: array - items: &435 + items: &436 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -71067,7 +71150,7 @@ paths: - color - default examples: - default: &436 + default: &437 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -71085,9 +71168,9 @@ paths: default: false headers: Link: *37 - '301': *253 + '301': *254 '404': *6 - '410': *250 + '410': *251 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71104,9 +71187,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *241 - *242 - - *433 + - *243 + - *434 requestBody: required: false content: @@ -71165,12 +71248,12 @@ paths: application/json: schema: type: array - items: *435 + items: *436 examples: - default: *436 - '301': *253 + default: *437 + '301': *254 '404': *6 - '410': *250 + '410': *251 '422': *15 x-github: githubCloudOnly: false @@ -71187,9 +71270,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *241 - *242 - - *433 + - *243 + - *434 requestBody: required: false content: @@ -71249,12 +71332,12 @@ paths: application/json: schema: type: array - items: *435 + items: *436 examples: - default: *436 - '301': *253 + default: *437 + '301': *254 '404': *6 - '410': *250 + '410': *251 '422': *15 x-github: githubCloudOnly: false @@ -71271,15 +71354,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *241 - *242 - - *433 + - *243 + - *434 responses: '204': description: Response - '301': *253 + '301': *254 '404': *6 - '410': *250 + '410': *251 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71298,9 +71381,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *241 - *242 - - *433 + - *243 + - *434 - name: name in: path required: true @@ -71313,7 +71396,7 @@ paths: application/json: schema: type: array - items: *435 + items: *436 examples: default: value: @@ -71324,9 +71407,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *253 + '301': *254 '404': *6 - '410': *250 + '410': *251 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71346,9 +71429,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *241 - *242 - - *433 + - *243 + - *434 requestBody: required: false content: @@ -71377,7 +71460,7 @@ paths: '204': description: Response '403': *27 - '410': *250 + '410': *251 '404': *6 '422': *15 x-github: @@ -71395,9 +71478,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *241 - *242 - - *433 + - *243 + - *434 responses: '204': description: Response @@ -71419,9 +71502,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *241 - *242 - - *433 + - *243 + - *434 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -71447,13 +71530,13 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: - default: *236 + default: *237 headers: Link: *37 '404': *6 - '410': *250 + '410': *251 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71471,9 +71554,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *241 - *242 - - *433 + - *243 + - *434 requestBody: required: true content: @@ -71505,16 +71588,16 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *235 + default: *236 '201': description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *235 + default: *236 '422': *15 x-github: githubCloudOnly: false @@ -71536,10 +71619,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *241 - *242 - - *433 - - *237 + - *243 + - *434 + - *238 responses: '204': description: Response @@ -71568,9 +71651,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *241 - *242 - - *433 + - *243 + - *434 requestBody: required: true content: @@ -71594,7 +71677,7 @@ paths: application/json: schema: *72 examples: - default: *432 + default: *433 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -71627,9 +71710,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *241 - *242 - - *433 + - *243 + - *434 - *17 - *18 responses: @@ -71641,11 +71724,11 @@ paths: type: array items: *72 examples: - default: *437 + default: *438 headers: Link: *37 '404': *6 - '410': *250 + '410': *251 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71673,9 +71756,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *241 - *242 - - *433 + - *243 + - *434 requestBody: required: true content: @@ -71703,14 +71786,14 @@ paths: application/json: schema: *72 examples: - default: *432 + default: *433 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *250 + '410': *251 '422': *15 '404': *6 x-github: @@ -71730,9 +71813,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *241 - *242 - - *433 + - *243 + - *434 requestBody: required: true content: @@ -71765,7 +71848,7 @@ paths: application/json: schema: *72 examples: - default: *432 + default: *433 '403': *27 '404': *6 '422': *7 @@ -71787,9 +71870,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *241 - *242 - - *433 + - *243 + - *434 - *17 - *18 responses: @@ -71804,7 +71887,6 @@ paths: description: Timeline Event type: object anyOf: - - *438 - *439 - *440 - *441 @@ -71817,6 +71899,7 @@ paths: - *448 - *449 - *450 + - *451 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -72139,7 +72222,7 @@ paths: type: string comments: type: array - items: &470 + items: &471 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -72377,7 +72460,7 @@ paths: type: string comments: type: array - items: *365 + items: *366 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -72652,7 +72735,7 @@ paths: headers: Link: *37 '404': *6 - '410': *250 + '410': *251 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72669,8 +72752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -72680,7 +72763,7 @@ paths: application/json: schema: type: array - items: &451 + items: &452 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -72747,8 +72830,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -72784,9 +72867,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: - default: &452 + default: &453 value: id: 1 key: ssh-rsa AAA... @@ -72820,9 +72903,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *241 - *242 - - &453 + - *243 + - &454 name: key_id description: The unique identifier of the key. in: path @@ -72834,9 +72917,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: - default: *452 + default: *453 '404': *6 x-github: githubCloudOnly: false @@ -72854,9 +72937,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *241 - *242 - - *453 + - *243 + - *454 responses: '204': description: Response @@ -72876,8 +72959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -72887,9 +72970,9 @@ paths: application/json: schema: type: array - items: *435 + items: *436 examples: - default: *436 + default: *437 headers: Link: *37 '404': *6 @@ -72910,8 +72993,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -72947,9 +73030,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *436 examples: - default: &454 + default: &455 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -72981,8 +73064,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *241 - *242 + - *243 - name: name in: path required: true @@ -72993,9 +73076,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *436 examples: - default: *454 + default: *455 '404': *6 x-github: githubCloudOnly: false @@ -73012,8 +73095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *241 - *242 + - *243 - name: name in: path required: true @@ -73052,7 +73135,7 @@ paths: description: Response content: application/json: - schema: *435 + schema: *436 examples: default: value: @@ -73078,8 +73161,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *241 - *242 + - *243 - name: name in: path required: true @@ -73105,8 +73188,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -73145,9 +73228,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *241 - *242 - - *342 + - *243 + - *343 responses: '200': description: Response @@ -73294,8 +73377,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -73360,8 +73443,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -73395,9 +73478,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *366 + schema: *367 examples: - default: *455 + default: *456 '204': description: Response when already merged '404': @@ -73422,8 +73505,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *241 - *242 + - *243 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -73464,7 +73547,7 @@ paths: application/json: schema: type: array - items: *370 + items: *371 examples: default: value: @@ -73520,8 +73603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -73561,9 +73644,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *371 examples: - default: &456 + default: &457 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -73622,9 +73705,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *241 - *242 - - &457 + - *243 + - &458 name: milestone_number description: The number that identifies the milestone. in: path @@ -73636,9 +73719,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *371 examples: - default: *456 + default: *457 '404': *6 x-github: githubCloudOnly: false @@ -73655,9 +73738,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *241 - *242 - - *457 + - *243 + - *458 requestBody: required: false content: @@ -73695,9 +73778,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *371 examples: - default: *456 + default: *457 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73713,9 +73796,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *241 - *242 - - *457 + - *243 + - *458 responses: '204': description: Response @@ -73736,9 +73819,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *241 - *242 - - *457 + - *243 + - *458 - *17 - *18 responses: @@ -73748,9 +73831,9 @@ paths: application/json: schema: type: array - items: *435 + items: *436 examples: - default: *436 + default: *437 headers: Link: *37 x-github: @@ -73769,12 +73852,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *241 - *242 - - *458 + - *243 - *459 - - *62 - *460 + - *62 + - *461 - *17 - *18 responses: @@ -73786,7 +73869,7 @@ paths: type: array items: *84 examples: - default: *461 + default: *462 headers: Link: *37 x-github: @@ -73810,8 +73893,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *241 - *242 + - *243 requestBody: required: false content: @@ -73869,14 +73952,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *241 - *242 + - *243 responses: '200': description: Response content: application/json: - schema: &462 + schema: &463 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -74020,7 +74103,7 @@ paths: - custom_404 - public examples: - default: &463 + default: &464 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -74061,8 +74144,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -74117,9 +74200,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *463 examples: - default: *463 + default: *464 '422': *15 '409': *128 x-github: @@ -74142,8 +74225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -74243,8 +74326,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *241 - *242 + - *243 responses: '204': description: Response @@ -74270,8 +74353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -74281,7 +74364,7 @@ paths: application/json: schema: type: array - items: &464 + items: &465 title: Page Build description: Page Build type: object @@ -74373,8 +74456,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *241 - *242 + - *243 responses: '201': description: Response @@ -74421,16 +74504,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *241 - *242 + - *243 responses: '200': description: Response content: application/json: - schema: *464 + schema: *465 examples: - default: &465 + default: &466 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -74478,8 +74561,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *241 - *242 + - *243 - name: build_id in: path required: true @@ -74490,9 +74573,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *465 examples: - default: *465 + default: *466 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74512,8 +74595,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -74622,9 +74705,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *241 - *242 - - &466 + - *243 + - &467 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -74682,11 +74765,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *241 - *242 - - *466 + - *243 + - *467 responses: - '204': *131 + '204': *132 '404': *6 x-github: githubCloudOnly: false @@ -74711,8 +74794,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -75007,8 +75090,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *241 - *242 + - *243 responses: '200': description: Private vulnerability reporting status @@ -75045,10 +75128,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *241 - *242 + - *243 responses: - '204': *131 + '204': *132 '422': *14 x-github: githubCloudOnly: false @@ -75067,10 +75150,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *241 - *242 + - *243 responses: - '204': *131 + '204': *132 '422': *14 x-github: githubCloudOnly: false @@ -75091,8 +75174,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-repository-projects parameters: - - *241 - *242 + - *243 - name: state description: Indicates the state of the projects to return. in: query @@ -75113,7 +75196,7 @@ paths: application/json: schema: type: array - items: *201 + items: *202 examples: default: value: @@ -75153,7 +75236,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *250 + '410': *251 '422': *7 x-github: githubCloudOnly: false @@ -75173,8 +75256,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-a-repository-project parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -75200,13 +75283,13 @@ paths: description: Response content: application/json: - schema: *201 + schema: *202 examples: - default: *249 + default: *250 '401': *23 '403': *27 '404': *6 - '410': *250 + '410': *251 '422': *7 x-github: githubCloudOnly: false @@ -75226,8 +75309,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -75235,7 +75318,7 @@ paths: application/json: schema: type: array - items: *206 + items: *207 examples: default: value: @@ -75266,8 +75349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -75279,7 +75362,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *206 + items: *207 required: - properties examples: @@ -75329,8 +75412,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *241 - *242 + - *243 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -75390,9 +75473,9 @@ paths: application/json: schema: type: array - items: *467 + items: *468 examples: - default: *468 + default: *469 headers: Link: *37 '304': *35 @@ -75424,8 +75507,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -75492,7 +75575,7 @@ paths: description: Response content: application/json: - schema: &472 + schema: &473 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -75621,7 +75704,7 @@ paths: milestone: anyOf: - type: 'null' - - *370 + - *371 active_lock_reason: type: - string @@ -75676,7 +75759,7 @@ paths: type: - array - 'null' - items: *186 + items: *187 head: type: object properties: @@ -75714,14 +75797,14 @@ paths: _links: type: object properties: - comments: *371 - commits: *371 - statuses: *371 - html: *371 - issue: *371 - review_comments: *371 - review_comment: *371 - self: *371 + comments: *372 + commits: *372 + statuses: *372 + html: *372 + issue: *372 + review_comments: *372 + review_comment: *372 + self: *372 required: - comments - commits @@ -75732,7 +75815,7 @@ paths: - review_comment - self author_association: *58 - auto_merge: *469 + auto_merge: *470 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -75834,7 +75917,7 @@ paths: - merged_by - review_comments examples: - default: &473 + default: &474 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -76361,8 +76444,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *241 - *242 + - *243 - name: sort in: query required: false @@ -76391,9 +76474,9 @@ paths: application/json: schema: type: array - items: *470 + items: *471 examples: - default: &475 + default: &476 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -76470,17 +76553,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *241 - *242 + - *243 - *71 responses: '200': description: Response content: application/json: - schema: *470 + schema: *471 examples: - default: &471 + default: &472 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -76555,8 +76638,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *241 - *242 + - *243 - *71 requestBody: required: true @@ -76579,9 +76662,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *471 examples: - default: *471 + default: *472 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76597,8 +76680,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *241 - *242 + - *243 - *71 responses: '204': @@ -76620,8 +76703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *241 - *242 + - *243 - *71 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -76648,9 +76731,9 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: - default: *236 + default: *237 headers: Link: *37 '404': *6 @@ -76671,8 +76754,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *241 - *242 + - *243 - *71 requestBody: required: true @@ -76705,16 +76788,16 @@ paths: description: Reaction exists content: application/json: - schema: *234 + schema: *235 examples: - default: *235 + default: *236 '201': description: Reaction created content: application/json: - schema: *234 + schema: *235 examples: - default: *235 + default: *236 '422': *15 x-github: githubCloudOnly: false @@ -76736,10 +76819,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *241 - *242 + - *243 - *71 - - *237 + - *238 responses: '204': description: Response @@ -76782,9 +76865,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *241 - *242 - - &474 + - *243 + - &475 name: pull_number description: The number that identifies the pull request. in: path @@ -76797,9 +76880,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *472 + schema: *473 examples: - default: *473 + default: *474 '304': *35 '404': *6 '406': @@ -76834,9 +76917,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *241 - *242 - - *474 + - *243 + - *475 requestBody: required: false content: @@ -76878,9 +76961,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *473 examples: - default: *473 + default: *474 '422': *15 '403': *27 x-github: @@ -76902,9 +76985,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *241 - *242 - - *474 + - *243 + - *475 requestBody: required: true content: @@ -76965,17 +77048,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *176 + schema: *177 examples: - default: *357 + default: *358 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *176 + schema: *177 examples: - default: *357 + default: *358 '401': *23 '403': *27 '404': *6 @@ -77005,9 +77088,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *241 - *242 - - *474 + - *243 + - *475 - *81 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -77028,9 +77111,9 @@ paths: application/json: schema: type: array - items: *470 + items: *471 examples: - default: *475 + default: *476 headers: Link: *37 x-github: @@ -77063,9 +77146,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *241 - *242 - - *474 + - *243 + - *475 requestBody: required: true content: @@ -77171,7 +77254,7 @@ paths: description: Response content: application/json: - schema: *470 + schema: *471 examples: example-for-a-multi-line-comment: value: @@ -77259,9 +77342,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *241 - *242 - - *474 + - *243 + - *475 - *71 requestBody: required: true @@ -77284,7 +77367,7 @@ paths: description: Response content: application/json: - schema: *470 + schema: *471 examples: default: value: @@ -77370,9 +77453,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *241 - *242 - - *474 + - *243 + - *475 - *17 - *18 responses: @@ -77382,9 +77465,9 @@ paths: application/json: schema: type: array - items: *366 + items: *367 examples: - default: *476 + default: *477 headers: Link: *37 x-github: @@ -77414,9 +77497,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *241 - *242 - - *474 + - *243 + - *475 - *17 - *18 responses: @@ -77426,7 +77509,7 @@ paths: application/json: schema: type: array - items: *378 + items: *379 examples: default: value: @@ -77464,9 +77547,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *241 - *242 - - *474 + - *243 + - *475 responses: '204': description: Response if pull request has been merged @@ -77489,9 +77572,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *241 - *242 - - *474 + - *243 + - *475 requestBody: required: false content: @@ -77603,9 +77686,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *241 - *242 - - *474 + - *243 + - *475 responses: '200': description: Response @@ -77621,7 +77704,7 @@ paths: items: *4 teams: type: array - items: *172 + items: *173 required: - users - teams @@ -77680,9 +77763,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *241 - *242 - - *474 + - *243 + - *475 requestBody: required: false content: @@ -77719,7 +77802,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *468 examples: default: value: @@ -78255,9 +78338,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *241 - *242 - - *474 + - *243 + - *475 requestBody: required: true content: @@ -78291,7 +78374,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *468 examples: default: value: @@ -78796,9 +78879,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *241 - *242 - - *474 + - *243 + - *475 - *17 - *18 responses: @@ -78808,7 +78891,7 @@ paths: application/json: schema: type: array - items: &477 + items: &478 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -78964,9 +79047,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *241 - *242 - - *474 + - *243 + - *475 requestBody: required: false content: @@ -79056,9 +79139,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *478 examples: - default: &479 + default: &480 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -79121,10 +79204,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *241 - *242 - - *474 - - &478 + - *243 + - *475 + - &479 name: review_id description: The unique identifier of the review. in: path @@ -79136,9 +79219,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *478 examples: - default: &480 + default: &481 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -79197,10 +79280,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *241 - *242 - - *474 - - *478 + - *243 + - *475 + - *479 requestBody: required: true content: @@ -79223,7 +79306,7 @@ paths: description: Response content: application/json: - schema: *477 + schema: *478 examples: default: value: @@ -79285,18 +79368,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *241 - *242 - - *474 - - *478 + - *243 + - *475 + - *479 responses: '200': description: Response content: application/json: - schema: *477 + schema: *478 examples: - default: *479 + default: *480 '422': *7 '404': *6 x-github: @@ -79323,10 +79406,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *241 - *242 - - *474 - - *478 + - *243 + - *475 + - *479 - *17 - *18 responses: @@ -79424,9 +79507,9 @@ paths: _links: type: object properties: - self: *371 - html: *371 - pull_request: *371 + self: *372 + html: *372 + pull_request: *372 required: - self - html @@ -79577,10 +79660,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *241 - *242 - - *474 - - *478 + - *243 + - *475 + - *479 requestBody: required: true content: @@ -79609,7 +79692,7 @@ paths: description: Response content: application/json: - schema: *477 + schema: *478 examples: default: value: @@ -79672,10 +79755,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *241 - *242 - - *474 - - *478 + - *243 + - *475 + - *479 requestBody: required: true content: @@ -79710,9 +79793,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *478 examples: - default: *480 + default: *481 '404': *6 '422': *7 '403': *27 @@ -79734,9 +79817,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *241 - *242 - - *474 + - *243 + - *475 requestBody: required: false content: @@ -79800,8 +79883,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *241 - *242 + - *243 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -79814,9 +79897,9 @@ paths: description: Response content: application/json: - schema: *481 + schema: *482 examples: - default: &482 + default: &483 value: type: file encoding: base64 @@ -79858,8 +79941,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *241 - *242 + - *243 - name: dir description: The alternate path to look for a README file in: path @@ -79879,9 +79962,9 @@ paths: description: Response content: application/json: - schema: *481 + schema: *482 examples: - default: *482 + default: *483 '404': *6 '422': *15 x-github: @@ -79903,8 +79986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -79914,7 +79997,7 @@ paths: application/json: schema: type: array - items: &483 + items: &484 title: Release description: A release. type: object @@ -79986,7 +80069,7 @@ paths: author: *4 assets: type: array - items: &484 + items: &485 title: Release Asset description: Data related to a release. type: object @@ -80166,8 +80249,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -80243,9 +80326,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *484 examples: - default: &487 + default: &488 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -80348,9 +80431,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *241 - *242 - - &485 + - *243 + - &486 name: asset_id description: The unique identifier of the asset. in: path @@ -80362,9 +80445,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *485 examples: - default: &486 + default: &487 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -80398,7 +80481,7 @@ paths: type: User site_admin: false '404': *6 - '302': *380 + '302': *381 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80414,9 +80497,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *241 - *242 - - *485 + - *243 + - *486 requestBody: required: false content: @@ -80445,9 +80528,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *485 examples: - default: *486 + default: *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80463,9 +80546,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *241 - *242 - - *485 + - *243 + - *486 responses: '204': description: Response @@ -80489,8 +80572,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -80576,16 +80659,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *241 - *242 + - *243 responses: '200': description: Response content: application/json: - schema: *483 + schema: *484 examples: - default: *487 + default: *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80602,8 +80685,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *241 - *242 + - *243 - name: tag description: tag parameter in: path @@ -80616,9 +80699,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *484 examples: - default: *487 + default: *488 '404': *6 x-github: githubCloudOnly: false @@ -80640,9 +80723,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *241 - *242 - - &488 + - *243 + - &489 name: release_id description: The unique identifier of the release. in: path @@ -80656,9 +80739,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *483 + schema: *484 examples: - default: *487 + default: *488 '401': description: Unauthorized x-github: @@ -80676,9 +80759,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *241 - *242 - - *488 + - *243 + - *489 requestBody: required: false content: @@ -80742,9 +80825,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *484 examples: - default: *487 + default: *488 '404': description: Not Found if the discussion category name is invalid content: @@ -80765,9 +80848,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *241 - *242 - - *488 + - *243 + - *489 responses: '204': description: Response @@ -80787,9 +80870,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *241 - *242 - - *488 + - *243 + - *489 - *17 - *18 responses: @@ -80799,7 +80882,7 @@ paths: application/json: schema: type: array - items: *484 + items: *485 examples: default: value: @@ -80879,9 +80962,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *241 - *242 - - *488 + - *243 + - *489 - name: name in: query required: true @@ -80907,7 +80990,7 @@ paths: description: Response for successful upload content: application/json: - schema: *484 + schema: *485 examples: response-for-successful-upload: value: @@ -80961,9 +81044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *241 - *242 - - *488 + - *243 + - *489 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -80987,9 +81070,9 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: - default: *236 + default: *237 headers: Link: *37 '404': *6 @@ -81010,9 +81093,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *241 - *242 - - *488 + - *243 + - *489 requestBody: required: true content: @@ -81042,16 +81125,16 @@ paths: description: Reaction exists content: application/json: - schema: *234 + schema: *235 examples: - default: *235 + default: *236 '201': description: Reaction created content: application/json: - schema: *234 + schema: *235 examples: - default: *235 + default: *236 '422': *15 x-github: githubCloudOnly: false @@ -81073,10 +81156,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *241 - *242 - - *488 - - *237 + - *243 + - *489 + - *238 responses: '204': description: Response @@ -81100,9 +81183,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *241 - *242 - - *309 + - *243 + - *310 - *17 - *18 responses: @@ -81118,8 +81201,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *489 - - &491 + - *490 + - &492 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -81139,53 +81222,53 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *490 - *491 - - allOf: - *492 - - *491 - allOf: - *493 - - *491 + - *492 - allOf: - *494 - - *491 + - *492 - allOf: - *495 - - *491 + - *492 - allOf: - *496 - - *491 + - *492 - allOf: - *497 - - *491 + - *492 - allOf: - *498 - - *491 + - *492 - allOf: - *499 - - *491 + - *492 - allOf: - *500 - - *491 + - *492 - allOf: - *501 - - *491 + - *492 - allOf: - *502 - - *491 + - *492 - allOf: - *503 - - *491 + - *492 - allOf: - *504 - - *491 + - *492 - allOf: - *505 - - *491 + - *492 - allOf: - *506 - - *491 + - *492 + - allOf: + - *507 + - *492 examples: default: value: @@ -81224,8 +81307,8 @@ paths: category: repos subcategory: rules parameters: - - *241 - *242 + - *243 - *17 - *18 - name: includes_parents @@ -81236,7 +81319,7 @@ paths: schema: type: boolean default: true - - *507 + - *508 responses: '200': description: Response @@ -81244,7 +81327,7 @@ paths: application/json: schema: type: array - items: *214 + items: *215 examples: default: value: @@ -81291,8 +81374,8 @@ paths: category: repos subcategory: rules parameters: - - *241 - *242 + - *243 requestBody: description: Request body required: true @@ -81312,16 +81395,16 @@ paths: - tag - push default: branch - enforcement: *210 + enforcement: *211 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *211 - conditions: *208 + items: *212 + conditions: *209 rules: type: array description: An array of rules within the ruleset. - items: *213 + items: *214 required: - name - enforcement @@ -81352,9 +81435,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *215 examples: - default: &517 + default: &518 value: id: 42 name: super cool ruleset @@ -81401,12 +81484,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *241 - *242 - - *508 + - *243 - *509 - *510 - *511 + - *512 - *17 - *18 responses: @@ -81414,9 +81497,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *513 examples: - default: *513 + default: *514 '404': *6 '500': *39 x-github: @@ -81437,17 +81520,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *241 - *242 - - *514 + - *243 + - *515 responses: '200': description: Response content: application/json: - schema: *515 + schema: *516 examples: - default: *516 + default: *517 '404': *6 '500': *39 x-github: @@ -81475,8 +81558,8 @@ paths: category: repos subcategory: rules parameters: - - *241 - *242 + - *243 - name: ruleset_id description: The ID of the ruleset. in: path @@ -81496,9 +81579,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *215 examples: - default: *517 + default: *518 '404': *6 '500': *39 put: @@ -81516,8 +81599,8 @@ paths: category: repos subcategory: rules parameters: - - *241 - *242 + - *243 - name: ruleset_id description: The ID of the ruleset. in: path @@ -81542,16 +81625,16 @@ paths: - branch - tag - push - enforcement: *210 + enforcement: *211 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *211 - conditions: *208 + items: *212 + conditions: *209 rules: description: An array of rules within the ruleset. type: array - items: *213 + items: *214 examples: default: value: @@ -81579,9 +81662,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *215 examples: - default: *517 + default: *518 '404': *6 '500': *39 delete: @@ -81599,8 +81682,8 @@ paths: category: repos subcategory: rules parameters: - - *241 - *242 + - *243 - name: ruleset_id description: The ID of the ruleset. in: path @@ -81628,20 +81711,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *241 - *242 - - *216 + - *243 - *217 - *218 - *219 + - *220 - *40 - *18 - *17 - - *518 - *519 - - *220 + - *520 - *221 - *222 + - *223 responses: '200': description: Response @@ -81649,7 +81732,7 @@ paths: application/json: schema: type: array - items: &522 + items: &523 type: object properties: number: *46 @@ -81665,8 +81748,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *520 - resolution: *521 + state: *521 + resolution: *522 resolved_at: type: - string @@ -81871,15 +81954,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *241 - *242 - - *340 + - *243 + - *341 responses: '200': description: Response content: application/json: - schema: *522 + schema: *523 examples: default: value: @@ -81930,9 +82013,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *241 - *242 - - *340 + - *243 + - *341 requestBody: required: true content: @@ -81940,8 +82023,8 @@ paths: schema: type: object properties: - state: *520 - resolution: *521 + state: *521 + resolution: *522 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -81960,7 +82043,7 @@ paths: description: Response content: application/json: - schema: *522 + schema: *523 examples: default: value: @@ -82034,9 +82117,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *241 - *242 - - *340 + - *243 + - *341 - *18 - *17 responses: @@ -82047,7 +82130,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &651 + items: &652 type: object properties: type: @@ -82426,8 +82509,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -82435,14 +82518,14 @@ paths: schema: type: object properties: - reason: &524 + reason: &525 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *523 + placeholder_id: *524 required: - reason - placeholder_id @@ -82459,7 +82542,7 @@ paths: schema: type: object properties: - reason: *524 + reason: *525 expire_at: type: - string @@ -82503,8 +82586,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *241 - *242 + - *243 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -82519,7 +82602,7 @@ paths: properties: incremental_scans: type: array - items: &525 + items: &526 description: Information on a single scan performed by secret scanning on the repository type: object @@ -82529,30 +82612,33 @@ paths: description: The type of scan status: type: string - description: The state of the scan. Either "completed" or - "running" + description: The state of the scan. Either "completed", + "running", or "pending" completed_at: type: - string - 'null' format: date-time description: The time that the scan was completed. Empty - if the scan is active + if the scan is running started_at: - type: string + type: + - string + - 'null' format: date-time - description: The time that the scan was started + description: The time that the scan was started. Empty if + the scan is pending pattern_update_scans: type: array - items: *525 + items: *526 backfill_scans: type: array - items: *525 + items: *526 custom_pattern_backfill_scans: type: array items: allOf: - - *525 + - *526 - type: object properties: pattern_name: @@ -82622,8 +82708,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *241 - *242 + - *243 - *40 - name: sort description: The property to sort the results by. @@ -82667,9 +82753,9 @@ paths: application/json: schema: type: array - items: *526 + items: *527 examples: - default: *527 + default: *528 '400': *14 '404': *6 x-github: @@ -82692,8 +82778,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -82773,7 +82859,7 @@ paths: login: type: string description: The username of the user credited. - type: *225 + type: *226 required: - login - type @@ -82863,9 +82949,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *527 examples: - default: &529 + default: &530 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -83098,8 +83184,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -83212,7 +83298,7 @@ paths: description: Response content: application/json: - schema: *526 + schema: *527 examples: default: value: @@ -83359,17 +83445,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *241 - *242 - - *528 + - *243 + - *529 responses: '200': description: Response content: application/json: - schema: *526 + schema: *527 examples: - default: *529 + default: *530 '403': *27 '404': *6 x-github: @@ -83393,9 +83479,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *241 - *242 - - *528 + - *243 + - *529 requestBody: required: true content: @@ -83475,7 +83561,7 @@ paths: login: type: string description: The username of the user credited. - type: *225 + type: *226 required: - login - type @@ -83566,10 +83652,10 @@ paths: description: Response content: application/json: - schema: *526 + schema: *527 examples: - default: *529 - add_credit: *529 + default: *530 + add_credit: *530 '403': *27 '404': *6 '422': @@ -83607,9 +83693,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *241 - *242 - - *528 + - *243 + - *529 responses: '202': *94 '400': *14 @@ -83636,17 +83722,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *241 - *242 - - *528 + - *243 + - *529 responses: '202': description: Response content: application/json: - schema: *252 + schema: *253 examples: - default: *254 + default: *255 '400': *14 '422': *15 '403': *27 @@ -83672,8 +83758,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -83769,8 +83855,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *241 - *242 + - *243 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -83779,7 +83865,7 @@ paths: application/json: schema: type: array - items: &530 + items: &531 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -83792,7 +83878,7 @@ paths: - 1124 - -435 '202': *94 - '204': *131 + '204': *132 '422': description: Repository contains more than 10,000 commits x-github: @@ -83812,8 +83898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -83864,7 +83950,7 @@ paths: total: 89 week: 1336280400 '202': *94 - '204': *131 + '204': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83891,8 +83977,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -83964,7 +84050,7 @@ paths: d: 77 c: 10 '202': *94 - '204': *131 + '204': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83986,8 +84072,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *241 - *242 + - *243 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -84141,8 +84227,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *241 - *242 + - *243 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -84152,7 +84238,7 @@ paths: application/json: schema: type: array - items: *530 + items: *531 examples: default: value: @@ -84165,7 +84251,7 @@ paths: - - 0 - 2 - 21 - '204': *131 + '204': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84185,8 +84271,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *241 - *242 + - *243 - name: sha in: path required: true @@ -84242,7 +84328,7 @@ paths: description: Response content: application/json: - schema: *531 + schema: *532 examples: default: value: @@ -84296,8 +84382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -84309,7 +84395,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *176 headers: Link: *37 x-github: @@ -84329,14 +84415,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *241 - *242 + - *243 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &532 + schema: &533 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -84409,8 +84495,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *241 - *242 + - *243 requestBody: required: false content: @@ -84436,7 +84522,7 @@ paths: description: Response content: application/json: - schema: *532 + schema: *533 examples: default: value: @@ -84463,8 +84549,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *241 - *242 + - *243 responses: '204': description: Response @@ -84484,8 +84570,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -84567,8 +84653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -84576,7 +84662,7 @@ paths: application/json: schema: type: array - items: &533 + items: &534 title: Tag protection description: Tag protection type: object @@ -84633,8 +84719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -84657,7 +84743,7 @@ paths: description: Response content: application/json: - schema: *533 + schema: *534 examples: default: value: @@ -84688,8 +84774,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *241 - *242 + - *243 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -84726,8 +84812,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *241 - *242 + - *243 - name: ref in: path required: true @@ -84763,8 +84849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -84774,9 +84860,9 @@ paths: application/json: schema: type: array - items: *172 + items: *173 examples: - default: *187 + default: *188 headers: Link: *37 '404': *6 @@ -84796,8 +84882,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *241 - *242 + - *243 - *18 - *17 responses: @@ -84805,7 +84891,7 @@ paths: description: Response content: application/json: - schema: &534 + schema: &535 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -84817,7 +84903,7 @@ paths: required: - names examples: - default: &535 + default: &536 value: names: - octocat @@ -84840,8 +84926,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -84872,9 +84958,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *535 examples: - default: *535 + default: *536 '404': *6 '422': *7 x-github: @@ -84895,9 +84981,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *241 - *242 - - &536 + - *243 + - &537 name: per description: The time frame to display results for. in: query @@ -84928,7 +85014,7 @@ paths: - 128 clones: type: array - items: &537 + items: &538 title: Traffic type: object properties: @@ -85015,8 +85101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -85110,8 +85196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -85174,9 +85260,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *241 - *242 - - *536 + - *243 + - *537 responses: '200': description: Response @@ -85197,7 +85283,7 @@ paths: - 3782 views: type: array - items: *537 + items: *538 required: - uniques - count @@ -85274,8 +85360,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -85549,8 +85635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *241 - *242 + - *243 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -85573,8 +85659,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *241 - *242 + - *243 responses: '204': description: Response @@ -85596,8 +85682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *241 - *242 + - *243 responses: '204': description: Response @@ -85623,8 +85709,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *241 - *242 + - *243 - name: ref in: path required: true @@ -85716,9 +85802,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *253 examples: - default: *254 + default: *255 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -85967,7 +86053,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &538 + text_matches: &539 title: Search Result Text Matches type: array items: @@ -86130,7 +86216,7 @@ paths: enum: - author-date - committer-date - - &539 + - &540 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -86199,7 +86285,7 @@ paths: committer: anyOf: - type: 'null' - - *307 + - *308 comment_count: type: integer message: @@ -86218,7 +86304,7 @@ paths: url: type: string format: uri - verification: *415 + verification: *416 required: - author - committer @@ -86233,7 +86319,7 @@ paths: committer: anyOf: - type: 'null' - - *307 + - *308 parents: type: array items: @@ -86250,7 +86336,7 @@ paths: type: number node_id: type: string - text_matches: *538 + text_matches: *539 required: - sha - node_id @@ -86442,7 +86528,7 @@ paths: - interactions - created - updated - - *539 + - *540 - *17 - *18 responses: @@ -86558,7 +86644,7 @@ paths: milestone: anyOf: - type: 'null' - - *370 + - *371 comments: type: integer created_at: @@ -86572,7 +86658,7 @@ paths: - string - 'null' format: date-time - text_matches: *538 + text_matches: *539 pull_request: type: object properties: @@ -86794,7 +86880,7 @@ paths: enum: - created - updated - - *539 + - *540 - *17 - *18 responses: @@ -86839,7 +86925,7 @@ paths: - 'null' score: type: number - text_matches: *538 + text_matches: *539 required: - id - node_id @@ -86924,7 +87010,7 @@ paths: - forks - help-wanted-issues - updated - - *539 + - *540 - *17 - *18 responses: @@ -87161,7 +87247,7 @@ paths: - admin - pull - push - text_matches: *538 + text_matches: *539 temp_clone_token: type: string allow_merge_commit: @@ -87469,7 +87555,7 @@ paths: - string - 'null' format: uri - text_matches: *538 + text_matches: *539 related: type: - array @@ -87662,7 +87748,7 @@ paths: - followers - repositories - joined - - *539 + - *540 - *17 - *18 responses: @@ -87772,7 +87858,7 @@ paths: type: - boolean - 'null' - text_matches: *538 + text_matches: *539 blog: type: - string @@ -87854,7 +87940,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &540 + - &541 name: team_id description: The unique identifier of the team. in: path @@ -87866,9 +87952,9 @@ paths: description: Response content: application/json: - schema: *226 + schema: *227 examples: - default: *227 + default: *228 '404': *6 x-github: githubCloudOnly: false @@ -87895,7 +87981,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *540 + - *541 requestBody: required: true content: @@ -87959,16 +88045,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *226 + schema: *227 examples: - default: *227 + default: *228 '201': description: Response content: application/json: - schema: *226 + schema: *227 examples: - default: *227 + default: *228 '404': *6 '422': *15 '403': *27 @@ -87996,7 +88082,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *540 + - *541 responses: '204': description: Response @@ -88027,7 +88113,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *540 + - *541 - *40 - *17 - *18 @@ -88038,9 +88124,9 @@ paths: application/json: schema: type: array - items: *228 + items: *229 examples: - default: *541 + default: *542 headers: Link: *37 x-github: @@ -88069,7 +88155,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *540 + - *541 requestBody: required: true content: @@ -88103,9 +88189,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: *229 + default: *230 x-github: triggersNotification: true githubCloudOnly: false @@ -88132,16 +88218,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *540 - - *230 + - *541 + - *231 responses: '200': description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: *229 + default: *230 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88166,8 +88252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *540 - - *230 + - *541 + - *231 requestBody: required: false content: @@ -88190,9 +88276,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: *542 + default: *543 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88217,8 +88303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *540 - - *230 + - *541 + - *231 responses: '204': description: Response @@ -88247,8 +88333,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *540 - - *230 + - *541 + - *231 - *40 - *17 - *18 @@ -88259,9 +88345,9 @@ paths: application/json: schema: type: array - items: *231 + items: *232 examples: - default: *543 + default: *544 headers: Link: *37 x-github: @@ -88290,8 +88376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *540 - - *230 + - *541 + - *231 requestBody: required: true content: @@ -88313,9 +88399,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *232 examples: - default: *232 + default: *233 x-github: triggersNotification: true githubCloudOnly: false @@ -88342,17 +88428,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *540 - - *230 - - *233 + - *541 + - *231 + - *234 responses: '200': description: Response content: application/json: - schema: *231 + schema: *232 examples: - default: *232 + default: *233 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88377,9 +88463,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *540 - - *230 - - *233 + - *541 + - *231 + - *234 requestBody: required: true content: @@ -88401,9 +88487,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *232 examples: - default: *544 + default: *545 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88428,9 +88514,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *540 - - *230 - - *233 + - *541 + - *231 + - *234 responses: '204': description: Response @@ -88459,9 +88545,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *540 - - *230 - - *233 + - *541 + - *231 + - *234 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -88487,9 +88573,9 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: - default: *236 + default: *237 headers: Link: *37 x-github: @@ -88518,9 +88604,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *540 - - *230 - - *233 + - *541 + - *231 + - *234 requestBody: required: true content: @@ -88552,9 +88638,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *235 + default: *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88580,8 +88666,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *540 - - *230 + - *541 + - *231 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -88607,9 +88693,9 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: - default: *236 + default: *237 headers: Link: *37 x-github: @@ -88638,8 +88724,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *540 - - *230 + - *541 + - *231 requestBody: required: true content: @@ -88671,9 +88757,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *235 + default: *236 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -88697,7 +88783,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *540 + - *541 - *17 - *18 responses: @@ -88707,9 +88793,9 @@ paths: application/json: schema: type: array - items: *169 + items: *170 examples: - default: *170 + default: *171 headers: Link: *37 x-github: @@ -88735,7 +88821,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *540 + - *541 - name: role description: Filters members returned by their role in the team. in: query @@ -88758,7 +88844,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *176 headers: Link: *37 '404': *6 @@ -88786,7 +88872,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *540 + - *541 - *121 responses: '204': @@ -88823,7 +88909,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *540 + - *541 - *121 responses: '204': @@ -88863,7 +88949,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *540 + - *541 - *121 responses: '204': @@ -88900,16 +88986,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *540 + - *541 - *121 responses: '200': description: Response content: application/json: - schema: *238 + schema: *239 examples: - response-if-user-is-a-team-maintainer: *545 + response-if-user-is-a-team-maintainer: *546 '404': *6 x-github: githubCloudOnly: false @@ -88942,7 +89028,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *540 + - *541 - *121 requestBody: required: false @@ -88968,9 +89054,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *239 examples: - response-if-users-membership-with-team-is-now-pending: *546 + response-if-users-membership-with-team-is-now-pending: *547 '403': description: Forbidden if team synchronization is set up '422': @@ -89004,7 +89090,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *540 + - *541 - *121 responses: '204': @@ -89034,7 +89120,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *540 + - *541 - *17 - *18 responses: @@ -89044,9 +89130,9 @@ paths: application/json: schema: type: array - items: *239 + items: *240 examples: - default: *547 + default: *548 headers: Link: *37 '404': *6 @@ -89073,16 +89159,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *540 - - *240 + - *541 + - *241 responses: '200': description: Response content: application/json: - schema: *239 + schema: *240 examples: - default: *548 + default: *549 '404': description: Not Found if project is not managed by this team x-github: @@ -89107,8 +89193,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *540 - - *240 + - *541 + - *241 requestBody: required: false content: @@ -89176,8 +89262,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *540 - - *240 + - *541 + - *241 responses: '204': description: Response @@ -89204,7 +89290,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *540 + - *541 - *17 - *18 responses: @@ -89216,7 +89302,7 @@ paths: type: array items: *108 examples: - default: *194 + default: *195 headers: Link: *37 '404': *6 @@ -89246,15 +89332,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *540 - - *241 + - *541 - *242 + - *243 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *549 + schema: *550 examples: alternative-response-with-extra-repository-information: value: @@ -89405,9 +89491,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *540 - - *241 + - *541 - *242 + - *243 requestBody: required: false content: @@ -89457,9 +89543,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *540 - - *241 + - *541 - *242 + - *243 responses: '204': description: Response @@ -89484,7 +89570,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *540 + - *541 - *17 - *18 responses: @@ -89494,9 +89580,9 @@ paths: application/json: schema: type: array - items: *172 + items: *173 examples: - response-if-child-teams-exist: *550 + response-if-child-teams-exist: *551 headers: Link: *37 '404': *6 @@ -89529,7 +89615,7 @@ paths: application/json: schema: oneOf: - - &552 + - &553 title: Private User description: Private User type: object @@ -89779,7 +89865,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *551 + - *552 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -89939,7 +90025,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: default: value: @@ -90018,7 +90104,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *176 '304': *35 '404': *6 '403': *27 @@ -90142,9 +90228,9 @@ paths: type: integer codespaces: type: array - items: *176 + items: *177 examples: - default: *177 + default: *178 '304': *35 '500': *39 '401': *23 @@ -90283,17 +90369,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *176 + schema: *177 examples: - default: *357 + default: *358 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *176 + schema: *177 examples: - default: *357 + default: *358 '401': *23 '403': *27 '404': *6 @@ -90337,7 +90423,7 @@ paths: type: integer secrets: type: array - items: &553 + items: &554 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -90379,7 +90465,7 @@ paths: - visibility - selected_repositories_url examples: - default: *359 + default: *360 headers: Link: *37 x-github: @@ -90457,7 +90543,7 @@ paths: description: Response content: application/json: - schema: *553 + schema: *554 examples: default: value: @@ -90603,7 +90689,7 @@ paths: type: array items: *108 examples: - default: *554 + default: *555 '401': *23 '403': *27 '404': *6 @@ -90747,15 +90833,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *178 + - *179 responses: '200': description: Response content: application/json: - schema: *176 + schema: *177 examples: - default: *357 + default: *358 '304': *35 '500': *39 '401': *23 @@ -90781,7 +90867,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *178 + - *179 requestBody: required: false content: @@ -90811,9 +90897,9 @@ paths: description: Response content: application/json: - schema: *176 + schema: *177 examples: - default: *357 + default: *358 '401': *23 '403': *27 '404': *6 @@ -90835,7 +90921,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *178 + - *179 responses: '202': *94 '304': *35 @@ -90864,13 +90950,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *178 + - *179 responses: '202': description: Response content: application/json: - schema: &555 + schema: &556 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -90923,7 +91009,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &556 + default: &557 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -90955,7 +91041,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *178 + - *179 - name: export_id in: path required: true @@ -90968,9 +91054,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *556 examples: - default: *556 + default: *557 '404': *6 x-github: githubCloudOnly: false @@ -90991,7 +91077,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *178 + - *179 responses: '200': description: Response @@ -91007,9 +91093,9 @@ paths: type: integer machines: type: array - items: *358 + items: *359 examples: - default: *557 + default: *558 '304': *35 '500': *39 '401': *23 @@ -91038,7 +91124,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *178 + - *179 requestBody: required: true content: @@ -91094,11 +91180,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *252 + repository: *253 machine: anyOf: - type: 'null' - - *358 + - *359 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -91895,15 +91981,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *178 + - *179 responses: '200': description: Response content: application/json: - schema: *176 + schema: *177 examples: - default: *357 + default: *358 '304': *35 '500': *39 '400': *14 @@ -91935,15 +92021,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *178 + - *179 responses: '200': description: Response content: application/json: - schema: *176 + schema: *177 examples: - default: *357 + default: *358 '500': *39 '401': *23 '403': *27 @@ -91973,9 +92059,9 @@ paths: application/json: schema: type: array - items: *188 + items: *189 examples: - default: &570 + default: &571 value: - id: 197 name: hello_docker @@ -92076,7 +92162,7 @@ paths: application/json: schema: type: array - items: &558 + items: &559 title: Email description: Email type: object @@ -92146,9 +92232,9 @@ paths: application/json: schema: type: array - items: *558 + items: *559 examples: - default: &572 + default: &573 value: - email: octocat@github.com verified: true @@ -92225,7 +92311,7 @@ paths: application/json: schema: type: array - items: *558 + items: *559 examples: default: value: @@ -92337,7 +92423,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *176 headers: Link: *37 '304': *35 @@ -92370,7 +92456,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *176 headers: Link: *37 '304': *35 @@ -92483,7 +92569,7 @@ paths: application/json: schema: type: array - items: &559 + items: &560 title: GPG Key description: A unique encryption key type: object @@ -92628,7 +92714,7 @@ paths: - subkeys - revoked examples: - default: &583 + default: &584 value: - id: 3 name: Octocat's GPG Key @@ -92713,9 +92799,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *560 examples: - default: &560 + default: &561 value: id: 3 name: Octocat's GPG Key @@ -92772,7 +92858,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &561 + - &562 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -92784,9 +92870,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *560 examples: - default: *560 + default: *561 '404': *6 '304': *35 '403': *27 @@ -92809,7 +92895,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *561 + - *562 responses: '204': description: Response @@ -93000,7 +93086,7 @@ paths: type: array items: *57 examples: - default: *562 + default: *563 headers: Link: *37 '404': *6 @@ -93085,12 +93171,12 @@ paths: application/json: schema: anyOf: - - *167 + - *168 - type: object properties: {} additionalProperties: false examples: - default: *168 + default: *169 '204': description: Response when there are no restrictions x-github: @@ -93114,7 +93200,7 @@ paths: required: true content: application/json: - schema: *426 + schema: *427 examples: default: value: @@ -93125,7 +93211,7 @@ paths: description: Response content: application/json: - schema: *167 + schema: *168 examples: default: value: @@ -93206,7 +93292,7 @@ paths: - closed - all default: open - - *173 + - *174 - name: sort description: What to sort results by. in: query @@ -93231,7 +93317,7 @@ paths: type: array items: *72 examples: - default: *174 + default: *175 headers: Link: *37 '404': *6 @@ -93264,7 +93350,7 @@ paths: application/json: schema: type: array - items: &563 + items: &564 title: Key description: Key type: object @@ -93362,9 +93448,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: &564 + default: &565 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -93397,15 +93483,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *453 + - *454 responses: '200': description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: *564 + default: *565 '404': *6 '304': *35 '403': *27 @@ -93428,7 +93514,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *453 + - *454 responses: '204': description: Response @@ -93461,7 +93547,7 @@ paths: application/json: schema: type: array - items: &565 + items: &566 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -93540,7 +93626,7 @@ paths: - account - plan examples: - default: &566 + default: &567 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -93602,9 +93688,9 @@ paths: application/json: schema: type: array - items: *565 + items: *566 examples: - default: *566 + default: *567 headers: Link: *37 '304': *35 @@ -93644,7 +93730,7 @@ paths: application/json: schema: type: array - items: *179 + items: *180 examples: default: value: @@ -93752,7 +93838,7 @@ paths: description: Response content: application/json: - schema: *179 + schema: *180 examples: default: value: @@ -93835,7 +93921,7 @@ paths: description: Response content: application/json: - schema: *179 + schema: *180 examples: default: value: @@ -93903,7 +93989,7 @@ paths: application/json: schema: type: array - items: *181 + items: *182 examples: default: value: @@ -94165,7 +94251,7 @@ paths: description: Response content: application/json: - schema: *181 + schema: *182 examples: default: value: @@ -94345,7 +94431,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *182 + - *183 - name: exclude in: query required: false @@ -94358,7 +94444,7 @@ paths: description: Response content: application/json: - schema: *181 + schema: *182 examples: default: value: @@ -94552,7 +94638,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *182 + - *183 responses: '302': description: Response @@ -94578,7 +94664,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *182 + - *183 responses: '204': description: Response @@ -94607,8 +94693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *182 - - *567 + - *183 + - *568 responses: '204': description: Response @@ -94632,7 +94718,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *182 + - *183 - *17 - *18 responses: @@ -94644,7 +94730,7 @@ paths: type: array items: *108 examples: - default: *194 + default: *195 headers: Link: *37 '404': *6 @@ -94681,7 +94767,7 @@ paths: type: array items: *88 examples: - default: *568 + default: *569 headers: Link: *37 '304': *35 @@ -94723,7 +94809,7 @@ paths: - docker - nuget - container - - *569 + - *570 - *18 - *17 responses: @@ -94733,10 +94819,10 @@ paths: application/json: schema: type: array - items: *188 + items: *189 examples: - default: *570 - '400': *571 + default: *571 + '400': *572 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94756,16 +94842,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *190 - *191 + - *192 responses: '200': description: Response content: application/json: - schema: *188 + schema: *189 examples: - default: &584 + default: &585 value: id: 40201 name: octo-name @@ -94878,8 +94964,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *190 - *191 + - *192 responses: '204': description: Response @@ -94909,8 +94995,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *190 - *191 + - *192 - name: token description: package token schema: @@ -94942,8 +95028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *190 - *191 + - *192 - *18 - *17 - name: state @@ -94963,7 +95049,7 @@ paths: application/json: schema: type: array - items: *192 + items: *193 examples: default: value: @@ -95012,15 +95098,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *190 - *191 - - *193 + - *192 + - *194 responses: '200': description: Response content: application/json: - schema: *192 + schema: *193 examples: default: value: @@ -95056,9 +95142,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *190 - *191 - - *193 + - *192 + - *194 responses: '204': description: Response @@ -95088,9 +95174,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *190 - *191 - - *193 + - *192 + - *194 responses: '204': description: Response @@ -95148,7 +95234,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *202 examples: default: value: @@ -95217,9 +95303,9 @@ paths: application/json: schema: type: array - items: *558 + items: *559 examples: - default: *572 + default: *573 headers: Link: *37 '304': *35 @@ -95332,7 +95418,7 @@ paths: type: array items: *57 examples: - default: &579 + default: &580 summary: Default response value: - id: 1296269 @@ -95648,9 +95734,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *253 examples: - default: *254 + default: *255 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -95688,9 +95774,9 @@ paths: application/json: schema: type: array - items: *428 + items: *429 examples: - default: *573 + default: *574 headers: Link: *37 '304': *35 @@ -95713,7 +95799,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *171 + - *172 responses: '204': description: Response @@ -95736,7 +95822,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *171 + - *172 responses: '204': description: Response @@ -95769,7 +95855,7 @@ paths: application/json: schema: type: array - items: &574 + items: &575 title: Social account description: Social media account type: object @@ -95786,7 +95872,7 @@ paths: - provider - url examples: - default: &575 + default: &576 value: - provider: twitter url: https://twitter.com/github @@ -95849,9 +95935,9 @@ paths: application/json: schema: type: array - items: *574 + items: *575 examples: - default: *575 + default: *576 '422': *15 '304': *35 '404': *6 @@ -95939,7 +96025,7 @@ paths: application/json: schema: type: array - items: &576 + items: &577 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -95959,7 +96045,7 @@ paths: - title - created_at examples: - default: &591 + default: &592 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -96026,9 +96112,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *577 examples: - default: &577 + default: &578 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -96059,7 +96145,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &578 + - &579 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -96071,9 +96157,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *577 examples: - default: *577 + default: *578 '404': *6 '304': *35 '403': *27 @@ -96096,7 +96182,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *578 + - *579 responses: '204': description: Response @@ -96125,7 +96211,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &592 + - &593 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -96150,11 +96236,11 @@ paths: type: array items: *57 examples: - default-response: *579 + default-response: *580 application/vnd.github.v3.star+json: schema: type: array - items: &593 + items: &594 title: Starred Repository description: Starred Repository type: object @@ -96310,8 +96396,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *241 - *242 + - *243 responses: '204': description: Response if this repository is starred by you @@ -96339,8 +96425,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *241 - *242 + - *243 responses: '204': description: Response @@ -96364,8 +96450,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *241 - *242 + - *243 responses: '204': description: Response @@ -96400,7 +96486,7 @@ paths: type: array items: *108 examples: - default: *194 + default: *195 headers: Link: *37 '304': *35 @@ -96437,7 +96523,7 @@ paths: application/json: schema: type: array - items: *226 + items: *227 examples: default: value: @@ -96521,10 +96607,10 @@ paths: application/json: schema: oneOf: + - *553 - *552 - - *551 examples: - default-response: &581 + default-response: &582 summary: Default response value: login: octocat @@ -96559,7 +96645,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &582 + response-with-git-hub-plan-information: &583 summary: Response with GitHub plan information value: login: octocat @@ -96619,7 +96705,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *580 + - *581 - *17 responses: '200': @@ -96630,7 +96716,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *176 headers: Link: example: ; rel="next" @@ -96666,11 +96752,11 @@ paths: application/json: schema: oneOf: + - *553 - *552 - - *551 examples: - default-response: *581 - response-with-git-hub-plan-information: *582 + default-response: *582 + response-with-git-hub-plan-information: *583 '404': *6 x-github: githubCloudOnly: false @@ -96832,9 +96918,9 @@ paths: application/json: schema: type: array - items: *188 + items: *189 examples: - default: *570 + default: *571 '403': *27 '401': *23 x-github: @@ -97117,7 +97203,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *176 headers: Link: *37 x-github: @@ -97148,7 +97234,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *176 headers: Link: *37 x-github: @@ -97238,9 +97324,9 @@ paths: application/json: schema: type: array - items: *559 + items: *560 examples: - default: *583 + default: *584 headers: Link: *37 x-github: @@ -97344,7 +97430,7 @@ paths: application/json: schema: *20 examples: - default: *425 + default: *426 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97422,7 +97508,7 @@ paths: type: array items: *88 examples: - default: *568 + default: *569 headers: Link: *37 x-github: @@ -97461,7 +97547,7 @@ paths: - docker - nuget - container - - *569 + - *570 - *121 - *18 - *17 @@ -97472,12 +97558,12 @@ paths: application/json: schema: type: array - items: *188 + items: *189 examples: - default: *570 + default: *571 '403': *27 '401': *23 - '400': *571 + '400': *572 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97497,17 +97583,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *190 - *191 + - *192 - *121 responses: '200': description: Response content: application/json: - schema: *188 + schema: *189 examples: - default: *584 + default: *585 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97528,8 +97614,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *190 - *191 + - *192 - *121 responses: '204': @@ -97562,8 +97648,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *190 - *191 + - *192 - *121 - name: token description: package token @@ -97596,8 +97682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *190 - *191 + - *192 - *121 responses: '200': @@ -97606,7 +97692,7 @@ paths: application/json: schema: type: array - items: *192 + items: *193 examples: default: value: @@ -97664,16 +97750,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *190 - *191 - - *193 + - *192 + - *194 - *121 responses: '200': description: Response content: application/json: - schema: *192 + schema: *193 examples: default: value: @@ -97708,10 +97794,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *190 - *191 + - *192 - *121 - - *193 + - *194 responses: '204': description: Response @@ -97743,10 +97829,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *190 - *191 + - *192 - *121 - - *193 + - *194 responses: '204': description: Response @@ -97790,7 +97876,7 @@ paths: application/json: schema: type: array - items: *201 + items: *202 examples: default: value: @@ -98070,7 +98156,7 @@ paths: type: array items: *108 examples: - default: *194 + default: *195 headers: Link: *37 x-github: @@ -98100,9 +98186,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *586 examples: - default: *586 + default: *587 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98130,9 +98216,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *588 examples: - default: *588 + default: *589 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98160,9 +98246,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *590 examples: - default: *590 + default: *591 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98190,9 +98276,9 @@ paths: application/json: schema: type: array - items: *574 + items: *575 examples: - default: *575 + default: *576 headers: Link: *37 x-github: @@ -98222,9 +98308,9 @@ paths: application/json: schema: type: array - items: *576 + items: *577 examples: - default: *591 + default: *592 headers: Link: *37 x-github: @@ -98249,7 +98335,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *121 - - *592 + - *593 - *40 - *17 - *18 @@ -98261,11 +98347,11 @@ paths: schema: anyOf: - type: array - items: *593 + items: *594 - type: array items: *57 examples: - default-response: *579 + default-response: *580 headers: Link: *37 x-github: @@ -98296,7 +98382,7 @@ paths: type: array items: *108 examples: - default: *194 + default: *195 headers: Link: *37 x-github: @@ -98425,7 +98511,7 @@ webhooks: type: string enum: - disabled - enterprise: &594 + enterprise: &595 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -98494,7 +98580,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &595 + installation: &596 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -98515,7 +98601,7 @@ webhooks: required: - id - node_id - organization: &596 + organization: &597 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -98588,7 +98674,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &597 + repository: &598 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -99501,10 +99587,10 @@ webhooks: type: string enum: - enabled - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -99580,11 +99666,11 @@ webhooks: type: string enum: - created - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 - rule: &598 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 + rule: &599 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -99807,11 +99893,11 @@ webhooks: type: string enum: - deleted - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 - rule: *598 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 + rule: *599 sender: *4 required: - action @@ -99999,11 +100085,11 @@ webhooks: - everyone required: - from - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 - rule: *598 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 + rule: *599 sender: *4 required: - action @@ -100087,7 +100173,7 @@ webhooks: type: string enum: - completed - check_run: &600 + check_run: &601 title: CheckRun description: A check performed on the code of a given code change type: object @@ -100155,7 +100241,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *320 + items: *321 repository: *108 status: type: string @@ -100200,7 +100286,7 @@ webhooks: - examples: - neutral - deployment: *599 + deployment: *600 details_url: type: string examples: @@ -100260,7 +100346,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *320 + items: *321 started_at: type: string format: date-time @@ -100298,9 +100384,9 @@ webhooks: - output - app - pull_requests - installation: *595 - organization: *596 - repository: *597 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - check_run @@ -100693,10 +100779,10 @@ webhooks: type: string enum: - created - check_run: *600 - installation: *595 - organization: *596 - repository: *597 + check_run: *601 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - check_run @@ -101092,10 +101178,10 @@ webhooks: type: string enum: - requested_action - check_run: *600 - installation: *595 - organization: *596 - repository: *597 + check_run: *601 + installation: *596 + organization: *597 + repository: *598 requested_action: description: The action requested by the user. type: object @@ -101500,10 +101586,10 @@ webhooks: type: string enum: - rerequested - check_run: *600 - installation: *595 - organization: *596 - repository: *597 + check_run: *601 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - check_run @@ -102495,10 +102581,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -103183,10 +103269,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -103865,10 +103951,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -104175,20 +104261,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &601 + commit_oid: &602 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *594 - installation: *595 - organization: *596 - ref: &602 + enterprise: *595 + installation: *596 + organization: *597 + ref: &603 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *597 + repository: *598 sender: *4 required: - action @@ -104516,12 +104602,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *601 - enterprise: *594 - installation: *595 - organization: *596 - ref: *602 - repository: *597 + commit_oid: *602 + enterprise: *595 + installation: *596 + organization: *597 + ref: *603 + repository: *598 sender: *4 required: - action @@ -104619,7 +104705,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *335 + dismissed_comment: *336 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -104794,12 +104880,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *601 - enterprise: *594 - installation: *595 - organization: *596 - ref: *602 - repository: *597 + commit_oid: *602 + enterprise: *595 + installation: *596 + organization: *597 + ref: *603 + repository: *598 sender: *4 required: - action @@ -105131,12 +105217,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *601 - enterprise: *594 - installation: *595 - organization: *596 - ref: *602 - repository: *597 + commit_oid: *602 + enterprise: *595 + installation: *596 + organization: *597 + ref: *603 + repository: *598 sender: *4 required: - action @@ -105405,9 +105491,9 @@ webhooks: type: - string - 'null' - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -105415,7 +105501,7 @@ webhooks: type: - string - 'null' - repository: *597 + repository: *598 sender: *4 required: - action @@ -105647,12 +105733,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *601 - enterprise: *594 - installation: *595 - organization: *596 - ref: *602 - repository: *597 + commit_oid: *602 + enterprise: *595 + installation: *596 + organization: *597 + ref: *603 + repository: *598 sender: *4 required: - action @@ -105914,10 +106000,10 @@ webhooks: - updated_at - author_association - body - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -105998,18 +106084,18 @@ webhooks: type: - string - 'null' - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *596 - pusher_type: &603 + organization: *597 + pusher_type: &604 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &604 + ref: &605 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -106019,7 +106105,7 @@ webhooks: enum: - tag - branch - repository: *597 + repository: *598 sender: *4 required: - ref @@ -106101,10 +106187,10 @@ webhooks: type: string enum: - created - definition: *202 - enterprise: *594 - installation: *595 - organization: *596 + definition: *203 + enterprise: *595 + installation: *596 + organization: *597 sender: *4 required: - action @@ -106189,9 +106275,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 sender: *4 required: - action @@ -106268,10 +106354,10 @@ webhooks: type: string enum: - updated - definition: *202 - enterprise: *594 - installation: *595 - organization: *596 + definition: *203 + enterprise: *595 + installation: *596 + organization: *597 sender: *4 required: - action @@ -106348,19 +106434,19 @@ webhooks: type: string enum: - updated - enterprise: *594 - installation: *595 - repository: *597 - organization: *596 + enterprise: *595 + installation: *596 + repository: *598 + organization: *597 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *206 + items: *207 old_property_values: type: array description: The old custom property values for the repository. - items: *206 + items: *207 required: - action - repository @@ -106436,18 +106522,18 @@ webhooks: title: delete event type: object properties: - enterprise: *594 - installation: *595 - organization: *596 - pusher_type: *603 - ref: *604 + enterprise: *595 + installation: *596 + organization: *597 + pusher_type: *604 + ref: *605 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *597 + repository: *598 sender: *4 required: - ref @@ -106531,11 +106617,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *384 - installation: *595 - organization: *596 - enterprise: *594 - repository: *597 + alert: *385 + installation: *596 + organization: *597 + enterprise: *595 + repository: *598 sender: *4 required: - action @@ -106619,11 +106705,11 @@ webhooks: type: string enum: - auto_reopened - alert: *384 - installation: *595 - organization: *596 - enterprise: *594 - repository: *597 + alert: *385 + installation: *596 + organization: *597 + enterprise: *595 + repository: *598 sender: *4 required: - action @@ -106707,11 +106793,11 @@ webhooks: type: string enum: - created - alert: *384 - installation: *595 - organization: *596 - enterprise: *594 - repository: *597 + alert: *385 + installation: *596 + organization: *597 + enterprise: *595 + repository: *598 sender: *4 required: - action @@ -106793,11 +106879,11 @@ webhooks: type: string enum: - dismissed - alert: *384 - installation: *595 - organization: *596 - enterprise: *594 - repository: *597 + alert: *385 + installation: *596 + organization: *597 + enterprise: *595 + repository: *598 sender: *4 required: - action @@ -106879,11 +106965,11 @@ webhooks: type: string enum: - fixed - alert: *384 - installation: *595 - organization: *596 - enterprise: *594 - repository: *597 + alert: *385 + installation: *596 + organization: *597 + enterprise: *595 + repository: *598 sender: *4 required: - action @@ -106966,11 +107052,11 @@ webhooks: type: string enum: - reintroduced - alert: *384 - installation: *595 - organization: *596 - enterprise: *594 - repository: *597 + alert: *385 + installation: *596 + organization: *597 + enterprise: *595 + repository: *598 sender: *4 required: - action @@ -107052,11 +107138,11 @@ webhooks: type: string enum: - reopened - alert: *384 - installation: *595 - organization: *596 - enterprise: *594 - repository: *597 + alert: *385 + installation: *596 + organization: *597 + enterprise: *595 + repository: *598 sender: *4 required: - action @@ -107133,9 +107219,9 @@ webhooks: type: string enum: - created - enterprise: *594 - installation: *595 - key: &605 + enterprise: *595 + installation: *596 + key: &606 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -107173,8 +107259,8 @@ webhooks: - verified - created_at - read_only - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 required: - action @@ -107251,11 +107337,11 @@ webhooks: type: string enum: - deleted - enterprise: *594 - installation: *595 - key: *605 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + key: *606 + organization: *597 + repository: *598 sender: *4 required: - action @@ -107827,12 +107913,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 - workflow: &609 + workflow: &610 title: Workflow type: - object @@ -108570,13 +108656,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *390 + deployment: *391 pull_requests: type: array - items: *472 - repository: *597 - organization: *596 - installation: *595 + items: *473 + repository: *598 + organization: *597 + installation: *596 sender: *4 responses: '200': @@ -108647,7 +108733,7 @@ webhooks: type: string enum: - approved - approver: &606 + approver: &607 type: object properties: avatar_url: @@ -108690,11 +108776,11 @@ webhooks: type: string comment: type: string - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 - reviewers: &607 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 + reviewers: &608 type: array items: type: object @@ -108775,7 +108861,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &608 + workflow_job_run: &609 type: object properties: conclusion: @@ -109521,18 +109607,18 @@ webhooks: type: string enum: - rejected - approver: *606 + approver: *607 comment: type: string - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 - reviewers: *607 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 + reviewers: *608 sender: *4 since: type: string - workflow_job_run: *608 + workflow_job_run: *609 workflow_job_runs: type: array items: @@ -110249,13 +110335,13 @@ webhooks: type: string enum: - requested - enterprise: *594 + enterprise: *595 environment: type: string - installation: *595 - organization: *596 - repository: *597 - requestor: &614 + installation: *596 + organization: *597 + repository: *598 + requestor: &615 title: User type: - object @@ -112198,12 +112284,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 - workflow: *609 + workflow: *610 workflow_run: title: Deployment Workflow Run type: @@ -112894,7 +112980,7 @@ webhooks: type: string enum: - answered - answer: &612 + answer: &613 type: object properties: author_association: @@ -113054,7 +113140,7 @@ webhooks: - created_at - updated_at - body - discussion: &610 + discussion: &611 title: Discussion description: A Discussion in a repository. type: object @@ -113350,7 +113436,7 @@ webhooks: - id labels: type: array - items: *435 + items: *436 required: - repository_url - category @@ -113372,10 +113458,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -113502,11 +113588,11 @@ webhooks: - from required: - category - discussion: *610 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + discussion: *611 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -113589,11 +113675,11 @@ webhooks: type: string enum: - closed - discussion: *610 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + discussion: *611 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -113675,7 +113761,7 @@ webhooks: type: string enum: - created - comment: &611 + comment: &612 type: object properties: author_association: @@ -113835,11 +113921,11 @@ webhooks: - updated_at - body - reactions - discussion: *610 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + discussion: *611 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -113922,12 +114008,12 @@ webhooks: type: string enum: - deleted - comment: *611 - discussion: *610 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + comment: *612 + discussion: *611 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -114022,12 +114108,12 @@ webhooks: - from required: - body - comment: *611 - discussion: *610 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + comment: *612 + discussion: *611 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -114111,11 +114197,11 @@ webhooks: type: string enum: - created - discussion: *610 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + discussion: *611 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -114197,11 +114283,11 @@ webhooks: type: string enum: - deleted - discussion: *610 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + discussion: *611 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -114301,11 +114387,11 @@ webhooks: type: string required: - from - discussion: *610 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + discussion: *611 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -114387,10 +114473,10 @@ webhooks: type: string enum: - labeled - discussion: *610 - enterprise: *594 - installation: *595 - label: &613 + discussion: *611 + enterprise: *595 + installation: *596 + label: &614 title: Label type: object properties: @@ -114423,8 +114509,8 @@ webhooks: - color - default - description - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 required: - action @@ -114507,11 +114593,11 @@ webhooks: type: string enum: - locked - discussion: *610 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + discussion: *611 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -114593,11 +114679,11 @@ webhooks: type: string enum: - pinned - discussion: *610 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + discussion: *611 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -114679,11 +114765,11 @@ webhooks: type: string enum: - reopened - discussion: *610 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + discussion: *611 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -114768,16 +114854,16 @@ webhooks: changes: type: object properties: - new_discussion: *610 - new_repository: *597 + new_discussion: *611 + new_repository: *598 required: - new_discussion - new_repository - discussion: *610 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + discussion: *611 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -114860,10 +114946,10 @@ webhooks: type: string enum: - unanswered - discussion: *610 - old_answer: *612 - organization: *596 - repository: *597 + discussion: *611 + old_answer: *613 + organization: *597 + repository: *598 sender: *4 required: - action @@ -114945,12 +115031,12 @@ webhooks: type: string enum: - unlabeled - discussion: *610 - enterprise: *594 - installation: *595 - label: *613 - organization: *596 - repository: *597 + discussion: *611 + enterprise: *595 + installation: *596 + label: *614 + organization: *597 + repository: *598 sender: *4 required: - action @@ -115033,11 +115119,11 @@ webhooks: type: string enum: - unlocked - discussion: *610 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + discussion: *611 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -115119,11 +115205,11 @@ webhooks: type: string enum: - unpinned - discussion: *610 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + discussion: *611 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -115196,7 +115282,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *594 + enterprise: *595 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -115874,9 +115960,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *595 - organization: *596 - repository: *597 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - forkee @@ -116022,9 +116108,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 pages: description: The pages that were updated. type: array @@ -116062,7 +116148,7 @@ webhooks: - action - sha - html_url - repository: *597 + repository: *598 sender: *4 required: - pages @@ -116138,10 +116224,10 @@ webhooks: type: string enum: - created - enterprise: *594 + enterprise: *595 installation: *20 - organization: *596 - repositories: &615 + organization: *597 + repositories: &616 description: An array of repository objects that the installation can access. type: array @@ -116167,8 +116253,8 @@ webhooks: - name - full_name - private - repository: *597 - requester: *614 + repository: *598 + requester: *615 sender: *4 required: - action @@ -116243,11 +116329,11 @@ webhooks: type: string enum: - deleted - enterprise: *594 + enterprise: *595 installation: *20 - organization: *596 - repositories: *615 - repository: *597 + organization: *597 + repositories: *616 + repository: *598 requester: type: - 'null' @@ -116324,11 +116410,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *594 + enterprise: *595 installation: *20 - organization: *596 - repositories: *615 - repository: *597 + organization: *597 + repositories: *616 + repository: *598 requester: type: - 'null' @@ -116405,10 +116491,10 @@ webhooks: type: string enum: - added - enterprise: *594 + enterprise: *595 installation: *20 - organization: *596 - repositories_added: &616 + organization: *597 + repositories_added: &617 description: An array of repository objects, which were added to the installation. type: array @@ -116454,15 +116540,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *597 - repository_selection: &617 + repository: *598 + repository_selection: &618 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *614 + requester: *615 sender: *4 required: - action @@ -116541,10 +116627,10 @@ webhooks: type: string enum: - removed - enterprise: *594 + enterprise: *595 installation: *20 - organization: *596 - repositories_added: *616 + organization: *597 + repositories_added: *617 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -116571,9 +116657,9 @@ webhooks: - name - full_name - private - repository: *597 - repository_selection: *617 - requester: *614 + repository: *598 + repository_selection: *618 + requester: *615 sender: *4 required: - action @@ -116652,11 +116738,11 @@ webhooks: type: string enum: - suspend - enterprise: *594 + enterprise: *595 installation: *20 - organization: *596 - repositories: *615 - repository: *597 + organization: *597 + repositories: *616 + repository: *598 requester: type: - 'null' @@ -116838,10 +116924,10 @@ webhooks: type: string required: - from - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 target_type: type: string @@ -116920,11 +117006,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *594 + enterprise: *595 installation: *20 - organization: *596 - repositories: *615 - repository: *597 + organization: *597 + repositories: *616 + repository: *598 requester: type: - 'null' @@ -117172,8 +117258,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -118363,8 +118449,8 @@ webhooks: - state - locked - assignee - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 required: - action @@ -118444,7 +118530,7 @@ webhooks: type: string enum: - deleted - comment: &618 + comment: &619 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -118611,8 +118697,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -119800,8 +119886,8 @@ webhooks: - state - locked - assignee - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 required: - action @@ -119881,7 +119967,7 @@ webhooks: type: string enum: - edited - changes: &643 + changes: &644 description: The changes to the comment. type: object properties: @@ -119893,9 +119979,9 @@ webhooks: type: string required: - from - comment: *618 - enterprise: *594 - installation: *595 + comment: *619 + enterprise: *595 + installation: *596 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -121084,8 +121170,8 @@ webhooks: - state - locked - assignee - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 required: - action @@ -121167,10 +121253,10 @@ webhooks: type: string enum: - assigned - assignee: *614 - enterprise: *594 - installation: *595 - issue: &621 + assignee: *615 + enterprise: *595 + installation: *596 + issue: &622 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -122114,8 +122200,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 required: - action @@ -122195,8 +122281,8 @@ webhooks: type: string enum: - closed - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -123288,8 +123374,8 @@ webhooks: required: - state - closed_at - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 required: - action @@ -123368,8 +123454,8 @@ webhooks: type: string enum: - deleted - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -124306,8 +124392,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 required: - action @@ -124386,8 +124472,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -125328,7 +125414,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &619 + milestone: &620 title: Milestone description: A collection of related issues and pull requests. type: object @@ -125471,8 +125557,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 required: - action @@ -125571,8 +125657,8 @@ webhooks: type: string required: - from - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -126516,9 +126602,9 @@ webhooks: - active_lock_reason - body - reactions - label: *613 - organization: *596 - repository: *597 + label: *614 + organization: *597 + repository: *598 sender: *4 required: - action @@ -126598,8 +126684,8 @@ webhooks: type: string enum: - labeled - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -127542,9 +127628,9 @@ webhooks: - active_lock_reason - body - reactions - label: *613 - organization: *596 - repository: *597 + label: *614 + organization: *597 + repository: *598 sender: *4 required: - action @@ -127624,8 +127710,8 @@ webhooks: type: string enum: - locked - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128570,8 +128656,8 @@ webhooks: format: uri user_view_type: type: string - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 required: - action @@ -128650,8 +128736,8 @@ webhooks: type: string enum: - milestoned - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129590,9 +129676,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *619 - organization: *596 - repository: *597 + milestone: *620 + organization: *597 + repository: *598 sender: *4 required: - action @@ -131092,8 +131178,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132036,8 +132122,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 required: - action @@ -132117,9 +132203,9 @@ webhooks: type: string enum: - pinned - enterprise: *594 - installation: *595 - issue: &620 + enterprise: *595 + installation: *596 + issue: &621 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -133056,8 +133142,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 required: - action @@ -133136,8 +133222,8 @@ webhooks: type: string enum: - reopened - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134081,8 +134167,8 @@ webhooks: format: uri user_view_type: type: string - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 required: - action @@ -135582,11 +135668,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *594 - installation: *595 - issue: *620 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + issue: *621 + organization: *597 + repository: *598 sender: *4 required: - action @@ -135667,7 +135753,7 @@ webhooks: type: string enum: - unassigned - assignee: &646 + assignee: &647 title: User type: - object @@ -135739,11 +135825,11 @@ webhooks: required: - login - id - enterprise: *594 - installation: *595 - issue: *621 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + issue: *622 + organization: *597 + repository: *598 sender: *4 required: - action @@ -135822,12 +135908,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *594 - installation: *595 - issue: *621 - label: *613 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + issue: *622 + label: *614 + organization: *597 + repository: *598 sender: *4 required: - action @@ -135907,8 +135993,8 @@ webhooks: type: string enum: - unlocked - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136851,8 +136937,8 @@ webhooks: format: uri user_view_type: type: string - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 required: - action @@ -136932,11 +137018,11 @@ webhooks: type: string enum: - unpinned - enterprise: *594 - installation: *595 - issue: *620 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + issue: *621 + organization: *597 + repository: *598 sender: *4 required: - action @@ -137015,11 +137101,11 @@ webhooks: type: string enum: - created - enterprise: *594 - installation: *595 - label: *613 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + label: *614 + organization: *597 + repository: *598 sender: *4 required: - action @@ -137097,11 +137183,11 @@ webhooks: type: string enum: - deleted - enterprise: *594 - installation: *595 - label: *613 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + label: *614 + organization: *597 + repository: *598 sender: *4 required: - action @@ -137211,11 +137297,11 @@ webhooks: type: string required: - from - enterprise: *594 - installation: *595 - label: *613 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + label: *614 + organization: *597 + repository: *598 sender: *4 required: - action @@ -137297,9 +137383,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *594 - installation: *595 - marketplace_purchase: &622 + enterprise: *595 + installation: *596 + marketplace_purchase: &623 title: Marketplace Purchase type: object required: @@ -137387,8 +137473,8 @@ webhooks: type: integer unit_count: type: integer - organization: *596 - previous_marketplace_purchase: &623 + organization: *597 + previous_marketplace_purchase: &624 title: Marketplace Purchase type: object properties: @@ -137472,7 +137558,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *597 + repository: *598 sender: *4 required: - action @@ -137552,10 +137638,10 @@ webhooks: - changed effective_date: type: string - enterprise: *594 - installation: *595 - marketplace_purchase: *622 - organization: *596 + enterprise: *595 + installation: *596 + marketplace_purchase: *623 + organization: *597 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -137643,7 +137729,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *597 + repository: *598 sender: *4 required: - action @@ -137725,10 +137811,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *594 - installation: *595 - marketplace_purchase: *622 - organization: *596 + enterprise: *595 + installation: *596 + marketplace_purchase: *623 + organization: *597 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -137814,7 +137900,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *597 + repository: *598 sender: *4 required: - action @@ -137895,8 +137981,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 marketplace_purchase: title: Marketplace Purchase type: object @@ -137982,9 +138068,9 @@ webhooks: type: integer unit_count: type: integer - organization: *596 - previous_marketplace_purchase: *623 - repository: *597 + organization: *597 + previous_marketplace_purchase: *624 + repository: *598 sender: *4 required: - action @@ -138064,12 +138150,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *594 - installation: *595 - marketplace_purchase: *622 - organization: *596 - previous_marketplace_purchase: *623 - repository: *597 + enterprise: *595 + installation: *596 + marketplace_purchase: *623 + organization: *597 + previous_marketplace_purchase: *624 + repository: *598 sender: *4 required: - action @@ -138171,11 +138257,11 @@ webhooks: type: string required: - to - enterprise: *594 - installation: *595 - member: *614 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + member: *615 + organization: *597 + repository: *598 sender: *4 required: - action @@ -138277,11 +138363,11 @@ webhooks: type: - string - 'null' - enterprise: *594 - installation: *595 - member: *614 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + member: *615 + organization: *597 + repository: *598 sender: *4 required: - action @@ -138360,11 +138446,11 @@ webhooks: type: string enum: - removed - enterprise: *594 - installation: *595 - member: *614 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + member: *615 + organization: *597 + repository: *598 sender: *4 required: - action @@ -138442,11 +138528,11 @@ webhooks: type: string enum: - added - enterprise: *594 - installation: *595 - member: *614 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + member: *615 + organization: *597 + repository: *598 scope: description: The scope of the membership. Currently, can only be `team`. @@ -138524,7 +138610,7 @@ webhooks: required: - login - id - team: &624 + team: &625 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -138717,11 +138803,11 @@ webhooks: type: string enum: - removed - enterprise: *594 - installation: *595 - member: *614 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + member: *615 + organization: *597 + repository: *598 scope: description: The scope of the membership. Currently, can only be `team`. @@ -138800,7 +138886,7 @@ webhooks: required: - login - id - team: *624 + team: *625 required: - action - scope @@ -138882,8 +138968,8 @@ webhooks: type: string enum: - checks_requested - installation: *595 - merge_group: &625 + installation: *596 + merge_group: &626 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -138902,15 +138988,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *324 + head_commit: *325 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 required: - action @@ -138996,10 +139082,10 @@ webhooks: - merged - invalidated - dequeued - installation: *595 - merge_group: *625 - organization: *596 - repository: *597 + installation: *596 + merge_group: *626 + organization: *597 + repository: *598 sender: *4 required: - action @@ -139072,7 +139158,7 @@ webhooks: type: string enum: - deleted - enterprise: *594 + enterprise: *595 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -139180,12 +139266,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *595 - organization: *596 + installation: *596 + organization: *597 repository: anyOf: - type: 'null' - - *597 + - *598 sender: *4 required: - action @@ -139265,11 +139351,11 @@ webhooks: type: string enum: - closed - enterprise: *594 - installation: *595 - milestone: *619 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + milestone: *620 + organization: *597 + repository: *598 sender: *4 required: - action @@ -139348,9 +139434,9 @@ webhooks: type: string enum: - created - enterprise: *594 - installation: *595 - milestone: &626 + enterprise: *595 + installation: *596 + milestone: &627 title: Milestone description: A collection of related issues and pull requests. type: object @@ -139492,8 +139578,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 required: - action @@ -139572,11 +139658,11 @@ webhooks: type: string enum: - deleted - enterprise: *594 - installation: *595 - milestone: *619 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + milestone: *620 + organization: *597 + repository: *598 sender: *4 required: - action @@ -139686,11 +139772,11 @@ webhooks: type: string required: - from - enterprise: *594 - installation: *595 - milestone: *619 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + milestone: *620 + organization: *597 + repository: *598 sender: *4 required: - action @@ -139770,11 +139856,11 @@ webhooks: type: string enum: - opened - enterprise: *594 - installation: *595 - milestone: *626 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + milestone: *627 + organization: *597 + repository: *598 sender: *4 required: - action @@ -139853,11 +139939,11 @@ webhooks: type: string enum: - blocked - blocked_user: *614 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + blocked_user: *615 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -139936,11 +140022,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *614 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + blocked_user: *615 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -140019,9 +140105,9 @@ webhooks: type: string enum: - deleted - enterprise: *594 - installation: *595 - membership: &627 + enterprise: *595 + installation: *596 + membership: &628 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -140115,8 +140201,8 @@ webhooks: - role - organization_url - user - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 required: - action @@ -140194,11 +140280,11 @@ webhooks: type: string enum: - member_added - enterprise: *594 - installation: *595 - membership: *627 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + membership: *628 + organization: *597 + repository: *598 sender: *4 required: - action @@ -140277,8 +140363,8 @@ webhooks: type: string enum: - member_invited - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -140400,10 +140486,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 - user: *614 + user: *615 required: - action - invitation @@ -140481,11 +140567,11 @@ webhooks: type: string enum: - member_removed - enterprise: *594 - installation: *595 - membership: *627 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + membership: *628 + organization: *597 + repository: *598 sender: *4 required: - action @@ -140572,11 +140658,11 @@ webhooks: properties: from: type: string - enterprise: *594 - installation: *595 - membership: *627 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + membership: *628 + organization: *597 + repository: *598 sender: *4 required: - action @@ -140652,9 +140738,9 @@ webhooks: type: string enum: - published - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 package: description: Information about the package. type: object @@ -141177,7 +141263,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &628 + items: &629 title: Ruby Gems metadata type: object properties: @@ -141274,7 +141360,7 @@ webhooks: - owner - package_version - registry - repository: *597 + repository: *598 sender: *4 required: - action @@ -141350,9 +141436,9 @@ webhooks: type: string enum: - updated - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 package: description: Information about the package. type: object @@ -141714,7 +141800,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *628 + items: *629 source_url: type: string format: uri @@ -141785,7 +141871,7 @@ webhooks: - owner - package_version - registry - repository: *597 + repository: *598 sender: *4 required: - action @@ -141966,12 +142052,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *594 + enterprise: *595 id: type: integer - installation: *595 - organization: *596 - repository: *597 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - id @@ -142051,7 +142137,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &629 + personal_access_token_request: &630 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -142201,10 +142287,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *594 - organization: *596 + enterprise: *595 + organization: *597 sender: *4 - installation: *595 + installation: *596 required: - action - personal_access_token_request @@ -142283,11 +142369,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *629 - enterprise: *594 - organization: *596 + personal_access_token_request: *630 + enterprise: *595 + organization: *597 sender: *4 - installation: *595 + installation: *596 required: - action - personal_access_token_request @@ -142365,11 +142451,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *629 - enterprise: *594 - organization: *596 + personal_access_token_request: *630 + enterprise: *595 + organization: *597 sender: *4 - installation: *595 + installation: *596 required: - action - personal_access_token_request @@ -142446,11 +142532,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *629 - organization: *596 - enterprise: *594 + personal_access_token_request: *630 + organization: *597 + enterprise: *595 sender: *4 - installation: *595 + installation: *596 required: - action - personal_access_token_request @@ -142554,7 +142640,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *630 + last_response: *631 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -142586,8 +142672,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 zen: description: Random string of GitHub zen. @@ -142832,10 +142918,10 @@ webhooks: - from required: - note - enterprise: *594 - installation: *595 - organization: *596 - project_card: &631 + enterprise: *595 + installation: *596 + organization: *597 + project_card: &632 title: Project Card type: object properties: @@ -142958,7 +143044,7 @@ webhooks: - creator - created_at - updated_at - repository: *597 + repository: *598 sender: *4 required: - action @@ -143039,11 +143125,11 @@ webhooks: type: string enum: - created - enterprise: *594 - installation: *595 - organization: *596 - project_card: *631 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + project_card: *632 + repository: *598 sender: *4 required: - action @@ -143123,9 +143209,9 @@ webhooks: type: string enum: - deleted - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 project_card: title: Project Card type: object @@ -143255,7 +143341,7 @@ webhooks: repository: anyOf: - type: 'null' - - *597 + - *598 sender: *4 required: - action @@ -143349,11 +143435,11 @@ webhooks: - from required: - note - enterprise: *594 - installation: *595 - organization: *596 - project_card: *631 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + project_card: *632 + repository: *598 sender: *4 required: - action @@ -143447,9 +143533,9 @@ webhooks: - from required: - column_id - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 project_card: allOf: - title: Project Card @@ -143646,7 +143732,7 @@ webhooks: type: string required: - after_id - repository: *597 + repository: *598 sender: *4 required: - action @@ -143726,10 +143812,10 @@ webhooks: type: string enum: - closed - enterprise: *594 - installation: *595 - organization: *596 - project: &633 + enterprise: *595 + installation: *596 + organization: *597 + project: &634 title: Project type: object properties: @@ -143856,7 +143942,7 @@ webhooks: - creator - created_at - updated_at - repository: *597 + repository: *598 sender: *4 required: - action @@ -143936,10 +144022,10 @@ webhooks: type: string enum: - created - enterprise: *594 - installation: *595 - organization: *596 - project_column: &632 + enterprise: *595 + installation: *596 + organization: *597 + project_column: &633 title: Project Column type: object properties: @@ -143979,7 +144065,7 @@ webhooks: - name - created_at - updated_at - repository: *597 + repository: *598 sender: *4 required: - action @@ -144058,14 +144144,14 @@ webhooks: type: string enum: - deleted - enterprise: *594 - installation: *595 - organization: *596 - project_column: *632 + enterprise: *595 + installation: *596 + organization: *597 + project_column: *633 repository: anyOf: - type: 'null' - - *597 + - *598 sender: *4 required: - action @@ -144154,11 +144240,11 @@ webhooks: type: string required: - from - enterprise: *594 - installation: *595 - organization: *596 - project_column: *632 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + project_column: *633 + repository: *598 sender: *4 required: - action @@ -144238,11 +144324,11 @@ webhooks: type: string enum: - moved - enterprise: *594 - installation: *595 - organization: *596 - project_column: *632 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + project_column: *633 + repository: *598 sender: *4 required: - action @@ -144322,11 +144408,11 @@ webhooks: type: string enum: - created - enterprise: *594 - installation: *595 - organization: *596 - project: *633 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + project: *634 + repository: *598 sender: *4 required: - action @@ -144406,14 +144492,14 @@ webhooks: type: string enum: - deleted - enterprise: *594 - installation: *595 - organization: *596 - project: *633 + enterprise: *595 + installation: *596 + organization: *597 + project: *634 repository: anyOf: - type: 'null' - - *597 + - *598 sender: *4 required: - action @@ -144514,11 +144600,11 @@ webhooks: type: string required: - from - enterprise: *594 - installation: *595 - organization: *596 - project: *633 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + project: *634 + repository: *598 sender: *4 required: - action @@ -144597,11 +144683,11 @@ webhooks: type: string enum: - reopened - enterprise: *594 - installation: *595 - organization: *596 - project: *633 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + project: *634 + repository: *598 sender: *4 required: - action @@ -144682,9 +144768,9 @@ webhooks: type: string enum: - closed - installation: *595 - organization: *596 - projects_v2: &634 + installation: *596 + organization: *597 + projects_v2: &635 title: Projects v2 Project description: A projects v2 project type: object @@ -144832,9 +144918,9 @@ webhooks: type: string enum: - created - installation: *595 - organization: *596 - projects_v2: *634 + installation: *596 + organization: *597 + projects_v2: *635 sender: *4 required: - action @@ -144915,9 +145001,9 @@ webhooks: type: string enum: - deleted - installation: *595 - organization: *596 - projects_v2: *634 + installation: *596 + organization: *597 + projects_v2: *635 sender: *4 required: - action @@ -145038,9 +145124,9 @@ webhooks: type: string to: type: string - installation: *595 - organization: *596 - projects_v2: *634 + installation: *596 + organization: *597 + projects_v2: *635 sender: *4 required: - action @@ -145123,7 +145209,7 @@ webhooks: type: string enum: - archived - changes: &638 + changes: &639 type: object properties: archived_at: @@ -145139,9 +145225,9 @@ webhooks: - string - 'null' format: date-time - installation: *595 - organization: *596 - projects_v2_item: &635 + installation: *596 + organization: *597 + projects_v2_item: &636 title: Projects v2 Item description: An item belonging to a project type: object @@ -145280,9 +145366,9 @@ webhooks: - 'null' to: type: string - installation: *595 - organization: *596 - projects_v2_item: *635 + installation: *596 + organization: *597 + projects_v2_item: *636 sender: *4 required: - action @@ -145364,9 +145450,9 @@ webhooks: type: string enum: - created - installation: *595 - organization: *596 - projects_v2_item: *635 + installation: *596 + organization: *597 + projects_v2_item: *636 sender: *4 required: - action @@ -145447,9 +145533,9 @@ webhooks: type: string enum: - deleted - installation: *595 - organization: *596 - projects_v2_item: *635 + installation: *596 + organization: *597 + projects_v2_item: *636 sender: *4 required: - action @@ -145554,7 +145640,7 @@ webhooks: oneOf: - type: string - type: integer - - &636 + - &637 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -145574,7 +145660,7 @@ webhooks: required: - id - name - - &637 + - &638 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -145603,8 +145689,8 @@ webhooks: oneOf: - type: string - type: integer - - *636 - *637 + - *638 type: - 'null' - string @@ -145627,9 +145713,9 @@ webhooks: - 'null' required: - body - installation: *595 - organization: *596 - projects_v2_item: *635 + installation: *596 + organization: *597 + projects_v2_item: *636 sender: *4 required: - action @@ -145726,9 +145812,9 @@ webhooks: type: - string - 'null' - installation: *595 - organization: *596 - projects_v2_item: *635 + installation: *596 + organization: *597 + projects_v2_item: *636 sender: *4 required: - action @@ -145811,10 +145897,10 @@ webhooks: type: string enum: - restored - changes: *638 - installation: *595 - organization: *596 - projects_v2_item: *635 + changes: *639 + installation: *596 + organization: *597 + projects_v2_item: *636 sender: *4 required: - action @@ -145896,9 +145982,9 @@ webhooks: type: string enum: - reopened - installation: *595 - organization: *596 - projects_v2: *634 + installation: *596 + organization: *597 + projects_v2: *635 sender: *4 required: - action @@ -145979,9 +146065,9 @@ webhooks: type: string enum: - created - installation: *595 - organization: *596 - projects_v2_status_update: &639 + installation: *596 + organization: *597 + projects_v2_status_update: &640 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -146116,9 +146202,9 @@ webhooks: type: string enum: - deleted - installation: *595 - organization: *596 - projects_v2_status_update: *639 + installation: *596 + organization: *597 + projects_v2_status_update: *640 sender: *4 required: - action @@ -146264,9 +146350,9 @@ webhooks: - string - 'null' format: date - installation: *595 - organization: *596 - projects_v2_status_update: *639 + installation: *596 + organization: *597 + projects_v2_status_update: *640 sender: *4 required: - action @@ -146337,10 +146423,10 @@ webhooks: title: public event type: object properties: - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - repository @@ -146417,13 +146503,13 @@ webhooks: type: string enum: - assigned - assignee: *614 - enterprise: *594 - installation: *595 - number: &640 + assignee: *615 + enterprise: *595 + installation: *596 + number: &641 description: The pull request number. type: integer - organization: *596 + organization: *597 pull_request: title: Pull Request type: object @@ -148772,7 +148858,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *597 + repository: *598 sender: *4 required: - action @@ -148854,11 +148940,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 number: type: integer - organization: *596 + organization: *597 pull_request: title: Pull Request type: object @@ -151200,7 +151286,7 @@ webhooks: - draft reason: type: string - repository: *597 + repository: *598 sender: *4 required: - action @@ -151282,11 +151368,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 number: type: integer - organization: *596 + organization: *597 pull_request: title: Pull Request type: object @@ -153628,7 +153714,7 @@ webhooks: - draft reason: type: string - repository: *597 + repository: *598 sender: *4 required: - action @@ -153710,13 +153796,13 @@ webhooks: type: string enum: - closed - enterprise: *594 - installation: *595 - number: *640 - organization: *596 - pull_request: &641 + enterprise: *595 + installation: *596 + number: *641 + organization: *597 + pull_request: &642 allOf: - - *472 + - *473 - type: object properties: allow_auto_merge: @@ -153778,7 +153864,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *597 + repository: *598 sender: *4 required: - action @@ -153859,12 +153945,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *594 - installation: *595 - number: *640 - organization: *596 - pull_request: *641 - repository: *597 + enterprise: *595 + installation: *596 + number: *641 + organization: *597 + pull_request: *642 + repository: *598 sender: *4 required: - action @@ -153944,11 +154030,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *594 - milestone: *370 - number: *640 - organization: *596 - pull_request: &642 + enterprise: *595 + milestone: *371 + number: *641 + organization: *597 + pull_request: &643 title: Pull Request type: object properties: @@ -156275,7 +156361,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *597 + repository: *598 sender: *4 required: - action @@ -156354,11 +156440,11 @@ webhooks: type: string enum: - dequeued - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 number: type: integer - organization: *596 + organization: *597 pull_request: title: Pull Request type: object @@ -158704,7 +158790,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *597 + repository: *598 sender: *4 required: - action @@ -158828,12 +158914,12 @@ webhooks: type: string required: - from - enterprise: *594 - installation: *595 - number: *640 - organization: *596 - pull_request: *641 - repository: *597 + enterprise: *595 + installation: *596 + number: *641 + organization: *597 + pull_request: *642 + repository: *598 sender: *4 required: - action @@ -158913,11 +158999,11 @@ webhooks: type: string enum: - enqueued - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 number: type: integer - organization: *596 + organization: *597 pull_request: title: Pull Request type: object @@ -161248,7 +161334,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *597 + repository: *598 sender: *4 required: - action @@ -161328,11 +161414,11 @@ webhooks: type: string enum: - labeled - enterprise: *594 - installation: *595 - label: *613 - number: *640 - organization: *596 + enterprise: *595 + installation: *596 + label: *614 + number: *641 + organization: *597 pull_request: title: Pull Request type: object @@ -163680,7 +163766,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *597 + repository: *598 sender: *4 required: - action @@ -163761,10 +163847,10 @@ webhooks: type: string enum: - locked - enterprise: *594 - installation: *595 - number: *640 - organization: *596 + enterprise: *595 + installation: *596 + number: *641 + organization: *597 pull_request: title: Pull Request type: object @@ -166110,7 +166196,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *597 + repository: *598 sender: *4 required: - action @@ -166190,12 +166276,12 @@ webhooks: type: string enum: - milestoned - enterprise: *594 - milestone: *370 - number: *640 - organization: *596 - pull_request: *642 - repository: *597 + enterprise: *595 + milestone: *371 + number: *641 + organization: *597 + pull_request: *643 + repository: *598 sender: *4 required: - action @@ -166274,12 +166360,12 @@ webhooks: type: string enum: - opened - enterprise: *594 - installation: *595 - number: *640 - organization: *596 - pull_request: *641 - repository: *597 + enterprise: *595 + installation: *596 + number: *641 + organization: *597 + pull_request: *642 + repository: *598 sender: *4 required: - action @@ -166360,12 +166446,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *594 - installation: *595 - number: *640 - organization: *596 - pull_request: *641 - repository: *597 + enterprise: *595 + installation: *596 + number: *641 + organization: *597 + pull_request: *642 + repository: *598 sender: *4 required: - action @@ -166445,12 +166531,12 @@ webhooks: type: string enum: - reopened - enterprise: *594 - installation: *595 - number: *640 - organization: *596 - pull_request: *641 - repository: *597 + enterprise: *595 + installation: *596 + number: *641 + organization: *597 + pull_request: *642 + repository: *598 sender: *4 required: - action @@ -166825,9 +166911,9 @@ webhooks: - start_side - side - reactions - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 pull_request: type: object properties: @@ -169057,7 +169143,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *597 + repository: *598 sender: *4 required: - action @@ -169137,7 +169223,7 @@ webhooks: type: string enum: - deleted - comment: &644 + comment: &645 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -169430,9 +169516,9 @@ webhooks: - start_side - side - reactions - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 pull_request: type: object properties: @@ -171650,7 +171736,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *597 + repository: *598 sender: *4 required: - action @@ -171730,11 +171816,11 @@ webhooks: type: string enum: - edited - changes: *643 - comment: *644 - enterprise: *594 - installation: *595 - organization: *596 + changes: *644 + comment: *645 + enterprise: *595 + installation: *596 + organization: *597 pull_request: type: object properties: @@ -173955,7 +174041,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *597 + repository: *598 sender: *4 required: - action @@ -174036,9 +174122,9 @@ webhooks: type: string enum: - dismissed - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 pull_request: title: Simple Pull Request type: object @@ -176271,7 +176357,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *597 + repository: *598 review: description: The review that was affected. type: object @@ -176517,9 +176603,9 @@ webhooks: type: string required: - from - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 pull_request: title: Simple Pull Request type: object @@ -178633,8 +178719,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *597 - review: &645 + repository: *598 + review: &646 description: The review that was affected. type: object properties: @@ -178867,12 +178953,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 number: description: The pull request number. type: integer - organization: *596 + organization: *597 pull_request: title: Pull Request type: object @@ -181219,7 +181305,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *597 + repository: *598 requested_reviewer: title: User type: @@ -181305,12 +181391,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 number: description: The pull request number. type: integer - organization: *596 + organization: *597 pull_request: title: Pull Request type: object @@ -183664,7 +183750,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *597 + repository: *598 requested_team: title: Team description: Groups of organization members that gives permissions @@ -183859,12 +183945,12 @@ webhooks: type: string enum: - review_requested - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 number: description: The pull request number. type: integer - organization: *596 + organization: *597 pull_request: title: Pull Request type: object @@ -186213,7 +186299,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *597 + repository: *598 requested_reviewer: title: User type: @@ -186300,12 +186386,12 @@ webhooks: type: string enum: - review_requested - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 number: description: The pull request number. type: integer - organization: *596 + organization: *597 pull_request: title: Pull Request type: object @@ -188645,7 +188731,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *597 + repository: *598 requested_team: title: Team description: Groups of organization members that gives permissions @@ -188829,9 +188915,9 @@ webhooks: type: string enum: - submitted - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 pull_request: title: Simple Pull Request type: object @@ -191067,8 +191153,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *597 - review: *645 + repository: *598 + review: *646 sender: *4 required: - action @@ -191148,9 +191234,9 @@ webhooks: type: string enum: - resolved - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 pull_request: title: Simple Pull Request type: object @@ -193281,7 +193367,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *597 + repository: *598 sender: *4 thread: type: object @@ -193673,9 +193759,9 @@ webhooks: type: string enum: - unresolved - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 pull_request: title: Simple Pull Request type: object @@ -195789,7 +195875,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *597 + repository: *598 sender: *4 thread: type: object @@ -196183,10 +196269,10 @@ webhooks: type: string before: type: string - enterprise: *594 - installation: *595 - number: *640 - organization: *596 + enterprise: *595 + installation: *596 + number: *641 + organization: *597 pull_request: title: Pull Request type: object @@ -198521,7 +198607,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *597 + repository: *598 sender: *4 required: - action @@ -198603,11 +198689,11 @@ webhooks: type: string enum: - unassigned - assignee: *646 - enterprise: *594 - installation: *595 - number: *640 - organization: *596 + assignee: *647 + enterprise: *595 + installation: *596 + number: *641 + organization: *597 pull_request: title: Pull Request type: object @@ -200957,7 +201043,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *597 + repository: *598 sender: *4 required: - action @@ -201036,11 +201122,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *594 - installation: *595 - label: *613 - number: *640 - organization: *596 + enterprise: *595 + installation: *596 + label: *614 + number: *641 + organization: *597 pull_request: title: Pull Request type: object @@ -203379,7 +203465,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *597 + repository: *598 sender: *4 required: - action @@ -203460,10 +203546,10 @@ webhooks: type: string enum: - unlocked - enterprise: *594 - installation: *595 - number: *640 - organization: *596 + enterprise: *595 + installation: *596 + number: *641 + organization: *597 pull_request: title: Pull Request type: object @@ -205792,7 +205878,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *597 + repository: *598 sender: *4 required: - action @@ -205995,7 +206081,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *594 + enterprise: *595 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -206090,8 +206176,8 @@ webhooks: - url - author - committer - installation: *595 - organization: *596 + installation: *596 + organization: *597 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -206679,9 +206765,9 @@ webhooks: type: string enum: - published - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 registry_package: type: object properties: @@ -207158,7 +207244,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *628 + items: *629 summary: type: string tag_name: @@ -207214,7 +207300,7 @@ webhooks: - owner - package_version - registry - repository: *597 + repository: *598 sender: *4 required: - action @@ -207292,9 +207378,9 @@ webhooks: type: string enum: - updated - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 registry_package: type: object properties: @@ -207606,7 +207692,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *628 + items: *629 summary: type: string tag_name: @@ -207656,7 +207742,7 @@ webhooks: - owner - package_version - registry - repository: *597 + repository: *598 sender: *4 required: - action @@ -207733,10 +207819,10 @@ webhooks: type: string enum: - created - enterprise: *594 - installation: *595 - organization: *596 - release: &647 + enterprise: *595 + installation: *596 + organization: *597 + release: &648 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -208052,7 +208138,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *597 + repository: *598 sender: *4 required: - action @@ -208129,11 +208215,11 @@ webhooks: type: string enum: - deleted - enterprise: *594 - installation: *595 - organization: *596 - release: *647 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + release: *648 + repository: *598 sender: *4 required: - action @@ -208241,11 +208327,11 @@ webhooks: type: boolean required: - to - enterprise: *594 - installation: *595 - organization: *596 - release: *647 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + release: *648 + repository: *598 sender: *4 required: - action @@ -208323,9 +208409,9 @@ webhooks: type: string enum: - prereleased - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -208646,7 +208732,7 @@ webhooks: - string - 'null' format: uri - repository: *597 + repository: *598 sender: *4 required: - action @@ -208722,10 +208808,10 @@ webhooks: type: string enum: - published - enterprise: *594 - installation: *595 - organization: *596 - release: &648 + enterprise: *595 + installation: *596 + organization: *597 + release: &649 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -209043,7 +209129,7 @@ webhooks: - string - 'null' format: uri - repository: *597 + repository: *598 sender: *4 required: - action @@ -209119,11 +209205,11 @@ webhooks: type: string enum: - released - enterprise: *594 - installation: *595 - organization: *596 - release: *647 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + release: *648 + repository: *598 sender: *4 required: - action @@ -209199,11 +209285,11 @@ webhooks: type: string enum: - unpublished - enterprise: *594 - installation: *595 - organization: *596 - release: *648 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + release: *649 + repository: *598 sender: *4 required: - action @@ -209279,11 +209365,11 @@ webhooks: type: string enum: - published - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 - repository_advisory: *526 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 + repository_advisory: *527 sender: *4 required: - action @@ -209359,11 +209445,11 @@ webhooks: type: string enum: - reported - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 - repository_advisory: *526 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 + repository_advisory: *527 sender: *4 required: - action @@ -209439,10 +209525,10 @@ webhooks: type: string enum: - archived - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -209519,10 +209605,10 @@ webhooks: type: string enum: - created - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -209600,10 +209686,10 @@ webhooks: type: string enum: - deleted - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -209688,10 +209774,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -209806,10 +209892,10 @@ webhooks: - 'null' items: type: string - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -209881,10 +209967,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 status: type: string @@ -209965,10 +210051,10 @@ webhooks: type: string enum: - privatized - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -210045,10 +210131,10 @@ webhooks: type: string enum: - publicized - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -210142,10 +210228,10 @@ webhooks: - name required: - repository - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -210225,11 +210311,11 @@ webhooks: type: string enum: - created - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 - repository_ruleset: *214 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 + repository_ruleset: *215 sender: *4 required: - action @@ -210307,11 +210393,11 @@ webhooks: type: string enum: - deleted - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 - repository_ruleset: *214 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 + repository_ruleset: *215 sender: *4 required: - action @@ -210389,11 +210475,11 @@ webhooks: type: string enum: - edited - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 - repository_ruleset: *214 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 + repository_ruleset: *215 changes: type: object properties: @@ -210412,16 +210498,16 @@ webhooks: properties: added: type: array - items: *208 + items: *209 deleted: type: array - items: *208 + items: *209 updated: type: array items: type: object properties: - condition: *208 + condition: *209 changes: type: object properties: @@ -210454,16 +210540,16 @@ webhooks: properties: added: type: array - items: *213 + items: *214 deleted: type: array - items: *213 + items: *214 updated: type: array items: type: object properties: - rule: *213 + rule: *214 changes: type: object properties: @@ -210700,10 +210786,10 @@ webhooks: - from required: - owner - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -210781,10 +210867,10 @@ webhooks: type: string enum: - unarchived - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -210862,7 +210948,7 @@ webhooks: type: string enum: - create - alert: &649 + alert: &650 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -210986,10 +211072,10 @@ webhooks: type: string enum: - open - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -211199,10 +211285,10 @@ webhooks: type: string enum: - dismissed - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -211280,11 +211366,11 @@ webhooks: type: string enum: - reopen - alert: *649 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + alert: *650 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -211486,10 +211572,10 @@ webhooks: enum: - fixed - open - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -211567,7 +211653,7 @@ webhooks: type: string enum: - created - alert: &650 + alert: &651 type: object properties: number: *46 @@ -211671,10 +211757,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -211755,11 +211841,11 @@ webhooks: type: string enum: - created - alert: *650 - installation: *595 - location: *651 - organization: *596 - repository: *597 + alert: *651 + installation: *596 + location: *652 + organization: *597 + repository: *598 sender: *4 required: - location @@ -211997,11 +212083,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *650 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + alert: *651 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -212079,11 +212165,11 @@ webhooks: type: string enum: - reopened - alert: *650 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + alert: *651 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -212161,11 +212247,11 @@ webhooks: type: string enum: - resolved - alert: *650 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + alert: *651 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -212243,11 +212329,11 @@ webhooks: type: string enum: - validated - alert: *650 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + alert: *651 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -212323,11 +212409,11 @@ webhooks: type: string enum: - published - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 - security_advisory: &652 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 + security_advisory: &653 description: The details of the security advisory, including summary, description, and severity. type: object @@ -212513,11 +212599,11 @@ webhooks: type: string enum: - updated - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 - security_advisory: *652 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 + security_advisory: *653 sender: *4 required: - action @@ -212590,10 +212676,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -212779,11 +212865,11 @@ webhooks: from: type: object properties: - security_and_analysis: *207 - enterprise: *594 - installation: *595 - organization: *596 - repository: *252 + security_and_analysis: *208 + enterprise: *595 + installation: *596 + organization: *597 + repository: *253 sender: *4 required: - changes @@ -212861,12 +212947,12 @@ webhooks: type: string enum: - cancelled - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 - sponsorship: &653 + sponsorship: &654 type: object properties: created_at: @@ -213171,12 +213257,12 @@ webhooks: type: string enum: - created - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 - sponsorship: *653 + sponsorship: *654 required: - action - sponsorship @@ -213264,12 +213350,12 @@ webhooks: type: string required: - from - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 - sponsorship: *653 + sponsorship: *654 required: - action - changes @@ -213346,17 +213432,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &654 + effective_date: &655 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 - sponsorship: *653 + sponsorship: *654 required: - action - sponsorship @@ -213430,7 +213516,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &655 + changes: &656 type: object properties: tier: @@ -213474,13 +213560,13 @@ webhooks: - from required: - tier - effective_date: *654 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + effective_date: *655 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 - sponsorship: *653 + sponsorship: *654 required: - action - changes @@ -213557,13 +213643,13 @@ webhooks: type: string enum: - tier_changed - changes: *655 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + changes: *656 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 - sponsorship: *653 + sponsorship: *654 required: - action - changes @@ -213637,10 +213723,10 @@ webhooks: type: string enum: - created - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -213724,10 +213810,10 @@ webhooks: type: string enum: - deleted - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -214160,15 +214246,15 @@ webhooks: type: - string - 'null' - enterprise: *594 + enterprise: *595 id: description: The unique identifier of the status. type: integer - installation: *595 + installation: *596 name: type: string - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 sha: description: The Commit SHA. @@ -214284,9 +214370,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *72 - installation: *595 - organization: *596 - repository: *597 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -214376,9 +214462,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *72 - installation: *595 - organization: *596 - repository: *597 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -214468,9 +214554,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *72 - installation: *595 - organization: *596 - repository: *597 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -214560,9 +214646,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *72 - installation: *595 - organization: *596 - repository: *597 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -214639,12 +214725,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 - team: &656 + team: &657 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -214837,9 +214923,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 repository: title: Repository description: A git repository @@ -215309,7 +215395,7 @@ webhooks: - topics - visibility sender: *4 - team: *656 + team: *657 required: - action - team @@ -215385,9 +215471,9 @@ webhooks: type: string enum: - created - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 repository: title: Repository description: A git repository @@ -215857,7 +215943,7 @@ webhooks: - topics - visibility sender: *4 - team: *656 + team: *657 required: - action - team @@ -215934,9 +216020,9 @@ webhooks: type: string enum: - deleted - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 repository: title: Repository description: A git repository @@ -216406,7 +216492,7 @@ webhooks: - topics - visibility sender: *4 - team: *656 + team: *657 required: - action - team @@ -216550,9 +216636,9 @@ webhooks: - from required: - permissions - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 repository: title: Repository description: A git repository @@ -217022,7 +217108,7 @@ webhooks: - topics - visibility sender: *4 - team: *656 + team: *657 required: - action - changes @@ -217100,9 +217186,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 repository: title: Repository description: A git repository @@ -217572,7 +217658,7 @@ webhooks: - topics - visibility sender: *4 - team: *656 + team: *657 required: - action - team @@ -217648,10 +217734,10 @@ webhooks: type: string enum: - started - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -217724,17 +217810,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *594 + enterprise: *595 inputs: type: - object - 'null' additionalProperties: true - installation: *595 - organization: *596 + installation: *596 + organization: *597 ref: type: string - repository: *597 + repository: *598 sender: *4 workflow: type: string @@ -217816,10 +217902,10 @@ webhooks: type: string enum: - completed - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 workflow_job: allOf: @@ -218075,7 +218161,7 @@ webhooks: type: string required: - conclusion - deployment: *390 + deployment: *391 required: - action - repository @@ -218154,10 +218240,10 @@ webhooks: type: string enum: - in_progress - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 workflow_job: allOf: @@ -218439,7 +218525,7 @@ webhooks: required: - status - steps - deployment: *390 + deployment: *391 required: - action - repository @@ -218518,10 +218604,10 @@ webhooks: type: string enum: - queued - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 workflow_job: type: object @@ -218667,7 +218753,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *390 + deployment: *391 required: - action - repository @@ -218746,10 +218832,10 @@ webhooks: type: string enum: - waiting - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 workflow_job: type: object @@ -218896,7 +218982,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *390 + deployment: *391 required: - action - repository @@ -218976,12 +219062,12 @@ webhooks: type: string enum: - completed - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 - workflow: *609 + workflow: *610 workflow_run: title: Workflow Run type: object @@ -220000,12 +220086,12 @@ webhooks: type: string enum: - in_progress - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 - workflow: *609 + workflow: *610 workflow_run: title: Workflow Run type: object @@ -221009,12 +221095,12 @@ webhooks: type: string enum: - requested - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 - workflow: *609 + workflow: *610 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index 5870c29e4..7599a62ef 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -23310,7 +23310,7 @@ "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": { "get": { "summary": "Get Copilot metrics for an enterprise team", - "description": "Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.\n\nTo access this endpoint, the Copilot Metrics API access policy must be enabled or set to \"no policy\" for the enterprise within GitHub settings.\nOnly owners and billing managers for the enterprise that contains the enterprise team can view Copilot metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See \"[About enterprise accounts for Copilot Business](https://docs.github.com/admin/copilot-business-only/about-enterprise-accounts-for-copilot-business).\"\n\nUse this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.\n\nTo access this endpoint, the Copilot Metrics API access policy must be enabled or set to \"no policy\" for the enterprise within GitHub settings.\nOnly owners and billing managers for the enterprise that contains the enterprise team can view Copilot metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -23975,7 +23975,7 @@ "/enterprises/{enterprise}/team/{team_slug}/copilot/usage": { "get": { "summary": "Get a summary of Copilot usage for an enterprise team", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had five or more members with active Copilot licenses, as evaluated at the end of that day.\n\nOwners and billing managers for the enterprise that contains the enterprise team can view Copilot usage metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change. This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See \"[About enterprise accounts for Copilot Business](https://docs.github.com/admin/copilot-business-only/about-enterprise-accounts-for-copilot-business).\"\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had five or more members with active Copilot licenses, as evaluated at the end of that day.\n\nOwners and billing managers for the enterprise that contains the enterprise team can view Copilot usage metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -71871,6 +71871,35 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "standard", + "labeled", + "not_set", + null + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning when runner_type is 'labeled'." + } + } + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -72224,6 +72253,31 @@ ], "default": "disabled" }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning default setup when runner_type is 'labeled'." + } + } + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -72439,6 +72493,35 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "standard", + "labeled", + "not_set", + null + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning when runner_type is 'labeled'." + } + } + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -72568,6 +72651,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "enabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -72724,6 +72811,35 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "standard", + "labeled", + "not_set", + null + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning when runner_type is 'labeled'." + } + } + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -72859,6 +72975,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "enabled", "secret_scanning_push_protection": "enabled", "secret_scanning_delegated_bypass": "enabled", @@ -72897,6 +73017,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "enabled", "secret_scanning_push_protection": "enabled", "secret_scanning_delegated_bypass": "disabled", @@ -73318,6 +73442,35 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "standard", + "labeled", + "not_set", + null + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning when runner_type is 'labeled'." + } + } + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -73447,6 +73600,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "enabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -73638,6 +73795,31 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning default setup when runner_type is 'labeled'." + } + } + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -73839,6 +74021,35 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "standard", + "labeled", + "not_set", + null + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning when runner_type is 'labeled'." + } + } + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -73968,6 +74179,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "disabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -74458,6 +74673,35 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "standard", + "labeled", + "not_set", + null + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning when runner_type is 'labeled'." + } + } + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -74592,6 +74836,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "enabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -81492,7 +81740,7 @@ "/orgs/{org}/copilot/billing/selected_teams": { "post": { "summary": "Add teams to the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for all users within each specified team.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can add Copilot seats for their organization members.\n\nIn order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response will contain the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for all users within each specified team.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -81690,7 +81938,7 @@ }, "delete": { "summary": "Remove teams from the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all members of each team specified to \"pending cancellation\".\nThis will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team.\n\nFor more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nFor more information about disabling access to Copilot Business or Enterprise, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response will contain the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all members of each team specified to \"pending cancellation\".\nThis will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -81890,7 +82138,7 @@ "/orgs/{org}/copilot/billing/selected_users": { "post": { "summary": "Add users to the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for each user specified.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can add Copilot seats for their organization members.\n\nIn order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response will contain the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for each user specified.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -82088,7 +82336,7 @@ }, "delete": { "summary": "Remove users from the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\n\nFor more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nFor more information about disabling access to Copilot Business or Enterprise, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response will contain the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -94910,6 +95158,15 @@ "default": "total_request_count" } } + }, + { + "name": "api_route_substring", + "in": "query", + "description": "Providing a substring will filter results where the API route contains the substring. This is a case-insensitive search.", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { @@ -95070,6 +95327,15 @@ "default": "total_request_count" } } + }, + { + "name": "subject_name_substring", + "in": "query", + "description": "Providing a substring will filter results where the subject name contains the substring. This is a case-insensitive search.", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { @@ -95922,6 +96188,15 @@ "default": "total_request_count" } } + }, + { + "name": "actor_name_substring", + "in": "query", + "description": "Providing a substring will filter results where the actor name contains the substring. This is a case-insensitive search.", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { @@ -252586,6 +252861,24 @@ "not-configured" ] }, + "runner_type": { + "description": "Runner type to be used.", + "type": "string", + "enum": [ + "standard", + "labeled" + ] + }, + "runner_label": { + "description": "Runner label to be used if the runner type is labeled.", + "type": [ + "string", + "null" + ], + "examples": [ + "code-scanning" + ] + }, "query_suite": { "description": "CodeQL query suite to be used.", "type": "string", @@ -253298,6 +253591,35 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "standard", + "labeled", + "not_set", + null + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning when runner_type is 'labeled'." + } + } + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -474024,7 +474346,7 @@ }, "status": { "type": "string", - "description": "The state of the scan. Either \"completed\" or \"running\"" + "description": "The state of the scan. Either \"completed\", \"running\", or \"pending\"" }, "completed_at": { "type": [ @@ -474032,12 +474354,15 @@ "null" ], "format": "date-time", - "description": "The time that the scan was completed. Empty if the scan is active" + "description": "The time that the scan was completed. Empty if the scan is running" }, "started_at": { - "type": "string", + "type": [ + "string", + "null" + ], "format": "date-time", - "description": "The time that the scan was started" + "description": "The time that the scan was started. Empty if the scan is pending" } } } @@ -474054,7 +474379,7 @@ }, "status": { "type": "string", - "description": "The state of the scan. Either \"completed\" or \"running\"" + "description": "The state of the scan. Either \"completed\", \"running\", or \"pending\"" }, "completed_at": { "type": [ @@ -474062,12 +474387,15 @@ "null" ], "format": "date-time", - "description": "The time that the scan was completed. Empty if the scan is active" + "description": "The time that the scan was completed. Empty if the scan is running" }, "started_at": { - "type": "string", + "type": [ + "string", + "null" + ], "format": "date-time", - "description": "The time that the scan was started" + "description": "The time that the scan was started. Empty if the scan is pending" } } } @@ -474084,7 +474412,7 @@ }, "status": { "type": "string", - "description": "The state of the scan. Either \"completed\" or \"running\"" + "description": "The state of the scan. Either \"completed\", \"running\", or \"pending\"" }, "completed_at": { "type": [ @@ -474092,12 +474420,15 @@ "null" ], "format": "date-time", - "description": "The time that the scan was completed. Empty if the scan is active" + "description": "The time that the scan was completed. Empty if the scan is running" }, "started_at": { - "type": "string", + "type": [ + "string", + "null" + ], "format": "date-time", - "description": "The time that the scan was started" + "description": "The time that the scan was started. Empty if the scan is pending" } } } @@ -474116,7 +474447,7 @@ }, "status": { "type": "string", - "description": "The state of the scan. Either \"completed\" or \"running\"" + "description": "The state of the scan. Either \"completed\", \"running\", or \"pending\"" }, "completed_at": { "type": [ @@ -474124,12 +474455,15 @@ "null" ], "format": "date-time", - "description": "The time that the scan was completed. Empty if the scan is active" + "description": "The time that the scan was completed. Empty if the scan is running" }, "started_at": { - "type": "string", + "type": [ + "string", + "null" + ], "format": "date-time", - "description": "The time that the scan was started" + "description": "The time that the scan was started. Empty if the scan is pending" } } }, diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index 33efb7cb9..0d3fa3717 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -888,7 +888,7 @@ paths: - subscriptions_url - type - url - type: &225 + type: &226 type: string description: The type of credit the user is receiving. enum: @@ -1054,7 +1054,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &528 + - &529 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1585,7 +1585,7 @@ paths: schema: type: integer default: 30 - - &150 + - &151 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1601,7 +1601,7 @@ paths: application/json: schema: type: array - items: &151 + items: &152 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1694,7 +1694,7 @@ paths: - installation_id - repository_id examples: - default: &152 + default: &153 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1829,7 +1829,7 @@ paths: description: Response content: application/json: - schema: &153 + schema: &154 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1964,7 +1964,7 @@ paths: - request - response examples: - default: &154 + default: &155 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -7276,7 +7276,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &133 + items: &134 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -7361,7 +7361,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &172 + - &173 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -7420,7 +7420,7 @@ paths: parent: anyOf: - type: 'null' - - &186 + - &187 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -7614,7 +7614,7 @@ paths: - created_at additionalProperties: false examples: - default: &134 + default: &135 value: total_seats: 2 seats: @@ -8417,7 +8417,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *38 - - &136 + - &137 name: state in: query description: |- @@ -8426,7 +8426,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &137 + - &138 name: severity in: query description: |- @@ -8435,7 +8435,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &138 + - &139 name: ecosystem in: query description: |- @@ -8444,14 +8444,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &139 + - &140 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &140 + - &141 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8461,7 +8461,7 @@ paths: enum: - development - runtime - - &141 + - &142 name: sort in: query description: |- @@ -8477,7 +8477,7 @@ paths: - *40 - *41 - *42 - - &142 + - &143 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -8490,7 +8490,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &143 + - &144 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -8510,7 +8510,7 @@ paths: application/json: schema: type: array - items: &144 + items: &145 type: object description: A Dependabot alert. properties: @@ -8565,7 +8565,7 @@ paths: - development - runtime - - security_advisory: &382 + security_advisory: &383 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8832,7 +8832,7 @@ paths: and was considered fixed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - auto_dismissed_at: &383 + auto_dismissed_at: &384 type: - string - 'null' @@ -9180,7 +9180,7 @@ paths: - repository additionalProperties: false examples: - default: &145 + default: &146 value: - number: 2 state: dismissed @@ -9524,7 +9524,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *38 - - &216 + - &217 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9535,7 +9535,7 @@ paths: enum: - open - resolved - - &217 + - &218 name: secret_type in: query description: |- @@ -9545,7 +9545,7 @@ paths: required: false schema: type: string - - &218 + - &219 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9554,7 +9554,7 @@ paths: required: false schema: type: string - - &219 + - &220 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -9570,7 +9570,7 @@ paths: - *17 - *41 - *42 - - &220 + - &221 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9579,7 +9579,7 @@ paths: required: false schema: type: string - - &221 + - &222 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9588,7 +9588,7 @@ paths: schema: type: boolean default: false - - &222 + - &223 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9604,7 +9604,7 @@ paths: application/json: schema: type: array - items: &223 + items: &224 type: object properties: number: *46 @@ -9620,14 +9620,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &520 + state: &521 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &521 + resolution: &522 type: - string - 'null' @@ -9720,7 +9720,7 @@ paths: description: Whether the detected secret was found in multiple repositories in the same organization or enterprise. examples: - default: &224 + default: &225 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -9975,6 +9975,9 @@ paths: get: summary: Get Copilot metrics for an enterprise team description: |- + > [!NOTE] + > This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See "[About enterprise accounts for Copilot Business](https://docs.github.com/admin/copilot-business-only/about-enterprise-accounts-for-copilot-business)." + Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day, @@ -10050,7 +10053,7 @@ paths: summary: Get a summary of Copilot usage for an enterprise team description: |- > [!NOTE] - > This endpoint is in public preview and is subject to change. + > This endpoint is in public preview and is subject to change. This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See "[About enterprise accounts for Copilot Business](https://docs.github.com/admin/copilot-business-only/about-enterprise-accounts-for-copilot-business)." You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE for users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. @@ -10074,7 +10077,7 @@ paths: url: https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-an-enterprise-team parameters: - *38 - - &183 + - &184 name: team_slug description: The slug of the team name. in: path @@ -10114,7 +10117,7 @@ paths: type: array items: *55 examples: - default: &135 + default: &136 value: - day: '2023-10-15' total_suggestions_count: 1000 @@ -10387,7 +10390,7 @@ paths: milestone: anyOf: - type: 'null' - - &370 + - &371 title: Milestone description: A collection of related issues and pull requests. @@ -10651,7 +10654,7 @@ paths: - author_association - created_at - updated_at - comment: &429 + comment: &430 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -11224,7 +11227,7 @@ paths: url: type: string format: uri - user: &551 + user: &552 title: Public User description: Public User type: object @@ -13114,7 +13117,7 @@ paths: - closed - all default: open - - &173 + - &174 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -13165,7 +13168,7 @@ paths: type: array items: *72 examples: - default: &174 + default: &175 value: - id: 1 node_id: MDU6SXNzdWUx @@ -14561,14 +14564,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &241 + - &242 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &242 + - &243 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -14639,7 +14642,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &253 + '301': &254 description: Moved permanently content: application/json: @@ -14661,7 +14664,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &458 + - &459 name: all description: If `true`, show notifications marked as read. in: query @@ -14669,7 +14672,7 @@ paths: schema: type: boolean default: false - - &459 + - &460 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14679,7 +14682,7 @@ paths: type: boolean default: false - *62 - - &460 + - &461 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -15050,7 +15053,7 @@ paths: type: boolean examples: - false - security_and_analysis: &207 + security_and_analysis: &208 type: - object - 'null' @@ -15197,7 +15200,7 @@ paths: - url - subscription_url examples: - default: &461 + default: &462 value: - id: '1' repository: @@ -15748,7 +15751,7 @@ paths: type: array items: *88 examples: - default: &568 + default: &569 value: - login: github id: 1 @@ -16721,7 +16724,7 @@ paths: type: integer repository_cache_usages: type: array - items: &258 + items: &259 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -16894,7 +16897,7 @@ paths: - all - local_only - selected - selected_actions_url: &264 + selected_actions_url: &265 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` @@ -16984,7 +16987,7 @@ paths: type: array items: *57 examples: - default: &562 + default: &563 value: total_count: 1 repositories: @@ -17312,7 +17315,7 @@ paths: description: Response content: application/json: - schema: &268 + schema: &269 type: object properties: default_workflow_permissions: &102 @@ -17363,7 +17366,7 @@ paths: required: false content: application/json: - schema: &269 + schema: &270 type: object properties: default_workflow_permissions: *102 @@ -17801,7 +17804,7 @@ paths: type: array items: *108 examples: - default: &554 + default: &555 value: total_count: 1 repositories: @@ -18444,7 +18447,7 @@ paths: application/json: schema: type: array - items: &270 + items: &271 title: Runner Application description: Runner Application type: object @@ -18469,7 +18472,7 @@ paths: - download_url - filename examples: - default: &271 + default: &272 value: - os: osx architecture: x64 @@ -18555,7 +18558,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &272 + '201': &273 description: Response content: application/json: @@ -18669,7 +18672,7 @@ paths: - token - expires_at examples: - default: &273 + default: &274 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -18708,7 +18711,7 @@ paths: application/json: schema: *112 examples: - default: &274 + default: &275 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -18742,7 +18745,7 @@ paths: application/json: schema: *110 examples: - default: &275 + default: &276 value: id: 23 name: MBP @@ -18966,7 +18969,7 @@ paths: - *89 - *109 responses: - '200': &276 + '200': &277 description: Response content: application/json: @@ -19023,7 +19026,7 @@ paths: parameters: - *89 - *109 - - &277 + - &278 name: name description: The name of a self-hosted runner's custom label. in: path @@ -19155,7 +19158,7 @@ paths: description: Response content: application/json: - schema: &289 + schema: &290 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -19190,7 +19193,7 @@ paths: - key_id - key examples: - default: &290 + default: &291 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -19601,7 +19604,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *89 - - &263 + - &264 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -20131,7 +20134,7 @@ paths: repository_id: type: integer examples: - default: &303 + default: &304 value: attestations: - bundle: @@ -20250,7 +20253,7 @@ paths: type: array items: *4 examples: - default: &175 + default: &176 value: - login: octocat id: 1 @@ -20368,7 +20371,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *89 - - &328 + - &329 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -20378,7 +20381,7 @@ paths: schema: &124 type: string description: The name of the tool used to generate the code scanning analysis. - - &329 + - &330 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -20402,7 +20405,7 @@ paths: be returned. in: query required: false - schema: &331 + schema: &332 type: string description: State of a code scanning alert. enum: @@ -20425,7 +20428,7 @@ paths: be returned. in: query required: false - schema: &332 + schema: &333 type: string description: Severity of a code scanning alert. enum: @@ -20451,7 +20454,7 @@ paths: updated_at: *48 url: *49 html_url: *50 - instances_url: &333 + instances_url: &334 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -20473,7 +20476,7 @@ paths: - type: 'null' - *4 dismissed_at: *123 - dismissed_reason: &334 + dismissed_reason: &335 type: - string - 'null' @@ -20484,14 +20487,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &335 + dismissed_comment: &336 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &336 + rule: &337 type: object properties: id: @@ -20552,7 +20555,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &337 + tool: &338 type: object properties: name: *124 @@ -20563,15 +20566,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *125 - most_recent_instance: &338 + most_recent_instance: &339 type: object properties: - ref: &330 + ref: &331 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &344 + analysis_key: &345 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -20582,7 +20585,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &345 + category: &346 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -20997,6 +21000,29 @@ paths: - enabled - disabled - not_set + code_scanning_default_setup_options: + type: + - object + - 'null' + description: Feature options for code scanning default setup + properties: + runner_type: + type: + - string + - 'null' + enum: + - standard + - labeled + - not_set + - + description: Whether to use labeled runners or standard + GitHub runners. + runner_label: + type: + - string + - 'null' + description: The label of the runner to use for code scanning + when runner_type is 'labeled'. secret_scanning: type: string description: The enablement status of secret scanning @@ -21238,6 +21264,26 @@ paths: - disabled - not_set default: disabled + code_scanning_default_setup_options: &131 + type: + - object + - 'null' + description: Feature options for code scanning default setup + properties: + runner_type: + type: string + enum: + - standard + - labeled + - not_set + description: Whether to use labeled runners or standard GitHub + runners. + runner_label: + type: + - string + - 'null' + description: The label of the runner to use for code scanning + default setup when runner_type is 'labeled'. secret_scanning: type: string description: The enablement status of secret scanning @@ -21353,6 +21399,9 @@ paths: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: disabled + code_scanning_default_setup_options: + runner_type: not_set + runner_label: secret_scanning: enabled secret_scanning_push_protection: disabled secret_scanning_delegated_bypass: disabled @@ -21423,6 +21472,9 @@ paths: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: enabled + code_scanning_default_setup_options: + runner_type: not_set + runner_label: secret_scanning: enabled secret_scanning_push_protection: enabled secret_scanning_delegated_bypass: enabled @@ -21454,6 +21506,9 @@ paths: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: enabled + code_scanning_default_setup_options: + runner_type: not_set + runner_label: secret_scanning: enabled secret_scanning_push_protection: enabled secret_scanning_delegated_bypass: disabled @@ -21512,7 +21567,7 @@ paths: - 32 - 91 responses: - '204': &131 + '204': &132 description: A header with no content is returned. '400': *14 '403': *27 @@ -21645,6 +21700,7 @@ paths: - enabled - disabled - not_set + code_scanning_default_setup_options: *131 secret_scanning: type: string description: The enablement status of secret scanning @@ -21747,6 +21803,9 @@ paths: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: enabled + code_scanning_default_setup_options: + runner_type: not_set + runner_label: secret_scanning: disabled secret_scanning_push_protection: disabled secret_scanning_delegated_bypass: disabled @@ -21785,7 +21844,7 @@ paths: - *89 - *130 responses: - '204': *131 + '204': *132 '400': *14 '403': *27 '404': *6 @@ -22107,7 +22166,7 @@ paths: type: integer codespaces: type: array - items: &176 + items: &177 type: object title: Codespace description: A codespace. @@ -22142,7 +22201,7 @@ paths: machine: anyOf: - type: 'null' - - &358 + - &359 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -22429,7 +22488,7 @@ paths: - pulls_url - recent_folders examples: - default: &177 + default: &178 value: total_count: 3 codespaces: @@ -23053,7 +23112,7 @@ paths: type: integer secrets: type: array - items: &132 + items: &133 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -23094,7 +23153,7 @@ paths: - updated_at - visibility examples: - default: &359 + default: &360 value: total_count: 2 secrets: @@ -23132,7 +23191,7 @@ paths: description: Response content: application/json: - schema: &360 + schema: &361 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -23167,7 +23226,7 @@ paths: - key_id - key examples: - default: &361 + default: &362 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23197,9 +23256,9 @@ paths: description: Response content: application/json: - schema: *132 + schema: *133 examples: - default: &363 + default: &364 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -23668,9 +23727,9 @@ paths: currently being billed. seats: type: array - items: *133 + items: *134 examples: - default: *134 + default: *135 headers: Link: *37 '500': *39 @@ -23692,13 +23751,11 @@ paths: Purchases a GitHub Copilot seat for all users within each specified team. The organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)." - Only organization owners can add Copilot seats for their organization members. - - In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy. + Only organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy. For more information about setting up a Copilot subscription, see "[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization)." For more information about setting a suggestion matching policy, see "[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching)." - The response will contain the total number of new seats that were created and existing seats that were refreshed. + The response contains the total number of new seats that were created and existing seats that were refreshed. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: @@ -23772,14 +23829,11 @@ paths: Sets seats for all members of each team specified to "pending cancellation". This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team. - - For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)." - - For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)." + For more information about disabling access to Copilot, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)." Only organization owners can cancel Copilot seats for their organization members. - The response will contain the total number of seats set to "pending cancellation". + The response contains the total number of seats set to "pending cancellation". OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: @@ -23855,13 +23909,11 @@ paths: Purchases a GitHub Copilot seat for each user specified. The organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)." - Only organization owners can add Copilot seats for their organization members. - - In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy. + Only organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy. For more information about setting up a Copilot subscription, see "[Subscribing to Copilot for your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization)." For more information about setting a suggestion matching policy, see "[Managing policies for Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching)." - The response will contain the total number of new seats that were created and existing seats that were refreshed. + The response contains the total number of new seats that were created and existing seats that were refreshed. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: @@ -23934,14 +23986,11 @@ paths: Sets seats for all users specified to "pending cancellation". This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership. - - For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)." - - For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)." + For more information about disabling access to Copilot, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)." Only organization owners can cancel Copilot seats for their organization members. - The response will contain the total number of seats set to "pending cancellation". + The response contains the total number of seats set to "pending cancellation". OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: @@ -24135,7 +24184,7 @@ paths: type: array items: *55 examples: - default: *135 + default: *136 '500': *39 '401': *23 '403': *27 @@ -24162,17 +24211,17 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *89 - - *136 - *137 - *138 - *139 - *140 - *141 + - *142 - *40 - *41 - *42 - - *142 - *143 + - *144 - *17 responses: '200': @@ -24181,9 +24230,9 @@ paths: application/json: schema: type: array - items: *144 + items: *145 examples: - default: *145 + default: *146 '304': *35 '400': *14 '403': *27 @@ -24227,7 +24276,7 @@ paths: type: integer secrets: type: array - items: &146 + items: &147 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -24306,7 +24355,7 @@ paths: description: Response content: application/json: - schema: &386 + schema: &387 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -24325,7 +24374,7 @@ paths: - key_id - key examples: - default: &387 + default: &388 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -24355,7 +24404,7 @@ paths: description: Response content: application/json: - schema: *146 + schema: *147 examples: default: value: @@ -24652,7 +24701,7 @@ paths: application/json: schema: type: array - items: &188 + items: &189 title: Package description: A software package type: object @@ -24723,7 +24772,7 @@ paths: - created_at - updated_at examples: - default: &189 + default: &190 value: - id: 197 name: hello_docker @@ -24890,7 +24939,7 @@ paths: application/json: schema: type: array - items: &169 + items: &170 title: Organization Invitation description: Organization Invitation type: object @@ -24944,7 +24993,7 @@ paths: - invitation_teams_url - node_id examples: - default: &170 + default: &171 value: - id: 1 login: monalisa @@ -25011,7 +25060,7 @@ paths: application/json: schema: type: array - items: &147 + items: &148 title: Org Hook description: Org Hook type: object @@ -25196,9 +25245,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *148 examples: - default: &148 + default: &149 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -25246,7 +25295,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *89 - - &149 + - &150 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -25259,9 +25308,9 @@ paths: description: Response content: application/json: - schema: *147 + schema: *148 examples: - default: *148 + default: *149 '404': *6 x-github: githubCloudOnly: false @@ -25289,7 +25338,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *89 - - *149 + - *150 requestBody: required: false content: @@ -25335,7 +25384,7 @@ paths: description: Response content: application/json: - schema: *147 + schema: *148 examples: default: value: @@ -25377,7 +25426,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *89 - - *149 + - *150 responses: '204': description: Response @@ -25405,7 +25454,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *89 - - *149 + - *150 responses: '200': description: Response @@ -25436,7 +25485,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *89 - - *149 + - *150 requestBody: required: false content: @@ -25487,9 +25536,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *89 - - *149 - - *17 - *150 + - *17 + - *151 responses: '200': description: Response @@ -25497,9 +25546,9 @@ paths: application/json: schema: type: array - items: *151 + items: *152 examples: - default: *152 + default: *153 '400': *14 '422': *15 x-github: @@ -25525,16 +25574,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *89 - - *149 + - *150 - *16 responses: '200': description: Response content: application/json: - schema: *153 + schema: *154 examples: - default: *154 + default: *155 '400': *14 '422': *15 x-github: @@ -25560,7 +25609,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *89 - - *149 + - *150 - *16 responses: '202': *94 @@ -25590,7 +25639,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *89 - - *149 + - *150 responses: '204': description: Response @@ -25613,7 +25662,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *89 - - &159 + - &160 name: actor_type in: path description: The type of the actor @@ -25626,14 +25675,14 @@ paths: - fine_grained_pats - oauth_apps - github_apps_user_to_server - - &160 + - &161 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &155 + - &156 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -25641,7 +25690,7 @@ paths: required: true schema: type: string - - &156 + - &157 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -25669,6 +25718,13 @@ paths: - api_route - total_request_count default: total_request_count + - name: api_route_substring + in: query + description: Providing a substring will filter results where the API route + contains the substring. This is a case-insensitive search. + required: false + schema: + type: string responses: '200': description: Response @@ -25729,12 +25785,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *89 - - *155 - *156 + - *157 - *18 - *17 - *40 - - &165 + - &166 name: sort description: The property to sort the results by. in: query @@ -25750,6 +25806,13 @@ paths: - subject_name - total_request_count default: total_request_count + - name: subject_name_substring + in: query + description: Providing a substring will filter results where the subject name + contains the substring. This is a case-insensitive search. + required: false + schema: + type: string responses: '200': description: Response @@ -25807,14 +25870,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *89 - - *155 - *156 + - *157 responses: '200': description: Response content: application/json: - schema: &157 + schema: &158 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -25830,7 +25893,7 @@ paths: type: integer format: int64 examples: - default: &158 + default: &159 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -25851,23 +25914,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *89 - - &161 + - &162 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *155 - *156 + - *157 responses: '200': description: Response content: application/json: - schema: *157 + schema: *158 examples: - default: *158 + default: *159 x-github: enabledForGitHubApps: true category: orgs @@ -25886,18 +25949,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *89 - - *155 - *156 - - *159 + - *157 - *160 + - *161 responses: '200': description: Response content: application/json: - schema: *157 + schema: *158 examples: - default: *158 + default: *159 x-github: enabledForGitHubApps: true category: orgs @@ -25915,9 +25978,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *89 - - *155 - *156 - - &162 + - *157 + - &163 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -25930,7 +25993,7 @@ paths: description: Response content: application/json: - schema: &163 + schema: &164 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -25946,7 +26009,7 @@ paths: type: integer format: int64 examples: - default: &164 + default: &165 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -25983,18 +26046,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *89 - - *161 - - *155 - - *156 - *162 + - *156 + - *157 + - *163 responses: '200': description: Response content: application/json: - schema: *163 + schema: *164 examples: - default: *164 + default: *165 x-github: enabledForGitHubApps: true category: orgs @@ -26012,19 +26075,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *89 - - *159 - *160 - - *155 + - *161 - *156 - - *162 + - *157 + - *163 responses: '200': description: Response content: application/json: - schema: *163 + schema: *164 examples: - default: *164 + default: *165 x-github: enabledForGitHubApps: true category: orgs @@ -26042,13 +26105,20 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *89 - - *161 - - *155 + - *162 - *156 + - *157 - *18 - *17 - *40 - - *165 + - *166 + - name: actor_name_substring + in: query + description: Providing a substring will filter results where the actor name + contains the substring. This is a case-insensitive search. + required: false + schema: + type: string responses: '200': description: Response @@ -26125,7 +26195,7 @@ paths: application/json: schema: *20 examples: - default: &425 + default: &426 value: id: 1 account: @@ -26291,12 +26361,12 @@ paths: application/json: schema: anyOf: - - &167 + - &168 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &166 + limit: &167 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -26324,7 +26394,7 @@ paths: properties: {} additionalProperties: false examples: - default: &168 + default: &169 value: limit: collaborators_only origin: organization @@ -26353,13 +26423,13 @@ paths: required: true content: application/json: - schema: &426 + schema: &427 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *166 + limit: *167 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -26384,9 +26454,9 @@ paths: description: Response content: application/json: - schema: *167 + schema: *168 examples: - default: *168 + default: *169 '422': *15 x-github: githubCloudOnly: false @@ -26462,9 +26532,9 @@ paths: application/json: schema: type: array - items: *169 + items: *170 examples: - default: *170 + default: *171 headers: Link: *37 '404': *6 @@ -26541,7 +26611,7 @@ paths: description: Response content: application/json: - schema: *169 + schema: *170 examples: default: value: @@ -26596,7 +26666,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *89 - - &171 + - &172 name: invitation_id description: The unique identifier of the invitation. in: path @@ -26627,7 +26697,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *89 - - *171 + - *172 - *17 - *18 responses: @@ -26637,9 +26707,9 @@ paths: application/json: schema: type: array - items: *172 + items: *173 examples: - default: &187 + default: &188 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -26714,7 +26784,7 @@ paths: - closed - all default: open - - *173 + - *174 - name: sort description: What to sort results by. in: query @@ -26739,7 +26809,7 @@ paths: type: array items: *72 examples: - default: *174 + default: *175 headers: Link: *37 '404': *6 @@ -26797,7 +26867,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *176 headers: Link: *37 '422': *15 @@ -26893,9 +26963,9 @@ paths: type: integer codespaces: type: array - items: *176 + items: *177 examples: - default: *177 + default: *178 '304': *35 '500': *39 '401': *23 @@ -26922,7 +26992,7 @@ paths: parameters: - *89 - *121 - - &178 + - &179 name: codespace_name in: path required: true @@ -26957,15 +27027,15 @@ paths: parameters: - *89 - *121 - - *178 + - *179 responses: '200': description: Response content: application/json: - schema: *176 + schema: *177 examples: - default: &357 + default: &358 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -27145,7 +27215,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *133 + schema: *134 examples: default: value: @@ -27220,7 +27290,7 @@ paths: description: Response content: application/json: - schema: &179 + schema: &180 title: Org Membership description: Org Membership type: object @@ -27273,7 +27343,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &180 + response-if-user-has-an-active-admin-membership-with-organization: &181 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -27370,9 +27440,9 @@ paths: description: Response content: application/json: - schema: *179 + schema: *180 examples: - response-if-user-already-had-membership-with-organization: *180 + response-if-user-already-had-membership-with-organization: *181 '422': *15 '403': *27 x-github: @@ -27441,7 +27511,7 @@ paths: application/json: schema: type: array - items: &181 + items: &182 title: Migration description: A migration. type: object @@ -27779,7 +27849,7 @@ paths: description: Response content: application/json: - schema: *181 + schema: *182 examples: default: value: @@ -27958,7 +28028,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *89 - - &182 + - &183 name: migration_id description: The unique identifier of the migration. in: path @@ -27986,7 +28056,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *181 + schema: *182 examples: default: value: @@ -28156,7 +28226,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *89 - - *182 + - *183 responses: '302': description: Response @@ -28178,7 +28248,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *89 - - *182 + - *183 responses: '204': description: Response @@ -28202,8 +28272,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *89 - - *182 - - &567 + - *183 + - &568 name: repo_name description: repo_name parameter in: path @@ -28231,7 +28301,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *89 - - *182 + - *183 - *17 - *18 responses: @@ -28243,7 +28313,7 @@ paths: type: array items: *108 examples: - default: &194 + default: &195 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -28396,7 +28466,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &185 + items: &186 title: Organization Role description: Organization roles type: object @@ -28546,7 +28616,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *89 - - *183 + - *184 responses: '204': description: Response @@ -28572,8 +28642,8 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *89 - - *183 - - &184 + - *184 + - &185 name: role_id description: The unique identifier of the role. in: path @@ -28609,8 +28679,8 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *89 - - *183 - *184 + - *185 responses: '204': description: Response @@ -28663,7 +28733,7 @@ paths: parameters: - *89 - *121 - - *184 + - *185 responses: '204': description: Response @@ -28695,7 +28765,7 @@ paths: parameters: - *89 - *121 - - *184 + - *185 responses: '204': description: Response @@ -28724,13 +28794,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *89 - - *184 + - *185 responses: '200': description: Response content: application/json: - schema: *185 + schema: *186 examples: default: value: @@ -28781,7 +28851,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *89 - - *184 + - *185 - *17 - *18 responses: @@ -28860,7 +28930,7 @@ paths: parent: anyOf: - type: 'null' - - *186 + - *187 required: - id - node_id @@ -28874,7 +28944,7 @@ paths: - slug - parent examples: - default: *187 + default: *188 headers: Link: *37 '404': @@ -28904,7 +28974,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *89 - - *184 + - *185 - *17 - *18 responses: @@ -28933,7 +29003,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *186 + items: *187 name: type: - string @@ -29050,7 +29120,7 @@ paths: - type - url examples: - default: *175 + default: *176 headers: Link: *37 '404': @@ -29098,7 +29168,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *176 headers: Link: *37 x-github: @@ -29240,7 +29310,7 @@ paths: - nuget - container - *89 - - &569 + - &570 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -29276,12 +29346,12 @@ paths: application/json: schema: type: array - items: *188 + items: *189 examples: - default: *189 + default: *190 '403': *27 '401': *23 - '400': &571 + '400': &572 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -29303,7 +29373,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &190 + - &191 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -29321,7 +29391,7 @@ paths: - docker - nuget - container - - &191 + - &192 name: package_name description: The name of the package. in: path @@ -29334,7 +29404,7 @@ paths: description: Response content: application/json: - schema: *188 + schema: *189 examples: default: value: @@ -29386,8 +29456,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *190 - *191 + - *192 - *89 responses: '204': @@ -29420,8 +29490,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *190 - *191 + - *192 - *89 - name: token description: package token @@ -29454,8 +29524,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *190 - *191 + - *192 - *89 - *18 - *17 @@ -29476,7 +29546,7 @@ paths: application/json: schema: type: array - items: &192 + items: &193 title: Package Version description: A version of a software package type: object @@ -29611,10 +29681,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *190 - *191 + - *192 - *89 - - &193 + - &194 name: package_version_id description: Unique identifier of the package version. in: path @@ -29626,7 +29696,7 @@ paths: description: Response content: application/json: - schema: *192 + schema: *193 examples: default: value: @@ -29662,10 +29732,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *190 - *191 + - *192 - *89 - - *193 + - *194 responses: '204': description: Response @@ -29697,10 +29767,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *190 - *191 + - *192 - *89 - - *193 + - *194 responses: '204': description: Response @@ -29730,7 +29800,7 @@ paths: - *89 - *17 - *18 - - &195 + - &196 name: sort description: The property by which to sort the results. in: query @@ -29741,7 +29811,7 @@ paths: - created_at default: created_at - *40 - - &196 + - &197 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -29753,7 +29823,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &197 + - &198 name: repository description: The name of the repository to use to filter the results. in: query @@ -29762,7 +29832,7 @@ paths: type: string examples: - Hello-World - - &198 + - &199 name: permission description: The permission to use to filter the results. in: query @@ -29771,7 +29841,7 @@ paths: type: string examples: - issues_read - - &199 + - &200 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -29781,7 +29851,7 @@ paths: schema: type: string format: date-time - - &200 + - &201 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -30055,7 +30125,7 @@ paths: '422': *15 '404': *6 '403': *27 - '204': *131 + '204': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -30098,7 +30168,7 @@ paths: type: array items: *108 examples: - default: *194 + default: *195 headers: Link: *37 x-github: @@ -30124,13 +30194,13 @@ paths: - *89 - *17 - *18 - - *195 - - *40 - *196 + - *40 - *197 - *198 - *199 - *200 + - *201 responses: '500': *39 '422': *15 @@ -30371,7 +30441,7 @@ paths: responses: '500': *39 '404': *6 - '204': *131 + '204': *132 '403': *27 '422': *15 x-github: @@ -30414,7 +30484,7 @@ paths: type: array items: *108 examples: - default: *194 + default: *195 headers: Link: *37 x-github: @@ -30457,7 +30527,7 @@ paths: application/json: schema: type: array - items: &201 + items: &202 title: Project description: Projects are a way to organize columns and cards of work. @@ -30636,7 +30706,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *202 examples: default: value: @@ -30674,7 +30744,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &250 + '410': &251 description: Gone content: application/json: @@ -30706,7 +30776,7 @@ paths: application/json: schema: type: array - items: &202 + items: &203 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -30782,7 +30852,7 @@ paths: - property_name - value_type examples: - default: &203 + default: &204 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -30837,7 +30907,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *202 + items: *203 minItems: 1 maxItems: 100 required: @@ -30867,9 +30937,9 @@ paths: application/json: schema: type: array - items: *202 + items: *203 examples: - default: *203 + default: *204 '403': *27 '404': *6 x-github: @@ -30891,7 +30961,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *89 - - &204 + - &205 name: custom_property_name description: The custom property name in: path @@ -30903,9 +30973,9 @@ paths: description: Response content: application/json: - schema: *202 + schema: *203 examples: - default: &205 + default: &206 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -30940,7 +31010,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *89 - - *204 + - *205 requestBody: required: true content: @@ -31005,9 +31075,9 @@ paths: description: Response content: application/json: - schema: *202 + schema: *203 examples: - default: *205 + default: *206 '403': *27 '404': *6 x-github: @@ -31031,9 +31101,9 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *89 - - *204 + - *205 responses: - '204': *131 + '204': *132 '403': *27 '404': *6 x-github: @@ -31095,7 +31165,7 @@ paths: - octocat/Hello-World properties: type: array - items: &206 + items: &207 title: Custom Property Value description: Custom property name and associated value type: object @@ -31185,7 +31255,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *206 + items: *207 required: - repository_names - properties @@ -31238,7 +31308,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *176 headers: Link: *37 x-github: @@ -31377,7 +31447,7 @@ paths: type: array items: *108 examples: - default: *194 + default: *195 headers: Link: *37 x-github: @@ -31580,7 +31650,7 @@ paths: description: Response content: application/json: - schema: &252 + schema: &253 title: Full Repository description: Full Repository type: object @@ -32045,7 +32115,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &376 + code_of_conduct: &377 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -32075,7 +32145,7 @@ paths: - key - name - html_url - security_and_analysis: *207 + security_and_analysis: *208 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -32159,7 +32229,7 @@ paths: - network_count - subscribers_count examples: - default: &254 + default: &255 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -32680,7 +32750,7 @@ paths: - *89 - *17 - *18 - - &507 + - &508 name: targets description: | A comma-separated list of rule targets to filter by. @@ -32699,7 +32769,7 @@ paths: application/json: schema: type: array - items: &214 + items: &215 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -32732,7 +32802,7 @@ paths: source: type: string description: The name of the source - enforcement: &210 + enforcement: &211 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -32745,7 +32815,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &211 + items: &212 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -32811,7 +32881,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &208 + - &209 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -32835,7 +32905,7 @@ paths: match. items: type: string - - &212 + - &213 title: Organization ruleset conditions type: object description: |- @@ -32848,7 +32918,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *208 + - *209 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -32882,7 +32952,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *208 + - *209 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -32904,7 +32974,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *208 + - *209 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -32917,7 +32987,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &209 + items: &210 title: Repository ruleset property targeting definition type: object @@ -32950,7 +33020,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *209 + items: *210 required: - repository_property type: @@ -32958,12 +33028,12 @@ paths: - object rules: type: array - items: &213 + items: &214 title: Repository Rule type: object description: A repository rule. oneOf: - - &489 + - &490 title: creation description: Only allow users with bypass permission to create matching refs. @@ -32975,7 +33045,7 @@ paths: type: string enum: - creation - - &490 + - &491 title: update description: Only allow users with bypass permission to update matching refs. @@ -32996,7 +33066,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &492 + - &493 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -33008,7 +33078,7 @@ paths: type: string enum: - deletion - - &493 + - &494 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -33020,7 +33090,7 @@ paths: type: string enum: - required_linear_history - - &494 + - &495 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -33098,7 +33168,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &495 + - &496 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -33122,7 +33192,7 @@ paths: type: string required: - required_deployment_environments - - &496 + - &497 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -33134,7 +33204,7 @@ paths: type: string enum: - required_signatures - - &497 + - &498 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -33180,7 +33250,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &498 + - &499 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -33228,7 +33298,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &499 + - &500 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -33240,7 +33310,7 @@ paths: type: string enum: - non_fast_forward - - &500 + - &501 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -33276,7 +33346,7 @@ paths: required: - operator - pattern - - &501 + - &502 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -33312,7 +33382,7 @@ paths: required: - operator - pattern - - &502 + - &503 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -33348,7 +33418,7 @@ paths: required: - operator - pattern - - &503 + - &504 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -33384,7 +33454,7 @@ paths: required: - operator - pattern - - &504 + - &505 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -33510,7 +33580,7 @@ paths: maximum: 100 required: - max_file_size - - &505 + - &506 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -33560,7 +33630,7 @@ paths: - repository_id required: - workflows - - &506 + - &507 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -33693,16 +33763,16 @@ paths: - tag - push default: branch - enforcement: *210 + enforcement: *211 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *211 - conditions: *212 + items: *212 + conditions: *213 rules: type: array description: An array of rules within the ruleset. - items: *213 + items: *214 required: - name - enforcement @@ -33740,9 +33810,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *215 examples: - default: &215 + default: &216 value: id: 21 name: super cool ruleset @@ -33797,7 +33867,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *89 - - &508 + - &509 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -33812,7 +33882,7 @@ paths: in: query schema: type: string - - &509 + - &510 name: time_period description: |- The time period to filter by. @@ -33828,14 +33898,14 @@ paths: - week - month default: day - - &510 + - &511 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &511 + - &512 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -33855,7 +33925,7 @@ paths: description: Response content: application/json: - schema: &512 + schema: &513 title: Rule Suites description: Response type: array @@ -33911,7 +33981,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &513 + default: &514 value: - id: 21 actor_id: 12 @@ -33955,7 +34025,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *89 - - &514 + - &515 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -33971,7 +34041,7 @@ paths: description: Response content: application/json: - schema: &515 + schema: &516 title: Rule Suite description: Response type: object @@ -34078,7 +34148,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &516 + default: &517 value: id: 21 actor_id: 12 @@ -34151,9 +34221,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *215 examples: - default: *215 + default: *216 '404': *6 '500': *39 put: @@ -34196,16 +34266,16 @@ paths: - branch - tag - push - enforcement: *210 + enforcement: *211 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *211 - conditions: *212 + items: *212 + conditions: *213 rules: description: An array of rules within the ruleset. type: array - items: *213 + items: *214 examples: default: value: @@ -34240,9 +34310,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *215 examples: - default: *215 + default: *216 '404': *6 '500': *39 delete: @@ -34289,14 +34359,14 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *89 - - *216 - *217 - *218 - *219 + - *220 - *40 - *18 - *17 - - &518 + - &519 name: before description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -34306,7 +34376,7 @@ paths: required: false schema: type: string - - &519 + - &520 name: after description: A cursor, as given in the [Link header](https://docs.github.com/rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -34316,9 +34386,9 @@ paths: required: false schema: type: string - - *220 - *221 - *222 + - *223 responses: '200': description: Response @@ -34326,9 +34396,9 @@ paths: application/json: schema: type: array - items: *223 + items: *224 examples: - default: *224 + default: *225 headers: Link: *37 '404': *6 @@ -34398,7 +34468,7 @@ paths: application/json: schema: type: array - items: &526 + items: &527 description: A repository security advisory. type: object properties: @@ -34642,7 +34712,7 @@ paths: login: type: string description: The username of the user credited. - type: *225 + type: *226 credits_detailed: type: - array @@ -34653,7 +34723,7 @@ paths: type: object properties: user: *4 - type: *225 + type: *226 state: type: string description: The state of the user's acceptance of the @@ -34679,7 +34749,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *172 + items: *173 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -34717,7 +34787,7 @@ paths: - private_fork additionalProperties: false examples: - default: &527 + default: &528 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -35107,9 +35177,9 @@ paths: application/json: schema: type: array - items: *186 + items: *187 examples: - default: *187 + default: *188 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35133,7 +35203,7 @@ paths: url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - *89 - - *183 + - *184 responses: '204': description: Response @@ -35159,7 +35229,7 @@ paths: url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *89 - - *183 + - *184 responses: '204': description: Response @@ -35191,7 +35261,7 @@ paths: description: Response content: application/json: - schema: &585 + schema: &586 type: object properties: total_minutes_used: @@ -35261,7 +35331,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &586 + default: &587 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -35297,7 +35367,7 @@ paths: description: Response content: application/json: - schema: &587 + schema: &588 type: object properties: total_gigabytes_bandwidth_used: @@ -35315,7 +35385,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &588 + default: &589 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -35347,7 +35417,7 @@ paths: description: Response content: application/json: - schema: &589 + schema: &590 type: object properties: days_left_in_billing_cycle: @@ -35365,7 +35435,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &590 + default: &591 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -35400,7 +35470,7 @@ paths: url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *89 - - *183 + - *184 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -35473,7 +35543,7 @@ paths: url: https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team parameters: - *89 - - *183 + - *184 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -35507,7 +35577,7 @@ paths: type: array items: *55 examples: - default: *135 + default: *136 '500': *39 '401': *23 '403': *27 @@ -35539,9 +35609,9 @@ paths: application/json: schema: type: array - items: *172 + items: *173 examples: - default: *187 + default: *188 headers: Link: *37 '403': *27 @@ -35635,7 +35705,7 @@ paths: description: Response content: application/json: - schema: &226 + schema: &227 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -35709,7 +35779,7 @@ paths: parent: anyOf: - type: 'null' - - *186 + - *187 members_count: type: integer examples: @@ -36015,7 +36085,7 @@ paths: - repos_count - organization examples: - default: &227 + default: &228 value: id: 1 node_id: MDQ6VGVhbTE= @@ -36086,15 +36156,15 @@ paths: url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - *89 - - *183 + - *184 responses: '200': description: Response content: application/json: - schema: *226 + schema: *227 examples: - default: *227 + default: *228 '404': *6 x-github: githubCloudOnly: false @@ -36116,7 +36186,7 @@ paths: url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - *89 - - *183 + - *184 requestBody: required: false content: @@ -36179,16 +36249,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *226 + schema: *227 examples: - default: *227 + default: *228 '201': description: Response content: application/json: - schema: *226 + schema: *227 examples: - default: *227 + default: *228 '404': *6 '422': *15 '403': *27 @@ -36214,7 +36284,7 @@ paths: url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - *89 - - *183 + - *184 responses: '204': description: Response @@ -36241,7 +36311,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - *89 - - *183 + - *184 - *40 - *17 - *18 @@ -36258,7 +36328,7 @@ paths: application/json: schema: type: array - items: &228 + items: &229 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -36369,7 +36439,7 @@ paths: - updated_at - url examples: - default: &541 + default: &542 value: - author: login: octocat @@ -36444,7 +36514,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - *89 - - *183 + - *184 requestBody: required: true content: @@ -36478,9 +36548,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: &229 + default: &230 value: author: login: octocat @@ -36553,8 +36623,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - *89 - - *183 - - &230 + - *184 + - &231 name: discussion_number description: The number that identifies the discussion. in: path @@ -36566,9 +36636,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: *229 + default: *230 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36591,8 +36661,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - *89 - - *183 - - *230 + - *184 + - *231 requestBody: required: false content: @@ -36615,9 +36685,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: &542 + default: &543 value: author: login: octocat @@ -36688,8 +36758,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - *89 - - *183 - - *230 + - *184 + - *231 responses: '204': description: Response @@ -36716,8 +36786,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - *89 - - *183 - - *230 + - *184 + - *231 - *40 - *17 - *18 @@ -36728,7 +36798,7 @@ paths: application/json: schema: type: array - items: &231 + items: &232 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -36808,7 +36878,7 @@ paths: - updated_at - url examples: - default: &543 + default: &544 value: - author: login: octocat @@ -36877,8 +36947,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - *89 - - *183 - - *230 + - *184 + - *231 requestBody: required: true content: @@ -36900,9 +36970,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *232 examples: - default: &232 + default: &233 value: author: login: octocat @@ -36969,9 +37039,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - *89 - - *183 - - *230 - - &233 + - *184 + - *231 + - &234 name: comment_number description: The number that identifies the comment. in: path @@ -36983,9 +37053,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *232 examples: - default: *232 + default: *233 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37008,9 +37078,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - *89 - - *183 - - *230 - - *233 + - *184 + - *231 + - *234 requestBody: required: true content: @@ -37032,9 +37102,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *232 examples: - default: &544 + default: &545 value: author: login: octocat @@ -37099,9 +37169,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *89 - - *183 - - *230 - - *233 + - *184 + - *231 + - *234 responses: '204': description: Response @@ -37128,9 +37198,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *89 - - *183 - - *230 - - *233 + - *184 + - *231 + - *234 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -37156,7 +37226,7 @@ paths: application/json: schema: type: array - items: &234 + items: &235 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -37200,7 +37270,7 @@ paths: - content - created_at examples: - default: &236 + default: &237 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -37251,9 +37321,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *89 - - *183 - - *230 - - *233 + - *184 + - *231 + - *234 requestBody: required: true content: @@ -37286,9 +37356,9 @@ paths: team discussion comment content: application/json: - schema: *234 + schema: *235 examples: - default: &235 + default: &236 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -37317,9 +37387,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *235 + default: *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -37343,10 +37413,10 @@ paths: url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *89 - - *183 - - *230 - - *233 - - &237 + - *184 + - *231 + - *234 + - &238 name: reaction_id description: The unique identifier of the reaction. in: path @@ -37379,8 +37449,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *89 - - *183 - - *230 + - *184 + - *231 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -37406,9 +37476,9 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: - default: *236 + default: *237 headers: Link: *37 x-github: @@ -37435,8 +37505,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *89 - - *183 - - *230 + - *184 + - *231 requestBody: required: true content: @@ -37468,16 +37538,16 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *235 + default: *236 '201': description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *235 + default: *236 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -37501,9 +37571,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - *89 - - *183 - - *230 - - *237 + - *184 + - *231 + - *238 responses: '204': description: Response @@ -37528,7 +37598,7 @@ paths: url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - *89 - - *183 + - *184 - *17 - *18 responses: @@ -37538,9 +37608,9 @@ paths: application/json: schema: type: array - items: *169 + items: *170 examples: - default: *170 + default: *171 headers: Link: *37 x-github: @@ -37563,7 +37633,7 @@ paths: url: https://docs.github.com/rest/teams/members#list-team-members parameters: - *89 - - *183 + - *184 - name: role description: Filters members returned by their role in the team. in: query @@ -37586,7 +37656,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *176 headers: Link: *37 x-github: @@ -37617,14 +37687,14 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - *89 - - *183 + - *184 - *121 responses: '200': description: Response content: application/json: - schema: &238 + schema: &239 title: Team Membership description: Team Membership type: object @@ -37652,7 +37722,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &545 + response-if-user-is-a-team-maintainer: &546 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -37689,7 +37759,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *89 - - *183 + - *184 - *121 requestBody: required: false @@ -37715,9 +37785,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *239 examples: - response-if-users-membership-with-team-is-now-pending: &546 + response-if-users-membership-with-team-is-now-pending: &547 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -37753,7 +37823,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - *89 - - *183 + - *184 - *121 responses: '204': @@ -37781,7 +37851,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - *89 - - *183 + - *184 - *17 - *18 responses: @@ -37791,7 +37861,7 @@ paths: application/json: schema: type: array - items: &239 + items: &240 title: Team Project description: A team's access to a project. type: object @@ -37860,7 +37930,7 @@ paths: - updated_at - permissions examples: - default: &547 + default: &548 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -37922,8 +37992,8 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - *89 - - *183 - - &240 + - *184 + - &241 name: project_id description: The unique identifier of the project. in: path @@ -37935,9 +38005,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *240 examples: - default: &548 + default: &549 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -37998,8 +38068,8 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - *89 - - *183 - - *240 + - *184 + - *241 requestBody: required: false content: @@ -38065,8 +38135,8 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - *89 - - *183 - - *240 + - *184 + - *241 responses: '204': description: Response @@ -38091,7 +38161,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - *89 - - *183 + - *184 - *17 - *18 responses: @@ -38103,7 +38173,7 @@ paths: type: array items: *108 examples: - default: *194 + default: *195 headers: Link: *37 x-github: @@ -38133,15 +38203,15 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *89 - - *183 - - *241 + - *184 - *242 + - *243 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &549 + schema: &550 title: Team Repository description: A team's access to a repository. type: object @@ -38783,9 +38853,9 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *89 - - *183 - - *241 + - *184 - *242 + - *243 requestBody: required: false content: @@ -38831,9 +38901,9 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - *89 - - *183 - - *241 + - *184 - *242 + - *243 responses: '204': description: Response @@ -38858,7 +38928,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - *89 - - *183 + - *184 - *17 - *18 responses: @@ -38868,9 +38938,9 @@ paths: application/json: schema: type: array - items: *172 + items: *173 examples: - response-if-child-teams-exist: &550 + response-if-child-teams-exist: &551 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -38994,7 +39064,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#get-a-project-card parameters: - - &243 + - &244 name: card_id description: The unique identifier of the card. in: path @@ -39006,7 +39076,7 @@ paths: description: Response content: application/json: - schema: &244 + schema: &245 title: Project Card description: Project cards represent a scope of work. type: object @@ -39081,7 +39151,7 @@ paths: - created_at - updated_at examples: - default: &245 + default: &246 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -39131,7 +39201,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#update-an-existing-project-card parameters: - - *243 + - *244 requestBody: required: false content: @@ -39161,9 +39231,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: - default: *245 + default: *246 '304': *35 '403': *27 '401': *23 @@ -39184,7 +39254,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#delete-a-project-card parameters: - - *243 + - *244 responses: '204': description: Response @@ -39222,7 +39292,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#move-a-project-card parameters: - - *243 + - *244 requestBody: required: true content: @@ -39329,7 +39399,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#get-a-project-column parameters: - - &246 + - &247 name: column_id description: The unique identifier of the column. in: path @@ -39341,7 +39411,7 @@ paths: description: Response content: application/json: - schema: &247 + schema: &248 title: Project Column description: Project columns contain cards of work. type: object @@ -39395,7 +39465,7 @@ paths: - created_at - updated_at examples: - default: &248 + default: &249 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -39424,7 +39494,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#update-an-existing-project-column parameters: - - *246 + - *247 requestBody: required: true content: @@ -39449,9 +39519,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 '304': *35 '403': *27 '401': *23 @@ -39470,7 +39540,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#delete-a-project-column parameters: - - *246 + - *247 responses: '204': description: Response @@ -39493,7 +39563,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#list-project-cards parameters: - - *246 + - *247 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -39514,7 +39584,7 @@ paths: application/json: schema: type: array - items: *244 + items: *245 examples: default: value: @@ -39567,7 +39637,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#create-a-project-card parameters: - - *246 + - *247 requestBody: required: true content: @@ -39611,9 +39681,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: - default: *245 + default: *246 '304': *35 '403': *27 '401': *23 @@ -39663,7 +39733,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#move-a-project-column parameters: - - *246 + - *247 requestBody: required: true content: @@ -39720,15 +39790,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-a-project parameters: - - *240 + - *241 responses: '200': description: Response content: application/json: - schema: *201 + schema: *202 examples: - default: &249 + default: &250 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -39781,7 +39851,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#update-a-project parameters: - - *240 + - *241 requestBody: required: false content: @@ -39830,9 +39900,9 @@ paths: description: Response content: application/json: - schema: *201 + schema: *202 examples: - default: *249 + default: *250 '404': description: Not Found if the authenticated user does not have access to the project @@ -39853,7 +39923,7 @@ paths: items: type: string '401': *23 - '410': *250 + '410': *251 '422': *7 x-github: githubCloudOnly: false @@ -39871,7 +39941,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#delete-a-project parameters: - - *240 + - *241 responses: '204': description: Delete Success @@ -39892,7 +39962,7 @@ paths: items: type: string '401': *23 - '410': *250 + '410': *251 '404': *6 x-github: githubCloudOnly: false @@ -39915,7 +39985,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#list-project-collaborators parameters: - - *240 + - *241 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -39942,7 +40012,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *176 headers: Link: *37 '404': *6 @@ -39967,7 +40037,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#add-project-collaborator parameters: - - *240 + - *241 - *121 requestBody: required: false @@ -40017,7 +40087,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *240 + - *241 - *121 responses: '204': @@ -40046,7 +40116,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *240 + - *241 - *121 responses: '200': @@ -40111,7 +40181,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#list-project-columns parameters: - - *240 + - *241 - *17 - *18 responses: @@ -40121,7 +40191,7 @@ paths: application/json: schema: type: array - items: *247 + items: *248 examples: default: value: @@ -40153,7 +40223,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#create-a-project-column parameters: - - *240 + - *241 requestBody: required: true content: @@ -40177,7 +40247,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: default: value: @@ -40238,7 +40308,7 @@ paths: resources: type: object properties: - core: &251 + core: &252 title: Rate Limit type: object properties: @@ -40255,19 +40325,19 @@ paths: - remaining - reset - used - graphql: *251 - search: *251 - code_search: *251 - source_import: *251 - integration_manifest: *251 - code_scanning_upload: *251 - actions_runner_registration: *251 - scim: *251 - dependency_snapshots: *251 + graphql: *252 + search: *252 + code_search: *252 + source_import: *252 + integration_manifest: *252 + code_scanning_upload: *252 + actions_runner_registration: *252 + scim: *252 + dependency_snapshots: *252 required: - core - search - rate: *251 + rate: *252 required: - rate - resources @@ -40366,14 +40436,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *241 - *242 + - *243 responses: '200': description: Response content: application/json: - schema: *252 + schema: *253 examples: default-response: summary: Default response @@ -40874,7 +40944,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *253 + '301': *254 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40892,8 +40962,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *241 - *242 + - *243 requestBody: required: false content: @@ -41130,10 +41200,10 @@ paths: description: Response content: application/json: - schema: *252 + schema: *253 examples: - default: *254 - '307': &255 + default: *255 + '307': &256 description: Temporary Redirect content: application/json: @@ -41162,8 +41232,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *241 - *242 + - *243 responses: '204': description: Response @@ -41185,7 +41255,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *255 + '307': *256 '404': *6 x-github: githubCloudOnly: false @@ -41208,11 +41278,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *241 - *242 + - *243 - *17 - *18 - - &281 + - &282 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -41235,7 +41305,7 @@ paths: type: integer artifacts: type: array - items: &256 + items: &257 title: Artifact description: An artifact type: object @@ -41321,7 +41391,7 @@ paths: - expires_at - updated_at examples: - default: &282 + default: &283 value: total_count: 2 artifacts: @@ -41380,9 +41450,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *241 - *242 - - &257 + - *243 + - &258 name: artifact_id description: The unique identifier of the artifact. in: path @@ -41394,7 +41464,7 @@ paths: description: Response content: application/json: - schema: *256 + schema: *257 examples: default: value: @@ -41431,9 +41501,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *241 - *242 - - *257 + - *243 + - *258 responses: '204': description: Response @@ -41457,9 +41527,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *241 - *242 - - *257 + - *243 + - *258 - name: archive_format in: path required: true @@ -41473,7 +41543,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': *250 + '410': *251 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41496,14 +41566,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *241 - *242 + - *243 responses: '200': description: Response content: application/json: - schema: *258 + schema: *259 examples: default: value: @@ -41529,11 +41599,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *241 - *242 + - *243 - *17 - *18 - - &259 + - &260 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -41567,7 +41637,7 @@ paths: description: Response content: application/json: - schema: &260 + schema: &261 title: Repository actions caches description: Repository actions caches type: object @@ -41617,7 +41687,7 @@ paths: - total_count - actions_caches examples: - default: &261 + default: &262 value: total_count: 1 actions_caches: @@ -41649,23 +41719,23 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *241 - *242 + - *243 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *259 + - *260 responses: '200': description: Response content: application/json: - schema: *260 + schema: *261 examples: - default: *261 + default: *262 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41685,8 +41755,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *241 - *242 + - *243 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -41717,9 +41787,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *241 - *242 - - &262 + - *243 + - &263 name: job_id description: The unique identifier of the job. in: path @@ -41731,7 +41801,7 @@ paths: description: Response content: application/json: - schema: &285 + schema: &286 title: Job description: Information of a job execution in a workflow run type: object @@ -42078,9 +42148,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *241 - *242 - - *262 + - *243 + - *263 responses: '302': description: Response @@ -42108,9 +42178,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *241 - *242 - - *262 + - *243 + - *263 requestBody: required: false content: @@ -42156,8 +42226,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *241 - *242 + - *243 responses: '200': description: Status response @@ -42207,8 +42277,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -42271,8 +42341,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -42290,7 +42360,7 @@ paths: type: integer secrets: type: array - items: &287 + items: &288 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -42311,7 +42381,7 @@ paths: - created_at - updated_at examples: - default: &288 + default: &289 value: total_count: 2 secrets: @@ -42344,9 +42414,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *241 - *242 - - *263 + - *243 + - *264 - *18 responses: '200': @@ -42363,7 +42433,7 @@ paths: type: integer variables: type: array - items: &291 + items: &292 title: Actions Variable type: object properties: @@ -42397,7 +42467,7 @@ paths: - created_at - updated_at examples: - default: &292 + default: &293 value: total_count: 2 variables: @@ -42430,8 +42500,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -42440,11 +42510,11 @@ paths: schema: type: object properties: - enabled: &265 + enabled: &266 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *98 - selected_actions_url: *264 + selected_actions_url: *265 required: - enabled examples: @@ -42471,8 +42541,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *241 - *242 + - *243 responses: '204': description: Response @@ -42483,7 +42553,7 @@ paths: schema: type: object properties: - enabled: *265 + enabled: *266 allowed_actions: *98 required: - enabled @@ -42513,14 +42583,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *241 - *242 + - *243 responses: '200': description: Response content: application/json: - schema: &266 + schema: &267 type: object properties: access_level: @@ -42537,7 +42607,7 @@ paths: required: - access_level examples: - default: &267 + default: &268 value: access_level: organization x-github: @@ -42561,15 +42631,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *241 - *242 + - *243 requestBody: required: true content: application/json: - schema: *266 + schema: *267 examples: - default: *267 + default: *268 responses: '204': description: Response @@ -42593,8 +42663,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -42621,8 +42691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *241 - *242 + - *243 responses: '204': description: Response @@ -42654,14 +42724,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *241 - *242 + - *243 responses: '200': description: Response content: application/json: - schema: *268 + schema: *269 examples: default: *104 x-github: @@ -42684,8 +42754,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *241 - *242 + - *243 responses: '204': description: Success response @@ -42696,7 +42766,7 @@ paths: required: true content: application/json: - schema: *269 + schema: *270 examples: default: *104 x-github: @@ -42725,8 +42795,8 @@ paths: in: query schema: type: string - - *241 - *242 + - *243 - *17 - *18 responses: @@ -42770,8 +42840,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -42779,9 +42849,9 @@ paths: application/json: schema: type: array - items: *270 + items: *271 examples: - default: *271 + default: *272 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42803,8 +42873,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -42847,7 +42917,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *272 + '201': *273 '404': *6 '422': *7 x-github: @@ -42877,8 +42947,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *241 - *242 + - *243 responses: '201': description: Response @@ -42886,7 +42956,7 @@ paths: application/json: schema: *112 examples: - default: *273 + default: *274 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42914,8 +42984,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *241 - *242 + - *243 responses: '201': description: Response @@ -42923,7 +42993,7 @@ paths: application/json: schema: *112 examples: - default: *274 + default: *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42945,8 +43015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *241 - *242 + - *243 - *109 responses: '200': @@ -42955,7 +43025,7 @@ paths: application/json: schema: *110 examples: - default: *275 + default: *276 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42976,8 +43046,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *241 - *242 + - *243 - *109 responses: '204': @@ -43003,8 +43073,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *241 - *242 + - *243 - *109 responses: '200': *114 @@ -43029,8 +43099,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *241 - *242 + - *243 - *109 requestBody: required: true @@ -43079,8 +43149,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *241 - *242 + - *243 - *109 requestBody: required: true @@ -43130,11 +43200,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *241 - *242 + - *243 - *109 responses: - '200': *276 + '200': *277 '404': *6 x-github: githubCloudOnly: false @@ -43161,10 +43231,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *241 - *242 + - *243 - *109 - - *277 + - *278 responses: '200': *114 '404': *6 @@ -43192,9 +43262,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *241 - *242 - - &295 + - *243 + - &296 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -43202,7 +43272,7 @@ paths: required: false schema: type: string - - &296 + - &297 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -43210,7 +43280,7 @@ paths: required: false schema: type: string - - &297 + - &298 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -43219,7 +43289,7 @@ paths: required: false schema: type: string - - &298 + - &299 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -43246,7 +43316,7 @@ paths: - pending - *17 - *18 - - &299 + - &300 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -43255,7 +43325,7 @@ paths: schema: type: string format: date-time - - &278 + - &279 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -43264,13 +43334,13 @@ paths: schema: type: boolean default: false - - &300 + - &301 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &301 + - &302 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -43293,7 +43363,7 @@ paths: type: integer workflow_runs: type: array - items: &279 + items: &280 title: Workflow Run description: An invocation of a workflow type: object @@ -43410,7 +43480,7 @@ paths: type: - array - 'null' - items: &320 + items: &321 title: Pull Request Minimal type: object properties: @@ -43537,7 +43607,7 @@ paths: head_commit: anyOf: - type: 'null' - - &324 + - &325 title: Simple Commit description: A commit. type: object @@ -43652,7 +43722,7 @@ paths: - workflow_url - pull_requests examples: - default: &302 + default: &303 value: total_count: 1 workflow_runs: @@ -43888,24 +43958,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *241 - *242 - - &280 + - *243 + - &281 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *278 + - *279 responses: '200': description: Response content: application/json: - schema: *279 + schema: *280 examples: - default: &283 + default: &284 value: id: 30433642 name: Build @@ -44146,9 +44216,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *241 - *242 - - *280 + - *243 + - *281 responses: '204': description: Response @@ -44171,9 +44241,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *241 - *242 - - *280 + - *243 + - *281 responses: '200': description: Response @@ -44301,9 +44371,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *241 - *242 - - *280 + - *243 + - *281 responses: '201': description: Response @@ -44336,12 +44406,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *241 - *242 - - *280 + - *243 + - *281 - *17 - *18 - - *281 + - *282 responses: '200': description: Response @@ -44357,9 +44427,9 @@ paths: type: integer artifacts: type: array - items: *256 + items: *257 examples: - default: *282 + default: *283 headers: Link: *37 x-github: @@ -44383,25 +44453,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *241 - *242 - - *280 - - &284 + - *243 + - *281 + - &285 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *278 + - *279 responses: '200': description: Response content: application/json: - schema: *279 + schema: *280 examples: - default: *283 + default: *284 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44424,10 +44494,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *241 - *242 - - *280 - - *284 + - *243 + - *281 + - *285 - *17 - *18 responses: @@ -44445,9 +44515,9 @@ paths: type: integer jobs: type: array - items: *285 + items: *286 examples: - default: &286 + default: &287 value: total_count: 1 jobs: @@ -44560,10 +44630,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *241 - *242 - - *280 - - *284 + - *243 + - *281 + - *285 responses: '302': description: Response @@ -44591,9 +44661,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *241 - *242 - - *280 + - *243 + - *281 responses: '202': description: Response @@ -44626,9 +44696,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *241 - *242 - - *280 + - *243 + - *281 requestBody: required: true content: @@ -44695,9 +44765,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *241 - *242 - - *280 + - *243 + - *281 responses: '202': description: Response @@ -44730,9 +44800,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *241 - *242 - - *280 + - *243 + - *281 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -44762,9 +44832,9 @@ paths: type: integer jobs: type: array - items: *285 + items: *286 examples: - default: *286 + default: *287 headers: Link: *37 x-github: @@ -44789,9 +44859,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *241 - *242 - - *280 + - *243 + - *281 responses: '302': description: Response @@ -44818,9 +44888,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *241 - *242 - - *280 + - *243 + - *281 responses: '204': description: Response @@ -44847,9 +44917,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *241 - *242 - - *280 + - *243 + - *281 responses: '200': description: Response @@ -44918,7 +44988,7 @@ paths: items: type: object properties: - type: &395 + type: &396 type: string description: The type of reviewer. enum: @@ -44929,7 +44999,7 @@ paths: reviewer: anyOf: - *4 - - *172 + - *173 required: - environment - wait_timer @@ -45004,9 +45074,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *241 - *242 - - *280 + - *243 + - *281 requestBody: required: true content: @@ -45056,7 +45126,7 @@ paths: application/json: schema: type: array - items: &390 + items: &391 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -45168,7 +45238,7 @@ paths: - created_at - updated_at examples: - default: &391 + default: &392 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -45224,9 +45294,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *241 - *242 - - *280 + - *243 + - *281 requestBody: required: false content: @@ -45271,9 +45341,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *241 - *242 - - *280 + - *243 + - *281 requestBody: required: false content: @@ -45320,9 +45390,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *241 - *242 - - *280 + - *243 + - *281 responses: '200': description: Response @@ -45459,8 +45529,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -45478,9 +45548,9 @@ paths: type: integer secrets: type: array - items: *287 + items: *288 examples: - default: *288 + default: *289 headers: Link: *37 x-github: @@ -45505,16 +45575,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *241 - *242 + - *243 responses: '200': description: Response content: application/json: - schema: *289 + schema: *290 examples: - default: *290 + default: *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45536,17 +45606,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *241 - *242 + - *243 - *116 responses: '200': description: Response content: application/json: - schema: *287 + schema: *288 examples: - default: &408 + default: &409 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -45572,8 +45642,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *241 - *242 + - *243 - *116 requestBody: required: true @@ -45628,8 +45698,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *241 - *242 + - *243 - *116 responses: '204': @@ -45655,9 +45725,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *241 - *242 - - *263 + - *243 + - *264 - *18 responses: '200': @@ -45674,9 +45744,9 @@ paths: type: integer variables: type: array - items: *291 + items: *292 examples: - default: *292 + default: *293 headers: Link: *37 x-github: @@ -45699,8 +45769,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -45752,17 +45822,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *241 - *242 + - *243 - *119 responses: '200': description: Response content: application/json: - schema: *291 + schema: *292 examples: - default: &409 + default: &410 value: name: USERNAME value: octocat @@ -45788,8 +45858,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *241 - *242 + - *243 - *119 requestBody: required: true @@ -45832,8 +45902,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *241 - *242 + - *243 - *119 responses: '204': @@ -45859,8 +45929,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -45878,7 +45948,7 @@ paths: type: integer workflows: type: array - items: &293 + items: &294 title: Workflow description: A GitHub Actions workflow type: object @@ -45996,9 +46066,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *241 - *242 - - &294 + - *243 + - &295 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -46013,7 +46083,7 @@ paths: description: Response content: application/json: - schema: *293 + schema: *294 examples: default: value: @@ -46046,9 +46116,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *241 - *242 - - *294 + - *243 + - *295 responses: '204': description: Response @@ -46073,9 +46143,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *241 - *242 - - *294 + - *243 + - *295 responses: '204': description: Response @@ -46126,9 +46196,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *241 - *242 - - *294 + - *243 + - *295 responses: '204': description: Response @@ -46155,19 +46225,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *241 - *242 - - *294 + - *243 - *295 - *296 - *297 - *298 + - *299 - *17 - *18 - - *299 - - *278 - *300 + - *279 - *301 + - *302 responses: '200': description: Response @@ -46183,9 +46253,9 @@ paths: type: integer workflow_runs: type: array - items: *279 + items: *280 examples: - default: *302 + default: *303 headers: Link: *37 x-github: @@ -46211,9 +46281,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *241 - *242 - - *294 + - *243 + - *295 responses: '200': description: Response @@ -46274,8 +46344,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *241 - *242 + - *243 - *40 - *17 - *41 @@ -46443,8 +46513,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -46456,7 +46526,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *176 headers: Link: *37 '404': *6 @@ -46481,8 +46551,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *241 - *242 + - *243 - name: assignee in: path required: true @@ -46518,8 +46588,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -46631,8 +46701,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *241 - *242 + - *243 - *17 - *41 - *42 @@ -46676,7 +46746,7 @@ paths: repository_id: type: integer examples: - default: *303 + default: *304 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46696,8 +46766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -46705,7 +46775,7 @@ paths: application/json: schema: type: array - items: &304 + items: &305 title: Autolink reference description: An autolink reference. type: object @@ -46759,8 +46829,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -46799,9 +46869,9 @@ paths: description: response content: application/json: - schema: *304 + schema: *305 examples: - default: &305 + default: &306 value: id: 1 key_prefix: TICKET- @@ -46832,9 +46902,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *241 - *242 - - &306 + - *243 + - &307 name: autolink_id description: The unique identifier of the autolink. in: path @@ -46846,9 +46916,9 @@ paths: description: Response content: application/json: - schema: *304 + schema: *305 examples: - default: *305 + default: *306 '404': *6 x-github: githubCloudOnly: false @@ -46868,9 +46938,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *241 - *242 - - *306 + - *243 + - *307 responses: '204': description: Response @@ -46894,8 +46964,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-automated-security-fixes-are-enabled-for-a-repository parameters: - - *241 - *242 + - *243 responses: '200': description: Response if Dependabot is enabled @@ -46945,8 +47015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-automated-security-fixes parameters: - - *241 - *242 + - *243 responses: '204': description: Response @@ -46967,8 +47037,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-automated-security-fixes parameters: - - *241 - *242 + - *243 responses: '204': description: Response @@ -46988,8 +47058,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *241 - *242 + - *243 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -47027,7 +47097,7 @@ paths: - url protected: type: boolean - protection: &308 + protection: &309 title: Branch Protection description: Branch Protection type: object @@ -47070,7 +47140,7 @@ paths: required: - contexts - checks - enforce_admins: &311 + enforce_admins: &312 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -47087,7 +47157,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &313 + required_pull_request_reviews: &314 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -47109,7 +47179,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *172 + items: *173 apps: description: The list of apps with review dismissal access. @@ -47141,7 +47211,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *172 + items: *173 apps: description: The list of apps allowed to bypass pull request requirements. @@ -47171,7 +47241,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &310 + restrictions: &311 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -47496,9 +47566,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *241 - *242 - - &309 + - *243 + - &310 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/graphql). @@ -47512,14 +47582,14 @@ paths: description: Response content: application/json: - schema: &319 + schema: &320 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &366 + commit: &367 title: Commit description: Commit type: object @@ -47558,7 +47628,7 @@ paths: author: anyOf: - type: 'null' - - &307 + - &308 title: Git User description: Metaproperties for Git author/committer information. @@ -47579,7 +47649,7 @@ paths: committer: anyOf: - type: 'null' - - *307 + - *308 message: type: string examples: @@ -47603,7 +47673,7 @@ paths: required: - sha - url - verification: &415 + verification: &416 title: Verification type: object properties: @@ -47682,7 +47752,7 @@ paths: type: integer files: type: array - items: &378 + items: &379 title: Diff Entry description: Diff Entry type: object @@ -47776,7 +47846,7 @@ paths: - self protected: type: boolean - protection: *308 + protection: *309 protection_url: type: string format: uri @@ -47885,7 +47955,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *253 + '301': *254 '404': *6 x-github: githubCloudOnly: false @@ -47907,15 +47977,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *241 - *242 - - *309 + - *243 + - *310 responses: '200': description: Response content: application/json: - schema: *308 + schema: *309 examples: default: value: @@ -48109,9 +48179,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *241 - *242 - - *309 + - *243 + - *310 requestBody: required: true content: @@ -48371,7 +48441,7 @@ paths: url: type: string format: uri - required_status_checks: &316 + required_status_checks: &317 title: Status Check Policy description: Status Check Policy type: object @@ -48452,7 +48522,7 @@ paths: items: *4 teams: type: array - items: *172 + items: *173 apps: type: array items: *5 @@ -48470,7 +48540,7 @@ paths: items: *4 teams: type: array - items: *172 + items: *173 apps: type: array items: *5 @@ -48530,7 +48600,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *310 + restrictions: *311 required_conversation_resolution: type: object properties: @@ -48642,9 +48712,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *241 - *242 - - *309 + - *243 + - *310 responses: '204': description: Response @@ -48669,17 +48739,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *241 - *242 - - *309 + - *243 + - *310 responses: '200': description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: &312 + default: &313 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -48701,17 +48771,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *241 - *242 - - *309 + - *243 + - *310 responses: '200': description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *312 + default: *313 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48730,9 +48800,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *241 - *242 - - *309 + - *243 + - *310 responses: '204': description: Response @@ -48757,17 +48827,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *241 - *242 - - *309 + - *243 + - *310 responses: '200': description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: &314 + default: &315 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -48863,9 +48933,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *241 - *242 - - *309 + - *243 + - *310 requestBody: required: false content: @@ -48963,9 +49033,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 '422': *15 x-github: githubCloudOnly: false @@ -48986,9 +49056,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *241 - *242 - - *309 + - *243 + - *310 responses: '204': description: Response @@ -49015,17 +49085,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *241 - *242 - - *309 + - *243 + - *310 responses: '200': description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: &315 + default: &316 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -49048,17 +49118,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *241 - *242 - - *309 + - *243 + - *310 responses: '200': description: Response content: application/json: - schema: *311 + schema: *312 examples: - default: *315 + default: *316 '404': *6 x-github: githubCloudOnly: false @@ -49078,9 +49148,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *241 - *242 - - *309 + - *243 + - *310 responses: '204': description: Response @@ -49105,17 +49175,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *241 - *242 - - *309 + - *243 + - *310 responses: '200': description: Response content: application/json: - schema: *316 + schema: *317 examples: - default: &317 + default: &318 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -49141,9 +49211,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *241 - *242 - - *309 + - *243 + - *310 requestBody: required: false content: @@ -49195,9 +49265,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 '404': *6 '422': *15 x-github: @@ -49219,9 +49289,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *241 - *242 - - *309 + - *243 + - *310 responses: '204': description: Response @@ -49245,9 +49315,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *241 - *242 - - *309 + - *243 + - *310 responses: '200': description: Response @@ -49281,9 +49351,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *241 - *242 - - *309 + - *243 + - *310 requestBody: required: false content: @@ -49350,9 +49420,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *241 - *242 - - *309 + - *243 + - *310 requestBody: required: false content: @@ -49416,9 +49486,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *241 - *242 - - *309 + - *243 + - *310 requestBody: content: application/json: @@ -49484,15 +49554,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *241 - *242 - - *309 + - *243 + - *310 responses: '200': description: Response content: application/json: - schema: *310 + schema: *311 examples: default: value: @@ -49583,9 +49653,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *241 - *242 - - *309 + - *243 + - *310 responses: '204': description: Response @@ -49608,9 +49678,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *241 - *242 - - *309 + - *243 + - *310 responses: '200': description: Response @@ -49620,7 +49690,7 @@ paths: type: array items: *5 examples: - default: &318 + default: &319 value: - id: 1 slug: octoapp @@ -49677,9 +49747,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *241 - *242 - - *309 + - *243 + - *310 requestBody: required: true content: @@ -49713,7 +49783,7 @@ paths: type: array items: *5 examples: - default: *318 + default: *319 '422': *15 x-github: githubCloudOnly: false @@ -49734,9 +49804,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *241 - *242 - - *309 + - *243 + - *310 requestBody: required: true content: @@ -49770,7 +49840,7 @@ paths: type: array items: *5 examples: - default: *318 + default: *319 '422': *15 x-github: githubCloudOnly: false @@ -49791,9 +49861,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *241 - *242 - - *309 + - *243 + - *310 requestBody: required: true content: @@ -49827,7 +49897,7 @@ paths: type: array items: *5 examples: - default: *318 + default: *319 '422': *15 x-github: githubCloudOnly: false @@ -49849,9 +49919,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *241 - *242 - - *309 + - *243 + - *310 responses: '200': description: Response @@ -49859,9 +49929,9 @@ paths: application/json: schema: type: array - items: *172 + items: *173 examples: - default: *187 + default: *188 '404': *6 x-github: githubCloudOnly: false @@ -49881,9 +49951,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *241 - *242 - - *309 + - *243 + - *310 requestBody: required: false content: @@ -49919,9 +49989,9 @@ paths: application/json: schema: type: array - items: *172 + items: *173 examples: - default: *187 + default: *188 '422': *15 x-github: githubCloudOnly: false @@ -49942,9 +50012,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *241 - *242 - - *309 + - *243 + - *310 requestBody: required: false content: @@ -49980,9 +50050,9 @@ paths: application/json: schema: type: array - items: *172 + items: *173 examples: - default: *187 + default: *188 '422': *15 x-github: githubCloudOnly: false @@ -50003,9 +50073,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *241 - *242 - - *309 + - *243 + - *310 requestBody: content: application/json: @@ -50040,9 +50110,9 @@ paths: application/json: schema: type: array - items: *172 + items: *173 examples: - default: *187 + default: *188 '422': *15 x-github: githubCloudOnly: false @@ -50064,9 +50134,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *241 - *242 - - *309 + - *243 + - *310 responses: '200': description: Response @@ -50076,7 +50146,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *176 '404': *6 x-github: githubCloudOnly: false @@ -50100,9 +50170,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *241 - *242 - - *309 + - *243 + - *310 requestBody: required: true content: @@ -50135,7 +50205,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *176 '422': *15 x-github: githubCloudOnly: false @@ -50160,9 +50230,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *241 - *242 - - *309 + - *243 + - *310 requestBody: required: true content: @@ -50195,7 +50265,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *176 '422': *15 x-github: githubCloudOnly: false @@ -50220,9 +50290,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *241 - *242 - - *309 + - *243 + - *310 requestBody: required: true content: @@ -50255,7 +50325,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *176 '422': *15 x-github: githubCloudOnly: false @@ -50282,9 +50352,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *241 - *242 - - *309 + - *243 + - *310 requestBody: required: true content: @@ -50306,7 +50376,7 @@ paths: description: Response content: application/json: - schema: *319 + schema: *320 examples: default: value: @@ -50422,8 +50492,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -50702,7 +50772,7 @@ paths: description: Response content: application/json: - schema: &321 + schema: &322 title: CheckRun description: A check performed on the code of a given code change type: object @@ -50837,8 +50907,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *320 - deployment: &599 + items: *321 + deployment: &600 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -51125,9 +51195,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *241 - *242 - - &322 + - *243 + - &323 name: check_run_id description: The unique identifier of the check run. in: path @@ -51139,9 +51209,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: &323 + default: &324 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -51241,9 +51311,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *241 - *242 - - *322 + - *243 + - *323 requestBody: required: true content: @@ -51483,9 +51553,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - default: *323 + default: *324 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51505,9 +51575,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *241 - *242 - - *322 + - *243 + - *323 - *17 - *18 responses: @@ -51619,9 +51689,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *241 - *242 - - *322 + - *243 + - *323 responses: '201': description: Response @@ -51665,8 +51735,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -51688,7 +51758,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &325 + schema: &326 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -51770,7 +51840,7 @@ paths: type: - array - 'null' - items: *320 + items: *321 app: anyOf: - type: 'null' @@ -51786,7 +51856,7 @@ paths: - string - 'null' format: date-time - head_commit: *324 + head_commit: *325 latest_check_runs_count: type: integer check_runs_url: @@ -51814,7 +51884,7 @@ paths: - check_runs_url - pull_requests examples: - default: &326 + default: &327 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -52105,9 +52175,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *325 + schema: *326 examples: - default: *326 + default: *327 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52126,8 +52196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -52436,9 +52506,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *241 - *242 - - &327 + - *243 + - &328 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -52450,9 +52520,9 @@ paths: description: Response content: application/json: - schema: *325 + schema: *326 examples: - default: *326 + default: *327 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52475,17 +52545,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *241 - *242 - - *327 - - &373 + - *243 + - *328 + - &374 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &374 + - &375 name: status description: Returns check runs with the specified `status`. in: query @@ -52524,9 +52594,9 @@ paths: type: integer check_runs: type: array - items: *321 + items: *322 examples: - default: &375 + default: &376 value: total_count: 1 check_runs: @@ -52628,9 +52698,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *241 - *242 - - *327 + - *243 + - *328 responses: '201': description: Response @@ -52663,21 +52733,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *241 - *242 - - *328 + - *243 - *329 + - *330 - *18 - *17 - - &342 + - &343 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *330 - - &343 + schema: *331 + - &344 name: pr description: The number of the pull request for the results you want to list. in: query @@ -52702,13 +52772,13 @@ paths: be returned. in: query required: false - schema: *331 + schema: *332 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *332 + schema: *333 responses: '200': description: Response @@ -52724,7 +52794,7 @@ paths: updated_at: *48 url: *49 html_url: *50 - instances_url: *333 + instances_url: *334 state: *126 fixed_at: *122 dismissed_by: @@ -52732,11 +52802,11 @@ paths: - type: 'null' - *4 dismissed_at: *123 - dismissed_reason: *334 - dismissed_comment: *335 - rule: *336 - tool: *337 - most_recent_instance: *338 + dismissed_reason: *335 + dismissed_comment: *336 + rule: *337 + tool: *338 + most_recent_instance: *339 required: - number - created_at @@ -52852,7 +52922,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &339 + '403': &340 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -52879,9 +52949,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *241 - *242 - - &340 + - *243 + - &341 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -52895,7 +52965,7 @@ paths: description: Response content: application/json: - schema: &341 + schema: &342 type: object properties: number: *46 @@ -52903,7 +52973,7 @@ paths: updated_at: *48 url: *49 html_url: *50 - instances_url: *333 + instances_url: *334 state: *126 fixed_at: *122 dismissed_by: @@ -52911,8 +52981,8 @@ paths: - type: 'null' - *4 dismissed_at: *123 - dismissed_reason: *334 - dismissed_comment: *335 + dismissed_reason: *335 + dismissed_comment: *336 rule: type: object properties: @@ -52974,8 +53044,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *337 - most_recent_instance: *338 + tool: *338 + most_recent_instance: *339 required: - number - created_at @@ -53064,7 +53134,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *339 + '403': *340 '404': *6 '503': *60 x-github: @@ -53084,9 +53154,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *241 - *242 - - *340 + - *243 + - *341 requestBody: required: true content: @@ -53101,8 +53171,8 @@ paths: enum: - open - dismissed - dismissed_reason: *334 - dismissed_comment: *335 + dismissed_reason: *335 + dismissed_comment: *336 required: - state examples: @@ -53117,7 +53187,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *342 examples: default: value: @@ -53192,7 +53262,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &348 + '403': &349 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -53219,13 +53289,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *241 - *242 - - *340 + - *243 + - *341 - *18 - *17 - - *342 - *343 + - *344 responses: '200': description: Response @@ -53233,7 +53303,7 @@ paths: application/json: schema: type: array - items: *338 + items: *339 examples: default: value: @@ -53272,7 +53342,7 @@ paths: end_column: 50 classifications: - source - '403': *339 + '403': *340 '404': *6 '503': *60 x-github: @@ -53306,25 +53376,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *241 - *242 - - *328 + - *243 - *329 + - *330 - *18 - *17 - - *343 + - *344 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *330 + schema: *331 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &346 + schema: &347 type: string description: An identifier for the upload. examples: @@ -53346,23 +53416,23 @@ paths: application/json: schema: type: array - items: &347 + items: &348 type: object properties: - ref: *330 - commit_sha: &356 + ref: *331 + commit_sha: &357 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *344 + analysis_key: *345 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *345 + category: *346 error: type: string examples: @@ -53387,8 +53457,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *346 - tool: *337 + sarif_id: *347 + tool: *338 deletable: type: boolean warning: @@ -53450,7 +53520,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *339 + '403': *340 '404': *6 '503': *60 x-github: @@ -53486,8 +53556,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *241 - *242 + - *243 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -53500,7 +53570,7 @@ paths: description: Response content: application/json: - schema: *347 + schema: *348 examples: response: summary: application/json response @@ -53554,7 +53624,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *339 + '403': *340 '404': *6 '503': *60 x-github: @@ -53636,8 +53706,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *241 - *242 + - *243 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -53693,7 +53763,7 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *348 + '403': *349 '404': *6 '503': *60 x-github: @@ -53715,8 +53785,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -53724,7 +53794,7 @@ paths: application/json: schema: type: array - items: &349 + items: &350 title: CodeQL Database description: A CodeQL database. type: object @@ -53836,7 +53906,7 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *339 + '403': *340 '404': *6 '503': *60 x-github: @@ -53865,8 +53935,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *241 - *242 + - *243 - name: language in: path description: The language of the CodeQL database. @@ -53878,7 +53948,7 @@ paths: description: Response content: application/json: - schema: *349 + schema: *350 examples: default: value: @@ -53910,9 +53980,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &380 + '302': &381 description: Found - '403': *339 + '403': *340 '404': *6 '503': *60 x-github: @@ -53934,8 +54004,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *241 - *242 + - *243 - name: language in: path description: The language of the CodeQL database. @@ -53945,7 +54015,7 @@ paths: responses: '204': description: Response - '403': *348 + '403': *349 '404': *6 '503': *60 x-github: @@ -53973,8 +54043,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -53983,7 +54053,7 @@ paths: type: object additionalProperties: false properties: - language: &350 + language: &351 type: string description: The language targeted by the CodeQL query enum: @@ -54061,7 +54131,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &354 + schema: &355 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -54071,7 +54141,7 @@ paths: description: The ID of the variant analysis. controller_repo: *51 actor: *4 - query_language: *350 + query_language: *351 query_pack_url: type: string description: The download url for the query pack. @@ -54119,7 +54189,7 @@ paths: items: type: object properties: - repository: &351 + repository: &352 title: Repository Identifier description: Repository Identifier type: object @@ -54161,7 +54231,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &355 + analysis_status: &356 type: string description: The new status of the CodeQL variant analysis repository task. @@ -54193,7 +54263,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &352 + access_mismatch_repos: &353 type: object properties: repository_count: @@ -54208,7 +54278,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *351 + items: *352 required: - repository_count - repositories @@ -54231,8 +54301,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *352 - over_limit_repos: *352 + no_codeql_db_repos: *353 + over_limit_repos: *353 required: - access_mismatch_repos - not_found_repos @@ -54248,7 +54318,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &353 + value: &354 summary: Default response value: id: 1 @@ -54400,10 +54470,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *353 + value: *354 repository_lists: summary: Response for a successful variant analysis submission - value: *353 + value: *354 '404': *6 '422': description: Unable to process variant analysis submission @@ -54431,8 +54501,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *241 - *242 + - *243 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -54444,9 +54514,9 @@ paths: description: Response content: application/json: - schema: *354 + schema: *355 examples: - default: *353 + default: *354 '404': *6 '503': *60 x-github: @@ -54469,7 +54539,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *241 + - *242 - name: repo in: path description: The name of the controller repository. @@ -54504,7 +54574,7 @@ paths: type: object properties: repository: *51 - analysis_status: *355 + analysis_status: *356 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -54629,8 +54699,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -54695,7 +54765,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *339 + '403': *340 '404': *6 '503': *60 x-github: @@ -54716,8 +54786,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -54732,6 +54802,19 @@ paths: enum: - configured - not-configured + runner_type: + description: Runner type to be used. + type: string + enum: + - standard + - labeled + runner_label: + description: Runner label to be used if the runner type is labeled. + type: + - string + - 'null' + examples: + - code-scanning query_suite: description: CodeQL query suite to be used. type: string @@ -54787,7 +54870,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *348 + '403': *349 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -54852,8 +54935,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -54861,7 +54944,7 @@ paths: schema: type: object properties: - commit_sha: *356 + commit_sha: *357 ref: type: string description: |- @@ -54921,7 +55004,7 @@ paths: schema: type: object properties: - id: *346 + id: *347 url: type: string description: The REST API URL for checking the status of the upload. @@ -54935,7 +55018,7 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *348 + '403': *349 '404': *6 '413': description: Payload Too Large if the sarif field is too large @@ -54958,8 +55041,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *241 - *242 + - *243 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -55007,7 +55090,7 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *339 + '403': *340 '404': description: Not Found if the sarif id does not match any upload '503': *60 @@ -55032,8 +55115,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -55086,7 +55169,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *131 + '204': *132 '304': *35 '403': *27 '404': *6 @@ -55111,8 +55194,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *241 - *242 + - *243 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -55240,8 +55323,8 @@ paths: parameters: - *17 - *18 - - *241 - *242 + - *243 responses: '200': description: Response @@ -55257,7 +55340,7 @@ paths: type: integer codespaces: type: array - items: *176 + items: *177 examples: default: value: @@ -55555,8 +55638,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -55620,17 +55703,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *176 + schema: *177 examples: - default: *357 + default: *358 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *176 + schema: *177 examples: - default: *357 + default: *358 '400': *14 '401': *23 '403': *27 @@ -55659,8 +55742,8 @@ paths: parameters: - *17 - *18 - - *241 - *242 + - *243 responses: '200': description: Response @@ -55724,8 +55807,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *241 - *242 + - *243 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -55762,9 +55845,9 @@ paths: type: integer machines: type: array - items: *358 + items: *359 examples: - default: &557 + default: &558 value: total_count: 2 machines: @@ -55804,8 +55887,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *241 - *242 + - *243 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -55892,8 +55975,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *241 - *242 + - *243 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -55962,8 +56045,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -55981,7 +56064,7 @@ paths: type: integer secrets: type: array - items: &362 + items: &363 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -56002,7 +56085,7 @@ paths: - created_at - updated_at examples: - default: *359 + default: *360 headers: Link: *37 x-github: @@ -56025,16 +56108,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *241 - *242 + - *243 responses: '200': description: Response content: application/json: - schema: *360 + schema: *361 examples: - default: *361 + default: *362 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -56054,17 +56137,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *241 - *242 + - *243 - *116 responses: '200': description: Response content: application/json: - schema: *362 + schema: *363 examples: - default: *363 + default: *364 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56084,8 +56167,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *241 - *242 + - *243 - *116 requestBody: required: true @@ -56138,8 +56221,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *241 - *242 + - *243 - *116 responses: '204': @@ -56168,8 +56251,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *241 - *242 + - *243 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -56207,7 +56290,7 @@ paths: application/json: schema: type: array - items: &364 + items: &365 title: Collaborator description: Collaborator type: object @@ -56400,8 +56483,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *241 - *242 + - *243 - *121 responses: '204': @@ -56444,8 +56527,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *241 - *242 + - *243 - *121 requestBody: required: false @@ -56472,7 +56555,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &428 + schema: &429 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -56693,8 +56776,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *241 - *242 + - *243 - *121 responses: '204': @@ -56724,8 +56807,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *241 - *242 + - *243 - *121 responses: '200': @@ -56746,7 +56829,7 @@ paths: user: anyOf: - type: 'null' - - *364 + - *365 required: - permission - role_name @@ -56800,8 +56883,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -56811,7 +56894,7 @@ paths: application/json: schema: type: array - items: &365 + items: &366 title: Commit Comment description: Commit Comment type: object @@ -56869,7 +56952,7 @@ paths: - created_at - updated_at examples: - default: &368 + default: &369 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -56928,17 +57011,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *241 - *242 + - *243 - *71 responses: '200': description: Response content: application/json: - schema: *365 + schema: *366 examples: - default: &369 + default: &370 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -56995,8 +57078,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *241 - *242 + - *243 - *71 requestBody: required: true @@ -57019,7 +57102,7 @@ paths: description: Response content: application/json: - schema: *365 + schema: *366 examples: default: value: @@ -57070,8 +57153,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *241 - *242 + - *243 - *71 responses: '204': @@ -57093,8 +57176,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *241 - *242 + - *243 - *71 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -57121,9 +57204,9 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: - default: *236 + default: *237 headers: Link: *37 '404': *6 @@ -57144,8 +57227,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *241 - *242 + - *243 - *71 requestBody: required: true @@ -57178,16 +57261,16 @@ paths: description: Reaction exists content: application/json: - schema: *234 + schema: *235 examples: - default: *235 + default: *236 '201': description: Reaction created content: application/json: - schema: *234 + schema: *235 examples: - default: *235 + default: *236 '422': *15 x-github: githubCloudOnly: false @@ -57209,10 +57292,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *241 - *242 + - *243 - *71 - - *237 + - *238 responses: '204': description: Response @@ -57261,8 +57344,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *241 - *242 + - *243 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -57318,9 +57401,9 @@ paths: application/json: schema: type: array - items: *366 + items: *367 examples: - default: &476 + default: &477 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -57414,9 +57497,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *241 - *242 - - &367 + - *243 + - &368 name: commit_sha description: The SHA of the commit. in: path @@ -57488,9 +57571,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *241 - *242 - - *367 + - *243 + - *368 - *17 - *18 responses: @@ -57500,9 +57583,9 @@ paths: application/json: schema: type: array - items: *365 + items: *366 examples: - default: *368 + default: *369 headers: Link: *37 x-github: @@ -57530,9 +57613,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *241 - *242 - - *367 + - *243 + - *368 requestBody: required: true content: @@ -57567,9 +57650,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *366 examples: - default: *369 + default: *370 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -57597,9 +57680,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *241 - *242 - - *367 + - *243 + - *368 - *17 - *18 responses: @@ -57609,7 +57692,7 @@ paths: application/json: schema: type: array - items: &467 + items: &468 title: Pull Request Simple description: Pull Request Simple type: object @@ -57729,7 +57812,7 @@ paths: milestone: anyOf: - type: 'null' - - *370 + - *371 active_lock_reason: type: - string @@ -57784,7 +57867,7 @@ paths: type: - array - 'null' - items: *172 + items: *173 head: type: object properties: @@ -57828,7 +57911,7 @@ paths: _links: type: object properties: - comments: &371 + comments: &372 title: Link description: Hypermedia Link type: object @@ -57837,13 +57920,13 @@ paths: type: string required: - href - commits: *371 - statuses: *371 - html: *371 - issue: *371 - review_comments: *371 - review_comment: *371 - self: *371 + commits: *372 + statuses: *372 + html: *372 + issue: *372 + review_comments: *372 + review_comment: *372 + self: *372 required: - comments - commits @@ -57854,7 +57937,7 @@ paths: - review_comment - self author_association: *58 - auto_merge: &469 + auto_merge: &470 title: Auto merge description: The status of auto merging a pull request. type: @@ -57919,7 +58002,7 @@ paths: - author_association - auto_merge examples: - default: &468 + default: &469 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -58456,11 +58539,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *241 - *242 + - *243 - *18 - *17 - - &372 + - &373 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -58475,9 +58558,9 @@ paths: description: Response content: application/json: - schema: *366 + schema: *367 examples: - default: &455 + default: &456 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -58590,11 +58673,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *241 - *242 - - *372 + - *243 - *373 - *374 + - *375 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -58628,9 +58711,9 @@ paths: type: integer check_runs: type: array - items: *321 + items: *322 examples: - default: *375 + default: *376 headers: Link: *37 x-github: @@ -58655,9 +58738,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *241 - *242 - - *372 + - *243 + - *373 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -58665,7 +58748,7 @@ paths: schema: type: integer example: 1 - - *373 + - *374 - *17 - *18 responses: @@ -58683,7 +58766,7 @@ paths: type: integer check_suites: type: array - items: *325 + items: *326 examples: default: value: @@ -58883,9 +58966,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *241 - *242 - - *372 + - *243 + - *373 - *17 - *18 responses: @@ -59087,9 +59170,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *241 - *242 - - *372 + - *243 + - *373 - *17 - *18 responses: @@ -59099,7 +59182,7 @@ paths: application/json: schema: type: array - items: &531 + items: &532 title: Status description: The status of a commit. type: object @@ -59180,7 +59263,7 @@ paths: site_admin: false headers: Link: *37 - '301': *253 + '301': *254 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59208,8 +59291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -59242,11 +59325,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *376 + - *377 code_of_conduct_file: anyOf: - type: 'null' - - &377 + - &378 title: Community Health File type: object properties: @@ -59266,19 +59349,19 @@ paths: contributing: anyOf: - type: 'null' - - *377 + - *378 readme: anyOf: - type: 'null' - - *377 + - *378 issue_template: anyOf: - type: 'null' - - *377 + - *378 pull_request_template: anyOf: - type: 'null' - - *377 + - *378 required: - code_of_conduct - code_of_conduct_file @@ -59407,8 +59490,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *241 - *242 + - *243 - *18 - *17 - name: basehead @@ -59456,8 +59539,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *366 - merge_base_commit: *366 + base_commit: *367 + merge_base_commit: *367 status: type: string enum: @@ -59481,10 +59564,10 @@ paths: - 6 commits: type: array - items: *366 + items: *367 files: type: array - items: *378 + items: *379 required: - url - html_url @@ -59770,8 +59853,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *241 - *242 + - *243 - name: path description: path parameter in: path @@ -59922,7 +60005,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &379 + response-if-content-is-a-file: &380 summary: Response if content is a file value: type: file @@ -60059,7 +60142,7 @@ paths: - size - type - url - - &481 + - &482 title: Content File description: Content File type: object @@ -60277,7 +60360,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *379 + response-if-content-is-a-file: *380 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -60346,7 +60429,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *380 + '302': *381 '304': *35 x-github: githubCloudOnly: false @@ -60369,8 +60452,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *241 - *242 + - *243 - name: path description: path parameter in: path @@ -60465,7 +60548,7 @@ paths: description: Response content: application/json: - schema: &381 + schema: &382 title: File Commit description: File Commit type: object @@ -60621,7 +60704,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *382 examples: example-for-creating-a-file: value: @@ -60675,7 +60758,7 @@ paths: schema: oneOf: - *3 - - &410 + - &411 description: Repository rule violation was detected type: object properties: @@ -60696,7 +60779,7 @@ paths: items: type: object properties: - placeholder_id: &523 + placeholder_id: &524 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -60728,8 +60811,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *241 - *242 + - *243 - name: path description: path parameter in: path @@ -60790,7 +60873,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *382 examples: default: value: @@ -60845,8 +60928,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *241 - *242 + - *243 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -60970,20 +61053,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *241 - *242 - - *136 + - *243 - *137 - *138 - *139 + - *140 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *140 - *141 + - *142 - *40 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -61003,8 +61086,8 @@ paths: default: 30 - *41 - *42 - - *142 - *143 + - *144 responses: '200': description: Response @@ -61012,7 +61095,7 @@ paths: application/json: schema: type: array - items: &384 + items: &385 type: object description: A Dependabot alert. properties: @@ -61047,7 +61130,7 @@ paths: - development - runtime - - security_advisory: *382 + security_advisory: *383 security_vulnerability: *45 url: *49 html_url: *50 @@ -61078,7 +61161,7 @@ paths: dismissal. maxLength: 280 fixed_at: *122 - auto_dismissed_at: *383 + auto_dismissed_at: *384 required: - number - state @@ -61305,9 +61388,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *241 - *242 - - &385 + - *243 + - &386 name: alert_number in: path description: |- @@ -61322,7 +61405,7 @@ paths: description: Response content: application/json: - schema: *384 + schema: *385 examples: default: value: @@ -61432,9 +61515,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *241 - *242 - - *385 + - *243 + - *386 requestBody: required: true content: @@ -61479,7 +61562,7 @@ paths: description: Response content: application/json: - schema: *384 + schema: *385 examples: default: value: @@ -61608,8 +61691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -61627,7 +61710,7 @@ paths: type: integer secrets: type: array - items: &388 + items: &389 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -61681,16 +61764,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *241 - *242 + - *243 responses: '200': description: Response content: application/json: - schema: *386 + schema: *387 examples: - default: *387 + default: *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61710,15 +61793,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *241 - *242 + - *243 - *116 responses: '200': description: Response content: application/json: - schema: *388 + schema: *389 examples: default: value: @@ -61744,8 +61827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *241 - *242 + - *243 - *116 requestBody: required: true @@ -61798,8 +61881,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *241 - *242 + - *243 - *116 responses: '204': @@ -61822,8 +61905,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *241 - *242 + - *243 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -61997,8 +62080,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -62258,8 +62341,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -62342,7 +62425,7 @@ paths: - version - url additionalProperties: false - metadata: &389 + metadata: &390 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -62381,7 +62464,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *389 + metadata: *390 resolved: type: object description: A collection of resolved package dependencies. @@ -62395,7 +62478,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *389 + metadata: *390 relationship: type: string description: A notation of whether a dependency is requested @@ -62528,8 +62611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *241 - *242 + - *243 - name: sha description: The SHA recorded at creation time. in: query @@ -62570,9 +62653,9 @@ paths: application/json: schema: type: array - items: *390 + items: *391 examples: - default: *391 + default: *392 headers: Link: *37 x-github: @@ -62638,8 +62721,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -62721,7 +62804,7 @@ paths: description: Response content: application/json: - schema: *390 + schema: *391 examples: simple-example: summary: Simple example @@ -62794,9 +62877,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *241 - *242 - - &392 + - *243 + - &393 name: deployment_id description: deployment_id parameter in: path @@ -62808,7 +62891,7 @@ paths: description: Response content: application/json: - schema: *390 + schema: *391 examples: default: value: @@ -62873,9 +62956,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *241 - *242 - - *392 + - *243 + - *393 responses: '204': description: Response @@ -62897,9 +62980,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *241 - *242 - - *392 + - *243 + - *393 - *17 - *18 responses: @@ -62909,7 +62992,7 @@ paths: application/json: schema: type: array - items: &393 + items: &394 title: Deployment Status description: The status of a deployment. type: object @@ -63073,9 +63156,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *241 - *242 - - *392 + - *243 + - *393 requestBody: required: true content: @@ -63150,9 +63233,9 @@ paths: description: Response content: application/json: - schema: *393 + schema: *394 examples: - default: &394 + default: &395 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -63208,9 +63291,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *241 - *242 - - *392 + - *243 + - *393 - name: status_id in: path required: true @@ -63221,9 +63304,9 @@ paths: description: Response content: application/json: - schema: *393 + schema: *394 examples: - default: *394 + default: *395 '404': *6 x-github: githubCloudOnly: false @@ -63248,8 +63331,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -63306,8 +63389,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -63325,7 +63408,7 @@ paths: - 5 environments: type: array - items: &396 + items: &397 title: Environment description: Details of a deployment environment type: object @@ -63387,7 +63470,7 @@ paths: type: string examples: - wait_timer - wait_timer: &398 + wait_timer: &399 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -63429,11 +63512,11 @@ paths: items: type: object properties: - type: *395 + type: *396 reviewer: anyOf: - *4 - - *172 + - *173 required: - id - node_id @@ -63456,7 +63539,7 @@ paths: - id - node_id - type - deployment_branch_policy: &399 + deployment_branch_policy: &400 type: - object - 'null' @@ -63573,9 +63656,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *241 - *242 - - &397 + - *243 + - &398 name: environment_name in: path required: true @@ -63588,9 +63671,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *397 examples: - default: &400 + default: &401 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -63674,9 +63757,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *241 - *242 - - *397 + - *243 + - *398 requestBody: required: false content: @@ -63686,7 +63769,7 @@ paths: - object - 'null' properties: - wait_timer: *398 + wait_timer: *399 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -63705,14 +63788,14 @@ paths: items: type: object properties: - type: *395 + type: *396 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *399 + deployment_branch_policy: *400 additionalProperties: false examples: default: @@ -63732,9 +63815,9 @@ paths: description: Response content: application/json: - schema: *396 + schema: *397 examples: - default: *400 + default: *401 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -63758,9 +63841,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *241 - *242 - - *397 + - *243 + - *398 responses: '204': description: Default response @@ -63785,9 +63868,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *241 - *242 - - *397 + - *243 + - *398 - *17 - *18 responses: @@ -63806,7 +63889,7 @@ paths: - 2 branch_policies: type: array - items: &401 + items: &402 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -63867,9 +63950,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *241 - *242 - - *397 + - *243 + - *398 requestBody: required: true content: @@ -63917,9 +64000,9 @@ paths: description: Response content: application/json: - schema: *401 + schema: *402 examples: - example-wildcard: &402 + example-wildcard: &403 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -63961,10 +64044,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *241 - *242 - - *397 - - &403 + - *243 + - *398 + - &404 name: branch_policy_id in: path required: true @@ -63976,9 +64059,9 @@ paths: description: Response content: application/json: - schema: *401 + schema: *402 examples: - default: *402 + default: *403 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63997,10 +64080,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *241 - *242 - - *397 - - *403 + - *243 + - *398 + - *404 requestBody: required: true content: @@ -64029,9 +64112,9 @@ paths: description: Response content: application/json: - schema: *401 + schema: *402 examples: - default: *402 + default: *403 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64050,10 +64133,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *241 - *242 - - *397 - - *403 + - *243 + - *398 + - *404 responses: '204': description: Response @@ -64078,9 +64161,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *397 + - *398 + - *243 - *242 - - *241 responses: '200': description: List of deployment protection rules @@ -64097,7 +64180,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &404 + items: &405 title: Deployment protection rule description: Deployment protection rule type: object @@ -64119,7 +64202,7 @@ paths: for the environment. examples: - true - app: &405 + app: &406 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -64222,9 +64305,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *397 + - *398 + - *243 - *242 - - *241 requestBody: content: application/json: @@ -64245,9 +64328,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *404 + schema: *405 examples: - default: &406 + default: &407 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -64282,9 +64365,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *397 + - *398 + - *243 - *242 - - *241 - *18 - *17 responses: @@ -64304,7 +64387,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *405 + items: *406 examples: default: value: @@ -64339,10 +64422,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *241 - *242 - - *397 - - &407 + - *243 + - *398 + - &408 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -64354,9 +64437,9 @@ paths: description: Response content: application/json: - schema: *404 + schema: *405 examples: - default: *406 + default: *407 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64377,10 +64460,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *397 + - *398 + - *243 - *242 - - *241 - - *407 + - *408 responses: '204': description: Response @@ -64406,9 +64489,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *241 - *242 - - *397 + - *243 + - *398 - *17 - *18 responses: @@ -64426,9 +64509,9 @@ paths: type: integer secrets: type: array - items: *287 + items: *288 examples: - default: *288 + default: *289 headers: Link: *37 x-github: @@ -64453,17 +64536,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *241 - *242 - - *397 + - *243 + - *398 responses: '200': description: Response content: application/json: - schema: *289 + schema: *290 examples: - default: *290 + default: *291 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64485,18 +64568,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *241 - *242 - - *397 + - *243 + - *398 - *116 responses: '200': description: Response content: application/json: - schema: *287 + schema: *288 examples: - default: *408 + default: *409 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64518,9 +64601,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *241 - *242 - - *397 + - *243 + - *398 - *116 requestBody: required: true @@ -64578,9 +64661,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *241 - *242 - - *397 + - *243 + - *398 - *116 responses: '204': @@ -64606,10 +64689,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *241 - *242 - - *397 - - *263 + - *243 + - *398 + - *264 - *18 responses: '200': @@ -64626,9 +64709,9 @@ paths: type: integer variables: type: array - items: *291 + items: *292 examples: - default: *292 + default: *293 headers: Link: *37 x-github: @@ -64651,9 +64734,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *241 - *242 - - *397 + - *243 + - *398 requestBody: required: true content: @@ -64705,18 +64788,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *241 - *242 - - *397 + - *243 + - *398 - *119 responses: '200': description: Response content: application/json: - schema: *291 + schema: *292 examples: - default: *409 + default: *410 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64737,10 +64820,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *241 - *242 + - *243 - *119 - - *397 + - *398 requestBody: required: true content: @@ -64782,10 +64865,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *241 - *242 + - *243 - *119 - - *397 + - *398 responses: '204': description: Response @@ -64807,8 +64890,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -64885,8 +64968,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *241 - *242 + - *243 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -65045,8 +65128,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *241 - *242 + - *243 requestBody: required: false content: @@ -65079,9 +65162,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *253 examples: - default: *254 + default: *255 '400': *14 '422': *15 '403': *27 @@ -65102,8 +65185,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -65163,7 +65246,7 @@ paths: schema: oneOf: - *92 - - *410 + - *411 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65188,8 +65271,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *241 - *242 + - *243 - name: file_sha in: path required: true @@ -65289,8 +65372,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -65399,7 +65482,7 @@ paths: description: Response content: application/json: - schema: &411 + schema: &412 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -65625,15 +65708,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *241 - *242 - - *367 + - *243 + - *368 responses: '200': description: Response content: application/json: - schema: *411 + schema: *412 examples: default: value: @@ -65689,9 +65772,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *241 - *242 - - &412 + - *243 + - &413 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -65708,7 +65791,7 @@ paths: application/json: schema: type: array - items: &413 + items: &414 title: Git Reference description: Git references within a repository type: object @@ -65784,17 +65867,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *241 - *242 - - *412 + - *243 + - *413 responses: '200': description: Response content: application/json: - schema: *413 + schema: *414 examples: - default: &414 + default: &415 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -65823,8 +65906,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -65853,9 +65936,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *414 examples: - default: *414 + default: *415 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -65881,9 +65964,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *241 - *242 - - *412 + - *243 + - *413 requestBody: required: true content: @@ -65912,9 +65995,9 @@ paths: description: Response content: application/json: - schema: *413 + schema: *414 examples: - default: *414 + default: *415 '422': *15 '409': *128 x-github: @@ -65932,9 +66015,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *241 - *242 - - *412 + - *243 + - *413 responses: '204': description: Response @@ -65987,8 +66070,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -66055,7 +66138,7 @@ paths: description: Response content: application/json: - schema: &416 + schema: &417 title: Git Tag description: Metadata for a Git tag type: object @@ -66111,7 +66194,7 @@ paths: - sha - type - url - verification: *415 + verification: *416 required: - sha - url @@ -66121,7 +66204,7 @@ paths: - tag - message examples: - default: &417 + default: &418 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -66194,8 +66277,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *241 - *242 + - *243 - name: tag_sha in: path required: true @@ -66206,9 +66289,9 @@ paths: description: Response content: application/json: - schema: *416 + schema: *417 examples: - default: *417 + default: *418 '404': *6 '409': *128 x-github: @@ -66232,8 +66315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -66307,7 +66390,7 @@ paths: description: Response content: application/json: - schema: &418 + schema: &419 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -66425,8 +66508,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *241 - *242 + - *243 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -66449,7 +66532,7 @@ paths: description: Response content: application/json: - schema: *418 + schema: *419 examples: default-response: summary: Default response @@ -66508,8 +66591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -66519,7 +66602,7 @@ paths: application/json: schema: type: array - items: &419 + items: &420 title: Webhook description: Webhooks for repositories. type: object @@ -66582,7 +66665,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &630 + last_response: &631 title: Hook Response type: object properties: @@ -66659,8 +66742,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *241 - *242 + - *243 requestBody: required: false content: @@ -66713,9 +66796,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *420 examples: - default: &420 + default: &421 value: type: Repository id: 12345678 @@ -66763,17 +66846,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *241 - *242 - - *149 + - *243 + - *150 responses: '200': description: Response content: application/json: - schema: *419 + schema: *420 examples: - default: *420 + default: *421 '404': *6 x-github: githubCloudOnly: false @@ -66793,9 +66876,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *241 - *242 - - *149 + - *243 + - *150 requestBody: required: true content: @@ -66840,9 +66923,9 @@ paths: description: Response content: application/json: - schema: *419 + schema: *420 examples: - default: *420 + default: *421 '422': *15 '404': *6 x-github: @@ -66863,9 +66946,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *241 - *242 - - *149 + - *243 + - *150 responses: '204': description: Response @@ -66889,9 +66972,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *241 - *242 - - *149 + - *243 + - *150 responses: '200': description: Response @@ -66918,9 +67001,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *241 - *242 - - *149 + - *243 + - *150 requestBody: required: false content: @@ -66964,11 +67047,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *241 - *242 - - *149 - - *17 + - *243 - *150 + - *17 + - *151 responses: '200': description: Response @@ -66976,9 +67059,9 @@ paths: application/json: schema: type: array - items: *151 + items: *152 examples: - default: *152 + default: *153 '400': *14 '422': *15 x-github: @@ -66997,18 +67080,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *241 - *242 - - *149 + - *243 + - *150 - *16 responses: '200': description: Response content: application/json: - schema: *153 + schema: *154 examples: - default: *154 + default: *155 '400': *14 '422': *15 x-github: @@ -67027,9 +67110,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *241 - *242 - - *149 + - *243 + - *150 - *16 responses: '202': *94 @@ -67052,9 +67135,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *241 - *242 - - *149 + - *243 + - *150 responses: '204': description: Response @@ -67079,9 +67162,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *241 - *242 - - *149 + - *243 + - *150 responses: '204': description: Response @@ -67139,14 +67222,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *241 - *242 + - *243 responses: '200': description: Response content: application/json: - schema: &421 + schema: &422 title: Import description: A repository import from an external source. type: object @@ -67253,7 +67336,7 @@ paths: - html_url - authors_url examples: - default: &424 + default: &425 value: vcs: subversion use_lfs: true @@ -67269,7 +67352,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &422 + '503': &423 description: Unavailable due to service under maintenance. content: application/json: @@ -67298,8 +67381,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -67347,7 +67430,7 @@ paths: description: Response content: application/json: - schema: *421 + schema: *422 examples: default: value: @@ -67372,7 +67455,7 @@ paths: type: string '422': *15 '404': *6 - '503': *422 + '503': *423 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67400,8 +67483,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *241 - *242 + - *243 requestBody: required: false content: @@ -67453,7 +67536,7 @@ paths: description: Response content: application/json: - schema: *421 + schema: *422 examples: example-1: summary: Example 1 @@ -67501,7 +67584,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *422 + '503': *423 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67524,12 +67607,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *241 - *242 + - *243 responses: '204': description: Response - '503': *422 + '503': *423 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67555,9 +67638,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *241 - *242 - - &580 + - *243 + - &581 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -67571,7 +67654,7 @@ paths: application/json: schema: type: array - items: &423 + items: &424 title: Porter Author description: Porter Author type: object @@ -67625,7 +67708,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *422 + '503': *423 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67650,8 +67733,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *241 - *242 + - *243 - name: author_id in: path required: true @@ -67681,7 +67764,7 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: default: value: @@ -67694,7 +67777,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *422 + '503': *423 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67718,8 +67801,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -67760,7 +67843,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *422 + '503': *423 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67788,8 +67871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -67816,11 +67899,11 @@ paths: description: Response content: application/json: - schema: *421 + schema: *422 examples: - default: *424 + default: *425 '422': *15 - '503': *422 + '503': *423 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67843,8 +67926,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -67852,8 +67935,8 @@ paths: application/json: schema: *20 examples: - default: *425 - '301': *253 + default: *426 + '301': *254 '404': *6 x-github: githubCloudOnly: false @@ -67873,8 +67956,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -67882,12 +67965,12 @@ paths: application/json: schema: anyOf: - - *167 + - *168 - type: object properties: {} additionalProperties: false examples: - default: &427 + default: &428 value: limit: collaborators_only origin: repository @@ -67912,13 +67995,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *241 - *242 + - *243 requestBody: required: true content: application/json: - schema: *426 + schema: *427 examples: default: summary: Example request body @@ -67930,9 +68013,9 @@ paths: description: Response content: application/json: - schema: *167 + schema: *168 examples: - default: *427 + default: *428 '409': description: Response x-github: @@ -67954,8 +68037,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *241 - *242 + - *243 responses: '204': description: Response @@ -67978,8 +68061,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -67989,9 +68072,9 @@ paths: application/json: schema: type: array - items: *428 + items: *429 examples: - default: &573 + default: &574 value: - id: 1 repository: @@ -68122,9 +68205,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *241 - *242 - - *171 + - *243 + - *172 requestBody: required: false content: @@ -68153,7 +68236,7 @@ paths: description: Response content: application/json: - schema: *428 + schema: *429 examples: default: value: @@ -68284,9 +68367,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *241 - *242 - - *171 + - *243 + - *172 responses: '204': description: Response @@ -68317,8 +68400,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *241 - *242 + - *243 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -68358,7 +68441,7 @@ paths: required: false schema: type: string - - *173 + - *174 - name: sort description: What to sort results by. in: query @@ -68383,7 +68466,7 @@ paths: type: array items: *72 examples: - default: &437 + default: &438 value: - id: 1 node_id: MDU6SXNzdWUx @@ -68531,7 +68614,7 @@ paths: state_reason: completed headers: Link: *37 - '301': *253 + '301': *254 '422': *15 '404': *6 x-github: @@ -68560,8 +68643,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -68644,7 +68727,7 @@ paths: application/json: schema: *72 examples: - default: &432 + default: &433 value: id: 1 node_id: MDU6SXNzdWUx @@ -68800,7 +68883,7 @@ paths: '422': *15 '503': *60 '404': *6 - '410': *250 + '410': *251 x-github: triggersNotification: true githubCloudOnly: false @@ -68828,8 +68911,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *241 - *242 + - *243 - *81 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -68850,9 +68933,9 @@ paths: application/json: schema: type: array - items: *429 + items: *430 examples: - default: &434 + default: &435 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -68910,17 +68993,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *241 - *242 + - *243 - *71 responses: '200': description: Response content: application/json: - schema: *429 + schema: *430 examples: - default: &430 + default: &431 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -68974,8 +69057,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *241 - *242 + - *243 - *71 requestBody: required: true @@ -68998,9 +69081,9 @@ paths: description: Response content: application/json: - schema: *429 + schema: *430 examples: - default: *430 + default: *431 '422': *15 x-github: githubCloudOnly: false @@ -69018,8 +69101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *241 - *242 + - *243 - *71 responses: '204': @@ -69040,8 +69123,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *241 - *242 + - *243 - *71 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -69068,9 +69151,9 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: - default: *236 + default: *237 headers: Link: *37 '404': *6 @@ -69091,8 +69174,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *241 - *242 + - *243 - *71 requestBody: required: true @@ -69125,16 +69208,16 @@ paths: description: Reaction exists content: application/json: - schema: *234 + schema: *235 examples: - default: *235 + default: *236 '201': description: Reaction created content: application/json: - schema: *234 + schema: *235 examples: - default: *235 + default: *236 '422': *15 x-github: githubCloudOnly: false @@ -69156,10 +69239,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *241 - *242 + - *243 - *71 - - *237 + - *238 responses: '204': description: Response @@ -69179,8 +69262,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -69190,7 +69273,7 @@ paths: application/json: schema: type: array - items: &431 + items: &432 title: Issue Event description: Issue Event type: object @@ -69270,7 +69353,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *172 + requested_team: *173 dismissed_review: title: Issue Event Dismissed Review type: object @@ -69529,8 +69612,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *241 - *242 + - *243 - name: event_id in: path required: true @@ -69541,7 +69624,7 @@ paths: description: Response content: application/json: - schema: *431 + schema: *432 examples: default: value: @@ -69734,7 +69817,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *250 + '410': *251 '403': *27 x-github: githubCloudOnly: false @@ -69768,9 +69851,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *241 - *242 - - &433 + - *243 + - &434 name: issue_number description: The number that identifies the issue. in: path @@ -69784,10 +69867,10 @@ paths: application/json: schema: *72 examples: - default: *432 - '301': *253 + default: *433 + '301': *254 '404': *6 - '410': *250 + '410': *251 '304': *35 x-github: githubCloudOnly: false @@ -69812,9 +69895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *241 - *242 - - *433 + - *243 + - *434 requestBody: required: false content: @@ -69924,13 +70007,13 @@ paths: application/json: schema: *72 examples: - default: *432 + default: *433 '422': *15 '503': *60 '403': *27 - '301': *253 + '301': *254 '404': *6 - '410': *250 + '410': *251 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69948,9 +70031,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *241 - *242 - - *433 + - *243 + - *434 requestBody: required: false content: @@ -69978,7 +70061,7 @@ paths: application/json: schema: *72 examples: - default: *432 + default: *433 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69994,9 +70077,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *241 - *242 - - *433 + - *243 + - *434 requestBody: content: application/json: @@ -70023,7 +70106,7 @@ paths: application/json: schema: *72 examples: - default: *432 + default: *433 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70045,9 +70128,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *241 - *242 - - *433 + - *243 + - *434 - name: assignee in: path required: true @@ -70087,9 +70170,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *241 - *242 - - *433 + - *243 + - *434 - *62 - *17 - *18 @@ -70100,13 +70183,13 @@ paths: application/json: schema: type: array - items: *429 + items: *430 examples: - default: *434 + default: *435 headers: Link: *37 '404': *6 - '410': *250 + '410': *251 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70135,9 +70218,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *241 - *242 - - *433 + - *243 + - *434 requestBody: required: true content: @@ -70159,16 +70242,16 @@ paths: description: Response content: application/json: - schema: *429 + schema: *430 examples: - default: *430 + default: *431 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *250 + '410': *251 '422': *15 '404': *6 x-github: @@ -70188,9 +70271,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *241 - *242 - - *433 + - *243 + - *434 - *17 - *18 responses: @@ -70204,7 +70287,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &438 + - &439 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -70253,7 +70336,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &439 + - &440 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -70381,7 +70464,7 @@ paths: - performed_via_github_app - assignee - assigner - - &440 + - &441 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -70427,7 +70510,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &441 + - &442 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -70473,7 +70556,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &442 + - &443 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -70522,7 +70605,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &443 + - &444 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -70551,7 +70634,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *172 + requested_team: *173 requested_reviewer: *4 required: - review_requester @@ -70564,7 +70647,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &444 + - &445 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -70593,7 +70676,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *172 + requested_team: *173 requested_reviewer: *4 required: - review_requester @@ -70606,7 +70689,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &445 + - &446 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -70662,7 +70745,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &446 + - &447 title: Locked Issue Event description: Locked Issue Event type: object @@ -70707,7 +70790,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &447 + - &448 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -70768,7 +70851,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &448 + - &449 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -70829,7 +70912,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &449 + - &450 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -70890,7 +70973,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &450 + - &451 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -70983,7 +71066,7 @@ paths: color: red headers: Link: *37 - '410': *250 + '410': *251 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71000,9 +71083,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *241 - *242 - - *433 + - *243 + - *434 - *17 - *18 responses: @@ -71012,7 +71095,7 @@ paths: application/json: schema: type: array - items: &435 + items: &436 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -71067,7 +71150,7 @@ paths: - color - default examples: - default: &436 + default: &437 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -71085,9 +71168,9 @@ paths: default: false headers: Link: *37 - '301': *253 + '301': *254 '404': *6 - '410': *250 + '410': *251 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71104,9 +71187,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *241 - *242 - - *433 + - *243 + - *434 requestBody: required: false content: @@ -71165,12 +71248,12 @@ paths: application/json: schema: type: array - items: *435 + items: *436 examples: - default: *436 - '301': *253 + default: *437 + '301': *254 '404': *6 - '410': *250 + '410': *251 '422': *15 x-github: githubCloudOnly: false @@ -71187,9 +71270,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *241 - *242 - - *433 + - *243 + - *434 requestBody: required: false content: @@ -71249,12 +71332,12 @@ paths: application/json: schema: type: array - items: *435 + items: *436 examples: - default: *436 - '301': *253 + default: *437 + '301': *254 '404': *6 - '410': *250 + '410': *251 '422': *15 x-github: githubCloudOnly: false @@ -71271,15 +71354,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *241 - *242 - - *433 + - *243 + - *434 responses: '204': description: Response - '301': *253 + '301': *254 '404': *6 - '410': *250 + '410': *251 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71298,9 +71381,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *241 - *242 - - *433 + - *243 + - *434 - name: name in: path required: true @@ -71313,7 +71396,7 @@ paths: application/json: schema: type: array - items: *435 + items: *436 examples: default: value: @@ -71324,9 +71407,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *253 + '301': *254 '404': *6 - '410': *250 + '410': *251 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71346,9 +71429,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *241 - *242 - - *433 + - *243 + - *434 requestBody: required: false content: @@ -71377,7 +71460,7 @@ paths: '204': description: Response '403': *27 - '410': *250 + '410': *251 '404': *6 '422': *15 x-github: @@ -71395,9 +71478,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *241 - *242 - - *433 + - *243 + - *434 responses: '204': description: Response @@ -71419,9 +71502,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *241 - *242 - - *433 + - *243 + - *434 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -71447,13 +71530,13 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: - default: *236 + default: *237 headers: Link: *37 '404': *6 - '410': *250 + '410': *251 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71471,9 +71554,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *241 - *242 - - *433 + - *243 + - *434 requestBody: required: true content: @@ -71505,16 +71588,16 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *235 + default: *236 '201': description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *235 + default: *236 '422': *15 x-github: githubCloudOnly: false @@ -71536,10 +71619,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *241 - *242 - - *433 - - *237 + - *243 + - *434 + - *238 responses: '204': description: Response @@ -71568,9 +71651,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *241 - *242 - - *433 + - *243 + - *434 requestBody: required: true content: @@ -71594,7 +71677,7 @@ paths: application/json: schema: *72 examples: - default: *432 + default: *433 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -71627,9 +71710,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *241 - *242 - - *433 + - *243 + - *434 - *17 - *18 responses: @@ -71641,11 +71724,11 @@ paths: type: array items: *72 examples: - default: *437 + default: *438 headers: Link: *37 '404': *6 - '410': *250 + '410': *251 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71673,9 +71756,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *241 - *242 - - *433 + - *243 + - *434 requestBody: required: true content: @@ -71703,14 +71786,14 @@ paths: application/json: schema: *72 examples: - default: *432 + default: *433 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *250 + '410': *251 '422': *15 '404': *6 x-github: @@ -71730,9 +71813,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *241 - *242 - - *433 + - *243 + - *434 requestBody: required: true content: @@ -71765,7 +71848,7 @@ paths: application/json: schema: *72 examples: - default: *432 + default: *433 '403': *27 '404': *6 '422': *7 @@ -71787,9 +71870,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *241 - *242 - - *433 + - *243 + - *434 - *17 - *18 responses: @@ -71804,7 +71887,6 @@ paths: description: Timeline Event type: object anyOf: - - *438 - *439 - *440 - *441 @@ -71817,6 +71899,7 @@ paths: - *448 - *449 - *450 + - *451 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -72139,7 +72222,7 @@ paths: type: string comments: type: array - items: &470 + items: &471 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -72377,7 +72460,7 @@ paths: type: string comments: type: array - items: *365 + items: *366 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -72652,7 +72735,7 @@ paths: headers: Link: *37 '404': *6 - '410': *250 + '410': *251 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72669,8 +72752,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -72680,7 +72763,7 @@ paths: application/json: schema: type: array - items: &451 + items: &452 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -72747,8 +72830,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -72784,9 +72867,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: - default: &452 + default: &453 value: id: 1 key: ssh-rsa AAA... @@ -72820,9 +72903,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *241 - *242 - - &453 + - *243 + - &454 name: key_id description: The unique identifier of the key. in: path @@ -72834,9 +72917,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: - default: *452 + default: *453 '404': *6 x-github: githubCloudOnly: false @@ -72854,9 +72937,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *241 - *242 - - *453 + - *243 + - *454 responses: '204': description: Response @@ -72876,8 +72959,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -72887,9 +72970,9 @@ paths: application/json: schema: type: array - items: *435 + items: *436 examples: - default: *436 + default: *437 headers: Link: *37 '404': *6 @@ -72910,8 +72993,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -72947,9 +73030,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *436 examples: - default: &454 + default: &455 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -72981,8 +73064,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *241 - *242 + - *243 - name: name in: path required: true @@ -72993,9 +73076,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *436 examples: - default: *454 + default: *455 '404': *6 x-github: githubCloudOnly: false @@ -73012,8 +73095,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *241 - *242 + - *243 - name: name in: path required: true @@ -73052,7 +73135,7 @@ paths: description: Response content: application/json: - schema: *435 + schema: *436 examples: default: value: @@ -73078,8 +73161,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *241 - *242 + - *243 - name: name in: path required: true @@ -73105,8 +73188,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -73145,9 +73228,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *241 - *242 - - *342 + - *243 + - *343 responses: '200': description: Response @@ -73294,8 +73377,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -73360,8 +73443,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -73395,9 +73478,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *366 + schema: *367 examples: - default: *455 + default: *456 '204': description: Response when already merged '404': @@ -73422,8 +73505,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *241 - *242 + - *243 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -73464,7 +73547,7 @@ paths: application/json: schema: type: array - items: *370 + items: *371 examples: default: value: @@ -73520,8 +73603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -73561,9 +73644,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *371 examples: - default: &456 + default: &457 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -73622,9 +73705,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *241 - *242 - - &457 + - *243 + - &458 name: milestone_number description: The number that identifies the milestone. in: path @@ -73636,9 +73719,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *371 examples: - default: *456 + default: *457 '404': *6 x-github: githubCloudOnly: false @@ -73655,9 +73738,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *241 - *242 - - *457 + - *243 + - *458 requestBody: required: false content: @@ -73695,9 +73778,9 @@ paths: description: Response content: application/json: - schema: *370 + schema: *371 examples: - default: *456 + default: *457 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73713,9 +73796,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *241 - *242 - - *457 + - *243 + - *458 responses: '204': description: Response @@ -73736,9 +73819,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *241 - *242 - - *457 + - *243 + - *458 - *17 - *18 responses: @@ -73748,9 +73831,9 @@ paths: application/json: schema: type: array - items: *435 + items: *436 examples: - default: *436 + default: *437 headers: Link: *37 x-github: @@ -73769,12 +73852,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *241 - *242 - - *458 + - *243 - *459 - - *62 - *460 + - *62 + - *461 - *17 - *18 responses: @@ -73786,7 +73869,7 @@ paths: type: array items: *84 examples: - default: *461 + default: *462 headers: Link: *37 x-github: @@ -73810,8 +73893,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *241 - *242 + - *243 requestBody: required: false content: @@ -73869,14 +73952,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *241 - *242 + - *243 responses: '200': description: Response content: application/json: - schema: &462 + schema: &463 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -74020,7 +74103,7 @@ paths: - custom_404 - public examples: - default: &463 + default: &464 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -74061,8 +74144,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -74117,9 +74200,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *463 examples: - default: *463 + default: *464 '422': *15 '409': *128 x-github: @@ -74142,8 +74225,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -74243,8 +74326,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *241 - *242 + - *243 responses: '204': description: Response @@ -74270,8 +74353,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -74281,7 +74364,7 @@ paths: application/json: schema: type: array - items: &464 + items: &465 title: Page Build description: Page Build type: object @@ -74373,8 +74456,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *241 - *242 + - *243 responses: '201': description: Response @@ -74421,16 +74504,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *241 - *242 + - *243 responses: '200': description: Response content: application/json: - schema: *464 + schema: *465 examples: - default: &465 + default: &466 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -74478,8 +74561,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *241 - *242 + - *243 - name: build_id in: path required: true @@ -74490,9 +74573,9 @@ paths: description: Response content: application/json: - schema: *464 + schema: *465 examples: - default: *465 + default: *466 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74512,8 +74595,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -74622,9 +74705,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *241 - *242 - - &466 + - *243 + - &467 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -74682,11 +74765,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *241 - *242 - - *466 + - *243 + - *467 responses: - '204': *131 + '204': *132 '404': *6 x-github: githubCloudOnly: false @@ -74711,8 +74794,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -75007,8 +75090,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *241 - *242 + - *243 responses: '200': description: Private vulnerability reporting status @@ -75045,10 +75128,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *241 - *242 + - *243 responses: - '204': *131 + '204': *132 '422': *14 x-github: githubCloudOnly: false @@ -75067,10 +75150,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *241 - *242 + - *243 responses: - '204': *131 + '204': *132 '422': *14 x-github: githubCloudOnly: false @@ -75091,8 +75174,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-repository-projects parameters: - - *241 - *242 + - *243 - name: state description: Indicates the state of the projects to return. in: query @@ -75113,7 +75196,7 @@ paths: application/json: schema: type: array - items: *201 + items: *202 examples: default: value: @@ -75153,7 +75236,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *250 + '410': *251 '422': *7 x-github: githubCloudOnly: false @@ -75173,8 +75256,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-a-repository-project parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -75200,13 +75283,13 @@ paths: description: Response content: application/json: - schema: *201 + schema: *202 examples: - default: *249 + default: *250 '401': *23 '403': *27 '404': *6 - '410': *250 + '410': *251 '422': *7 x-github: githubCloudOnly: false @@ -75226,8 +75309,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -75235,7 +75318,7 @@ paths: application/json: schema: type: array - items: *206 + items: *207 examples: default: value: @@ -75266,8 +75349,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -75279,7 +75362,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *206 + items: *207 required: - properties examples: @@ -75329,8 +75412,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *241 - *242 + - *243 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -75390,9 +75473,9 @@ paths: application/json: schema: type: array - items: *467 + items: *468 examples: - default: *468 + default: *469 headers: Link: *37 '304': *35 @@ -75424,8 +75507,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -75492,7 +75575,7 @@ paths: description: Response content: application/json: - schema: &472 + schema: &473 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -75621,7 +75704,7 @@ paths: milestone: anyOf: - type: 'null' - - *370 + - *371 active_lock_reason: type: - string @@ -75676,7 +75759,7 @@ paths: type: - array - 'null' - items: *186 + items: *187 head: type: object properties: @@ -75714,14 +75797,14 @@ paths: _links: type: object properties: - comments: *371 - commits: *371 - statuses: *371 - html: *371 - issue: *371 - review_comments: *371 - review_comment: *371 - self: *371 + comments: *372 + commits: *372 + statuses: *372 + html: *372 + issue: *372 + review_comments: *372 + review_comment: *372 + self: *372 required: - comments - commits @@ -75732,7 +75815,7 @@ paths: - review_comment - self author_association: *58 - auto_merge: *469 + auto_merge: *470 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -75834,7 +75917,7 @@ paths: - merged_by - review_comments examples: - default: &473 + default: &474 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -76361,8 +76444,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *241 - *242 + - *243 - name: sort in: query required: false @@ -76391,9 +76474,9 @@ paths: application/json: schema: type: array - items: *470 + items: *471 examples: - default: &475 + default: &476 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -76470,17 +76553,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *241 - *242 + - *243 - *71 responses: '200': description: Response content: application/json: - schema: *470 + schema: *471 examples: - default: &471 + default: &472 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -76555,8 +76638,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *241 - *242 + - *243 - *71 requestBody: required: true @@ -76579,9 +76662,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *471 examples: - default: *471 + default: *472 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76597,8 +76680,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *241 - *242 + - *243 - *71 responses: '204': @@ -76620,8 +76703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *241 - *242 + - *243 - *71 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -76648,9 +76731,9 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: - default: *236 + default: *237 headers: Link: *37 '404': *6 @@ -76671,8 +76754,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *241 - *242 + - *243 - *71 requestBody: required: true @@ -76705,16 +76788,16 @@ paths: description: Reaction exists content: application/json: - schema: *234 + schema: *235 examples: - default: *235 + default: *236 '201': description: Reaction created content: application/json: - schema: *234 + schema: *235 examples: - default: *235 + default: *236 '422': *15 x-github: githubCloudOnly: false @@ -76736,10 +76819,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *241 - *242 + - *243 - *71 - - *237 + - *238 responses: '204': description: Response @@ -76782,9 +76865,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *241 - *242 - - &474 + - *243 + - &475 name: pull_number description: The number that identifies the pull request. in: path @@ -76797,9 +76880,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *472 + schema: *473 examples: - default: *473 + default: *474 '304': *35 '404': *6 '406': @@ -76834,9 +76917,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *241 - *242 - - *474 + - *243 + - *475 requestBody: required: false content: @@ -76878,9 +76961,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *473 examples: - default: *473 + default: *474 '422': *15 '403': *27 x-github: @@ -76902,9 +76985,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *241 - *242 - - *474 + - *243 + - *475 requestBody: required: true content: @@ -76965,17 +77048,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *176 + schema: *177 examples: - default: *357 + default: *358 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *176 + schema: *177 examples: - default: *357 + default: *358 '401': *23 '403': *27 '404': *6 @@ -77005,9 +77088,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *241 - *242 - - *474 + - *243 + - *475 - *81 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -77028,9 +77111,9 @@ paths: application/json: schema: type: array - items: *470 + items: *471 examples: - default: *475 + default: *476 headers: Link: *37 x-github: @@ -77063,9 +77146,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *241 - *242 - - *474 + - *243 + - *475 requestBody: required: true content: @@ -77171,7 +77254,7 @@ paths: description: Response content: application/json: - schema: *470 + schema: *471 examples: example-for-a-multi-line-comment: value: @@ -77259,9 +77342,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *241 - *242 - - *474 + - *243 + - *475 - *71 requestBody: required: true @@ -77284,7 +77367,7 @@ paths: description: Response content: application/json: - schema: *470 + schema: *471 examples: default: value: @@ -77370,9 +77453,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *241 - *242 - - *474 + - *243 + - *475 - *17 - *18 responses: @@ -77382,9 +77465,9 @@ paths: application/json: schema: type: array - items: *366 + items: *367 examples: - default: *476 + default: *477 headers: Link: *37 x-github: @@ -77414,9 +77497,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *241 - *242 - - *474 + - *243 + - *475 - *17 - *18 responses: @@ -77426,7 +77509,7 @@ paths: application/json: schema: type: array - items: *378 + items: *379 examples: default: value: @@ -77464,9 +77547,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *241 - *242 - - *474 + - *243 + - *475 responses: '204': description: Response if pull request has been merged @@ -77489,9 +77572,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *241 - *242 - - *474 + - *243 + - *475 requestBody: required: false content: @@ -77603,9 +77686,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *241 - *242 - - *474 + - *243 + - *475 responses: '200': description: Response @@ -77621,7 +77704,7 @@ paths: items: *4 teams: type: array - items: *172 + items: *173 required: - users - teams @@ -77680,9 +77763,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *241 - *242 - - *474 + - *243 + - *475 requestBody: required: false content: @@ -77719,7 +77802,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *468 examples: default: value: @@ -78255,9 +78338,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *241 - *242 - - *474 + - *243 + - *475 requestBody: required: true content: @@ -78291,7 +78374,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *468 examples: default: value: @@ -78796,9 +78879,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *241 - *242 - - *474 + - *243 + - *475 - *17 - *18 responses: @@ -78808,7 +78891,7 @@ paths: application/json: schema: type: array - items: &477 + items: &478 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -78964,9 +79047,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *241 - *242 - - *474 + - *243 + - *475 requestBody: required: false content: @@ -79056,9 +79139,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *478 examples: - default: &479 + default: &480 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -79121,10 +79204,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *241 - *242 - - *474 - - &478 + - *243 + - *475 + - &479 name: review_id description: The unique identifier of the review. in: path @@ -79136,9 +79219,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *478 examples: - default: &480 + default: &481 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -79197,10 +79280,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *241 - *242 - - *474 - - *478 + - *243 + - *475 + - *479 requestBody: required: true content: @@ -79223,7 +79306,7 @@ paths: description: Response content: application/json: - schema: *477 + schema: *478 examples: default: value: @@ -79285,18 +79368,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *241 - *242 - - *474 - - *478 + - *243 + - *475 + - *479 responses: '200': description: Response content: application/json: - schema: *477 + schema: *478 examples: - default: *479 + default: *480 '422': *7 '404': *6 x-github: @@ -79323,10 +79406,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *241 - *242 - - *474 - - *478 + - *243 + - *475 + - *479 - *17 - *18 responses: @@ -79424,9 +79507,9 @@ paths: _links: type: object properties: - self: *371 - html: *371 - pull_request: *371 + self: *372 + html: *372 + pull_request: *372 required: - self - html @@ -79577,10 +79660,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *241 - *242 - - *474 - - *478 + - *243 + - *475 + - *479 requestBody: required: true content: @@ -79609,7 +79692,7 @@ paths: description: Response content: application/json: - schema: *477 + schema: *478 examples: default: value: @@ -79672,10 +79755,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *241 - *242 - - *474 - - *478 + - *243 + - *475 + - *479 requestBody: required: true content: @@ -79710,9 +79793,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *478 examples: - default: *480 + default: *481 '404': *6 '422': *7 '403': *27 @@ -79734,9 +79817,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *241 - *242 - - *474 + - *243 + - *475 requestBody: required: false content: @@ -79800,8 +79883,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *241 - *242 + - *243 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -79814,9 +79897,9 @@ paths: description: Response content: application/json: - schema: *481 + schema: *482 examples: - default: &482 + default: &483 value: type: file encoding: base64 @@ -79858,8 +79941,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *241 - *242 + - *243 - name: dir description: The alternate path to look for a README file in: path @@ -79879,9 +79962,9 @@ paths: description: Response content: application/json: - schema: *481 + schema: *482 examples: - default: *482 + default: *483 '404': *6 '422': *15 x-github: @@ -79903,8 +79986,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -79914,7 +79997,7 @@ paths: application/json: schema: type: array - items: &483 + items: &484 title: Release description: A release. type: object @@ -79986,7 +80069,7 @@ paths: author: *4 assets: type: array - items: &484 + items: &485 title: Release Asset description: Data related to a release. type: object @@ -80166,8 +80249,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -80243,9 +80326,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *484 examples: - default: &487 + default: &488 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -80348,9 +80431,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *241 - *242 - - &485 + - *243 + - &486 name: asset_id description: The unique identifier of the asset. in: path @@ -80362,9 +80445,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *485 examples: - default: &486 + default: &487 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -80398,7 +80481,7 @@ paths: type: User site_admin: false '404': *6 - '302': *380 + '302': *381 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80414,9 +80497,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *241 - *242 - - *485 + - *243 + - *486 requestBody: required: false content: @@ -80445,9 +80528,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *485 examples: - default: *486 + default: *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80463,9 +80546,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *241 - *242 - - *485 + - *243 + - *486 responses: '204': description: Response @@ -80489,8 +80572,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -80576,16 +80659,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *241 - *242 + - *243 responses: '200': description: Response content: application/json: - schema: *483 + schema: *484 examples: - default: *487 + default: *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80602,8 +80685,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *241 - *242 + - *243 - name: tag description: tag parameter in: path @@ -80616,9 +80699,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *484 examples: - default: *487 + default: *488 '404': *6 x-github: githubCloudOnly: false @@ -80640,9 +80723,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *241 - *242 - - &488 + - *243 + - &489 name: release_id description: The unique identifier of the release. in: path @@ -80656,9 +80739,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *483 + schema: *484 examples: - default: *487 + default: *488 '401': description: Unauthorized x-github: @@ -80676,9 +80759,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *241 - *242 - - *488 + - *243 + - *489 requestBody: required: false content: @@ -80742,9 +80825,9 @@ paths: description: Response content: application/json: - schema: *483 + schema: *484 examples: - default: *487 + default: *488 '404': description: Not Found if the discussion category name is invalid content: @@ -80765,9 +80848,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *241 - *242 - - *488 + - *243 + - *489 responses: '204': description: Response @@ -80787,9 +80870,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *241 - *242 - - *488 + - *243 + - *489 - *17 - *18 responses: @@ -80799,7 +80882,7 @@ paths: application/json: schema: type: array - items: *484 + items: *485 examples: default: value: @@ -80879,9 +80962,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *241 - *242 - - *488 + - *243 + - *489 - name: name in: query required: true @@ -80907,7 +80990,7 @@ paths: description: Response for successful upload content: application/json: - schema: *484 + schema: *485 examples: response-for-successful-upload: value: @@ -80961,9 +81044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *241 - *242 - - *488 + - *243 + - *489 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -80987,9 +81070,9 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: - default: *236 + default: *237 headers: Link: *37 '404': *6 @@ -81010,9 +81093,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *241 - *242 - - *488 + - *243 + - *489 requestBody: required: true content: @@ -81042,16 +81125,16 @@ paths: description: Reaction exists content: application/json: - schema: *234 + schema: *235 examples: - default: *235 + default: *236 '201': description: Reaction created content: application/json: - schema: *234 + schema: *235 examples: - default: *235 + default: *236 '422': *15 x-github: githubCloudOnly: false @@ -81073,10 +81156,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *241 - *242 - - *488 - - *237 + - *243 + - *489 + - *238 responses: '204': description: Response @@ -81100,9 +81183,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *241 - *242 - - *309 + - *243 + - *310 - *17 - *18 responses: @@ -81118,8 +81201,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *489 - - &491 + - *490 + - &492 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -81139,53 +81222,53 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *490 - *491 - - allOf: - *492 - - *491 - allOf: - *493 - - *491 + - *492 - allOf: - *494 - - *491 + - *492 - allOf: - *495 - - *491 + - *492 - allOf: - *496 - - *491 + - *492 - allOf: - *497 - - *491 + - *492 - allOf: - *498 - - *491 + - *492 - allOf: - *499 - - *491 + - *492 - allOf: - *500 - - *491 + - *492 - allOf: - *501 - - *491 + - *492 - allOf: - *502 - - *491 + - *492 - allOf: - *503 - - *491 + - *492 - allOf: - *504 - - *491 + - *492 - allOf: - *505 - - *491 + - *492 - allOf: - *506 - - *491 + - *492 + - allOf: + - *507 + - *492 examples: default: value: @@ -81224,8 +81307,8 @@ paths: category: repos subcategory: rules parameters: - - *241 - *242 + - *243 - *17 - *18 - name: includes_parents @@ -81236,7 +81319,7 @@ paths: schema: type: boolean default: true - - *507 + - *508 responses: '200': description: Response @@ -81244,7 +81327,7 @@ paths: application/json: schema: type: array - items: *214 + items: *215 examples: default: value: @@ -81291,8 +81374,8 @@ paths: category: repos subcategory: rules parameters: - - *241 - *242 + - *243 requestBody: description: Request body required: true @@ -81312,16 +81395,16 @@ paths: - tag - push default: branch - enforcement: *210 + enforcement: *211 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *211 - conditions: *208 + items: *212 + conditions: *209 rules: type: array description: An array of rules within the ruleset. - items: *213 + items: *214 required: - name - enforcement @@ -81352,9 +81435,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *215 examples: - default: &517 + default: &518 value: id: 42 name: super cool ruleset @@ -81401,12 +81484,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *241 - *242 - - *508 + - *243 - *509 - *510 - *511 + - *512 - *17 - *18 responses: @@ -81414,9 +81497,9 @@ paths: description: Response content: application/json: - schema: *512 + schema: *513 examples: - default: *513 + default: *514 '404': *6 '500': *39 x-github: @@ -81437,17 +81520,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *241 - *242 - - *514 + - *243 + - *515 responses: '200': description: Response content: application/json: - schema: *515 + schema: *516 examples: - default: *516 + default: *517 '404': *6 '500': *39 x-github: @@ -81475,8 +81558,8 @@ paths: category: repos subcategory: rules parameters: - - *241 - *242 + - *243 - name: ruleset_id description: The ID of the ruleset. in: path @@ -81496,9 +81579,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *215 examples: - default: *517 + default: *518 '404': *6 '500': *39 put: @@ -81516,8 +81599,8 @@ paths: category: repos subcategory: rules parameters: - - *241 - *242 + - *243 - name: ruleset_id description: The ID of the ruleset. in: path @@ -81542,16 +81625,16 @@ paths: - branch - tag - push - enforcement: *210 + enforcement: *211 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *211 - conditions: *208 + items: *212 + conditions: *209 rules: description: An array of rules within the ruleset. type: array - items: *213 + items: *214 examples: default: value: @@ -81579,9 +81662,9 @@ paths: description: Response content: application/json: - schema: *214 + schema: *215 examples: - default: *517 + default: *518 '404': *6 '500': *39 delete: @@ -81599,8 +81682,8 @@ paths: category: repos subcategory: rules parameters: - - *241 - *242 + - *243 - name: ruleset_id description: The ID of the ruleset. in: path @@ -81628,20 +81711,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *241 - *242 - - *216 + - *243 - *217 - *218 - *219 + - *220 - *40 - *18 - *17 - - *518 - *519 - - *220 + - *520 - *221 - *222 + - *223 responses: '200': description: Response @@ -81649,7 +81732,7 @@ paths: application/json: schema: type: array - items: &522 + items: &523 type: object properties: number: *46 @@ -81665,8 +81748,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *520 - resolution: *521 + state: *521 + resolution: *522 resolved_at: type: - string @@ -81871,15 +81954,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *241 - *242 - - *340 + - *243 + - *341 responses: '200': description: Response content: application/json: - schema: *522 + schema: *523 examples: default: value: @@ -81930,9 +82013,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *241 - *242 - - *340 + - *243 + - *341 requestBody: required: true content: @@ -81940,8 +82023,8 @@ paths: schema: type: object properties: - state: *520 - resolution: *521 + state: *521 + resolution: *522 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -81960,7 +82043,7 @@ paths: description: Response content: application/json: - schema: *522 + schema: *523 examples: default: value: @@ -82034,9 +82117,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *241 - *242 - - *340 + - *243 + - *341 - *18 - *17 responses: @@ -82047,7 +82130,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &651 + items: &652 type: object properties: type: @@ -82426,8 +82509,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -82435,14 +82518,14 @@ paths: schema: type: object properties: - reason: &524 + reason: &525 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *523 + placeholder_id: *524 required: - reason - placeholder_id @@ -82459,7 +82542,7 @@ paths: schema: type: object properties: - reason: *524 + reason: *525 expire_at: type: - string @@ -82503,8 +82586,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *241 - *242 + - *243 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -82519,7 +82602,7 @@ paths: properties: incremental_scans: type: array - items: &525 + items: &526 description: Information on a single scan performed by secret scanning on the repository type: object @@ -82529,30 +82612,33 @@ paths: description: The type of scan status: type: string - description: The state of the scan. Either "completed" or - "running" + description: The state of the scan. Either "completed", + "running", or "pending" completed_at: type: - string - 'null' format: date-time description: The time that the scan was completed. Empty - if the scan is active + if the scan is running started_at: - type: string + type: + - string + - 'null' format: date-time - description: The time that the scan was started + description: The time that the scan was started. Empty if + the scan is pending pattern_update_scans: type: array - items: *525 + items: *526 backfill_scans: type: array - items: *525 + items: *526 custom_pattern_backfill_scans: type: array items: allOf: - - *525 + - *526 - type: object properties: pattern_name: @@ -82622,8 +82708,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *241 - *242 + - *243 - *40 - name: sort description: The property to sort the results by. @@ -82667,9 +82753,9 @@ paths: application/json: schema: type: array - items: *526 + items: *527 examples: - default: *527 + default: *528 '400': *14 '404': *6 x-github: @@ -82692,8 +82778,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -82773,7 +82859,7 @@ paths: login: type: string description: The username of the user credited. - type: *225 + type: *226 required: - login - type @@ -82863,9 +82949,9 @@ paths: description: Response content: application/json: - schema: *526 + schema: *527 examples: - default: &529 + default: &530 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -83098,8 +83184,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -83212,7 +83298,7 @@ paths: description: Response content: application/json: - schema: *526 + schema: *527 examples: default: value: @@ -83359,17 +83445,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *241 - *242 - - *528 + - *243 + - *529 responses: '200': description: Response content: application/json: - schema: *526 + schema: *527 examples: - default: *529 + default: *530 '403': *27 '404': *6 x-github: @@ -83393,9 +83479,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *241 - *242 - - *528 + - *243 + - *529 requestBody: required: true content: @@ -83475,7 +83561,7 @@ paths: login: type: string description: The username of the user credited. - type: *225 + type: *226 required: - login - type @@ -83566,10 +83652,10 @@ paths: description: Response content: application/json: - schema: *526 + schema: *527 examples: - default: *529 - add_credit: *529 + default: *530 + add_credit: *530 '403': *27 '404': *6 '422': @@ -83607,9 +83693,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *241 - *242 - - *528 + - *243 + - *529 responses: '202': *94 '400': *14 @@ -83636,17 +83722,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *241 - *242 - - *528 + - *243 + - *529 responses: '202': description: Response content: application/json: - schema: *252 + schema: *253 examples: - default: *254 + default: *255 '400': *14 '422': *15 '403': *27 @@ -83672,8 +83758,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -83769,8 +83855,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *241 - *242 + - *243 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -83779,7 +83865,7 @@ paths: application/json: schema: type: array - items: &530 + items: &531 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -83792,7 +83878,7 @@ paths: - 1124 - -435 '202': *94 - '204': *131 + '204': *132 '422': description: Repository contains more than 10,000 commits x-github: @@ -83812,8 +83898,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -83864,7 +83950,7 @@ paths: total: 89 week: 1336280400 '202': *94 - '204': *131 + '204': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83891,8 +83977,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -83964,7 +84050,7 @@ paths: d: 77 c: 10 '202': *94 - '204': *131 + '204': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83986,8 +84072,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *241 - *242 + - *243 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -84141,8 +84227,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *241 - *242 + - *243 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -84152,7 +84238,7 @@ paths: application/json: schema: type: array - items: *530 + items: *531 examples: default: value: @@ -84165,7 +84251,7 @@ paths: - - 0 - 2 - 21 - '204': *131 + '204': *132 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84185,8 +84271,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *241 - *242 + - *243 - name: sha in: path required: true @@ -84242,7 +84328,7 @@ paths: description: Response content: application/json: - schema: *531 + schema: *532 examples: default: value: @@ -84296,8 +84382,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -84309,7 +84395,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *176 headers: Link: *37 x-github: @@ -84329,14 +84415,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *241 - *242 + - *243 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &532 + schema: &533 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -84409,8 +84495,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *241 - *242 + - *243 requestBody: required: false content: @@ -84436,7 +84522,7 @@ paths: description: Response content: application/json: - schema: *532 + schema: *533 examples: default: value: @@ -84463,8 +84549,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *241 - *242 + - *243 responses: '204': description: Response @@ -84484,8 +84570,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -84567,8 +84653,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -84576,7 +84662,7 @@ paths: application/json: schema: type: array - items: &533 + items: &534 title: Tag protection description: Tag protection type: object @@ -84633,8 +84719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -84657,7 +84743,7 @@ paths: description: Response content: application/json: - schema: *533 + schema: *534 examples: default: value: @@ -84688,8 +84774,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *241 - *242 + - *243 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -84726,8 +84812,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *241 - *242 + - *243 - name: ref in: path required: true @@ -84763,8 +84849,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *241 - *242 + - *243 - *17 - *18 responses: @@ -84774,9 +84860,9 @@ paths: application/json: schema: type: array - items: *172 + items: *173 examples: - default: *187 + default: *188 headers: Link: *37 '404': *6 @@ -84796,8 +84882,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *241 - *242 + - *243 - *18 - *17 responses: @@ -84805,7 +84891,7 @@ paths: description: Response content: application/json: - schema: &534 + schema: &535 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -84817,7 +84903,7 @@ paths: required: - names examples: - default: &535 + default: &536 value: names: - octocat @@ -84840,8 +84926,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -84872,9 +84958,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *535 examples: - default: *535 + default: *536 '404': *6 '422': *7 x-github: @@ -84895,9 +84981,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *241 - *242 - - &536 + - *243 + - &537 name: per description: The time frame to display results for. in: query @@ -84928,7 +85014,7 @@ paths: - 128 clones: type: array - items: &537 + items: &538 title: Traffic type: object properties: @@ -85015,8 +85101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -85110,8 +85196,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *241 - *242 + - *243 responses: '200': description: Response @@ -85174,9 +85260,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *241 - *242 - - *536 + - *243 + - *537 responses: '200': description: Response @@ -85197,7 +85283,7 @@ paths: - 3782 views: type: array - items: *537 + items: *538 required: - uniques - count @@ -85274,8 +85360,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *241 - *242 + - *243 requestBody: required: true content: @@ -85549,8 +85635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *241 - *242 + - *243 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -85573,8 +85659,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *241 - *242 + - *243 responses: '204': description: Response @@ -85596,8 +85682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *241 - *242 + - *243 responses: '204': description: Response @@ -85623,8 +85709,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *241 - *242 + - *243 - name: ref in: path required: true @@ -85716,9 +85802,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *253 examples: - default: *254 + default: *255 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -85967,7 +86053,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &538 + text_matches: &539 title: Search Result Text Matches type: array items: @@ -86130,7 +86216,7 @@ paths: enum: - author-date - committer-date - - &539 + - &540 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -86199,7 +86285,7 @@ paths: committer: anyOf: - type: 'null' - - *307 + - *308 comment_count: type: integer message: @@ -86218,7 +86304,7 @@ paths: url: type: string format: uri - verification: *415 + verification: *416 required: - author - committer @@ -86233,7 +86319,7 @@ paths: committer: anyOf: - type: 'null' - - *307 + - *308 parents: type: array items: @@ -86250,7 +86336,7 @@ paths: type: number node_id: type: string - text_matches: *538 + text_matches: *539 required: - sha - node_id @@ -86442,7 +86528,7 @@ paths: - interactions - created - updated - - *539 + - *540 - *17 - *18 responses: @@ -86558,7 +86644,7 @@ paths: milestone: anyOf: - type: 'null' - - *370 + - *371 comments: type: integer created_at: @@ -86572,7 +86658,7 @@ paths: - string - 'null' format: date-time - text_matches: *538 + text_matches: *539 pull_request: type: object properties: @@ -86794,7 +86880,7 @@ paths: enum: - created - updated - - *539 + - *540 - *17 - *18 responses: @@ -86839,7 +86925,7 @@ paths: - 'null' score: type: number - text_matches: *538 + text_matches: *539 required: - id - node_id @@ -86924,7 +87010,7 @@ paths: - forks - help-wanted-issues - updated - - *539 + - *540 - *17 - *18 responses: @@ -87161,7 +87247,7 @@ paths: - admin - pull - push - text_matches: *538 + text_matches: *539 temp_clone_token: type: string allow_merge_commit: @@ -87469,7 +87555,7 @@ paths: - string - 'null' format: uri - text_matches: *538 + text_matches: *539 related: type: - array @@ -87662,7 +87748,7 @@ paths: - followers - repositories - joined - - *539 + - *540 - *17 - *18 responses: @@ -87772,7 +87858,7 @@ paths: type: - boolean - 'null' - text_matches: *538 + text_matches: *539 blog: type: - string @@ -87854,7 +87940,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &540 + - &541 name: team_id description: The unique identifier of the team. in: path @@ -87866,9 +87952,9 @@ paths: description: Response content: application/json: - schema: *226 + schema: *227 examples: - default: *227 + default: *228 '404': *6 x-github: githubCloudOnly: false @@ -87895,7 +87981,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *540 + - *541 requestBody: required: true content: @@ -87959,16 +88045,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *226 + schema: *227 examples: - default: *227 + default: *228 '201': description: Response content: application/json: - schema: *226 + schema: *227 examples: - default: *227 + default: *228 '404': *6 '422': *15 '403': *27 @@ -87996,7 +88082,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *540 + - *541 responses: '204': description: Response @@ -88027,7 +88113,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *540 + - *541 - *40 - *17 - *18 @@ -88038,9 +88124,9 @@ paths: application/json: schema: type: array - items: *228 + items: *229 examples: - default: *541 + default: *542 headers: Link: *37 x-github: @@ -88069,7 +88155,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *540 + - *541 requestBody: required: true content: @@ -88103,9 +88189,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: *229 + default: *230 x-github: triggersNotification: true githubCloudOnly: false @@ -88132,16 +88218,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *540 - - *230 + - *541 + - *231 responses: '200': description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: *229 + default: *230 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88166,8 +88252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *540 - - *230 + - *541 + - *231 requestBody: required: false content: @@ -88190,9 +88276,9 @@ paths: description: Response content: application/json: - schema: *228 + schema: *229 examples: - default: *542 + default: *543 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88217,8 +88303,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *540 - - *230 + - *541 + - *231 responses: '204': description: Response @@ -88247,8 +88333,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *540 - - *230 + - *541 + - *231 - *40 - *17 - *18 @@ -88259,9 +88345,9 @@ paths: application/json: schema: type: array - items: *231 + items: *232 examples: - default: *543 + default: *544 headers: Link: *37 x-github: @@ -88290,8 +88376,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *540 - - *230 + - *541 + - *231 requestBody: required: true content: @@ -88313,9 +88399,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *232 examples: - default: *232 + default: *233 x-github: triggersNotification: true githubCloudOnly: false @@ -88342,17 +88428,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *540 - - *230 - - *233 + - *541 + - *231 + - *234 responses: '200': description: Response content: application/json: - schema: *231 + schema: *232 examples: - default: *232 + default: *233 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88377,9 +88463,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *540 - - *230 - - *233 + - *541 + - *231 + - *234 requestBody: required: true content: @@ -88401,9 +88487,9 @@ paths: description: Response content: application/json: - schema: *231 + schema: *232 examples: - default: *544 + default: *545 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88428,9 +88514,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *540 - - *230 - - *233 + - *541 + - *231 + - *234 responses: '204': description: Response @@ -88459,9 +88545,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *540 - - *230 - - *233 + - *541 + - *231 + - *234 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -88487,9 +88573,9 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: - default: *236 + default: *237 headers: Link: *37 x-github: @@ -88518,9 +88604,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *540 - - *230 - - *233 + - *541 + - *231 + - *234 requestBody: required: true content: @@ -88552,9 +88638,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *235 + default: *236 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88580,8 +88666,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *540 - - *230 + - *541 + - *231 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -88607,9 +88693,9 @@ paths: application/json: schema: type: array - items: *234 + items: *235 examples: - default: *236 + default: *237 headers: Link: *37 x-github: @@ -88638,8 +88724,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *540 - - *230 + - *541 + - *231 requestBody: required: true content: @@ -88671,9 +88757,9 @@ paths: description: Response content: application/json: - schema: *234 + schema: *235 examples: - default: *235 + default: *236 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -88697,7 +88783,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *540 + - *541 - *17 - *18 responses: @@ -88707,9 +88793,9 @@ paths: application/json: schema: type: array - items: *169 + items: *170 examples: - default: *170 + default: *171 headers: Link: *37 x-github: @@ -88735,7 +88821,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *540 + - *541 - name: role description: Filters members returned by their role in the team. in: query @@ -88758,7 +88844,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *176 headers: Link: *37 '404': *6 @@ -88786,7 +88872,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *540 + - *541 - *121 responses: '204': @@ -88823,7 +88909,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *540 + - *541 - *121 responses: '204': @@ -88863,7 +88949,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *540 + - *541 - *121 responses: '204': @@ -88900,16 +88986,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *540 + - *541 - *121 responses: '200': description: Response content: application/json: - schema: *238 + schema: *239 examples: - response-if-user-is-a-team-maintainer: *545 + response-if-user-is-a-team-maintainer: *546 '404': *6 x-github: githubCloudOnly: false @@ -88942,7 +89028,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *540 + - *541 - *121 requestBody: required: false @@ -88968,9 +89054,9 @@ paths: description: Response content: application/json: - schema: *238 + schema: *239 examples: - response-if-users-membership-with-team-is-now-pending: *546 + response-if-users-membership-with-team-is-now-pending: *547 '403': description: Forbidden if team synchronization is set up '422': @@ -89004,7 +89090,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *540 + - *541 - *121 responses: '204': @@ -89034,7 +89120,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *540 + - *541 - *17 - *18 responses: @@ -89044,9 +89130,9 @@ paths: application/json: schema: type: array - items: *239 + items: *240 examples: - default: *547 + default: *548 headers: Link: *37 '404': *6 @@ -89073,16 +89159,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *540 - - *240 + - *541 + - *241 responses: '200': description: Response content: application/json: - schema: *239 + schema: *240 examples: - default: *548 + default: *549 '404': description: Not Found if project is not managed by this team x-github: @@ -89107,8 +89193,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *540 - - *240 + - *541 + - *241 requestBody: required: false content: @@ -89176,8 +89262,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *540 - - *240 + - *541 + - *241 responses: '204': description: Response @@ -89204,7 +89290,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *540 + - *541 - *17 - *18 responses: @@ -89216,7 +89302,7 @@ paths: type: array items: *108 examples: - default: *194 + default: *195 headers: Link: *37 '404': *6 @@ -89246,15 +89332,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *540 - - *241 + - *541 - *242 + - *243 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *549 + schema: *550 examples: alternative-response-with-extra-repository-information: value: @@ -89405,9 +89491,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *540 - - *241 + - *541 - *242 + - *243 requestBody: required: false content: @@ -89457,9 +89543,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *540 - - *241 + - *541 - *242 + - *243 responses: '204': description: Response @@ -89484,7 +89570,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *540 + - *541 - *17 - *18 responses: @@ -89494,9 +89580,9 @@ paths: application/json: schema: type: array - items: *172 + items: *173 examples: - response-if-child-teams-exist: *550 + response-if-child-teams-exist: *551 headers: Link: *37 '404': *6 @@ -89529,7 +89615,7 @@ paths: application/json: schema: oneOf: - - &552 + - &553 title: Private User description: Private User type: object @@ -89779,7 +89865,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *551 + - *552 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -89939,7 +90025,7 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: default: value: @@ -90018,7 +90104,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *176 '304': *35 '404': *6 '403': *27 @@ -90142,9 +90228,9 @@ paths: type: integer codespaces: type: array - items: *176 + items: *177 examples: - default: *177 + default: *178 '304': *35 '500': *39 '401': *23 @@ -90283,17 +90369,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *176 + schema: *177 examples: - default: *357 + default: *358 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *176 + schema: *177 examples: - default: *357 + default: *358 '401': *23 '403': *27 '404': *6 @@ -90337,7 +90423,7 @@ paths: type: integer secrets: type: array - items: &553 + items: &554 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -90379,7 +90465,7 @@ paths: - visibility - selected_repositories_url examples: - default: *359 + default: *360 headers: Link: *37 x-github: @@ -90457,7 +90543,7 @@ paths: description: Response content: application/json: - schema: *553 + schema: *554 examples: default: value: @@ -90603,7 +90689,7 @@ paths: type: array items: *108 examples: - default: *554 + default: *555 '401': *23 '403': *27 '404': *6 @@ -90747,15 +90833,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *178 + - *179 responses: '200': description: Response content: application/json: - schema: *176 + schema: *177 examples: - default: *357 + default: *358 '304': *35 '500': *39 '401': *23 @@ -90781,7 +90867,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *178 + - *179 requestBody: required: false content: @@ -90811,9 +90897,9 @@ paths: description: Response content: application/json: - schema: *176 + schema: *177 examples: - default: *357 + default: *358 '401': *23 '403': *27 '404': *6 @@ -90835,7 +90921,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *178 + - *179 responses: '202': *94 '304': *35 @@ -90864,13 +90950,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *178 + - *179 responses: '202': description: Response content: application/json: - schema: &555 + schema: &556 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -90923,7 +91009,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &556 + default: &557 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -90955,7 +91041,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *178 + - *179 - name: export_id in: path required: true @@ -90968,9 +91054,9 @@ paths: description: Response content: application/json: - schema: *555 + schema: *556 examples: - default: *556 + default: *557 '404': *6 x-github: githubCloudOnly: false @@ -90991,7 +91077,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *178 + - *179 responses: '200': description: Response @@ -91007,9 +91093,9 @@ paths: type: integer machines: type: array - items: *358 + items: *359 examples: - default: *557 + default: *558 '304': *35 '500': *39 '401': *23 @@ -91038,7 +91124,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *178 + - *179 requestBody: required: true content: @@ -91094,11 +91180,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *252 + repository: *253 machine: anyOf: - type: 'null' - - *358 + - *359 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -91895,15 +91981,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *178 + - *179 responses: '200': description: Response content: application/json: - schema: *176 + schema: *177 examples: - default: *357 + default: *358 '304': *35 '500': *39 '400': *14 @@ -91935,15 +92021,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *178 + - *179 responses: '200': description: Response content: application/json: - schema: *176 + schema: *177 examples: - default: *357 + default: *358 '500': *39 '401': *23 '403': *27 @@ -91973,9 +92059,9 @@ paths: application/json: schema: type: array - items: *188 + items: *189 examples: - default: &570 + default: &571 value: - id: 197 name: hello_docker @@ -92076,7 +92162,7 @@ paths: application/json: schema: type: array - items: &558 + items: &559 title: Email description: Email type: object @@ -92146,9 +92232,9 @@ paths: application/json: schema: type: array - items: *558 + items: *559 examples: - default: &572 + default: &573 value: - email: octocat@github.com verified: true @@ -92225,7 +92311,7 @@ paths: application/json: schema: type: array - items: *558 + items: *559 examples: default: value: @@ -92337,7 +92423,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *176 headers: Link: *37 '304': *35 @@ -92370,7 +92456,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *176 headers: Link: *37 '304': *35 @@ -92483,7 +92569,7 @@ paths: application/json: schema: type: array - items: &559 + items: &560 title: GPG Key description: A unique encryption key type: object @@ -92628,7 +92714,7 @@ paths: - subkeys - revoked examples: - default: &583 + default: &584 value: - id: 3 name: Octocat's GPG Key @@ -92713,9 +92799,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *560 examples: - default: &560 + default: &561 value: id: 3 name: Octocat's GPG Key @@ -92772,7 +92858,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &561 + - &562 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -92784,9 +92870,9 @@ paths: description: Response content: application/json: - schema: *559 + schema: *560 examples: - default: *560 + default: *561 '404': *6 '304': *35 '403': *27 @@ -92809,7 +92895,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *561 + - *562 responses: '204': description: Response @@ -93000,7 +93086,7 @@ paths: type: array items: *57 examples: - default: *562 + default: *563 headers: Link: *37 '404': *6 @@ -93085,12 +93171,12 @@ paths: application/json: schema: anyOf: - - *167 + - *168 - type: object properties: {} additionalProperties: false examples: - default: *168 + default: *169 '204': description: Response when there are no restrictions x-github: @@ -93114,7 +93200,7 @@ paths: required: true content: application/json: - schema: *426 + schema: *427 examples: default: value: @@ -93125,7 +93211,7 @@ paths: description: Response content: application/json: - schema: *167 + schema: *168 examples: default: value: @@ -93206,7 +93292,7 @@ paths: - closed - all default: open - - *173 + - *174 - name: sort description: What to sort results by. in: query @@ -93231,7 +93317,7 @@ paths: type: array items: *72 examples: - default: *174 + default: *175 headers: Link: *37 '404': *6 @@ -93264,7 +93350,7 @@ paths: application/json: schema: type: array - items: &563 + items: &564 title: Key description: Key type: object @@ -93362,9 +93448,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: &564 + default: &565 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -93397,15 +93483,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *453 + - *454 responses: '200': description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: *564 + default: *565 '404': *6 '304': *35 '403': *27 @@ -93428,7 +93514,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *453 + - *454 responses: '204': description: Response @@ -93461,7 +93547,7 @@ paths: application/json: schema: type: array - items: &565 + items: &566 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -93540,7 +93626,7 @@ paths: - account - plan examples: - default: &566 + default: &567 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -93602,9 +93688,9 @@ paths: application/json: schema: type: array - items: *565 + items: *566 examples: - default: *566 + default: *567 headers: Link: *37 '304': *35 @@ -93644,7 +93730,7 @@ paths: application/json: schema: type: array - items: *179 + items: *180 examples: default: value: @@ -93752,7 +93838,7 @@ paths: description: Response content: application/json: - schema: *179 + schema: *180 examples: default: value: @@ -93835,7 +93921,7 @@ paths: description: Response content: application/json: - schema: *179 + schema: *180 examples: default: value: @@ -93903,7 +93989,7 @@ paths: application/json: schema: type: array - items: *181 + items: *182 examples: default: value: @@ -94165,7 +94251,7 @@ paths: description: Response content: application/json: - schema: *181 + schema: *182 examples: default: value: @@ -94345,7 +94431,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *182 + - *183 - name: exclude in: query required: false @@ -94358,7 +94444,7 @@ paths: description: Response content: application/json: - schema: *181 + schema: *182 examples: default: value: @@ -94552,7 +94638,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *182 + - *183 responses: '302': description: Response @@ -94578,7 +94664,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *182 + - *183 responses: '204': description: Response @@ -94607,8 +94693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *182 - - *567 + - *183 + - *568 responses: '204': description: Response @@ -94632,7 +94718,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *182 + - *183 - *17 - *18 responses: @@ -94644,7 +94730,7 @@ paths: type: array items: *108 examples: - default: *194 + default: *195 headers: Link: *37 '404': *6 @@ -94681,7 +94767,7 @@ paths: type: array items: *88 examples: - default: *568 + default: *569 headers: Link: *37 '304': *35 @@ -94723,7 +94809,7 @@ paths: - docker - nuget - container - - *569 + - *570 - *18 - *17 responses: @@ -94733,10 +94819,10 @@ paths: application/json: schema: type: array - items: *188 + items: *189 examples: - default: *570 - '400': *571 + default: *571 + '400': *572 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94756,16 +94842,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *190 - *191 + - *192 responses: '200': description: Response content: application/json: - schema: *188 + schema: *189 examples: - default: &584 + default: &585 value: id: 40201 name: octo-name @@ -94878,8 +94964,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *190 - *191 + - *192 responses: '204': description: Response @@ -94909,8 +94995,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *190 - *191 + - *192 - name: token description: package token schema: @@ -94942,8 +95028,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *190 - *191 + - *192 - *18 - *17 - name: state @@ -94963,7 +95049,7 @@ paths: application/json: schema: type: array - items: *192 + items: *193 examples: default: value: @@ -95012,15 +95098,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *190 - *191 - - *193 + - *192 + - *194 responses: '200': description: Response content: application/json: - schema: *192 + schema: *193 examples: default: value: @@ -95056,9 +95142,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *190 - *191 - - *193 + - *192 + - *194 responses: '204': description: Response @@ -95088,9 +95174,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *190 - *191 - - *193 + - *192 + - *194 responses: '204': description: Response @@ -95148,7 +95234,7 @@ paths: description: Response content: application/json: - schema: *201 + schema: *202 examples: default: value: @@ -95217,9 +95303,9 @@ paths: application/json: schema: type: array - items: *558 + items: *559 examples: - default: *572 + default: *573 headers: Link: *37 '304': *35 @@ -95332,7 +95418,7 @@ paths: type: array items: *57 examples: - default: &579 + default: &580 summary: Default response value: - id: 1296269 @@ -95648,9 +95734,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *253 examples: - default: *254 + default: *255 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -95688,9 +95774,9 @@ paths: application/json: schema: type: array - items: *428 + items: *429 examples: - default: *573 + default: *574 headers: Link: *37 '304': *35 @@ -95713,7 +95799,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *171 + - *172 responses: '204': description: Response @@ -95736,7 +95822,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *171 + - *172 responses: '204': description: Response @@ -95769,7 +95855,7 @@ paths: application/json: schema: type: array - items: &574 + items: &575 title: Social account description: Social media account type: object @@ -95786,7 +95872,7 @@ paths: - provider - url examples: - default: &575 + default: &576 value: - provider: twitter url: https://twitter.com/github @@ -95849,9 +95935,9 @@ paths: application/json: schema: type: array - items: *574 + items: *575 examples: - default: *575 + default: *576 '422': *15 '304': *35 '404': *6 @@ -95939,7 +96025,7 @@ paths: application/json: schema: type: array - items: &576 + items: &577 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -95959,7 +96045,7 @@ paths: - title - created_at examples: - default: &591 + default: &592 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -96026,9 +96112,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *577 examples: - default: &577 + default: &578 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -96059,7 +96145,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &578 + - &579 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -96071,9 +96157,9 @@ paths: description: Response content: application/json: - schema: *576 + schema: *577 examples: - default: *577 + default: *578 '404': *6 '304': *35 '403': *27 @@ -96096,7 +96182,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *578 + - *579 responses: '204': description: Response @@ -96125,7 +96211,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &592 + - &593 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -96150,11 +96236,11 @@ paths: type: array items: *57 examples: - default-response: *579 + default-response: *580 application/vnd.github.v3.star+json: schema: type: array - items: &593 + items: &594 title: Starred Repository description: Starred Repository type: object @@ -96310,8 +96396,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *241 - *242 + - *243 responses: '204': description: Response if this repository is starred by you @@ -96339,8 +96425,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *241 - *242 + - *243 responses: '204': description: Response @@ -96364,8 +96450,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *241 - *242 + - *243 responses: '204': description: Response @@ -96400,7 +96486,7 @@ paths: type: array items: *108 examples: - default: *194 + default: *195 headers: Link: *37 '304': *35 @@ -96437,7 +96523,7 @@ paths: application/json: schema: type: array - items: *226 + items: *227 examples: default: value: @@ -96521,10 +96607,10 @@ paths: application/json: schema: oneOf: + - *553 - *552 - - *551 examples: - default-response: &581 + default-response: &582 summary: Default response value: login: octocat @@ -96559,7 +96645,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &582 + response-with-git-hub-plan-information: &583 summary: Response with GitHub plan information value: login: octocat @@ -96619,7 +96705,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *580 + - *581 - *17 responses: '200': @@ -96630,7 +96716,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *176 headers: Link: example: ; rel="next" @@ -96666,11 +96752,11 @@ paths: application/json: schema: oneOf: + - *553 - *552 - - *551 examples: - default-response: *581 - response-with-git-hub-plan-information: *582 + default-response: *582 + response-with-git-hub-plan-information: *583 '404': *6 x-github: githubCloudOnly: false @@ -96832,9 +96918,9 @@ paths: application/json: schema: type: array - items: *188 + items: *189 examples: - default: *570 + default: *571 '403': *27 '401': *23 x-github: @@ -97117,7 +97203,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *176 headers: Link: *37 x-github: @@ -97148,7 +97234,7 @@ paths: type: array items: *4 examples: - default: *175 + default: *176 headers: Link: *37 x-github: @@ -97238,9 +97324,9 @@ paths: application/json: schema: type: array - items: *559 + items: *560 examples: - default: *583 + default: *584 headers: Link: *37 x-github: @@ -97344,7 +97430,7 @@ paths: application/json: schema: *20 examples: - default: *425 + default: *426 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97422,7 +97508,7 @@ paths: type: array items: *88 examples: - default: *568 + default: *569 headers: Link: *37 x-github: @@ -97461,7 +97547,7 @@ paths: - docker - nuget - container - - *569 + - *570 - *121 - *18 - *17 @@ -97472,12 +97558,12 @@ paths: application/json: schema: type: array - items: *188 + items: *189 examples: - default: *570 + default: *571 '403': *27 '401': *23 - '400': *571 + '400': *572 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97497,17 +97583,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *190 - *191 + - *192 - *121 responses: '200': description: Response content: application/json: - schema: *188 + schema: *189 examples: - default: *584 + default: *585 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97528,8 +97614,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *190 - *191 + - *192 - *121 responses: '204': @@ -97562,8 +97648,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *190 - *191 + - *192 - *121 - name: token description: package token @@ -97596,8 +97682,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *190 - *191 + - *192 - *121 responses: '200': @@ -97606,7 +97692,7 @@ paths: application/json: schema: type: array - items: *192 + items: *193 examples: default: value: @@ -97664,16 +97750,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *190 - *191 - - *193 + - *192 + - *194 - *121 responses: '200': description: Response content: application/json: - schema: *192 + schema: *193 examples: default: value: @@ -97708,10 +97794,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *190 - *191 + - *192 - *121 - - *193 + - *194 responses: '204': description: Response @@ -97743,10 +97829,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *190 - *191 + - *192 - *121 - - *193 + - *194 responses: '204': description: Response @@ -97790,7 +97876,7 @@ paths: application/json: schema: type: array - items: *201 + items: *202 examples: default: value: @@ -98070,7 +98156,7 @@ paths: type: array items: *108 examples: - default: *194 + default: *195 headers: Link: *37 x-github: @@ -98100,9 +98186,9 @@ paths: description: Response content: application/json: - schema: *585 + schema: *586 examples: - default: *586 + default: *587 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98130,9 +98216,9 @@ paths: description: Response content: application/json: - schema: *587 + schema: *588 examples: - default: *588 + default: *589 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98160,9 +98246,9 @@ paths: description: Response content: application/json: - schema: *589 + schema: *590 examples: - default: *590 + default: *591 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98190,9 +98276,9 @@ paths: application/json: schema: type: array - items: *574 + items: *575 examples: - default: *575 + default: *576 headers: Link: *37 x-github: @@ -98222,9 +98308,9 @@ paths: application/json: schema: type: array - items: *576 + items: *577 examples: - default: *591 + default: *592 headers: Link: *37 x-github: @@ -98249,7 +98335,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *121 - - *592 + - *593 - *40 - *17 - *18 @@ -98261,11 +98347,11 @@ paths: schema: anyOf: - type: array - items: *593 + items: *594 - type: array items: *57 examples: - default-response: *579 + default-response: *580 headers: Link: *37 x-github: @@ -98296,7 +98382,7 @@ paths: type: array items: *108 examples: - default: *194 + default: *195 headers: Link: *37 x-github: @@ -98425,7 +98511,7 @@ webhooks: type: string enum: - disabled - enterprise: &594 + enterprise: &595 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -98494,7 +98580,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &595 + installation: &596 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -98515,7 +98601,7 @@ webhooks: required: - id - node_id - organization: &596 + organization: &597 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -98588,7 +98674,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &597 + repository: &598 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -99501,10 +99587,10 @@ webhooks: type: string enum: - enabled - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -99580,11 +99666,11 @@ webhooks: type: string enum: - created - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 - rule: &598 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 + rule: &599 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -99807,11 +99893,11 @@ webhooks: type: string enum: - deleted - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 - rule: *598 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 + rule: *599 sender: *4 required: - action @@ -99999,11 +100085,11 @@ webhooks: - everyone required: - from - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 - rule: *598 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 + rule: *599 sender: *4 required: - action @@ -100087,7 +100173,7 @@ webhooks: type: string enum: - completed - check_run: &600 + check_run: &601 title: CheckRun description: A check performed on the code of a given code change type: object @@ -100155,7 +100241,7 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *320 + items: *321 repository: *108 status: type: string @@ -100200,7 +100286,7 @@ webhooks: - examples: - neutral - deployment: *599 + deployment: *600 details_url: type: string examples: @@ -100260,7 +100346,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *320 + items: *321 started_at: type: string format: date-time @@ -100298,9 +100384,9 @@ webhooks: - output - app - pull_requests - installation: *595 - organization: *596 - repository: *597 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - check_run @@ -100693,10 +100779,10 @@ webhooks: type: string enum: - created - check_run: *600 - installation: *595 - organization: *596 - repository: *597 + check_run: *601 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - check_run @@ -101092,10 +101178,10 @@ webhooks: type: string enum: - requested_action - check_run: *600 - installation: *595 - organization: *596 - repository: *597 + check_run: *601 + installation: *596 + organization: *597 + repository: *598 requested_action: description: The action requested by the user. type: object @@ -101500,10 +101586,10 @@ webhooks: type: string enum: - rerequested - check_run: *600 - installation: *595 - organization: *596 - repository: *597 + check_run: *601 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - check_run @@ -102495,10 +102581,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -103183,10 +103269,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -103865,10 +103951,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -104175,20 +104261,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &601 + commit_oid: &602 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *594 - installation: *595 - organization: *596 - ref: &602 + enterprise: *595 + installation: *596 + organization: *597 + ref: &603 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *597 + repository: *598 sender: *4 required: - action @@ -104516,12 +104602,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *601 - enterprise: *594 - installation: *595 - organization: *596 - ref: *602 - repository: *597 + commit_oid: *602 + enterprise: *595 + installation: *596 + organization: *597 + ref: *603 + repository: *598 sender: *4 required: - action @@ -104619,7 +104705,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *335 + dismissed_comment: *336 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -104794,12 +104880,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *601 - enterprise: *594 - installation: *595 - organization: *596 - ref: *602 - repository: *597 + commit_oid: *602 + enterprise: *595 + installation: *596 + organization: *597 + ref: *603 + repository: *598 sender: *4 required: - action @@ -105131,12 +105217,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *601 - enterprise: *594 - installation: *595 - organization: *596 - ref: *602 - repository: *597 + commit_oid: *602 + enterprise: *595 + installation: *596 + organization: *597 + ref: *603 + repository: *598 sender: *4 required: - action @@ -105405,9 +105491,9 @@ webhooks: type: - string - 'null' - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -105415,7 +105501,7 @@ webhooks: type: - string - 'null' - repository: *597 + repository: *598 sender: *4 required: - action @@ -105647,12 +105733,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *601 - enterprise: *594 - installation: *595 - organization: *596 - ref: *602 - repository: *597 + commit_oid: *602 + enterprise: *595 + installation: *596 + organization: *597 + ref: *603 + repository: *598 sender: *4 required: - action @@ -105914,10 +106000,10 @@ webhooks: - updated_at - author_association - body - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -105998,18 +106084,18 @@ webhooks: type: - string - 'null' - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *596 - pusher_type: &603 + organization: *597 + pusher_type: &604 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &604 + ref: &605 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -106019,7 +106105,7 @@ webhooks: enum: - tag - branch - repository: *597 + repository: *598 sender: *4 required: - ref @@ -106101,10 +106187,10 @@ webhooks: type: string enum: - created - definition: *202 - enterprise: *594 - installation: *595 - organization: *596 + definition: *203 + enterprise: *595 + installation: *596 + organization: *597 sender: *4 required: - action @@ -106189,9 +106275,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 sender: *4 required: - action @@ -106268,10 +106354,10 @@ webhooks: type: string enum: - updated - definition: *202 - enterprise: *594 - installation: *595 - organization: *596 + definition: *203 + enterprise: *595 + installation: *596 + organization: *597 sender: *4 required: - action @@ -106348,19 +106434,19 @@ webhooks: type: string enum: - updated - enterprise: *594 - installation: *595 - repository: *597 - organization: *596 + enterprise: *595 + installation: *596 + repository: *598 + organization: *597 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *206 + items: *207 old_property_values: type: array description: The old custom property values for the repository. - items: *206 + items: *207 required: - action - repository @@ -106436,18 +106522,18 @@ webhooks: title: delete event type: object properties: - enterprise: *594 - installation: *595 - organization: *596 - pusher_type: *603 - ref: *604 + enterprise: *595 + installation: *596 + organization: *597 + pusher_type: *604 + ref: *605 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *597 + repository: *598 sender: *4 required: - ref @@ -106531,11 +106617,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *384 - installation: *595 - organization: *596 - enterprise: *594 - repository: *597 + alert: *385 + installation: *596 + organization: *597 + enterprise: *595 + repository: *598 sender: *4 required: - action @@ -106619,11 +106705,11 @@ webhooks: type: string enum: - auto_reopened - alert: *384 - installation: *595 - organization: *596 - enterprise: *594 - repository: *597 + alert: *385 + installation: *596 + organization: *597 + enterprise: *595 + repository: *598 sender: *4 required: - action @@ -106707,11 +106793,11 @@ webhooks: type: string enum: - created - alert: *384 - installation: *595 - organization: *596 - enterprise: *594 - repository: *597 + alert: *385 + installation: *596 + organization: *597 + enterprise: *595 + repository: *598 sender: *4 required: - action @@ -106793,11 +106879,11 @@ webhooks: type: string enum: - dismissed - alert: *384 - installation: *595 - organization: *596 - enterprise: *594 - repository: *597 + alert: *385 + installation: *596 + organization: *597 + enterprise: *595 + repository: *598 sender: *4 required: - action @@ -106879,11 +106965,11 @@ webhooks: type: string enum: - fixed - alert: *384 - installation: *595 - organization: *596 - enterprise: *594 - repository: *597 + alert: *385 + installation: *596 + organization: *597 + enterprise: *595 + repository: *598 sender: *4 required: - action @@ -106966,11 +107052,11 @@ webhooks: type: string enum: - reintroduced - alert: *384 - installation: *595 - organization: *596 - enterprise: *594 - repository: *597 + alert: *385 + installation: *596 + organization: *597 + enterprise: *595 + repository: *598 sender: *4 required: - action @@ -107052,11 +107138,11 @@ webhooks: type: string enum: - reopened - alert: *384 - installation: *595 - organization: *596 - enterprise: *594 - repository: *597 + alert: *385 + installation: *596 + organization: *597 + enterprise: *595 + repository: *598 sender: *4 required: - action @@ -107133,9 +107219,9 @@ webhooks: type: string enum: - created - enterprise: *594 - installation: *595 - key: &605 + enterprise: *595 + installation: *596 + key: &606 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -107173,8 +107259,8 @@ webhooks: - verified - created_at - read_only - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 required: - action @@ -107251,11 +107337,11 @@ webhooks: type: string enum: - deleted - enterprise: *594 - installation: *595 - key: *605 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + key: *606 + organization: *597 + repository: *598 sender: *4 required: - action @@ -107827,12 +107913,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 - workflow: &609 + workflow: &610 title: Workflow type: - object @@ -108570,13 +108656,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *390 + deployment: *391 pull_requests: type: array - items: *472 - repository: *597 - organization: *596 - installation: *595 + items: *473 + repository: *598 + organization: *597 + installation: *596 sender: *4 responses: '200': @@ -108647,7 +108733,7 @@ webhooks: type: string enum: - approved - approver: &606 + approver: &607 type: object properties: avatar_url: @@ -108690,11 +108776,11 @@ webhooks: type: string comment: type: string - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 - reviewers: &607 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 + reviewers: &608 type: array items: type: object @@ -108775,7 +108861,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &608 + workflow_job_run: &609 type: object properties: conclusion: @@ -109521,18 +109607,18 @@ webhooks: type: string enum: - rejected - approver: *606 + approver: *607 comment: type: string - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 - reviewers: *607 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 + reviewers: *608 sender: *4 since: type: string - workflow_job_run: *608 + workflow_job_run: *609 workflow_job_runs: type: array items: @@ -110249,13 +110335,13 @@ webhooks: type: string enum: - requested - enterprise: *594 + enterprise: *595 environment: type: string - installation: *595 - organization: *596 - repository: *597 - requestor: &614 + installation: *596 + organization: *597 + repository: *598 + requestor: &615 title: User type: - object @@ -112198,12 +112284,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 - workflow: *609 + workflow: *610 workflow_run: title: Deployment Workflow Run type: @@ -112894,7 +112980,7 @@ webhooks: type: string enum: - answered - answer: &612 + answer: &613 type: object properties: author_association: @@ -113054,7 +113140,7 @@ webhooks: - created_at - updated_at - body - discussion: &610 + discussion: &611 title: Discussion description: A Discussion in a repository. type: object @@ -113350,7 +113436,7 @@ webhooks: - id labels: type: array - items: *435 + items: *436 required: - repository_url - category @@ -113372,10 +113458,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -113502,11 +113588,11 @@ webhooks: - from required: - category - discussion: *610 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + discussion: *611 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -113589,11 +113675,11 @@ webhooks: type: string enum: - closed - discussion: *610 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + discussion: *611 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -113675,7 +113761,7 @@ webhooks: type: string enum: - created - comment: &611 + comment: &612 type: object properties: author_association: @@ -113835,11 +113921,11 @@ webhooks: - updated_at - body - reactions - discussion: *610 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + discussion: *611 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -113922,12 +114008,12 @@ webhooks: type: string enum: - deleted - comment: *611 - discussion: *610 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + comment: *612 + discussion: *611 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -114022,12 +114108,12 @@ webhooks: - from required: - body - comment: *611 - discussion: *610 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + comment: *612 + discussion: *611 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -114111,11 +114197,11 @@ webhooks: type: string enum: - created - discussion: *610 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + discussion: *611 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -114197,11 +114283,11 @@ webhooks: type: string enum: - deleted - discussion: *610 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + discussion: *611 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -114301,11 +114387,11 @@ webhooks: type: string required: - from - discussion: *610 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + discussion: *611 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -114387,10 +114473,10 @@ webhooks: type: string enum: - labeled - discussion: *610 - enterprise: *594 - installation: *595 - label: &613 + discussion: *611 + enterprise: *595 + installation: *596 + label: &614 title: Label type: object properties: @@ -114423,8 +114509,8 @@ webhooks: - color - default - description - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 required: - action @@ -114507,11 +114593,11 @@ webhooks: type: string enum: - locked - discussion: *610 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + discussion: *611 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -114593,11 +114679,11 @@ webhooks: type: string enum: - pinned - discussion: *610 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + discussion: *611 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -114679,11 +114765,11 @@ webhooks: type: string enum: - reopened - discussion: *610 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + discussion: *611 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -114768,16 +114854,16 @@ webhooks: changes: type: object properties: - new_discussion: *610 - new_repository: *597 + new_discussion: *611 + new_repository: *598 required: - new_discussion - new_repository - discussion: *610 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + discussion: *611 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -114860,10 +114946,10 @@ webhooks: type: string enum: - unanswered - discussion: *610 - old_answer: *612 - organization: *596 - repository: *597 + discussion: *611 + old_answer: *613 + organization: *597 + repository: *598 sender: *4 required: - action @@ -114945,12 +115031,12 @@ webhooks: type: string enum: - unlabeled - discussion: *610 - enterprise: *594 - installation: *595 - label: *613 - organization: *596 - repository: *597 + discussion: *611 + enterprise: *595 + installation: *596 + label: *614 + organization: *597 + repository: *598 sender: *4 required: - action @@ -115033,11 +115119,11 @@ webhooks: type: string enum: - unlocked - discussion: *610 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + discussion: *611 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -115119,11 +115205,11 @@ webhooks: type: string enum: - unpinned - discussion: *610 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + discussion: *611 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -115196,7 +115282,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *594 + enterprise: *595 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -115874,9 +115960,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *595 - organization: *596 - repository: *597 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - forkee @@ -116022,9 +116108,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 pages: description: The pages that were updated. type: array @@ -116062,7 +116148,7 @@ webhooks: - action - sha - html_url - repository: *597 + repository: *598 sender: *4 required: - pages @@ -116138,10 +116224,10 @@ webhooks: type: string enum: - created - enterprise: *594 + enterprise: *595 installation: *20 - organization: *596 - repositories: &615 + organization: *597 + repositories: &616 description: An array of repository objects that the installation can access. type: array @@ -116167,8 +116253,8 @@ webhooks: - name - full_name - private - repository: *597 - requester: *614 + repository: *598 + requester: *615 sender: *4 required: - action @@ -116243,11 +116329,11 @@ webhooks: type: string enum: - deleted - enterprise: *594 + enterprise: *595 installation: *20 - organization: *596 - repositories: *615 - repository: *597 + organization: *597 + repositories: *616 + repository: *598 requester: type: - 'null' @@ -116324,11 +116410,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *594 + enterprise: *595 installation: *20 - organization: *596 - repositories: *615 - repository: *597 + organization: *597 + repositories: *616 + repository: *598 requester: type: - 'null' @@ -116405,10 +116491,10 @@ webhooks: type: string enum: - added - enterprise: *594 + enterprise: *595 installation: *20 - organization: *596 - repositories_added: &616 + organization: *597 + repositories_added: &617 description: An array of repository objects, which were added to the installation. type: array @@ -116454,15 +116540,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *597 - repository_selection: &617 + repository: *598 + repository_selection: &618 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *614 + requester: *615 sender: *4 required: - action @@ -116541,10 +116627,10 @@ webhooks: type: string enum: - removed - enterprise: *594 + enterprise: *595 installation: *20 - organization: *596 - repositories_added: *616 + organization: *597 + repositories_added: *617 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -116571,9 +116657,9 @@ webhooks: - name - full_name - private - repository: *597 - repository_selection: *617 - requester: *614 + repository: *598 + repository_selection: *618 + requester: *615 sender: *4 required: - action @@ -116652,11 +116738,11 @@ webhooks: type: string enum: - suspend - enterprise: *594 + enterprise: *595 installation: *20 - organization: *596 - repositories: *615 - repository: *597 + organization: *597 + repositories: *616 + repository: *598 requester: type: - 'null' @@ -116838,10 +116924,10 @@ webhooks: type: string required: - from - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 target_type: type: string @@ -116920,11 +117006,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *594 + enterprise: *595 installation: *20 - organization: *596 - repositories: *615 - repository: *597 + organization: *597 + repositories: *616 + repository: *598 requester: type: - 'null' @@ -117172,8 +117258,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -118363,8 +118449,8 @@ webhooks: - state - locked - assignee - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 required: - action @@ -118444,7 +118530,7 @@ webhooks: type: string enum: - deleted - comment: &618 + comment: &619 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -118611,8 +118697,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -119800,8 +119886,8 @@ webhooks: - state - locked - assignee - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 required: - action @@ -119881,7 +119967,7 @@ webhooks: type: string enum: - edited - changes: &643 + changes: &644 description: The changes to the comment. type: object properties: @@ -119893,9 +119979,9 @@ webhooks: type: string required: - from - comment: *618 - enterprise: *594 - installation: *595 + comment: *619 + enterprise: *595 + installation: *596 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -121084,8 +121170,8 @@ webhooks: - state - locked - assignee - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 required: - action @@ -121167,10 +121253,10 @@ webhooks: type: string enum: - assigned - assignee: *614 - enterprise: *594 - installation: *595 - issue: &621 + assignee: *615 + enterprise: *595 + installation: *596 + issue: &622 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -122114,8 +122200,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 required: - action @@ -122195,8 +122281,8 @@ webhooks: type: string enum: - closed - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -123288,8 +123374,8 @@ webhooks: required: - state - closed_at - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 required: - action @@ -123368,8 +123454,8 @@ webhooks: type: string enum: - deleted - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -124306,8 +124392,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 required: - action @@ -124386,8 +124472,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -125328,7 +125414,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &619 + milestone: &620 title: Milestone description: A collection of related issues and pull requests. type: object @@ -125471,8 +125557,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 required: - action @@ -125571,8 +125657,8 @@ webhooks: type: string required: - from - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -126516,9 +126602,9 @@ webhooks: - active_lock_reason - body - reactions - label: *613 - organization: *596 - repository: *597 + label: *614 + organization: *597 + repository: *598 sender: *4 required: - action @@ -126598,8 +126684,8 @@ webhooks: type: string enum: - labeled - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -127542,9 +127628,9 @@ webhooks: - active_lock_reason - body - reactions - label: *613 - organization: *596 - repository: *597 + label: *614 + organization: *597 + repository: *598 sender: *4 required: - action @@ -127624,8 +127710,8 @@ webhooks: type: string enum: - locked - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -128570,8 +128656,8 @@ webhooks: format: uri user_view_type: type: string - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 required: - action @@ -128650,8 +128736,8 @@ webhooks: type: string enum: - milestoned - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129590,9 +129676,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *619 - organization: *596 - repository: *597 + milestone: *620 + organization: *597 + repository: *598 sender: *4 required: - action @@ -131092,8 +131178,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -132036,8 +132122,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 required: - action @@ -132117,9 +132203,9 @@ webhooks: type: string enum: - pinned - enterprise: *594 - installation: *595 - issue: &620 + enterprise: *595 + installation: *596 + issue: &621 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -133056,8 +133142,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 required: - action @@ -133136,8 +133222,8 @@ webhooks: type: string enum: - reopened - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -134081,8 +134167,8 @@ webhooks: format: uri user_view_type: type: string - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 required: - action @@ -135582,11 +135668,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *594 - installation: *595 - issue: *620 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + issue: *621 + organization: *597 + repository: *598 sender: *4 required: - action @@ -135667,7 +135753,7 @@ webhooks: type: string enum: - unassigned - assignee: &646 + assignee: &647 title: User type: - object @@ -135739,11 +135825,11 @@ webhooks: required: - login - id - enterprise: *594 - installation: *595 - issue: *621 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + issue: *622 + organization: *597 + repository: *598 sender: *4 required: - action @@ -135822,12 +135908,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *594 - installation: *595 - issue: *621 - label: *613 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + issue: *622 + label: *614 + organization: *597 + repository: *598 sender: *4 required: - action @@ -135907,8 +135993,8 @@ webhooks: type: string enum: - unlocked - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -136851,8 +136937,8 @@ webhooks: format: uri user_view_type: type: string - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 required: - action @@ -136932,11 +137018,11 @@ webhooks: type: string enum: - unpinned - enterprise: *594 - installation: *595 - issue: *620 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + issue: *621 + organization: *597 + repository: *598 sender: *4 required: - action @@ -137015,11 +137101,11 @@ webhooks: type: string enum: - created - enterprise: *594 - installation: *595 - label: *613 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + label: *614 + organization: *597 + repository: *598 sender: *4 required: - action @@ -137097,11 +137183,11 @@ webhooks: type: string enum: - deleted - enterprise: *594 - installation: *595 - label: *613 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + label: *614 + organization: *597 + repository: *598 sender: *4 required: - action @@ -137211,11 +137297,11 @@ webhooks: type: string required: - from - enterprise: *594 - installation: *595 - label: *613 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + label: *614 + organization: *597 + repository: *598 sender: *4 required: - action @@ -137297,9 +137383,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *594 - installation: *595 - marketplace_purchase: &622 + enterprise: *595 + installation: *596 + marketplace_purchase: &623 title: Marketplace Purchase type: object required: @@ -137387,8 +137473,8 @@ webhooks: type: integer unit_count: type: integer - organization: *596 - previous_marketplace_purchase: &623 + organization: *597 + previous_marketplace_purchase: &624 title: Marketplace Purchase type: object properties: @@ -137472,7 +137558,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *597 + repository: *598 sender: *4 required: - action @@ -137552,10 +137638,10 @@ webhooks: - changed effective_date: type: string - enterprise: *594 - installation: *595 - marketplace_purchase: *622 - organization: *596 + enterprise: *595 + installation: *596 + marketplace_purchase: *623 + organization: *597 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -137643,7 +137729,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *597 + repository: *598 sender: *4 required: - action @@ -137725,10 +137811,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *594 - installation: *595 - marketplace_purchase: *622 - organization: *596 + enterprise: *595 + installation: *596 + marketplace_purchase: *623 + organization: *597 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -137814,7 +137900,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *597 + repository: *598 sender: *4 required: - action @@ -137895,8 +137981,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 marketplace_purchase: title: Marketplace Purchase type: object @@ -137982,9 +138068,9 @@ webhooks: type: integer unit_count: type: integer - organization: *596 - previous_marketplace_purchase: *623 - repository: *597 + organization: *597 + previous_marketplace_purchase: *624 + repository: *598 sender: *4 required: - action @@ -138064,12 +138150,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *594 - installation: *595 - marketplace_purchase: *622 - organization: *596 - previous_marketplace_purchase: *623 - repository: *597 + enterprise: *595 + installation: *596 + marketplace_purchase: *623 + organization: *597 + previous_marketplace_purchase: *624 + repository: *598 sender: *4 required: - action @@ -138171,11 +138257,11 @@ webhooks: type: string required: - to - enterprise: *594 - installation: *595 - member: *614 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + member: *615 + organization: *597 + repository: *598 sender: *4 required: - action @@ -138277,11 +138363,11 @@ webhooks: type: - string - 'null' - enterprise: *594 - installation: *595 - member: *614 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + member: *615 + organization: *597 + repository: *598 sender: *4 required: - action @@ -138360,11 +138446,11 @@ webhooks: type: string enum: - removed - enterprise: *594 - installation: *595 - member: *614 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + member: *615 + organization: *597 + repository: *598 sender: *4 required: - action @@ -138442,11 +138528,11 @@ webhooks: type: string enum: - added - enterprise: *594 - installation: *595 - member: *614 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + member: *615 + organization: *597 + repository: *598 scope: description: The scope of the membership. Currently, can only be `team`. @@ -138524,7 +138610,7 @@ webhooks: required: - login - id - team: &624 + team: &625 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -138717,11 +138803,11 @@ webhooks: type: string enum: - removed - enterprise: *594 - installation: *595 - member: *614 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + member: *615 + organization: *597 + repository: *598 scope: description: The scope of the membership. Currently, can only be `team`. @@ -138800,7 +138886,7 @@ webhooks: required: - login - id - team: *624 + team: *625 required: - action - scope @@ -138882,8 +138968,8 @@ webhooks: type: string enum: - checks_requested - installation: *595 - merge_group: &625 + installation: *596 + merge_group: &626 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -138902,15 +138988,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *324 + head_commit: *325 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 required: - action @@ -138996,10 +139082,10 @@ webhooks: - merged - invalidated - dequeued - installation: *595 - merge_group: *625 - organization: *596 - repository: *597 + installation: *596 + merge_group: *626 + organization: *597 + repository: *598 sender: *4 required: - action @@ -139072,7 +139158,7 @@ webhooks: type: string enum: - deleted - enterprise: *594 + enterprise: *595 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -139180,12 +139266,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *595 - organization: *596 + installation: *596 + organization: *597 repository: anyOf: - type: 'null' - - *597 + - *598 sender: *4 required: - action @@ -139265,11 +139351,11 @@ webhooks: type: string enum: - closed - enterprise: *594 - installation: *595 - milestone: *619 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + milestone: *620 + organization: *597 + repository: *598 sender: *4 required: - action @@ -139348,9 +139434,9 @@ webhooks: type: string enum: - created - enterprise: *594 - installation: *595 - milestone: &626 + enterprise: *595 + installation: *596 + milestone: &627 title: Milestone description: A collection of related issues and pull requests. type: object @@ -139492,8 +139578,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 required: - action @@ -139572,11 +139658,11 @@ webhooks: type: string enum: - deleted - enterprise: *594 - installation: *595 - milestone: *619 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + milestone: *620 + organization: *597 + repository: *598 sender: *4 required: - action @@ -139686,11 +139772,11 @@ webhooks: type: string required: - from - enterprise: *594 - installation: *595 - milestone: *619 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + milestone: *620 + organization: *597 + repository: *598 sender: *4 required: - action @@ -139770,11 +139856,11 @@ webhooks: type: string enum: - opened - enterprise: *594 - installation: *595 - milestone: *626 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + milestone: *627 + organization: *597 + repository: *598 sender: *4 required: - action @@ -139853,11 +139939,11 @@ webhooks: type: string enum: - blocked - blocked_user: *614 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + blocked_user: *615 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -139936,11 +140022,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *614 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + blocked_user: *615 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -140019,9 +140105,9 @@ webhooks: type: string enum: - deleted - enterprise: *594 - installation: *595 - membership: &627 + enterprise: *595 + installation: *596 + membership: &628 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -140115,8 +140201,8 @@ webhooks: - role - organization_url - user - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 required: - action @@ -140194,11 +140280,11 @@ webhooks: type: string enum: - member_added - enterprise: *594 - installation: *595 - membership: *627 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + membership: *628 + organization: *597 + repository: *598 sender: *4 required: - action @@ -140277,8 +140363,8 @@ webhooks: type: string enum: - member_invited - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -140400,10 +140486,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 - user: *614 + user: *615 required: - action - invitation @@ -140481,11 +140567,11 @@ webhooks: type: string enum: - member_removed - enterprise: *594 - installation: *595 - membership: *627 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + membership: *628 + organization: *597 + repository: *598 sender: *4 required: - action @@ -140572,11 +140658,11 @@ webhooks: properties: from: type: string - enterprise: *594 - installation: *595 - membership: *627 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + membership: *628 + organization: *597 + repository: *598 sender: *4 required: - action @@ -140652,9 +140738,9 @@ webhooks: type: string enum: - published - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 package: description: Information about the package. type: object @@ -141177,7 +141263,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &628 + items: &629 title: Ruby Gems metadata type: object properties: @@ -141274,7 +141360,7 @@ webhooks: - owner - package_version - registry - repository: *597 + repository: *598 sender: *4 required: - action @@ -141350,9 +141436,9 @@ webhooks: type: string enum: - updated - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 package: description: Information about the package. type: object @@ -141714,7 +141800,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *628 + items: *629 source_url: type: string format: uri @@ -141785,7 +141871,7 @@ webhooks: - owner - package_version - registry - repository: *597 + repository: *598 sender: *4 required: - action @@ -141966,12 +142052,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *594 + enterprise: *595 id: type: integer - installation: *595 - organization: *596 - repository: *597 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - id @@ -142051,7 +142137,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &629 + personal_access_token_request: &630 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -142201,10 +142287,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *594 - organization: *596 + enterprise: *595 + organization: *597 sender: *4 - installation: *595 + installation: *596 required: - action - personal_access_token_request @@ -142283,11 +142369,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *629 - enterprise: *594 - organization: *596 + personal_access_token_request: *630 + enterprise: *595 + organization: *597 sender: *4 - installation: *595 + installation: *596 required: - action - personal_access_token_request @@ -142365,11 +142451,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *629 - enterprise: *594 - organization: *596 + personal_access_token_request: *630 + enterprise: *595 + organization: *597 sender: *4 - installation: *595 + installation: *596 required: - action - personal_access_token_request @@ -142446,11 +142532,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *629 - organization: *596 - enterprise: *594 + personal_access_token_request: *630 + organization: *597 + enterprise: *595 sender: *4 - installation: *595 + installation: *596 required: - action - personal_access_token_request @@ -142554,7 +142640,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *630 + last_response: *631 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -142586,8 +142672,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 zen: description: Random string of GitHub zen. @@ -142832,10 +142918,10 @@ webhooks: - from required: - note - enterprise: *594 - installation: *595 - organization: *596 - project_card: &631 + enterprise: *595 + installation: *596 + organization: *597 + project_card: &632 title: Project Card type: object properties: @@ -142958,7 +143044,7 @@ webhooks: - creator - created_at - updated_at - repository: *597 + repository: *598 sender: *4 required: - action @@ -143039,11 +143125,11 @@ webhooks: type: string enum: - created - enterprise: *594 - installation: *595 - organization: *596 - project_card: *631 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + project_card: *632 + repository: *598 sender: *4 required: - action @@ -143123,9 +143209,9 @@ webhooks: type: string enum: - deleted - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 project_card: title: Project Card type: object @@ -143255,7 +143341,7 @@ webhooks: repository: anyOf: - type: 'null' - - *597 + - *598 sender: *4 required: - action @@ -143349,11 +143435,11 @@ webhooks: - from required: - note - enterprise: *594 - installation: *595 - organization: *596 - project_card: *631 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + project_card: *632 + repository: *598 sender: *4 required: - action @@ -143447,9 +143533,9 @@ webhooks: - from required: - column_id - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 project_card: allOf: - title: Project Card @@ -143646,7 +143732,7 @@ webhooks: type: string required: - after_id - repository: *597 + repository: *598 sender: *4 required: - action @@ -143726,10 +143812,10 @@ webhooks: type: string enum: - closed - enterprise: *594 - installation: *595 - organization: *596 - project: &633 + enterprise: *595 + installation: *596 + organization: *597 + project: &634 title: Project type: object properties: @@ -143856,7 +143942,7 @@ webhooks: - creator - created_at - updated_at - repository: *597 + repository: *598 sender: *4 required: - action @@ -143936,10 +144022,10 @@ webhooks: type: string enum: - created - enterprise: *594 - installation: *595 - organization: *596 - project_column: &632 + enterprise: *595 + installation: *596 + organization: *597 + project_column: &633 title: Project Column type: object properties: @@ -143979,7 +144065,7 @@ webhooks: - name - created_at - updated_at - repository: *597 + repository: *598 sender: *4 required: - action @@ -144058,14 +144144,14 @@ webhooks: type: string enum: - deleted - enterprise: *594 - installation: *595 - organization: *596 - project_column: *632 + enterprise: *595 + installation: *596 + organization: *597 + project_column: *633 repository: anyOf: - type: 'null' - - *597 + - *598 sender: *4 required: - action @@ -144154,11 +144240,11 @@ webhooks: type: string required: - from - enterprise: *594 - installation: *595 - organization: *596 - project_column: *632 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + project_column: *633 + repository: *598 sender: *4 required: - action @@ -144238,11 +144324,11 @@ webhooks: type: string enum: - moved - enterprise: *594 - installation: *595 - organization: *596 - project_column: *632 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + project_column: *633 + repository: *598 sender: *4 required: - action @@ -144322,11 +144408,11 @@ webhooks: type: string enum: - created - enterprise: *594 - installation: *595 - organization: *596 - project: *633 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + project: *634 + repository: *598 sender: *4 required: - action @@ -144406,14 +144492,14 @@ webhooks: type: string enum: - deleted - enterprise: *594 - installation: *595 - organization: *596 - project: *633 + enterprise: *595 + installation: *596 + organization: *597 + project: *634 repository: anyOf: - type: 'null' - - *597 + - *598 sender: *4 required: - action @@ -144514,11 +144600,11 @@ webhooks: type: string required: - from - enterprise: *594 - installation: *595 - organization: *596 - project: *633 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + project: *634 + repository: *598 sender: *4 required: - action @@ -144597,11 +144683,11 @@ webhooks: type: string enum: - reopened - enterprise: *594 - installation: *595 - organization: *596 - project: *633 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + project: *634 + repository: *598 sender: *4 required: - action @@ -144682,9 +144768,9 @@ webhooks: type: string enum: - closed - installation: *595 - organization: *596 - projects_v2: &634 + installation: *596 + organization: *597 + projects_v2: &635 title: Projects v2 Project description: A projects v2 project type: object @@ -144832,9 +144918,9 @@ webhooks: type: string enum: - created - installation: *595 - organization: *596 - projects_v2: *634 + installation: *596 + organization: *597 + projects_v2: *635 sender: *4 required: - action @@ -144915,9 +145001,9 @@ webhooks: type: string enum: - deleted - installation: *595 - organization: *596 - projects_v2: *634 + installation: *596 + organization: *597 + projects_v2: *635 sender: *4 required: - action @@ -145038,9 +145124,9 @@ webhooks: type: string to: type: string - installation: *595 - organization: *596 - projects_v2: *634 + installation: *596 + organization: *597 + projects_v2: *635 sender: *4 required: - action @@ -145123,7 +145209,7 @@ webhooks: type: string enum: - archived - changes: &638 + changes: &639 type: object properties: archived_at: @@ -145139,9 +145225,9 @@ webhooks: - string - 'null' format: date-time - installation: *595 - organization: *596 - projects_v2_item: &635 + installation: *596 + organization: *597 + projects_v2_item: &636 title: Projects v2 Item description: An item belonging to a project type: object @@ -145280,9 +145366,9 @@ webhooks: - 'null' to: type: string - installation: *595 - organization: *596 - projects_v2_item: *635 + installation: *596 + organization: *597 + projects_v2_item: *636 sender: *4 required: - action @@ -145364,9 +145450,9 @@ webhooks: type: string enum: - created - installation: *595 - organization: *596 - projects_v2_item: *635 + installation: *596 + organization: *597 + projects_v2_item: *636 sender: *4 required: - action @@ -145447,9 +145533,9 @@ webhooks: type: string enum: - deleted - installation: *595 - organization: *596 - projects_v2_item: *635 + installation: *596 + organization: *597 + projects_v2_item: *636 sender: *4 required: - action @@ -145554,7 +145640,7 @@ webhooks: oneOf: - type: string - type: integer - - &636 + - &637 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -145574,7 +145660,7 @@ webhooks: required: - id - name - - &637 + - &638 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -145603,8 +145689,8 @@ webhooks: oneOf: - type: string - type: integer - - *636 - *637 + - *638 type: - 'null' - string @@ -145627,9 +145713,9 @@ webhooks: - 'null' required: - body - installation: *595 - organization: *596 - projects_v2_item: *635 + installation: *596 + organization: *597 + projects_v2_item: *636 sender: *4 required: - action @@ -145726,9 +145812,9 @@ webhooks: type: - string - 'null' - installation: *595 - organization: *596 - projects_v2_item: *635 + installation: *596 + organization: *597 + projects_v2_item: *636 sender: *4 required: - action @@ -145811,10 +145897,10 @@ webhooks: type: string enum: - restored - changes: *638 - installation: *595 - organization: *596 - projects_v2_item: *635 + changes: *639 + installation: *596 + organization: *597 + projects_v2_item: *636 sender: *4 required: - action @@ -145896,9 +145982,9 @@ webhooks: type: string enum: - reopened - installation: *595 - organization: *596 - projects_v2: *634 + installation: *596 + organization: *597 + projects_v2: *635 sender: *4 required: - action @@ -145979,9 +146065,9 @@ webhooks: type: string enum: - created - installation: *595 - organization: *596 - projects_v2_status_update: &639 + installation: *596 + organization: *597 + projects_v2_status_update: &640 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -146116,9 +146202,9 @@ webhooks: type: string enum: - deleted - installation: *595 - organization: *596 - projects_v2_status_update: *639 + installation: *596 + organization: *597 + projects_v2_status_update: *640 sender: *4 required: - action @@ -146264,9 +146350,9 @@ webhooks: - string - 'null' format: date - installation: *595 - organization: *596 - projects_v2_status_update: *639 + installation: *596 + organization: *597 + projects_v2_status_update: *640 sender: *4 required: - action @@ -146337,10 +146423,10 @@ webhooks: title: public event type: object properties: - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - repository @@ -146417,13 +146503,13 @@ webhooks: type: string enum: - assigned - assignee: *614 - enterprise: *594 - installation: *595 - number: &640 + assignee: *615 + enterprise: *595 + installation: *596 + number: &641 description: The pull request number. type: integer - organization: *596 + organization: *597 pull_request: title: Pull Request type: object @@ -148772,7 +148858,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *597 + repository: *598 sender: *4 required: - action @@ -148854,11 +148940,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 number: type: integer - organization: *596 + organization: *597 pull_request: title: Pull Request type: object @@ -151200,7 +151286,7 @@ webhooks: - draft reason: type: string - repository: *597 + repository: *598 sender: *4 required: - action @@ -151282,11 +151368,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 number: type: integer - organization: *596 + organization: *597 pull_request: title: Pull Request type: object @@ -153628,7 +153714,7 @@ webhooks: - draft reason: type: string - repository: *597 + repository: *598 sender: *4 required: - action @@ -153710,13 +153796,13 @@ webhooks: type: string enum: - closed - enterprise: *594 - installation: *595 - number: *640 - organization: *596 - pull_request: &641 + enterprise: *595 + installation: *596 + number: *641 + organization: *597 + pull_request: &642 allOf: - - *472 + - *473 - type: object properties: allow_auto_merge: @@ -153778,7 +153864,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *597 + repository: *598 sender: *4 required: - action @@ -153859,12 +153945,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *594 - installation: *595 - number: *640 - organization: *596 - pull_request: *641 - repository: *597 + enterprise: *595 + installation: *596 + number: *641 + organization: *597 + pull_request: *642 + repository: *598 sender: *4 required: - action @@ -153944,11 +154030,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *594 - milestone: *370 - number: *640 - organization: *596 - pull_request: &642 + enterprise: *595 + milestone: *371 + number: *641 + organization: *597 + pull_request: &643 title: Pull Request type: object properties: @@ -156275,7 +156361,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *597 + repository: *598 sender: *4 required: - action @@ -156354,11 +156440,11 @@ webhooks: type: string enum: - dequeued - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 number: type: integer - organization: *596 + organization: *597 pull_request: title: Pull Request type: object @@ -158704,7 +158790,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *597 + repository: *598 sender: *4 required: - action @@ -158828,12 +158914,12 @@ webhooks: type: string required: - from - enterprise: *594 - installation: *595 - number: *640 - organization: *596 - pull_request: *641 - repository: *597 + enterprise: *595 + installation: *596 + number: *641 + organization: *597 + pull_request: *642 + repository: *598 sender: *4 required: - action @@ -158913,11 +158999,11 @@ webhooks: type: string enum: - enqueued - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 number: type: integer - organization: *596 + organization: *597 pull_request: title: Pull Request type: object @@ -161248,7 +161334,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *597 + repository: *598 sender: *4 required: - action @@ -161328,11 +161414,11 @@ webhooks: type: string enum: - labeled - enterprise: *594 - installation: *595 - label: *613 - number: *640 - organization: *596 + enterprise: *595 + installation: *596 + label: *614 + number: *641 + organization: *597 pull_request: title: Pull Request type: object @@ -163680,7 +163766,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *597 + repository: *598 sender: *4 required: - action @@ -163761,10 +163847,10 @@ webhooks: type: string enum: - locked - enterprise: *594 - installation: *595 - number: *640 - organization: *596 + enterprise: *595 + installation: *596 + number: *641 + organization: *597 pull_request: title: Pull Request type: object @@ -166110,7 +166196,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *597 + repository: *598 sender: *4 required: - action @@ -166190,12 +166276,12 @@ webhooks: type: string enum: - milestoned - enterprise: *594 - milestone: *370 - number: *640 - organization: *596 - pull_request: *642 - repository: *597 + enterprise: *595 + milestone: *371 + number: *641 + organization: *597 + pull_request: *643 + repository: *598 sender: *4 required: - action @@ -166274,12 +166360,12 @@ webhooks: type: string enum: - opened - enterprise: *594 - installation: *595 - number: *640 - organization: *596 - pull_request: *641 - repository: *597 + enterprise: *595 + installation: *596 + number: *641 + organization: *597 + pull_request: *642 + repository: *598 sender: *4 required: - action @@ -166360,12 +166446,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *594 - installation: *595 - number: *640 - organization: *596 - pull_request: *641 - repository: *597 + enterprise: *595 + installation: *596 + number: *641 + organization: *597 + pull_request: *642 + repository: *598 sender: *4 required: - action @@ -166445,12 +166531,12 @@ webhooks: type: string enum: - reopened - enterprise: *594 - installation: *595 - number: *640 - organization: *596 - pull_request: *641 - repository: *597 + enterprise: *595 + installation: *596 + number: *641 + organization: *597 + pull_request: *642 + repository: *598 sender: *4 required: - action @@ -166825,9 +166911,9 @@ webhooks: - start_side - side - reactions - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 pull_request: type: object properties: @@ -169057,7 +169143,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *597 + repository: *598 sender: *4 required: - action @@ -169137,7 +169223,7 @@ webhooks: type: string enum: - deleted - comment: &644 + comment: &645 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -169430,9 +169516,9 @@ webhooks: - start_side - side - reactions - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 pull_request: type: object properties: @@ -171650,7 +171736,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *597 + repository: *598 sender: *4 required: - action @@ -171730,11 +171816,11 @@ webhooks: type: string enum: - edited - changes: *643 - comment: *644 - enterprise: *594 - installation: *595 - organization: *596 + changes: *644 + comment: *645 + enterprise: *595 + installation: *596 + organization: *597 pull_request: type: object properties: @@ -173955,7 +174041,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *597 + repository: *598 sender: *4 required: - action @@ -174036,9 +174122,9 @@ webhooks: type: string enum: - dismissed - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 pull_request: title: Simple Pull Request type: object @@ -176271,7 +176357,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *597 + repository: *598 review: description: The review that was affected. type: object @@ -176517,9 +176603,9 @@ webhooks: type: string required: - from - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 pull_request: title: Simple Pull Request type: object @@ -178633,8 +178719,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *597 - review: &645 + repository: *598 + review: &646 description: The review that was affected. type: object properties: @@ -178867,12 +178953,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 number: description: The pull request number. type: integer - organization: *596 + organization: *597 pull_request: title: Pull Request type: object @@ -181219,7 +181305,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *597 + repository: *598 requested_reviewer: title: User type: @@ -181305,12 +181391,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 number: description: The pull request number. type: integer - organization: *596 + organization: *597 pull_request: title: Pull Request type: object @@ -183664,7 +183750,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *597 + repository: *598 requested_team: title: Team description: Groups of organization members that gives permissions @@ -183859,12 +183945,12 @@ webhooks: type: string enum: - review_requested - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 number: description: The pull request number. type: integer - organization: *596 + organization: *597 pull_request: title: Pull Request type: object @@ -186213,7 +186299,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *597 + repository: *598 requested_reviewer: title: User type: @@ -186300,12 +186386,12 @@ webhooks: type: string enum: - review_requested - enterprise: *594 - installation: *595 + enterprise: *595 + installation: *596 number: description: The pull request number. type: integer - organization: *596 + organization: *597 pull_request: title: Pull Request type: object @@ -188645,7 +188731,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *597 + repository: *598 requested_team: title: Team description: Groups of organization members that gives permissions @@ -188829,9 +188915,9 @@ webhooks: type: string enum: - submitted - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 pull_request: title: Simple Pull Request type: object @@ -191067,8 +191153,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *597 - review: *645 + repository: *598 + review: *646 sender: *4 required: - action @@ -191148,9 +191234,9 @@ webhooks: type: string enum: - resolved - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 pull_request: title: Simple Pull Request type: object @@ -193281,7 +193367,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *597 + repository: *598 sender: *4 thread: type: object @@ -193673,9 +193759,9 @@ webhooks: type: string enum: - unresolved - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 pull_request: title: Simple Pull Request type: object @@ -195789,7 +195875,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *597 + repository: *598 sender: *4 thread: type: object @@ -196183,10 +196269,10 @@ webhooks: type: string before: type: string - enterprise: *594 - installation: *595 - number: *640 - organization: *596 + enterprise: *595 + installation: *596 + number: *641 + organization: *597 pull_request: title: Pull Request type: object @@ -198521,7 +198607,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *597 + repository: *598 sender: *4 required: - action @@ -198603,11 +198689,11 @@ webhooks: type: string enum: - unassigned - assignee: *646 - enterprise: *594 - installation: *595 - number: *640 - organization: *596 + assignee: *647 + enterprise: *595 + installation: *596 + number: *641 + organization: *597 pull_request: title: Pull Request type: object @@ -200957,7 +201043,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *597 + repository: *598 sender: *4 required: - action @@ -201036,11 +201122,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *594 - installation: *595 - label: *613 - number: *640 - organization: *596 + enterprise: *595 + installation: *596 + label: *614 + number: *641 + organization: *597 pull_request: title: Pull Request type: object @@ -203379,7 +203465,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *597 + repository: *598 sender: *4 required: - action @@ -203460,10 +203546,10 @@ webhooks: type: string enum: - unlocked - enterprise: *594 - installation: *595 - number: *640 - organization: *596 + enterprise: *595 + installation: *596 + number: *641 + organization: *597 pull_request: title: Pull Request type: object @@ -205792,7 +205878,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *597 + repository: *598 sender: *4 required: - action @@ -205995,7 +206081,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *594 + enterprise: *595 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -206090,8 +206176,8 @@ webhooks: - url - author - committer - installation: *595 - organization: *596 + installation: *596 + organization: *597 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -206679,9 +206765,9 @@ webhooks: type: string enum: - published - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 registry_package: type: object properties: @@ -207158,7 +207244,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *628 + items: *629 summary: type: string tag_name: @@ -207214,7 +207300,7 @@ webhooks: - owner - package_version - registry - repository: *597 + repository: *598 sender: *4 required: - action @@ -207292,9 +207378,9 @@ webhooks: type: string enum: - updated - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 registry_package: type: object properties: @@ -207606,7 +207692,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *628 + items: *629 summary: type: string tag_name: @@ -207656,7 +207742,7 @@ webhooks: - owner - package_version - registry - repository: *597 + repository: *598 sender: *4 required: - action @@ -207733,10 +207819,10 @@ webhooks: type: string enum: - created - enterprise: *594 - installation: *595 - organization: *596 - release: &647 + enterprise: *595 + installation: *596 + organization: *597 + release: &648 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -208052,7 +208138,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *597 + repository: *598 sender: *4 required: - action @@ -208129,11 +208215,11 @@ webhooks: type: string enum: - deleted - enterprise: *594 - installation: *595 - organization: *596 - release: *647 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + release: *648 + repository: *598 sender: *4 required: - action @@ -208241,11 +208327,11 @@ webhooks: type: boolean required: - to - enterprise: *594 - installation: *595 - organization: *596 - release: *647 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + release: *648 + repository: *598 sender: *4 required: - action @@ -208323,9 +208409,9 @@ webhooks: type: string enum: - prereleased - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -208646,7 +208732,7 @@ webhooks: - string - 'null' format: uri - repository: *597 + repository: *598 sender: *4 required: - action @@ -208722,10 +208808,10 @@ webhooks: type: string enum: - published - enterprise: *594 - installation: *595 - organization: *596 - release: &648 + enterprise: *595 + installation: *596 + organization: *597 + release: &649 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -209043,7 +209129,7 @@ webhooks: - string - 'null' format: uri - repository: *597 + repository: *598 sender: *4 required: - action @@ -209119,11 +209205,11 @@ webhooks: type: string enum: - released - enterprise: *594 - installation: *595 - organization: *596 - release: *647 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + release: *648 + repository: *598 sender: *4 required: - action @@ -209199,11 +209285,11 @@ webhooks: type: string enum: - unpublished - enterprise: *594 - installation: *595 - organization: *596 - release: *648 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + release: *649 + repository: *598 sender: *4 required: - action @@ -209279,11 +209365,11 @@ webhooks: type: string enum: - published - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 - repository_advisory: *526 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 + repository_advisory: *527 sender: *4 required: - action @@ -209359,11 +209445,11 @@ webhooks: type: string enum: - reported - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 - repository_advisory: *526 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 + repository_advisory: *527 sender: *4 required: - action @@ -209439,10 +209525,10 @@ webhooks: type: string enum: - archived - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -209519,10 +209605,10 @@ webhooks: type: string enum: - created - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -209600,10 +209686,10 @@ webhooks: type: string enum: - deleted - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -209688,10 +209774,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -209806,10 +209892,10 @@ webhooks: - 'null' items: type: string - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -209881,10 +209967,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 status: type: string @@ -209965,10 +210051,10 @@ webhooks: type: string enum: - privatized - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -210045,10 +210131,10 @@ webhooks: type: string enum: - publicized - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -210142,10 +210228,10 @@ webhooks: - name required: - repository - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -210225,11 +210311,11 @@ webhooks: type: string enum: - created - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 - repository_ruleset: *214 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 + repository_ruleset: *215 sender: *4 required: - action @@ -210307,11 +210393,11 @@ webhooks: type: string enum: - deleted - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 - repository_ruleset: *214 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 + repository_ruleset: *215 sender: *4 required: - action @@ -210389,11 +210475,11 @@ webhooks: type: string enum: - edited - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 - repository_ruleset: *214 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 + repository_ruleset: *215 changes: type: object properties: @@ -210412,16 +210498,16 @@ webhooks: properties: added: type: array - items: *208 + items: *209 deleted: type: array - items: *208 + items: *209 updated: type: array items: type: object properties: - condition: *208 + condition: *209 changes: type: object properties: @@ -210454,16 +210540,16 @@ webhooks: properties: added: type: array - items: *213 + items: *214 deleted: type: array - items: *213 + items: *214 updated: type: array items: type: object properties: - rule: *213 + rule: *214 changes: type: object properties: @@ -210700,10 +210786,10 @@ webhooks: - from required: - owner - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -210781,10 +210867,10 @@ webhooks: type: string enum: - unarchived - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -210862,7 +210948,7 @@ webhooks: type: string enum: - create - alert: &649 + alert: &650 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -210986,10 +211072,10 @@ webhooks: type: string enum: - open - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -211199,10 +211285,10 @@ webhooks: type: string enum: - dismissed - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -211280,11 +211366,11 @@ webhooks: type: string enum: - reopen - alert: *649 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + alert: *650 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -211486,10 +211572,10 @@ webhooks: enum: - fixed - open - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -211567,7 +211653,7 @@ webhooks: type: string enum: - created - alert: &650 + alert: &651 type: object properties: number: *46 @@ -211671,10 +211757,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -211755,11 +211841,11 @@ webhooks: type: string enum: - created - alert: *650 - installation: *595 - location: *651 - organization: *596 - repository: *597 + alert: *651 + installation: *596 + location: *652 + organization: *597 + repository: *598 sender: *4 required: - location @@ -211997,11 +212083,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *650 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + alert: *651 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -212079,11 +212165,11 @@ webhooks: type: string enum: - reopened - alert: *650 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + alert: *651 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -212161,11 +212247,11 @@ webhooks: type: string enum: - resolved - alert: *650 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + alert: *651 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -212243,11 +212329,11 @@ webhooks: type: string enum: - validated - alert: *650 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + alert: *651 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -212323,11 +212409,11 @@ webhooks: type: string enum: - published - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 - security_advisory: &652 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 + security_advisory: &653 description: The details of the security advisory, including summary, description, and severity. type: object @@ -212513,11 +212599,11 @@ webhooks: type: string enum: - updated - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 - security_advisory: *652 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 + security_advisory: *653 sender: *4 required: - action @@ -212590,10 +212676,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -212779,11 +212865,11 @@ webhooks: from: type: object properties: - security_and_analysis: *207 - enterprise: *594 - installation: *595 - organization: *596 - repository: *252 + security_and_analysis: *208 + enterprise: *595 + installation: *596 + organization: *597 + repository: *253 sender: *4 required: - changes @@ -212861,12 +212947,12 @@ webhooks: type: string enum: - cancelled - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 - sponsorship: &653 + sponsorship: &654 type: object properties: created_at: @@ -213171,12 +213257,12 @@ webhooks: type: string enum: - created - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 - sponsorship: *653 + sponsorship: *654 required: - action - sponsorship @@ -213264,12 +213350,12 @@ webhooks: type: string required: - from - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 - sponsorship: *653 + sponsorship: *654 required: - action - changes @@ -213346,17 +213432,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &654 + effective_date: &655 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 - sponsorship: *653 + sponsorship: *654 required: - action - sponsorship @@ -213430,7 +213516,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &655 + changes: &656 type: object properties: tier: @@ -213474,13 +213560,13 @@ webhooks: - from required: - tier - effective_date: *654 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + effective_date: *655 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 - sponsorship: *653 + sponsorship: *654 required: - action - changes @@ -213557,13 +213643,13 @@ webhooks: type: string enum: - tier_changed - changes: *655 - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + changes: *656 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 - sponsorship: *653 + sponsorship: *654 required: - action - changes @@ -213637,10 +213723,10 @@ webhooks: type: string enum: - created - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -213724,10 +213810,10 @@ webhooks: type: string enum: - deleted - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -214160,15 +214246,15 @@ webhooks: type: - string - 'null' - enterprise: *594 + enterprise: *595 id: description: The unique identifier of the status. type: integer - installation: *595 + installation: *596 name: type: string - organization: *596 - repository: *597 + organization: *597 + repository: *598 sender: *4 sha: description: The Commit SHA. @@ -214284,9 +214370,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *72 - installation: *595 - organization: *596 - repository: *597 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -214376,9 +214462,9 @@ webhooks: description: The ID of the sub-issue. type: number sub_issue: *72 - installation: *595 - organization: *596 - repository: *597 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -214468,9 +214554,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *72 - installation: *595 - organization: *596 - repository: *597 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -214560,9 +214646,9 @@ webhooks: description: The ID of the parent issue. type: number parent_issue: *72 - installation: *595 - organization: *596 - repository: *597 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -214639,12 +214725,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 - team: &656 + team: &657 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -214837,9 +214923,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 repository: title: Repository description: A git repository @@ -215309,7 +215395,7 @@ webhooks: - topics - visibility sender: *4 - team: *656 + team: *657 required: - action - team @@ -215385,9 +215471,9 @@ webhooks: type: string enum: - created - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 repository: title: Repository description: A git repository @@ -215857,7 +215943,7 @@ webhooks: - topics - visibility sender: *4 - team: *656 + team: *657 required: - action - team @@ -215934,9 +216020,9 @@ webhooks: type: string enum: - deleted - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 repository: title: Repository description: A git repository @@ -216406,7 +216492,7 @@ webhooks: - topics - visibility sender: *4 - team: *656 + team: *657 required: - action - team @@ -216550,9 +216636,9 @@ webhooks: - from required: - permissions - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 repository: title: Repository description: A git repository @@ -217022,7 +217108,7 @@ webhooks: - topics - visibility sender: *4 - team: *656 + team: *657 required: - action - changes @@ -217100,9 +217186,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *594 - installation: *595 - organization: *596 + enterprise: *595 + installation: *596 + organization: *597 repository: title: Repository description: A git repository @@ -217572,7 +217658,7 @@ webhooks: - topics - visibility sender: *4 - team: *656 + team: *657 required: - action - team @@ -217648,10 +217734,10 @@ webhooks: type: string enum: - started - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 required: - action @@ -217724,17 +217810,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *594 + enterprise: *595 inputs: type: - object - 'null' additionalProperties: true - installation: *595 - organization: *596 + installation: *596 + organization: *597 ref: type: string - repository: *597 + repository: *598 sender: *4 workflow: type: string @@ -217816,10 +217902,10 @@ webhooks: type: string enum: - completed - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 workflow_job: allOf: @@ -218075,7 +218161,7 @@ webhooks: type: string required: - conclusion - deployment: *390 + deployment: *391 required: - action - repository @@ -218154,10 +218240,10 @@ webhooks: type: string enum: - in_progress - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 workflow_job: allOf: @@ -218439,7 +218525,7 @@ webhooks: required: - status - steps - deployment: *390 + deployment: *391 required: - action - repository @@ -218518,10 +218604,10 @@ webhooks: type: string enum: - queued - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 workflow_job: type: object @@ -218667,7 +218753,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *390 + deployment: *391 required: - action - repository @@ -218746,10 +218832,10 @@ webhooks: type: string enum: - waiting - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 workflow_job: type: object @@ -218896,7 +218982,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *390 + deployment: *391 required: - action - repository @@ -218976,12 +219062,12 @@ webhooks: type: string enum: - completed - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 - workflow: *609 + workflow: *610 workflow_run: title: Workflow Run type: object @@ -220000,12 +220086,12 @@ webhooks: type: string enum: - in_progress - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 - workflow: *609 + workflow: *610 workflow_run: title: Workflow Run type: object @@ -221009,12 +221095,12 @@ webhooks: type: string enum: - requested - enterprise: *594 - installation: *595 - organization: *596 - repository: *597 + enterprise: *595 + installation: *596 + organization: *597 + repository: *598 sender: *4 - workflow: *609 + workflow: *610 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index 3b097cb82..09177b2c6 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -32122,6 +32122,1144 @@ } } }, + "/enterprises/{enterprise}/properties/schema": { + "get": { + "summary": "Get custom properties for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets all custom properties defined for an enterprise.\nEnterprise members can read these properties.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-enterprise-custom-properties", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-custom-properties-for-an-enterprise" + }, + "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" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Custom Property", + "description": "Custom property defined on an organization", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + }, + "value_type": { + "type": "string", + "enum": [ + "string", + "single_select", + "multi_select", + "true_false" + ], + "description": "The type of the value for the property", + "examples": [ + "single_select" + ] + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "Default value of the property", + "type": [ + "null", + "string", + "array" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "Short description of the property" + }, + "allowed_values": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string", + "maxLength": 75 + }, + "maxItems": 200, + "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + }, + "values_editable_by": { + "type": [ + "string", + "null" + ], + "enum": [ + "org_actors", + "org_and_repo_actors", + null + ], + "description": "Who can edit the values of the property", + "examples": [ + "org_actors" + ] + } + }, + "required": [ + "property_name", + "value_type" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "property_name": "environment", + "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", + "value_type": "single_select", + "required": true, + "default_value": "production", + "description": "Prod or dev environment", + "allowed_values": [ + "production", + "development" + ], + "values_editable_by": "org_actors" + }, + { + "property_name": "service", + "url": "https://api.github.com/orgs/github/properties/schema/service", + "source_type": "organization", + "value_type": "string" + }, + { + "property_name": "team", + "url": "https://api.github.com/orgs/github/properties/schema/team", + "source_type": "organization", + "value_type": "string", + "description": "Team owning the repository" + } + ] + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "custom-properties" + } + }, + "patch": { + "summary": "Create or update custom properties for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nCreates new or updates existing custom properties defined for an enterprise in a batch.\n\nTo use this endpoint, the authenticated user must be an administrator for the enterprise.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/create-or-update-enterprise-custom-properties", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-custom-properties-for-an-enterprise" + }, + "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" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "properties": { + "type": "array", + "description": "The array of custom properties to create or update.", + "items": { + "title": "Organization Custom Property", + "description": "Custom property defined on an organization", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + }, + "value_type": { + "type": "string", + "enum": [ + "string", + "single_select", + "multi_select", + "true_false" + ], + "description": "The type of the value for the property", + "examples": [ + "single_select" + ] + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "Default value of the property", + "type": [ + "null", + "string", + "array" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "Short description of the property" + }, + "allowed_values": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string", + "maxLength": 75 + }, + "maxItems": 200, + "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + }, + "values_editable_by": { + "type": [ + "string", + "null" + ], + "enum": [ + "org_actors", + "org_and_repo_actors", + null + ], + "description": "Who can edit the values of the property", + "examples": [ + "org_actors" + ] + } + }, + "required": [ + "property_name", + "value_type" + ] + }, + "minItems": 1, + "maxItems": 100 + } + }, + "required": [ + "properties" + ] + }, + "examples": { + "default": { + "value": { + "properties": [ + { + "property_name": "environment", + "value_type": "single_select", + "required": true, + "default_value": "production", + "description": "Prod or dev environment", + "allowed_values": [ + "production", + "development" + ], + "values_editable_by": "org_actors" + }, + { + "property_name": "service", + "value_type": "string" + }, + { + "property_name": "team", + "value_type": "string", + "description": "Team owning the repository" + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Custom Property", + "description": "Custom property defined on an organization", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + }, + "value_type": { + "type": "string", + "enum": [ + "string", + "single_select", + "multi_select", + "true_false" + ], + "description": "The type of the value for the property", + "examples": [ + "single_select" + ] + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "Default value of the property", + "type": [ + "null", + "string", + "array" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "Short description of the property" + }, + "allowed_values": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string", + "maxLength": 75 + }, + "maxItems": 200, + "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + }, + "values_editable_by": { + "type": [ + "string", + "null" + ], + "enum": [ + "org_actors", + "org_and_repo_actors", + null + ], + "description": "Who can edit the values of the property", + "examples": [ + "org_actors" + ] + } + }, + "required": [ + "property_name", + "value_type" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "property_name": "environment", + "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", + "value_type": "single_select", + "required": true, + "default_value": "production", + "description": "Prod or dev environment", + "allowed_values": [ + "production", + "development" + ], + "values_editable_by": "org_actors" + }, + { + "property_name": "service", + "url": "https://api.github.com/orgs/github/properties/schema/service", + "source_type": "organization", + "value_type": "string" + }, + { + "property_name": "team", + "url": "https://api.github.com/orgs/github/properties/schema/team", + "source_type": "organization", + "value_type": "string", + "description": "Team owning the repository" + } + ] + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "custom-properties" + } + } + }, + "/enterprises/{enterprise}/properties/schema/{custom_property_name}": { + "get": { + "summary": "Get a custom property for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a custom property that is defined for an enterprise.\nEnterprise members can read these properties.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-enterprise-custom-property", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise" + }, + "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": "custom_property_name", + "description": "The custom property name", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Organization Custom Property", + "description": "Custom property defined on an organization", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + }, + "value_type": { + "type": "string", + "enum": [ + "string", + "single_select", + "multi_select", + "true_false" + ], + "description": "The type of the value for the property", + "examples": [ + "single_select" + ] + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "Default value of the property", + "type": [ + "null", + "string", + "array" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "Short description of the property" + }, + "allowed_values": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string", + "maxLength": 75 + }, + "maxItems": 200, + "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + }, + "values_editable_by": { + "type": [ + "string", + "null" + ], + "enum": [ + "org_actors", + "org_and_repo_actors", + null + ], + "description": "Who can edit the values of the property", + "examples": [ + "org_actors" + ] + } + }, + "required": [ + "property_name", + "value_type" + ] + }, + "examples": { + "default": { + "value": { + "property_name": "environment", + "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", + "value_type": "single_select", + "required": true, + "default_value": "production", + "description": "Prod or dev environment", + "allowed_values": [ + "production", + "development" + ] + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "custom-properties" + } + }, + "put": { + "summary": "Create or update a custom property for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nCreates a new or updates an existing custom property that is defined for an enterprise.\n\nTo use this endpoint, the authenticated user must be an administrator for the enterprise.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/create-or-update-enterprise-custom-property", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise" + }, + "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": "custom_property_name", + "description": "The custom property name", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Organization Custom Property", + "description": "Custom property defined on an organization", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + }, + "value_type": { + "type": "string", + "enum": [ + "string", + "single_select", + "multi_select", + "true_false" + ], + "description": "The type of the value for the property", + "examples": [ + "single_select" + ] + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "Default value of the property", + "type": [ + "null", + "string", + "array" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "Short description of the property" + }, + "allowed_values": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string", + "maxLength": 75 + }, + "maxItems": 200, + "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + }, + "values_editable_by": { + "type": [ + "string", + "null" + ], + "enum": [ + "org_actors", + "org_and_repo_actors", + null + ], + "description": "Who can edit the values of the property", + "examples": [ + "org_actors" + ] + } + }, + "required": [ + "property_name", + "value_type" + ] + }, + "examples": { + "default": { + "value": { + "property_name": "environment", + "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", + "value_type": "single_select", + "required": true, + "default_value": "production", + "description": "Prod or dev environment", + "allowed_values": [ + "production", + "development" + ] + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "custom-properties" + } + }, + "delete": { + "summary": "Remove a custom property for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nRemove a custom property that is defined for an enterprise.\n\nTo use this endpoint, the authenticated user must be an administrator for the enterprise.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/remove-enterprise-custom-property", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise" + }, + "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": "custom_property_name", + "description": "The custom property name", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "A header with no content is returned." + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "custom-properties" + } + } + }, "/enterprises/{enterprise}/secret-scanning/alerts": { "get": { "summary": "List secret scanning alerts for an enterprise", @@ -35332,7 +36470,7 @@ "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": { "get": { "summary": "Get Copilot metrics for an enterprise team", - "description": "Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.\n\nTo access this endpoint, the Copilot Metrics API access policy must be enabled or set to \"no policy\" for the enterprise within GitHub settings.\nOnly owners and billing managers for the enterprise that contains the enterprise team can view Copilot metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See \"[About enterprise accounts for Copilot Business](https://docs.github.com/enterprise-cloud@latest//admin/copilot-business-only/about-enterprise-accounts-for-copilot-business).\"\n\nUse this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.\n\nTo access this endpoint, the Copilot Metrics API access policy must be enabled or set to \"no policy\" for the enterprise within GitHub settings.\nOnly owners and billing managers for the enterprise that contains the enterprise team can view Copilot metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -35997,7 +37135,7 @@ "/enterprises/{enterprise}/team/{team_slug}/copilot/usage": { "get": { "summary": "Get a summary of Copilot usage for an enterprise team", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had five or more members with active Copilot licenses, as evaluated at the end of that day.\n\nOwners and billing managers for the enterprise that contains the enterprise team can view Copilot usage metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change. This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See \"[About enterprise accounts for Copilot Business](https://docs.github.com/enterprise-cloud@latest//admin/copilot-business-only/about-enterprise-accounts-for-copilot-business).\"\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had five or more members with active Copilot licenses, as evaluated at the end of that day.\n\nOwners and billing managers for the enterprise that contains the enterprise team can view Copilot usage metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -84963,6 +86101,35 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "standard", + "labeled", + "not_set", + null + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning when runner_type is 'labeled'." + } + } + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -85316,6 +86483,31 @@ ], "default": "disabled" }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning default setup when runner_type is 'labeled'." + } + } + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -85531,6 +86723,35 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "standard", + "labeled", + "not_set", + null + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning when runner_type is 'labeled'." + } + } + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -85660,6 +86881,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "enabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -85816,6 +87041,35 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "standard", + "labeled", + "not_set", + null + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning when runner_type is 'labeled'." + } + } + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -85951,6 +87205,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "enabled", "secret_scanning_push_protection": "enabled", "secret_scanning_delegated_bypass": "enabled", @@ -85989,6 +87247,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "enabled", "secret_scanning_push_protection": "enabled", "secret_scanning_delegated_bypass": "disabled", @@ -86410,527 +87672,614 @@ "not_set" ] }, - "secret_scanning": { - "type": "string", - "description": "The enablement status of secret scanning", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "secret_scanning_push_protection": { - "type": "string", - "description": "The enablement status of secret scanning push protection", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "secret_scanning_delegated_bypass": { - "type": "string", - "description": "The enablement status of secret scanning delegated bypass", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "secret_scanning_delegated_bypass_options": { - "type": "object", - "description": "Feature options for secret scanning delegated bypass", + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "standard", + "labeled", + "not_set", + null + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning when runner_type is 'labeled'." + } + } + }, + "secret_scanning": { + "type": "string", + "description": "The enablement status of secret scanning", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "secret_scanning_push_protection": { + "type": "string", + "description": "The enablement status of secret scanning push protection", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "secret_scanning_delegated_bypass": { + "type": "string", + "description": "The enablement status of secret scanning delegated bypass", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "secret_scanning_delegated_bypass_options": { + "type": "object", + "description": "Feature options for secret scanning delegated bypass", + "properties": { + "reviewers": { + "type": "array", + "description": "The bypass reviewers for secret scanning delegated bypass", + "items": { + "type": "object", + "required": [ + "reviewer_id", + "reviewer_type" + ], + "properties": { + "reviewer_id": { + "type": "integer", + "description": "The ID of the team or role selected as a bypass reviewer" + }, + "reviewer_type": { + "type": "string", + "description": "The type of the bypass reviewer", + "enum": [ + "TEAM", + "ROLE" + ] + } + } + } + } + } + }, + "secret_scanning_validity_checks": { + "type": "string", + "description": "The enablement status of secret scanning validity checks", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "secret_scanning_non_provider_patterns": { + "type": "string", + "description": "The enablement status of secret scanning non-provider patterns", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "private_vulnerability_reporting": { + "type": "string", + "description": "The enablement status of private vulnerability reporting", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "enforcement": { + "type": "string", + "description": "The enforcement status for a security configuration", + "enum": [ + "enforced", + "unenforced" + ] + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL of the configuration" + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The URL of the configuration" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + } + }, + "examples": { + "default": { + "value": { + "id": 1325, + "target_type": "organization", + "name": "octo-org recommended settings", + "description": "This is a code security configuration for octo-org", + "advanced_security": "enabled", + "dependency_graph": "enabled", + "dependency_graph_autosubmit_action": "enabled", + "dependency_graph_autosubmit_action_options": { + "labeled_runners": false + }, + "dependabot_alerts": "enabled", + "dependabot_security_updates": "not_set", + "code_scanning_default_setup": "disabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, + "secret_scanning": "enabled", + "secret_scanning_push_protection": "disabled", + "secret_scanning_delegated_bypass": "disabled", + "secret_scanning_validity_checks": "disabled", + "secret_scanning_non_provider_patterns": "disabled", + "private_vulnerability_reporting": "disabled", + "enforcement": "enforced", + "url": "https://api.github.com/orgs/octo-org/code-security/configurations/1325", + "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325", + "created_at": "2024-05-01T00:00:00Z", + "updated_at": "2024-05-01T00:00:00Z" + } + } + } + } + } + }, + "304": { + "description": "Not modified" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-security", + "subcategory": "configurations" + } + }, + "patch": { + "summary": "Update a code security configuration", + "description": "Updates a code security configuration in an organization.\n\nThe authenticated user must be an administrator or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint.", + "tags": [ + "code-security" + ], + "operationId": "code-security/update-configuration", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "configuration_id", + "description": "The unique identifier of the code security configuration.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": false, + "properties": { + "name": { + "type": "string", + "description": "The name of the code security configuration. Must be unique within the organization." + }, + "description": { + "type": "string", + "description": "A description of the code security configuration", + "maxLength": 255 + }, + "advanced_security": { + "type": "string", + "description": "The enablement status of GitHub Advanced Security", + "enum": [ + "enabled", + "disabled" + ] + }, + "dependency_graph": { + "type": "string", + "description": "The enablement status of Dependency Graph", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "dependency_graph_autosubmit_action": { + "type": "string", + "description": "The enablement status of Automatic dependency submission", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "dependency_graph_autosubmit_action_options": { + "type": "object", + "description": "Feature options for Automatic dependency submission", + "properties": { + "labeled_runners": { + "type": "boolean", + "description": "Whether to use runners labeled with 'dependency-submission' or standard GitHub runners." + } + } + }, + "dependabot_alerts": { + "type": "string", + "description": "The enablement status of Dependabot alerts", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "dependabot_security_updates": { + "type": "string", + "description": "The enablement status of Dependabot security updates", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "code_scanning_default_setup": { + "type": "string", + "description": "The enablement status of code scanning default setup", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning default setup when runner_type is 'labeled'." + } + } + }, + "secret_scanning": { + "type": "string", + "description": "The enablement status of secret scanning", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "secret_scanning_push_protection": { + "type": "string", + "description": "The enablement status of secret scanning push protection", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "secret_scanning_delegated_bypass": { + "type": "string", + "description": "The enablement status of secret scanning delegated bypass", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "secret_scanning_delegated_bypass_options": { + "type": "object", + "description": "Feature options for secret scanning delegated bypass", + "properties": { + "reviewers": { + "type": "array", + "description": "The bypass reviewers for secret scanning delegated bypass", + "items": { + "type": "object", + "required": [ + "reviewer_id", + "reviewer_type" + ], + "properties": { + "reviewer_id": { + "type": "integer", + "description": "The ID of the team or role selected as a bypass reviewer" + }, + "reviewer_type": { + "type": "string", + "description": "The type of the bypass reviewer", + "enum": [ + "TEAM", + "ROLE" + ] + } + } + } + } + } + }, + "secret_scanning_validity_checks": { + "type": "string", + "description": "The enablement status of secret scanning validity checks", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "secret_scanning_non_provider_patterns": { + "type": "string", + "description": "The enablement status of secret scanning non-provider patterns", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "private_vulnerability_reporting": { + "type": "string", + "description": "The enablement status of private vulnerability reporting", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "enforcement": { + "type": "string", + "description": "The enforcement status for a security configuration", + "enum": [ + "enforced", + "unenforced" + ] + } + } + }, + "examples": { + "default": { + "summary": "Example for updating a code security configuration", + "value": { + "name": "octo-org recommended settings v2", + "secret_scanning": "disabled", + "code_scanning_default_setup": "enabled" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response when a configuration is updated", + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "A code security configuration", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the code security configuration" + }, + "name": { + "type": "string", + "description": "The name of the code security configuration. Must be unique within the organization." + }, + "target_type": { + "type": "string", + "description": "The type of the code security configuration.", + "enum": [ + "global", + "organization", + "enterprise" + ] + }, + "description": { + "type": "string", + "description": "A description of the code security configuration" + }, + "advanced_security": { + "type": "string", + "description": "The enablement status of GitHub Advanced Security", + "enum": [ + "enabled", + "disabled" + ] + }, + "dependency_graph": { + "type": "string", + "description": "The enablement status of Dependency Graph", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "dependency_graph_autosubmit_action": { + "type": "string", + "description": "The enablement status of Automatic dependency submission", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "dependency_graph_autosubmit_action_options": { + "type": "object", + "description": "Feature options for Automatic dependency submission", + "properties": { + "labeled_runners": { + "type": "boolean", + "description": "Whether to use runners labeled with 'dependency-submission' or standard GitHub runners." + } + } + }, + "dependabot_alerts": { + "type": "string", + "description": "The enablement status of Dependabot alerts", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "dependabot_security_updates": { + "type": "string", + "description": "The enablement status of Dependabot security updates", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "code_scanning_default_setup": { + "type": "string", + "description": "The enablement status of code scanning default setup", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", "properties": { - "reviewers": { - "type": "array", - "description": "The bypass reviewers for secret scanning delegated bypass", - "items": { - "type": "object", - "required": [ - "reviewer_id", - "reviewer_type" - ], - "properties": { - "reviewer_id": { - "type": "integer", - "description": "The ID of the team or role selected as a bypass reviewer" - }, - "reviewer_type": { - "type": "string", - "description": "The type of the bypass reviewer", - "enum": [ - "TEAM", - "ROLE" - ] - } - } - } - } - } - }, - "secret_scanning_validity_checks": { - "type": "string", - "description": "The enablement status of secret scanning validity checks", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "secret_scanning_non_provider_patterns": { - "type": "string", - "description": "The enablement status of secret scanning non-provider patterns", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "private_vulnerability_reporting": { - "type": "string", - "description": "The enablement status of private vulnerability reporting", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "enforcement": { - "type": "string", - "description": "The enforcement status for a security configuration", - "enum": [ - "enforced", - "unenforced" - ] - }, - "url": { - "type": "string", - "format": "uri", - "description": "The URL of the configuration" - }, - "html_url": { - "type": "string", - "format": "uri", - "description": "The URL of the configuration" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - } - } - }, - "examples": { - "default": { - "value": { - "id": 1325, - "target_type": "organization", - "name": "octo-org recommended settings", - "description": "This is a code security configuration for octo-org", - "advanced_security": "enabled", - "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": "enabled", - "dependency_graph_autosubmit_action_options": { - "labeled_runners": false - }, - "dependabot_alerts": "enabled", - "dependabot_security_updates": "not_set", - "code_scanning_default_setup": "disabled", - "secret_scanning": "enabled", - "secret_scanning_push_protection": "disabled", - "secret_scanning_delegated_bypass": "disabled", - "secret_scanning_validity_checks": "disabled", - "secret_scanning_non_provider_patterns": "disabled", - "private_vulnerability_reporting": "disabled", - "enforcement": "enforced", - "url": "https://api.github.com/orgs/octo-org/code-security/configurations/1325", - "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325", - "created_at": "2024-05-01T00:00:00Z", - "updated_at": "2024-05-01T00:00:00Z" - } - } - } - } - } - }, - "304": { - "description": "Not modified" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "code-security", - "subcategory": "configurations" - } - }, - "patch": { - "summary": "Update a code security configuration", - "description": "Updates a code security configuration in an organization.\n\nThe authenticated user must be an administrator or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint.", - "tags": [ - "code-security" - ], - "operationId": "code-security/update-configuration", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "configuration_id", - "description": "The unique identifier of the code security configuration.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": false, - "properties": { - "name": { - "type": "string", - "description": "The name of the code security configuration. Must be unique within the organization." - }, - "description": { - "type": "string", - "description": "A description of the code security configuration", - "maxLength": 255 - }, - "advanced_security": { - "type": "string", - "description": "The enablement status of GitHub Advanced Security", - "enum": [ - "enabled", - "disabled" - ] - }, - "dependency_graph": { - "type": "string", - "description": "The enablement status of Dependency Graph", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "dependency_graph_autosubmit_action": { - "type": "string", - "description": "The enablement status of Automatic dependency submission", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "dependency_graph_autosubmit_action_options": { - "type": "object", - "description": "Feature options for Automatic dependency submission", - "properties": { - "labeled_runners": { - "type": "boolean", - "description": "Whether to use runners labeled with 'dependency-submission' or standard GitHub runners." - } - } - }, - "dependabot_alerts": { - "type": "string", - "description": "The enablement status of Dependabot alerts", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "dependabot_security_updates": { - "type": "string", - "description": "The enablement status of Dependabot security updates", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "code_scanning_default_setup": { - "type": "string", - "description": "The enablement status of code scanning default setup", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "secret_scanning": { - "type": "string", - "description": "The enablement status of secret scanning", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "secret_scanning_push_protection": { - "type": "string", - "description": "The enablement status of secret scanning push protection", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "secret_scanning_delegated_bypass": { - "type": "string", - "description": "The enablement status of secret scanning delegated bypass", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "secret_scanning_delegated_bypass_options": { - "type": "object", - "description": "Feature options for secret scanning delegated bypass", - "properties": { - "reviewers": { - "type": "array", - "description": "The bypass reviewers for secret scanning delegated bypass", - "items": { - "type": "object", - "required": [ - "reviewer_id", - "reviewer_type" + "runner_type": { + "type": [ + "string", + "null" ], - "properties": { - "reviewer_id": { - "type": "integer", - "description": "The ID of the team or role selected as a bypass reviewer" - }, - "reviewer_type": { - "type": "string", - "description": "The type of the bypass reviewer", - "enum": [ - "TEAM", - "ROLE" - ] - } - } - } - } - } - }, - "secret_scanning_validity_checks": { - "type": "string", - "description": "The enablement status of secret scanning validity checks", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "secret_scanning_non_provider_patterns": { - "type": "string", - "description": "The enablement status of secret scanning non-provider patterns", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "private_vulnerability_reporting": { - "type": "string", - "description": "The enablement status of private vulnerability reporting", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "enforcement": { - "type": "string", - "description": "The enforcement status for a security configuration", - "enum": [ - "enforced", - "unenforced" - ] - } - } - }, - "examples": { - "default": { - "summary": "Example for updating a code security configuration", - "value": { - "name": "octo-org recommended settings v2", - "secret_scanning": "disabled", - "code_scanning_default_setup": "enabled" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response when a configuration is updated", - "content": { - "application/json": { - "schema": { - "type": "object", - "description": "A code security configuration", - "properties": { - "id": { - "type": "integer", - "description": "The ID of the code security configuration" - }, - "name": { - "type": "string", - "description": "The name of the code security configuration. Must be unique within the organization." - }, - "target_type": { - "type": "string", - "description": "The type of the code security configuration.", - "enum": [ - "global", - "organization", - "enterprise" - ] - }, - "description": { - "type": "string", - "description": "A description of the code security configuration" - }, - "advanced_security": { - "type": "string", - "description": "The enablement status of GitHub Advanced Security", - "enum": [ - "enabled", - "disabled" - ] - }, - "dependency_graph": { - "type": "string", - "description": "The enablement status of Dependency Graph", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "dependency_graph_autosubmit_action": { - "type": "string", - "description": "The enablement status of Automatic dependency submission", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "dependency_graph_autosubmit_action_options": { - "type": "object", - "description": "Feature options for Automatic dependency submission", - "properties": { - "labeled_runners": { - "type": "boolean", - "description": "Whether to use runners labeled with 'dependency-submission' or standard GitHub runners." + "enum": [ + "standard", + "labeled", + "not_set", + null + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning when runner_type is 'labeled'." } } }, - "dependabot_alerts": { - "type": "string", - "description": "The enablement status of Dependabot alerts", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "dependabot_security_updates": { - "type": "string", - "description": "The enablement status of Dependabot security updates", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "code_scanning_default_setup": { - "type": "string", - "description": "The enablement status of code scanning default setup", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -87060,6 +88409,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "disabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -87550,6 +88903,35 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "standard", + "labeled", + "not_set", + null + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning when runner_type is 'labeled'." + } + } + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -87684,6 +89066,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "enabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -94608,7 +95994,7 @@ "/orgs/{org}/copilot/billing/selected_teams": { "post": { "summary": "Add teams to the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for all users within each specified team.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can add Copilot seats for their organization members.\n\nIn order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response will contain the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for all users within each specified team.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -94806,7 +96192,7 @@ }, "delete": { "summary": "Remove teams from the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all members of each team specified to \"pending cancellation\".\nThis will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team.\n\nFor more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nFor more information about disabling access to Copilot Business or Enterprise, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response will contain the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all members of each team specified to \"pending cancellation\".\nThis will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -95006,7 +96392,7 @@ "/orgs/{org}/copilot/billing/selected_users": { "post": { "summary": "Add users to the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for each user specified.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can add Copilot seats for their organization members.\n\nIn order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response will contain the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for each user specified.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -95204,7 +96590,7 @@ }, "delete": { "summary": "Remove users from the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\n\nFor more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nFor more information about disabling access to Copilot Business or Enterprise, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response will contain the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -111708,6 +113094,15 @@ "default": "total_request_count" } } + }, + { + "name": "api_route_substring", + "in": "query", + "description": "Providing a substring will filter results where the API route contains the substring. This is a case-insensitive search.", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { @@ -111868,6 +113263,15 @@ "default": "total_request_count" } } + }, + { + "name": "subject_name_substring", + "in": "query", + "description": "Providing a substring will filter results where the subject name contains the substring. This is a case-insensitive search.", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { @@ -112720,6 +114124,15 @@ "default": "total_request_count" } } + }, + { + "name": "actor_name_substring", + "in": "query", + "description": "Providing a substring will filter results where the actor name contains the substring. This is a case-insensitive search.", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { @@ -272070,6 +273483,24 @@ "not-configured" ] }, + "runner_type": { + "description": "Runner type to be used.", + "type": "string", + "enum": [ + "standard", + "labeled" + ] + }, + "runner_label": { + "description": "Runner label to be used if the runner type is labeled.", + "type": [ + "string", + "null" + ], + "examples": [ + "code-scanning" + ] + }, "query_suite": { "description": "CodeQL query suite to be used.", "type": "string", @@ -272782,6 +274213,35 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "standard", + "labeled", + "not_set", + null + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning when runner_type is 'labeled'." + } + } + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -493777,7 +495237,7 @@ }, "status": { "type": "string", - "description": "The state of the scan. Either \"completed\" or \"running\"" + "description": "The state of the scan. Either \"completed\", \"running\", or \"pending\"" }, "completed_at": { "type": [ @@ -493785,12 +495245,15 @@ "null" ], "format": "date-time", - "description": "The time that the scan was completed. Empty if the scan is active" + "description": "The time that the scan was completed. Empty if the scan is running" }, "started_at": { - "type": "string", + "type": [ + "string", + "null" + ], "format": "date-time", - "description": "The time that the scan was started" + "description": "The time that the scan was started. Empty if the scan is pending" } } } @@ -493807,7 +495270,7 @@ }, "status": { "type": "string", - "description": "The state of the scan. Either \"completed\" or \"running\"" + "description": "The state of the scan. Either \"completed\", \"running\", or \"pending\"" }, "completed_at": { "type": [ @@ -493815,12 +495278,15 @@ "null" ], "format": "date-time", - "description": "The time that the scan was completed. Empty if the scan is active" + "description": "The time that the scan was completed. Empty if the scan is running" }, "started_at": { - "type": "string", + "type": [ + "string", + "null" + ], "format": "date-time", - "description": "The time that the scan was started" + "description": "The time that the scan was started. Empty if the scan is pending" } } } @@ -493837,7 +495303,7 @@ }, "status": { "type": "string", - "description": "The state of the scan. Either \"completed\" or \"running\"" + "description": "The state of the scan. Either \"completed\", \"running\", or \"pending\"" }, "completed_at": { "type": [ @@ -493845,12 +495311,15 @@ "null" ], "format": "date-time", - "description": "The time that the scan was completed. Empty if the scan is active" + "description": "The time that the scan was completed. Empty if the scan is running" }, "started_at": { - "type": "string", + "type": [ + "string", + "null" + ], "format": "date-time", - "description": "The time that the scan was started" + "description": "The time that the scan was started. Empty if the scan is pending" } } } @@ -493869,7 +495338,7 @@ }, "status": { "type": "string", - "description": "The state of the scan. Either \"completed\" or \"running\"" + "description": "The state of the scan. Either \"completed\", \"running\", or \"pending\"" }, "completed_at": { "type": [ @@ -493877,12 +495346,15 @@ "null" ], "format": "date-time", - "description": "The time that the scan was completed. Empty if the scan is active" + "description": "The time that the scan was completed. Empty if the scan is running" }, "started_at": { - "type": "string", + "type": [ + "string", + "null" + ], "format": "date-time", - "description": "The time that the scan was started" + "description": "The time that the scan was started. Empty if the scan is pending" } } }, diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index fc750e851..e39028d38 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -896,7 +896,7 @@ paths: - subscriptions_url - type - url - type: &283 + type: &284 type: string description: The type of credit the user is receiving. enum: @@ -1029,7 +1029,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &138 + schema: &142 title: Validation Error Simple description: Validation Error Simple type: object @@ -1062,7 +1062,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &586 + - &587 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1593,7 +1593,7 @@ paths: schema: type: integer default: 30 - - &207 + - &212 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1609,7 +1609,7 @@ paths: application/json: schema: type: array - items: &208 + items: &213 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1702,7 +1702,7 @@ paths: - installation_id - repository_id examples: - default: &209 + default: &214 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1734,7 +1734,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &596 + schema: &597 title: Scim Error description: Scim Error type: object @@ -1765,7 +1765,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &137 + schema: &141 title: Validation Error description: Validation Error type: object @@ -1837,7 +1837,7 @@ paths: description: Response content: application/json: - schema: &210 + schema: &215 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1972,7 +1972,7 @@ paths: - request - response examples: - default: &211 + default: &216 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2032,7 +2032,7 @@ paths: parameters: - *16 responses: - '202': &140 + '202': &144 description: Accepted content: application/json: @@ -2241,7 +2241,7 @@ paths: parameters: - *17 - *18 - - &102 + - &106 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -3003,7 +3003,7 @@ paths: license: anyOf: - type: 'null' - - &113 + - &117 title: License Simple description: License Simple type: object @@ -7598,7 +7598,7 @@ paths: description: Response content: application/json: - schema: &141 + schema: &145 type: object properties: total_active_caches_count: @@ -7613,7 +7613,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &142 + default: &146 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7708,7 +7708,7 @@ paths: - all - local_only - selected - selected_actions_url: &145 + selected_actions_url: &149 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` @@ -8089,7 +8089,7 @@ paths: description: Success response content: application/json: - schema: &148 + schema: &152 type: object properties: default_workflow_permissions: &44 @@ -8137,7 +8137,7 @@ paths: required: true content: application/json: - schema: &149 + schema: &153 type: object properties: default_workflow_permissions: *44 @@ -8966,7 +8966,7 @@ paths: application/json: schema: type: array - items: &153 + items: &157 title: Runner Application description: Runner Application type: object @@ -8991,7 +8991,7 @@ paths: - download_url - filename examples: - default: &154 + default: &158 value: - os: osx architecture: x64 @@ -9075,7 +9075,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &155 + '201': &159 description: Response content: application/json: @@ -9189,7 +9189,7 @@ paths: - token - expires_at examples: - default: &156 + default: &160 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -9229,7 +9229,7 @@ paths: application/json: schema: *56 examples: - default: &157 + default: &161 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -9261,7 +9261,7 @@ paths: application/json: schema: *53 examples: - default: &158 + default: &162 value: id: 23 name: MBP @@ -9475,7 +9475,7 @@ paths: - *38 - *52 responses: - '200': &159 + '200': &163 description: Response content: application/json: @@ -9531,7 +9531,7 @@ paths: parameters: - *38 - *52 - - &160 + - &164 name: name description: The name of a self-hosted runner's custom label. in: path @@ -9628,7 +9628,7 @@ paths: required: true content: application/json: - schema: &167 + schema: &171 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -9699,7 +9699,7 @@ paths: required: false schema: type: string - - &168 + - &172 name: include description: |- The event types to include: @@ -9717,7 +9717,7 @@ paths: - web - git - all - - &169 + - &173 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. @@ -9725,7 +9725,7 @@ paths: required: false schema: type: string - - &170 + - &174 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. @@ -9733,7 +9733,7 @@ paths: required: false schema: type: string - - &171 + - &175 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -9755,7 +9755,7 @@ paths: application/json: schema: type: array - items: &172 + items: &176 type: object properties: "@timestamp": @@ -9877,7 +9877,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &173 + default: &177 value: - "@timestamp": 1606929874512 action: team.add_member @@ -10441,7 +10441,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *38 - - &175 + - &179 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -10451,7 +10451,7 @@ paths: schema: &77 type: string description: The name of the tool used to generate the code scanning analysis. - - &176 + - &180 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -10475,7 +10475,7 @@ paths: be returned. in: query required: false - schema: &177 + schema: &181 type: string description: State of a code scanning alert. enum: @@ -10500,7 +10500,7 @@ paths: application/json: schema: type: array - items: &178 + items: &182 type: object properties: number: &81 @@ -10529,7 +10529,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &391 + instances_url: &392 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -10565,7 +10565,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &392 + dismissed_reason: &393 type: - string - 'null' @@ -10576,14 +10576,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &393 + dismissed_comment: &394 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &394 + rule: &395 type: object properties: id: @@ -10644,7 +10644,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &395 + tool: &396 type: object properties: name: *77 @@ -10655,15 +10655,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *78 - most_recent_instance: &396 + most_recent_instance: &397 type: object properties: - ref: &389 + ref: &390 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &402 + analysis_key: &403 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -10674,7 +10674,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &403 + category: &404 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -11058,7 +11058,7 @@ paths: - most_recent_instance - repository examples: - default: &179 + default: &183 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -11289,7 +11289,7 @@ paths: headers: Link: *37 '404': *6 - '503': &92 + '503': &96 description: Service unavailable content: application/json: @@ -11716,7 +11716,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &185 + items: &190 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -11731,7 +11731,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &229 + - &234 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -11790,7 +11790,7 @@ paths: parent: anyOf: - type: 'null' - - &242 + - &247 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -11984,7 +11984,7 @@ paths: - created_at additionalProperties: false examples: - default: &186 + default: &191 value: total_seats: 2 seats: @@ -12119,7 +12119,7 @@ paths: application/json: schema: type: array - items: &94 + items: &98 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -12435,7 +12435,7 @@ paths: - date additionalProperties: true examples: - default: &95 + default: &99 value: - date: '2024-06-24' total_active_users: 24 @@ -12537,7 +12537,7 @@ paths: '500': *80 '403': *27 '404': *6 - '422': &96 + '422': &100 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -12607,7 +12607,7 @@ paths: application/json: schema: type: array - items: &97 + items: &101 title: Copilot Usage Metrics description: Summary of Copilot usage. type: object @@ -12787,7 +12787,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *38 - - &193 + - &198 name: state in: query description: |- @@ -12796,7 +12796,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &194 + - &199 name: severity in: query description: |- @@ -12805,7 +12805,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &195 + - &200 name: ecosystem in: query description: |- @@ -12814,14 +12814,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &196 + - &201 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &197 + - &202 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -12831,7 +12831,7 @@ paths: enum: - development - runtime - - &198 + - &203 name: sort in: query description: |- @@ -12847,7 +12847,7 @@ paths: - *76 - *74 - *75 - - &199 + - &204 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -12860,7 +12860,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &200 + - &205 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -12880,7 +12880,7 @@ paths: application/json: schema: type: array - items: &201 + items: &206 type: object description: A Dependabot alert. properties: @@ -12932,7 +12932,7 @@ paths: - development - runtime - - security_advisory: &440 + security_advisory: &441 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -13167,7 +13167,7 @@ paths: dismissal. maxLength: 280 fixed_at: *90 - auto_dismissed_at: &441 + auto_dismissed_at: &442 type: - string - 'null' @@ -13194,7 +13194,7 @@ paths: - repository additionalProperties: false examples: - default: &202 + default: &207 value: - number: 2 state: dismissed @@ -13586,6 +13586,313 @@ paths: previews: [] category: enterprise-admin subcategory: license + "/enterprises/{enterprise}/properties/schema": + get: + summary: Get custom properties for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets all custom properties defined for an enterprise. + Enterprise members can read these properties. + tags: + - enterprise-admin + operationId: enterprise-admin/get-enterprise-custom-properties + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-custom-properties-for-an-enterprise + parameters: + - *38 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: &92 + title: Organization Custom Property + description: Custom property defined on an organization + type: object + properties: + property_name: + type: string + description: The name of the property + url: + type: string + format: uri + description: The URL that can be used to fetch, update, or delete + info about this property via the API. + source_type: + type: string + description: The source type of the property + enum: + - organization + - enterprise + examples: + - organization + value_type: + type: string + enum: + - string + - single_select + - multi_select + - true_false + description: The type of the value for the property + examples: + - single_select + required: + type: boolean + description: Whether the property is required. + default_value: + oneOf: + - type: string + - type: array + items: + type: string + description: Default value of the property + type: + - 'null' + - string + - array + description: + type: + - string + - 'null' + description: Short description of the property + allowed_values: + type: + - array + - 'null' + items: + type: string + maxLength: 75 + maxItems: 200 + description: |- + An ordered list of the allowed values of the property. + The property can have up to 200 allowed values. + values_editable_by: + type: + - string + - 'null' + enum: + - org_actors + - org_and_repo_actors + - + description: Who can edit the values of the property + examples: + - org_actors + required: + - property_name + - value_type + examples: + default: &93 + value: + - property_name: environment + url: https://api.github.com/orgs/github/properties/schema/environment + source_type: organization + value_type: single_select + required: true + default_value: production + description: Prod or dev environment + allowed_values: + - production + - development + values_editable_by: org_actors + - property_name: service + url: https://api.github.com/orgs/github/properties/schema/service + source_type: organization + value_type: string + - property_name: team + url: https://api.github.com/orgs/github/properties/schema/team + source_type: organization + value_type: string + description: Team owning the repository + '403': *27 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: custom-properties + patch: + summary: Create or update custom properties for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Creates new or updates existing custom properties defined for an enterprise in a batch. + + To use this endpoint, the authenticated user must be an administrator for the enterprise. + tags: + - enterprise-admin + operationId: enterprise-admin/create-or-update-enterprise-custom-properties + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-custom-properties-for-an-enterprise + parameters: + - *38 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + properties: + type: array + description: The array of custom properties to create or update. + items: *92 + minItems: 1 + maxItems: 100 + required: + - properties + examples: + default: + value: + properties: + - property_name: environment + value_type: single_select + required: true + default_value: production + description: Prod or dev environment + allowed_values: + - production + - development + values_editable_by: org_actors + - property_name: service + value_type: string + - property_name: team + value_type: string + description: Team owning the repository + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *92 + examples: + default: *93 + '403': *27 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: custom-properties + "/enterprises/{enterprise}/properties/schema/{custom_property_name}": + get: + summary: Get a custom property for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets a custom property that is defined for an enterprise. + Enterprise members can read these properties. + tags: + - enterprise-admin + operationId: enterprise-admin/get-enterprise-custom-property + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise + parameters: + - *38 + - &94 + name: custom_property_name + description: The custom property name + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: *92 + examples: + default: &95 + value: + property_name: environment + url: https://api.github.com/orgs/github/properties/schema/environment + source_type: organization + value_type: single_select + required: true + default_value: production + description: Prod or dev environment + allowed_values: + - production + - development + '403': *27 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: custom-properties + put: + summary: Create or update a custom property for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Creates a new or updates an existing custom property that is defined for an enterprise. + + To use this endpoint, the authenticated user must be an administrator for the enterprise. + tags: + - enterprise-admin + operationId: enterprise-admin/create-or-update-enterprise-custom-property + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise + parameters: + - *38 + - *94 + responses: + '200': + description: Response + content: + application/json: + schema: *92 + examples: + default: *95 + '403': *27 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: custom-properties + delete: + summary: Remove a custom property for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Remove a custom property that is defined for an enterprise. + + To use this endpoint, the authenticated user must be an administrator for the enterprise. + tags: + - enterprise-admin + operationId: enterprise-admin/remove-enterprise-custom-property + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise + parameters: + - *38 + - *94 + responses: + '204': &185 + description: A header with no content is returned. + '403': *27 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: custom-properties "/enterprises/{enterprise}/secret-scanning/alerts": get: summary: List secret scanning alerts for an enterprise @@ -13600,7 +13907,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *38 - - &274 + - &275 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -13611,7 +13918,7 @@ paths: enum: - open - resolved - - &275 + - &276 name: secret_type in: query description: |- @@ -13621,7 +13928,7 @@ paths: required: false schema: type: string - - &276 + - &277 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -13630,7 +13937,7 @@ paths: required: false schema: type: string - - &277 + - &278 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -13646,7 +13953,7 @@ paths: - *17 - *74 - *75 - - &278 + - &279 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -13655,7 +13962,7 @@ paths: required: false schema: type: string - - &279 + - &280 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -13664,7 +13971,7 @@ paths: schema: type: boolean default: false - - &280 + - &281 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -13680,7 +13987,7 @@ paths: application/json: schema: type: array - items: &281 + items: &282 type: object properties: number: *81 @@ -13696,14 +14003,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &578 + state: &579 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &579 + resolution: &580 type: - string - 'null' @@ -13796,7 +14103,7 @@ paths: description: Whether the detected secret was found in multiple repositories in the same organization or enterprise. examples: - default: &282 + default: &283 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -14029,7 +14336,7 @@ paths: headers: Link: *37 '404': *6 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14057,7 +14364,7 @@ paths: description: Response content: application/json: - schema: &284 + schema: &285 type: object properties: total_minutes_used: @@ -14127,7 +14434,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &285 + default: &286 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -14165,7 +14472,7 @@ paths: description: Success content: application/json: - schema: &286 + schema: &287 type: object properties: total_advanced_security_committers: @@ -14228,7 +14535,7 @@ paths: required: - repositories examples: - default: &287 + default: &288 value: total_advanced_security_committers: 2 total_count: 2 @@ -14316,7 +14623,7 @@ paths: '400': *14 '403': *27 '500': *80 - '503': *92 + '503': *96 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -14337,7 +14644,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-users-to-a-cost-center parameters: - *38 - - &93 + - &97 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -14379,13 +14686,13 @@ paths: message: Resources successfully added to the cost center. '400': *14 '403': *27 - '409': &139 + '409': &143 description: Conflict content: application/json: schema: *3 '500': *80 - '503': *92 + '503': *96 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -14405,7 +14712,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-users-from-a-cost-center parameters: - *38 - - *93 + - *97 requestBody: required: true content: @@ -14443,7 +14750,7 @@ paths: '400': *14 '403': *27 '500': *80 - '503': *92 + '503': *96 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -14471,7 +14778,7 @@ paths: description: Response content: application/json: - schema: &288 + schema: &289 type: object properties: total_gigabytes_bandwidth_used: @@ -14489,7 +14796,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &289 + default: &290 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -14521,7 +14828,7 @@ paths: description: Response content: application/json: - schema: &290 + schema: &291 type: object properties: days_left_in_billing_cycle: @@ -14539,7 +14846,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &291 + default: &292 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -14564,7 +14871,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *38 - - &128 + - &132 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -14573,7 +14880,7 @@ paths: required: false schema: type: integer - - &129 + - &133 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. @@ -14581,7 +14888,7 @@ paths: required: false schema: type: integer - - &130 + - &134 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. @@ -14589,7 +14896,7 @@ paths: required: false schema: type: integer - - &131 + - &135 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. @@ -14609,7 +14916,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &132 + schema: &136 type: object properties: usageItems: @@ -14662,7 +14969,7 @@ paths: - netAmount - organizationName examples: - default: &133 + default: &137 value: usageItems: - date: '2023-08-01' @@ -14679,7 +14986,7 @@ paths: '400': *14 '403': *27 '500': *80 - '503': *92 + '503': *96 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -14689,6 +14996,9 @@ paths: get: summary: Get Copilot metrics for an enterprise team description: |- + > [!NOTE] + > This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See "[About enterprise accounts for Copilot Business](https://docs.github.com/enterprise-cloud@latest//admin/copilot-business-only/about-enterprise-accounts-for-copilot-business)." + Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day, @@ -14747,13 +15057,13 @@ paths: application/json: schema: type: array - items: *94 + items: *98 examples: - default: *95 + default: *99 '500': *80 '403': *27 '404': *6 - '422': *96 + '422': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -14764,7 +15074,7 @@ paths: summary: Get a summary of Copilot usage for an enterprise team description: |- > [!NOTE] - > This endpoint is in public preview and is subject to change. + > This endpoint is in public preview and is subject to change. This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See "[About enterprise accounts for Copilot Business](https://docs.github.com/enterprise-cloud@latest//admin/copilot-business-only/about-enterprise-accounts-for-copilot-business)." You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE for users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. @@ -14788,7 +15098,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-an-enterprise-team parameters: - *38 - - &241 + - &246 name: team_slug description: The slug of the team name. in: path @@ -14826,9 +15136,9 @@ paths: application/json: schema: type: array - items: *97 + items: *101 examples: - default: &187 + default: &192 value: - day: '2023-10-15' total_suggestions_count: 1000 @@ -14984,7 +15294,7 @@ paths: application/json: schema: type: array - items: &123 + items: &127 title: Event description: Event type: object @@ -14995,7 +15305,7 @@ paths: type: - string - 'null' - actor: &98 + actor: &102 title: Actor description: Actor type: object @@ -15036,13 +15346,13 @@ paths: - id - name - url - org: *98 + org: *102 payload: type: object properties: action: type: string - issue: &112 + issue: &116 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -15162,7 +15472,7 @@ paths: milestone: anyOf: - type: 'null' - - &428 + - &429 title: Milestone description: A collection of related issues and pull requests. @@ -15339,7 +15649,7 @@ paths: anyOf: - type: 'null' - *5 - author_association: &99 + author_association: &103 title: author_association type: string description: How the author is associated with the repository. @@ -15354,7 +15664,7 @@ paths: - OWNER examples: - OWNER - reactions: &100 + reactions: &104 title: Reaction Rollup type: object properties: @@ -15426,7 +15736,7 @@ paths: - author_association - created_at - updated_at - comment: &487 + comment: &488 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -15476,12 +15786,12 @@ paths: issue_url: type: string format: uri - author_association: *99 + author_association: *103 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *100 + reactions: *104 required: - id - node_id @@ -15578,7 +15888,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *35 '403': *27 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -15668,7 +15978,7 @@ paths: _links: type: object properties: - timeline: &101 + timeline: &105 title: Link With Type description: Hypermedia Link with Type type: object @@ -15680,17 +15990,17 @@ paths: required: - href - type - user: *101 - security_advisories: *101 - current_user: *101 - current_user_public: *101 - current_user_actor: *101 - current_user_organization: *101 + user: *105 + security_advisories: *105 + current_user: *105 + current_user_public: *105 + current_user_actor: *105 + current_user_organization: *105 current_user_organizations: type: array - items: *101 - repository_discussions: *101 - repository_discussions_category: *101 + items: *105 + repository_discussions: *105 + repository_discussions_category: *105 required: - timeline - user @@ -15752,7 +16062,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *102 + - *106 - *17 - *18 responses: @@ -15762,7 +16072,7 @@ paths: application/json: schema: type: array - items: &103 + items: &107 title: Base Gist description: Base Gist type: object @@ -15857,7 +16167,7 @@ paths: - created_at - updated_at examples: - default: &104 + default: &108 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -15981,7 +16291,7 @@ paths: description: Response content: application/json: - schema: &105 + schema: &109 title: Gist Simple description: Gist Simple type: object @@ -15999,7 +16309,7 @@ paths: url: type: string format: uri - user: &635 + user: &636 title: Public User description: Public User type: object @@ -16369,7 +16679,7 @@ paths: truncated: type: boolean examples: - default: &106 + default: &110 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -16472,7 +16782,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *102 + - *106 - *17 - *18 responses: @@ -16482,9 +16792,9 @@ paths: application/json: schema: type: array - items: *103 + items: *107 examples: - default: *104 + default: *108 headers: Link: *37 '422': *15 @@ -16506,7 +16816,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *102 + - *106 - *17 - *18 responses: @@ -16516,9 +16826,9 @@ paths: application/json: schema: type: array - items: *103 + items: *107 examples: - default: *104 + default: *108 headers: Link: *37 '401': *23 @@ -16546,7 +16856,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &107 + - &111 name: gist_id description: The unique identifier of the gist. in: path @@ -16558,10 +16868,10 @@ paths: description: Response content: application/json: - schema: *105 + schema: *109 examples: - default: *106 - '403': &110 + default: *110 + '403': &114 description: Forbidden Gist content: application/json: @@ -16610,7 +16920,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *107 + - *111 requestBody: required: true content: @@ -16674,9 +16984,9 @@ paths: description: Response content: application/json: - schema: *105 + schema: *109 examples: - updateGist: *106 + updateGist: *110 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -16834,7 +17144,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *107 + - *111 responses: '204': description: Response @@ -16863,7 +17173,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *107 + - *111 - *17 - *18 responses: @@ -16873,7 +17183,7 @@ paths: application/json: schema: type: array - items: &108 + items: &112 title: Gist Comment description: A comment made to a gist. type: object @@ -16911,7 +17221,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *99 + author_association: *103 required: - url - id @@ -16976,7 +17286,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *107 + - *111 requestBody: required: true content: @@ -17002,9 +17312,9 @@ paths: description: Response content: application/json: - schema: *108 + schema: *112 examples: - default: &109 + default: &113 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -17062,8 +17372,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *107 - - &111 + - *111 + - &115 name: comment_id description: The unique identifier of the comment. in: path @@ -17076,12 +17386,12 @@ paths: description: Response content: application/json: - schema: *108 + schema: *112 examples: - default: *109 + default: *113 '304': *35 '404': *6 - '403': *110 + '403': *114 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -17103,8 +17413,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *107 - *111 + - *115 requestBody: required: true content: @@ -17130,9 +17440,9 @@ paths: description: Response content: application/json: - schema: *108 + schema: *112 examples: - default: *109 + default: *113 '404': *6 x-github: githubCloudOnly: false @@ -17149,8 +17459,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *107 - *111 + - *115 responses: '204': description: Response @@ -17173,7 +17483,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *107 + - *111 - *17 - *18 responses: @@ -17274,7 +17584,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *107 + - *111 - *17 - *18 responses: @@ -17284,7 +17594,7 @@ paths: application/json: schema: type: array - items: *105 + items: *109 examples: default: value: @@ -17349,13 +17659,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *107 + - *111 responses: '201': description: Response content: application/json: - schema: *103 + schema: *107 examples: default: value: @@ -17426,7 +17736,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *107 + - *111 responses: '204': description: Response if gist is starred @@ -17456,7 +17766,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *107 + - *111 responses: '204': description: Response @@ -17478,7 +17788,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *107 + - *111 responses: '204': description: Response @@ -17507,7 +17817,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *107 + - *111 - name: sha in: path required: true @@ -17518,9 +17828,9 @@ paths: description: Response content: application/json: - schema: *105 + schema: *109 examples: - default: *106 + default: *110 '422': *15 '404': *6 '403': *27 @@ -17889,7 +18199,7 @@ paths: - closed - all default: open - - &230 + - &235 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -17908,7 +18218,7 @@ paths: - comments default: created - *76 - - *102 + - *106 - name: collab in: query required: false @@ -17938,9 +18248,9 @@ paths: application/json: schema: type: array - items: *112 + items: *116 examples: - default: &231 + default: &236 value: - id: 1 node_id: MDU6SXNzdWUx @@ -18220,7 +18530,7 @@ paths: application/json: schema: type: array - items: *113 + items: *117 examples: default: value: @@ -18517,7 +18827,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &114 + X-CommonMarker-Version: &118 example: 0.17.4 schema: type: string @@ -18572,7 +18882,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *114 + X-CommonMarker-Version: *118 content: text/html: schema: @@ -18601,7 +18911,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &117 + - &121 name: account_id description: account_id parameter in: path @@ -18613,7 +18923,7 @@ paths: description: Response content: application/json: - schema: &116 + schema: &120 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -18647,7 +18957,7 @@ paths: - 'null' id: type: integer - plan: &115 + plan: &119 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -18750,7 +19060,7 @@ paths: - 'null' updated_at: type: string - plan: *115 + plan: *119 required: - url - id @@ -18758,7 +19068,7 @@ paths: - login - marketplace_purchase examples: - default: &118 + default: &122 value: url: https://api.github.com/orgs/github type: Organization @@ -18843,9 +19153,9 @@ paths: application/json: schema: type: array - items: *115 + items: *119 examples: - default: &119 + default: &123 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -18885,14 +19195,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &120 + - &124 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &121 + - &125 name: sort description: The property to sort the results by. in: query @@ -18922,9 +19232,9 @@ paths: application/json: schema: type: array - items: *116 + items: *120 examples: - default: &122 + default: &126 value: - url: https://api.github.com/orgs/github type: Organization @@ -18998,15 +19308,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *117 + - *121 responses: '200': description: Response content: application/json: - schema: *116 + schema: *120 examples: - default: *118 + default: *122 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -19038,9 +19348,9 @@ paths: application/json: schema: type: array - items: *115 + items: *119 examples: - default: *119 + default: *123 headers: Link: *37 '401': *23 @@ -19063,8 +19373,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *120 - - *121 + - *124 + - *125 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -19084,9 +19394,9 @@ paths: application/json: schema: type: array - items: *116 + items: *120 examples: - default: *122 + default: *126 headers: Link: *37 '401': *23 @@ -19336,14 +19646,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &311 + - &312 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &312 + - &313 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -19360,7 +19670,7 @@ paths: application/json: schema: type: array - items: *123 + items: *127 examples: default: value: @@ -19414,7 +19724,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &325 + '301': &326 description: Moved permanently content: application/json: @@ -19436,7 +19746,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &516 + - &517 name: all description: If `true`, show notifications marked as read. in: query @@ -19444,7 +19754,7 @@ paths: schema: type: boolean default: false - - &517 + - &518 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -19453,8 +19763,8 @@ paths: schema: type: boolean default: false - - *102 - - &518 + - *106 + - &519 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -19479,14 +19789,14 @@ paths: application/json: schema: type: array - items: &124 + items: &128 title: Thread description: Thread type: object properties: id: type: string - repository: &152 + repository: &156 title: Minimal Repository description: Minimal Repository type: object @@ -19825,7 +20135,7 @@ paths: type: boolean examples: - false - security_and_analysis: &263 + security_and_analysis: &264 type: - object - 'null' @@ -19980,7 +20290,7 @@ paths: - url - subscription_url examples: - default: &519 + default: &520 value: - id: '1' repository: @@ -20146,7 +20456,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &125 + - &129 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -20160,7 +20470,7 @@ paths: description: Response content: application/json: - schema: *124 + schema: *128 examples: default: value: @@ -20263,7 +20573,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *125 + - *129 responses: '205': description: Reset Content @@ -20286,7 +20596,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *125 + - *129 responses: '204': description: No content @@ -20309,13 +20619,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *125 + - *129 responses: '200': description: Response content: application/json: - schema: &126 + schema: &130 title: Thread Subscription description: Thread Subscription type: object @@ -20359,7 +20669,7 @@ paths: - url - subscribed examples: - default: &127 + default: &131 value: subscribed: true ignored: false @@ -20390,7 +20700,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *125 + - *129 requestBody: required: false content: @@ -20411,9 +20721,9 @@ paths: description: Response content: application/json: - schema: *126 + schema: *130 examples: - default: *127 + default: *131 '304': *35 '403': *27 '401': *23 @@ -20436,7 +20746,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *125 + - *129 responses: '204': description: Response @@ -20533,7 +20843,7 @@ paths: type: array items: *50 examples: - default: &652 + default: &653 value: - login: github id: 1 @@ -20598,7 +20908,7 @@ paths: - 3 custom_roles: type: array - items: &188 + items: &193 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -20647,7 +20957,7 @@ paths: - created_at - updated_at examples: - default: &189 + default: &194 value: id: 8030 name: Security Engineer @@ -20693,29 +21003,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - - &134 + - &138 name: org description: The organization name. The name is not case sensitive. in: path required: true schema: type: string - - *128 - - *129 - - *130 - - *131 + - *132 + - *133 + - *134 + - *135 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *132 + schema: *136 examples: - default: *133 + default: *137 '400': *14 '403': *27 '500': *80 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20741,13 +21051,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization parameters: - - *134 + - *138 responses: '200': description: Response content: application/json: - schema: &135 + schema: &139 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -21117,7 +21427,7 @@ paths: - updated_at - archived_at examples: - default-response: &136 + default-response: &140 value: login: github id: 1 @@ -21210,7 +21520,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization parameters: - - *134 + - *138 requestBody: required: false content: @@ -21434,18 +21744,18 @@ paths: description: Response content: application/json: - schema: *135 + schema: *139 examples: - default: *136 + default: *140 '422': description: Validation failed content: application/json: schema: oneOf: - - *137 - - *138 - '409': *139 + - *141 + - *142 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21468,9 +21778,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization parameters: - - *134 + - *138 responses: - '202': *140 + '202': *144 '404': *6 '403': *27 x-github: @@ -21493,15 +21803,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *134 + - *138 responses: '200': description: Response content: application/json: - schema: *141 + schema: *145 examples: - default: *142 + default: *146 headers: Link: *37 x-github: @@ -21524,7 +21834,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *134 + - *138 - *17 - *18 responses: @@ -21542,7 +21852,7 @@ paths: type: integer repository_cache_usages: type: array - items: &330 + items: &331 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -21600,13 +21910,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *134 + - *138 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &143 + schema: &147 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -21620,7 +21930,7 @@ paths: required: - include_claim_keys examples: - default: &144 + default: &148 value: include_claim_keys: - repo @@ -21642,20 +21952,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *134 + - *138 requestBody: required: true content: application/json: - schema: *143 + schema: *147 examples: - default: *144 + default: *148 responses: '201': description: Empty response content: application/json: - schema: &163 + schema: &167 title: Empty Object description: An object without any properties. type: object @@ -21685,7 +21995,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *134 + - *138 responses: '200': description: Response @@ -21694,7 +22004,7 @@ paths: schema: type: object properties: - enabled_repositories: &146 + enabled_repositories: &150 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -21708,7 +22018,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *40 - selected_actions_url: *145 + selected_actions_url: *149 required: - enabled_repositories examples: @@ -21737,7 +22047,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *134 + - *138 responses: '204': description: Response @@ -21748,7 +22058,7 @@ paths: schema: type: object properties: - enabled_repositories: *146 + enabled_repositories: *150 allowed_actions: *40 required: - enabled_repositories @@ -21776,7 +22086,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *134 + - *138 - *17 - *18 responses: @@ -21796,7 +22106,7 @@ paths: type: array items: *55 examples: - default: &646 + default: &647 value: total_count: 1 repositories: @@ -21936,7 +22246,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *134 + - *138 responses: '204': description: Response @@ -21980,8 +22290,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *134 - - &147 + - *138 + - &151 name: repository_id description: The unique identifier of the repository. in: path @@ -22009,8 +22319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *134 - - *147 + - *138 + - *151 responses: '204': description: Response @@ -22033,7 +22343,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *134 + - *138 responses: '200': description: Response @@ -22064,7 +22374,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *134 + - *138 responses: '204': description: Response @@ -22096,13 +22406,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *134 + - *138 responses: '200': description: Response content: application/json: - schema: *148 + schema: *152 examples: default: *46 x-github: @@ -22125,7 +22435,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *134 + - *138 responses: '204': description: Success response @@ -22136,7 +22446,7 @@ paths: required: false content: application/json: - schema: *149 + schema: *153 examples: default: *46 x-github: @@ -22158,7 +22468,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *134 + - *138 - *17 - *18 - name: visible_to_repository @@ -22183,7 +22493,7 @@ paths: type: number runner_groups: type: array - items: &150 + items: &154 type: object properties: id: @@ -22296,7 +22606,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *134 + - *138 requestBody: required: true content: @@ -22366,9 +22676,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *154 examples: - default: &151 + default: &155 value: id: 2 name: octo-runner-group @@ -22403,14 +22713,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *134 + - *138 - *49 responses: '200': description: Response content: application/json: - schema: *150 + schema: *154 examples: default: value: @@ -22446,7 +22756,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *134 + - *138 - *49 requestBody: required: true @@ -22498,9 +22808,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *154 examples: - default: *151 + default: *155 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22519,7 +22829,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *134 + - *138 - *49 responses: '204': @@ -22543,7 +22853,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *134 + - *138 - *49 - *18 - *17 @@ -22562,9 +22872,9 @@ paths: type: number repositories: type: array - items: *152 + items: *156 examples: - default: &638 + default: &639 value: total_count: 1 repositories: @@ -22816,7 +23126,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *134 + - *138 - *49 requestBody: required: true @@ -22861,9 +23171,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *134 + - *138 - *49 - - *147 + - *151 responses: '204': description: Response @@ -22885,9 +23195,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *134 + - *138 - *49 - - *147 + - *151 responses: '204': description: Response @@ -22910,7 +23220,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *134 + - *138 - *49 - *17 - *18 @@ -22952,7 +23262,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *134 + - *138 - *49 requestBody: required: true @@ -22997,7 +23307,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *134 + - *138 - *49 - *52 responses: @@ -23021,7 +23331,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *134 + - *138 - *49 - *52 responses: @@ -23053,7 +23363,7 @@ paths: in: query schema: type: string - - *134 + - *138 - *17 - *18 responses: @@ -23097,7 +23407,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *134 + - *138 responses: '200': description: Response @@ -23105,9 +23415,9 @@ paths: application/json: schema: type: array - items: *153 + items: *157 examples: - default: *154 + default: *158 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23129,7 +23439,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *134 + - *138 requestBody: required: true content: @@ -23172,7 +23482,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *155 + '201': *159 '404': *6 '422': *7 x-github: @@ -23202,7 +23512,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *134 + - *138 responses: '201': description: Response @@ -23210,7 +23520,7 @@ paths: application/json: schema: *56 examples: - default: *156 + default: *160 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23238,7 +23548,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *134 + - *138 responses: '201': description: Response @@ -23246,7 +23556,7 @@ paths: application/json: schema: *56 examples: - default: *157 + default: *161 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23268,7 +23578,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *134 + - *138 - *52 responses: '200': @@ -23277,7 +23587,7 @@ paths: application/json: schema: *53 examples: - default: *158 + default: *162 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23298,7 +23608,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *134 + - *138 - *52 responses: '204': @@ -23324,7 +23634,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *134 + - *138 - *52 responses: '200': *58 @@ -23349,7 +23659,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *134 + - *138 - *52 requestBody: required: true @@ -23398,7 +23708,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *134 + - *138 - *52 requestBody: required: true @@ -23448,10 +23758,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *134 + - *138 - *52 responses: - '200': *159 + '200': *163 '404': *6 x-github: githubCloudOnly: false @@ -23478,9 +23788,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *134 + - *138 - *52 - - *160 + - *164 responses: '200': *58 '404': *6 @@ -23507,7 +23817,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets parameters: - - *134 + - *138 - *17 - *18 responses: @@ -23525,7 +23835,7 @@ paths: type: integer secrets: type: array - items: &161 + items: &165 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -23600,13 +23910,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key parameters: - - *134 + - *138 responses: '200': description: Response content: application/json: - schema: &350 + schema: &351 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -23641,7 +23951,7 @@ paths: - key_id - key examples: - default: &351 + default: &352 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23666,8 +23976,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - - *134 - - &162 + - *138 + - &166 name: secret_name description: The name of the secret. in: path @@ -23679,7 +23989,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *165 examples: default: value: @@ -23709,8 +24019,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 requestBody: required: true content: @@ -23765,7 +24075,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -23791,8 +24101,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 responses: '204': description: Response @@ -23818,8 +24128,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 - *18 - *17 responses: @@ -23837,9 +24147,9 @@ paths: type: integer repositories: type: array - items: *152 + items: *156 examples: - default: &166 + default: &170 value: total_count: 1 repositories: @@ -23931,8 +24241,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 requestBody: required: true content: @@ -23984,8 +24294,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 - name: repository_id in: path required: true @@ -24018,8 +24328,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 - name: repository_id in: path required: true @@ -24051,8 +24361,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - - *134 - - &335 + - *138 + - &336 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -24076,7 +24386,7 @@ paths: type: integer variables: type: array - items: &164 + items: &168 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -24166,7 +24476,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable parameters: - - *134 + - *138 requestBody: required: true content: @@ -24214,7 +24524,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -24239,8 +24549,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - - *134 - - &165 + - *138 + - &169 name: name description: The name of the variable. in: path @@ -24252,7 +24562,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *168 examples: default: value: @@ -24282,8 +24592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - - *134 - - *165 + - *138 + - *169 requestBody: required: true content: @@ -24345,8 +24655,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - - *134 - - *165 + - *138 + - *169 responses: '204': description: Response @@ -24372,8 +24682,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *134 - - *165 + - *138 + - *169 - *18 - *17 responses: @@ -24391,9 +24701,9 @@ paths: type: integer repositories: type: array - items: *152 + items: *156 examples: - default: *166 + default: *170 '409': description: Response when the visibility of the variable is not set to `selected` @@ -24419,8 +24729,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *134 - - *165 + - *138 + - *169 requestBody: required: true content: @@ -24469,8 +24779,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *134 - - *165 + - *138 + - *169 - name: repository_id in: path required: true @@ -24504,8 +24814,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *134 - - *165 + - *138 + - *169 - name: repository_id in: path required: true @@ -24536,7 +24846,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *134 + - *138 responses: '200': description: Response @@ -24563,11 +24873,11 @@ paths: required: true content: application/json: - schema: *167 + schema: *171 examples: default: *61 parameters: - - *134 + - *138 responses: '200': description: Response @@ -24591,7 +24901,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *134 + - *138 responses: '204': description: Response @@ -24619,7 +24929,7 @@ paths: - *17 - *74 - *75 - - *134 + - *138 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -24660,7 +24970,7 @@ paths: repository_id: type: integer examples: - default: &364 + default: &365 value: attestations: - bundle: @@ -24778,7 +25088,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-the-audit-log-for-an-organization parameters: - - *134 + - *138 - name: phrase description: A search phrase. For more information, see [Searching the audit log](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#searching-the-audit-log). @@ -24786,10 +25096,10 @@ paths: required: false schema: type: string - - *168 - - *169 - - *170 - - *171 + - *172 + - *173 + - *174 + - *175 - *17 responses: '200': @@ -24798,9 +25108,9 @@ paths: application/json: schema: type: array - items: *172 + items: *176 examples: - default: *173 + default: *177 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -24817,7 +25127,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *134 + - *138 - *17 - *18 responses: @@ -24829,7 +25139,7 @@ paths: type: array items: *4 examples: - default: &232 + default: &237 value: - login: octocat id: 1 @@ -24867,8 +25177,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *134 - - &174 + - *138 + - &178 name: username description: The handle for the GitHub user account. in: path @@ -24899,8 +25209,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *134 - - *174 + - *138 + - *178 responses: '204': description: Response @@ -24920,8 +25230,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *134 - - *174 + - *138 + - *178 responses: '204': description: Response @@ -24946,9 +25256,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *134 - - *175 - - *176 + - *138 + - *179 + - *180 - *74 - *75 - *18 @@ -24959,7 +25269,7 @@ paths: be returned. in: query required: false - schema: *177 + schema: *181 - name: sort description: The property by which to sort the results. in: query @@ -24975,7 +25285,7 @@ paths: be returned. in: query required: false - schema: &390 + schema: &391 type: string description: Severity of a code scanning alert. enum: @@ -24993,13 +25303,13 @@ paths: application/json: schema: type: array - items: *178 + items: *182 examples: - default: *179 + default: *183 headers: Link: *37 '404': *6 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25021,7 +25331,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *134 + - *138 - name: target_type in: query description: The target type of the code security configuration @@ -25049,7 +25359,7 @@ paths: application/json: schema: type: array - items: &180 + items: &184 type: object description: A code security configuration properties: @@ -25120,6 +25430,29 @@ paths: - enabled - disabled - not_set + code_scanning_default_setup_options: + type: + - object + - 'null' + description: Feature options for code scanning default setup + properties: + runner_type: + type: + - string + - 'null' + enum: + - standard + - labeled + - not_set + - + description: Whether to use labeled runners or standard + GitHub runners. + runner_label: + type: + - string + - 'null' + description: The label of the runner to use for code scanning + when runner_type is 'labeled'. secret_scanning: type: string description: The enablement status of secret scanning @@ -25288,7 +25621,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration parameters: - - *134 + - *138 requestBody: required: true content: @@ -25361,6 +25694,26 @@ paths: - disabled - not_set default: disabled + code_scanning_default_setup_options: &188 + type: + - object + - 'null' + description: Feature options for code scanning default setup + properties: + runner_type: + type: string + enum: + - standard + - labeled + - not_set + description: Whether to use labeled runners or standard GitHub + runners. + runner_label: + type: + - string + - 'null' + description: The label of the runner to use for code scanning + default setup when runner_type is 'labeled'. secret_scanning: type: string description: The enablement status of secret scanning @@ -25460,9 +25813,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *180 + schema: *184 examples: - default: &181 + default: &186 value: id: 1325 target_type: organization @@ -25476,6 +25829,9 @@ paths: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: disabled + code_scanning_default_setup_options: + runner_type: not_set + runner_label: secret_scanning: enabled secret_scanning_push_protection: disabled secret_scanning_delegated_bypass: disabled @@ -25508,7 +25864,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations parameters: - - *134 + - *138 responses: '200': description: Response @@ -25528,7 +25884,7 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *180 + configuration: *184 examples: default: value: @@ -25546,6 +25902,9 @@ paths: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: enabled + code_scanning_default_setup_options: + runner_type: not_set + runner_label: secret_scanning: enabled secret_scanning_push_protection: enabled secret_scanning_delegated_bypass: enabled @@ -25577,6 +25936,9 @@ paths: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: enabled + code_scanning_default_setup_options: + runner_type: not_set + runner_label: secret_scanning: enabled secret_scanning_push_protection: enabled secret_scanning_delegated_bypass: disabled @@ -25612,7 +25974,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *134 + - *138 requestBody: required: true content: @@ -25635,12 +25997,11 @@ paths: - 32 - 91 responses: - '204': &183 - description: A header with no content is returned. + '204': *185 '400': *14 '403': *27 '404': *6 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25662,8 +26023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - - *134 - - &182 + - *138 + - &187 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -25675,9 +26036,9 @@ paths: description: Response content: application/json: - schema: *180 + schema: *184 examples: - default: *181 + default: *186 '304': *35 '403': *27 '404': *6 @@ -25701,8 +26062,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - - *134 - - *182 + - *138 + - *187 requestBody: required: true content: @@ -25768,6 +26129,7 @@ paths: - enabled - disabled - not_set + code_scanning_default_setup_options: *188 secret_scanning: type: string description: The enablement status of secret scanning @@ -25854,7 +26216,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *180 + schema: *184 examples: default: value: @@ -25870,6 +26232,9 @@ paths: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: enabled + code_scanning_default_setup_options: + runner_type: not_set + runner_label: secret_scanning: disabled secret_scanning_push_protection: disabled secret_scanning_delegated_bypass: disabled @@ -25905,14 +26270,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *134 - - *182 + - *138 + - *187 responses: - '204': *183 + '204': *185 '400': *14 '403': *27 '404': *6 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25936,8 +26301,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *134 - - *182 + - *138 + - *187 requestBody: required: true content: @@ -25976,7 +26341,7 @@ paths: - 32 - 91 responses: - '202': *140 + '202': *144 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26000,8 +26365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *134 - - *182 + - *138 + - *187 requestBody: required: true content: @@ -26041,12 +26406,12 @@ paths: - none - private_and_internal - public - configuration: *180 + configuration: *184 examples: default: value: default_for_new_repos: all - configuration: *181 + configuration: *186 '403': *27 '404': *6 x-github: @@ -26070,8 +26435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *134 - - *182 + - *138 + - *187 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -26214,7 +26579,7 @@ paths: parameters: - *17 - *18 - - *134 + - *138 responses: '200': description: Response @@ -26230,7 +26595,7 @@ paths: type: integer codespaces: type: array - items: &233 + items: &238 type: object title: Codespace description: A codespace. @@ -26261,11 +26626,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *152 + repository: *156 machine: anyOf: - type: 'null' - - &416 + - &417 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -26552,7 +26917,7 @@ paths: - pulls_url - recent_folders examples: - default: &234 + default: &239 value: total_count: 3 codespaces: @@ -26984,7 +27349,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *134 + - *138 deprecated: true requestBody: required: true @@ -27051,7 +27416,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *134 + - *138 deprecated: true requestBody: required: true @@ -27106,7 +27471,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *134 + - *138 requestBody: required: true content: @@ -27158,7 +27523,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *134 + - *138 - *17 - *18 responses: @@ -27176,7 +27541,7 @@ paths: type: integer secrets: type: array - items: &184 + items: &189 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -27217,7 +27582,7 @@ paths: - updated_at - visibility examples: - default: &417 + default: &418 value: total_count: 2 secrets: @@ -27249,13 +27614,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *134 + - *138 responses: '200': description: Response content: application/json: - schema: &418 + schema: &419 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -27290,7 +27655,7 @@ paths: - key_id - key examples: - default: &419 + default: &420 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27313,16 +27678,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 responses: '200': description: Response content: application/json: - schema: *184 + schema: *189 examples: - default: &421 + default: &422 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -27349,8 +27714,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 requestBody: required: true content: @@ -27405,7 +27770,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -27431,8 +27796,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 responses: '204': description: Response @@ -27457,8 +27822,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 - *18 - *17 responses: @@ -27476,9 +27841,9 @@ paths: type: integer repositories: type: array - items: *152 + items: *156 examples: - default: *166 + default: *170 '404': *6 x-github: githubCloudOnly: false @@ -27500,8 +27865,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 requestBody: required: true content: @@ -27551,8 +27916,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 - name: repository_id in: path required: true @@ -27585,8 +27950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 - name: repository_id in: path required: true @@ -27625,7 +27990,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *134 + - *138 responses: '200': description: OK @@ -27768,7 +28133,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *134 + - *138 - *18 - name: per_page description: The number of results per page (max 100). For more information, @@ -27791,9 +28156,9 @@ paths: currently being billed. seats: type: array - items: *185 + items: *190 examples: - default: *186 + default: *191 headers: Link: *37 '500': *80 @@ -27815,13 +28180,11 @@ paths: Purchases a GitHub Copilot seat for all users within each specified team. The organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)." - Only organization owners can add Copilot seats for their organization members. - - In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy. + Only organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy. For more information about setting up a Copilot subscription, see "[Subscribing to Copilot for your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization)." For more information about setting a suggestion matching policy, see "[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching)." - The response will contain the total number of new seats that were created and existing seats that were refreshed. + The response contains the total number of new seats that were created and existing seats that were refreshed. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: @@ -27831,7 +28194,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *134 + - *138 requestBody: content: application/json: @@ -27895,14 +28258,11 @@ paths: Sets seats for all members of each team specified to "pending cancellation". This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team. - - For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)." - - For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)." + For more information about disabling access to Copilot, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)." Only organization owners can cancel Copilot seats for their organization members. - The response will contain the total number of seats set to "pending cancellation". + The response contains the total number of seats set to "pending cancellation". OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: @@ -27912,7 +28272,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *134 + - *138 requestBody: content: application/json: @@ -27978,13 +28338,11 @@ paths: Purchases a GitHub Copilot seat for each user specified. The organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)." - Only organization owners can add Copilot seats for their organization members. - - In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy. + Only organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy. For more information about setting up a Copilot subscription, see "[Subscribing to Copilot for your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization)." For more information about setting a suggestion matching policy, see "[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching)." - The response will contain the total number of new seats that were created and existing seats that were refreshed. + The response contains the total number of new seats that were created and existing seats that were refreshed. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: @@ -27994,7 +28352,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *134 + - *138 requestBody: content: application/json: @@ -28057,14 +28415,11 @@ paths: Sets seats for all users specified to "pending cancellation". This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership. - - For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)." - - For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)." + For more information about disabling access to Copilot, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)." Only organization owners can cancel Copilot seats for their organization members. - The response will contain the total number of seats set to "pending cancellation". + The response contains the total number of seats set to "pending cancellation". OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: @@ -28074,7 +28429,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *134 + - *138 requestBody: content: application/json: @@ -28155,7 +28510,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *134 + - *138 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -28187,13 +28542,13 @@ paths: application/json: schema: type: array - items: *94 + items: *98 examples: - default: *95 + default: *99 '500': *80 '403': *27 '404': *6 - '422': *96 + '422': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28224,7 +28579,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members parameters: - - *134 + - *138 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -28256,9 +28611,9 @@ paths: application/json: schema: type: array - items: *97 + items: *101 examples: - default: *187 + default: *192 '500': *80 '401': *23 '403': *27 @@ -28284,7 +28639,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-saml-sso-authorizations-for-an-organization parameters: - - *134 + - *138 - *17 - name: page description: Page token @@ -28443,7 +28798,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#remove-a-saml-sso-authorization-for-an-organization parameters: - - *134 + - *138 - name: credential_id in: path required: true @@ -28474,7 +28829,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization parameters: - - *134 + - *138 responses: '200': description: Response - list of custom role names @@ -28490,7 +28845,7 @@ paths: - 3 custom_roles: type: array - items: *188 + items: *193 examples: default: value: @@ -28577,12 +28932,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *134 + - *138 requestBody: required: true content: application/json: - schema: &191 + schema: &196 type: object properties: name: @@ -28624,9 +28979,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *193 examples: - default: *189 + default: *194 '422': *15 '404': *6 x-github: @@ -28650,8 +29005,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *134 - - &190 + - *138 + - &195 name: role_id description: The unique identifier of the role. in: path @@ -28663,9 +29018,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *193 examples: - default: *189 + default: *194 '404': *6 x-github: githubCloudOnly: true @@ -28687,13 +29042,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *134 - - *190 + - *138 + - *195 requestBody: required: true content: application/json: - schema: &192 + schema: &197 type: object properties: name: @@ -28732,9 +29087,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *193 examples: - default: *189 + default: *194 '422': *15 '404': *6 x-github: @@ -28758,8 +29113,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *134 - - *190 + - *138 + - *195 responses: '204': description: Response @@ -28787,12 +29142,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---create-a-custom-role parameters: - - *134 + - *138 requestBody: required: true content: application/json: - schema: *191 + schema: *196 examples: default: value: @@ -28806,9 +29161,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *193 examples: - default: *189 + default: *194 '422': *15 '404': *6 x-github: @@ -28838,16 +29193,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - - *134 - - *190 + - *138 + - *195 responses: '200': description: Response content: application/json: - schema: *188 + schema: *193 examples: - default: *189 + default: *194 '404': *6 x-github: githubCloudOnly: true @@ -28875,13 +29230,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - - *134 - - *190 + - *138 + - *195 requestBody: required: true content: application/json: - schema: *192 + schema: *197 examples: default: value: @@ -28896,9 +29251,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *193 examples: - default: *189 + default: *194 '422': *15 '404': *6 x-github: @@ -28928,8 +29283,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - - *134 - - *190 + - *138 + - *195 responses: '204': description: Response @@ -28957,18 +29312,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *134 - - *193 - - *194 - - *195 - - *196 - - *197 + - *138 - *198 + - *199 + - *200 + - *201 + - *202 + - *203 - *76 - *74 - *75 - - *199 - - *200 + - *204 + - *205 - *17 responses: '200': @@ -28977,9 +29332,9 @@ paths: application/json: schema: type: array - items: *201 + items: *206 examples: - default: *202 + default: *207 '304': *35 '400': *14 '403': *27 @@ -29005,7 +29360,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets parameters: - - *134 + - *138 - *17 - *18 responses: @@ -29023,7 +29378,7 @@ paths: type: integer secrets: type: array - items: &203 + items: &208 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -29096,13 +29451,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key parameters: - - *134 + - *138 responses: '200': description: Response content: application/json: - schema: &444 + schema: &445 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -29121,7 +29476,7 @@ paths: - key_id - key examples: - default: &445 + default: &446 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29144,14 +29499,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 responses: '200': description: Response content: application/json: - schema: *203 + schema: *208 examples: default: value: @@ -29179,8 +29534,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 requestBody: required: true content: @@ -29235,7 +29590,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -29259,8 +29614,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 responses: '204': description: Response @@ -29284,8 +29639,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 - *18 - *17 responses: @@ -29303,9 +29658,9 @@ paths: type: integer repositories: type: array - items: *152 + items: *156 examples: - default: *166 + default: *170 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29326,8 +29681,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 requestBody: required: true content: @@ -29377,8 +29732,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 - name: repository_id in: path required: true @@ -29409,8 +29764,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 - name: repository_id in: path required: true @@ -29440,7 +29795,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *134 + - *138 responses: '200': description: Response @@ -29448,7 +29803,7 @@ paths: application/json: schema: type: array - items: &244 + items: &249 title: Package description: A software package type: object @@ -29501,7 +29856,7 @@ paths: repository: anyOf: - type: 'null' - - *152 + - *156 created_at: type: string format: date-time @@ -29519,7 +29874,7 @@ paths: - created_at - updated_at examples: - default: &245 + default: &250 value: - id: 197 name: hello_docker @@ -29597,7 +29952,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events parameters: - - *134 + - *138 - *17 - *18 responses: @@ -29607,7 +29962,7 @@ paths: application/json: schema: type: array - items: *123 + items: *127 examples: 200-response: value: @@ -29677,7 +30032,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group parameters: - - *134 + - *138 - name: group_id description: The unique identifier of the group. in: path @@ -29703,7 +30058,7 @@ paths: description: Response content: application/json: - schema: &306 + schema: &307 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -29793,7 +30148,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &307 + default: &308 value: group_id: '123' group_name: Octocat admins @@ -29831,7 +30186,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-external-groups-in-an-organization parameters: - - *134 + - *138 - *17 - name: page description: Page token @@ -29848,7 +30203,7 @@ paths: description: Response content: application/json: - schema: &304 + schema: &305 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -29888,7 +30243,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &305 + default: &306 value: groups: - group_id: '123' @@ -29922,7 +30277,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations parameters: - - *134 + - *138 - *17 - *18 responses: @@ -29932,7 +30287,7 @@ paths: application/json: schema: type: array - items: &226 + items: &231 title: Organization Invitation description: Organization Invitation type: object @@ -29986,7 +30341,7 @@ paths: - invitation_teams_url - node_id examples: - default: &227 + default: &232 value: - id: 1 login: monalisa @@ -30045,7 +30400,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---list-fine-grained-permissions-for-an-organization parameters: - - *134 + - *138 responses: '200': description: Response @@ -30053,7 +30408,7 @@ paths: application/json: schema: type: array - items: &264 + items: &265 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -30067,7 +30422,7 @@ paths: - name - description examples: - default: &265 + default: &266 value: - name: add_assignee description: Assign or remove a user @@ -30098,7 +30453,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks parameters: - - *134 + - *138 - *17 - *18 responses: @@ -30108,7 +30463,7 @@ paths: application/json: schema: type: array - items: &204 + items: &209 title: Org Hook description: Org Hook type: object @@ -30229,7 +30584,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook parameters: - - *134 + - *138 requestBody: required: true content: @@ -30291,9 +30646,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *209 examples: - default: &205 + default: &210 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -30337,8 +30692,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - - *134 - - &206 + - *138 + - &211 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -30351,9 +30706,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *209 examples: - default: *205 + default: *210 '404': *6 x-github: githubCloudOnly: false @@ -30374,8 +30729,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - - *134 - - *206 + - *138 + - *211 requestBody: required: false content: @@ -30421,7 +30776,7 @@ paths: description: Response content: application/json: - schema: *204 + schema: *209 examples: default: value: @@ -30460,8 +30815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *134 - - *206 + - *138 + - *211 responses: '204': description: Response @@ -30486,8 +30841,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *134 - - *206 + - *138 + - *211 responses: '200': description: Response @@ -30515,8 +30870,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *134 - - *206 + - *138 + - *211 requestBody: required: false content: @@ -30564,10 +30919,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *134 - - *206 + - *138 + - *211 - *17 - - *207 + - *212 responses: '200': description: Response @@ -30575,9 +30930,9 @@ paths: application/json: schema: type: array - items: *208 + items: *213 examples: - default: *209 + default: *214 '400': *14 '422': *15 x-github: @@ -30600,17 +30955,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *134 - - *206 + - *138 + - *211 - *16 responses: '200': description: Response content: application/json: - schema: *210 + schema: *215 examples: - default: *211 + default: *216 '400': *14 '422': *15 x-github: @@ -30633,11 +30988,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *134 - - *206 + - *138 + - *211 - *16 responses: - '202': *140 + '202': *144 '400': *14 '422': *15 x-github: @@ -30660,8 +31015,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *134 - - *206 + - *138 + - *211 responses: '204': description: Response @@ -30683,8 +31038,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *134 - - &216 + - *138 + - &221 name: actor_type in: path description: The type of the actor @@ -30697,14 +31052,14 @@ paths: - fine_grained_pats - oauth_apps - github_apps_user_to_server - - &217 + - &222 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &212 + - &217 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -30712,7 +31067,7 @@ paths: required: true schema: type: string - - &213 + - &218 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -30740,6 +31095,13 @@ paths: - api_route - total_request_count default: total_request_count + - name: api_route_substring + in: query + description: Providing a substring will filter results where the API route + contains the substring. This is a case-insensitive search. + required: false + schema: + type: string responses: '200': description: Response @@ -30799,13 +31161,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - - *134 - - *212 - - *213 + - *138 + - *217 + - *218 - *18 - *17 - *76 - - &222 + - &227 name: sort description: The property to sort the results by. in: query @@ -30821,6 +31183,13 @@ paths: - subject_name - total_request_count default: total_request_count + - name: subject_name_substring + in: query + description: Providing a substring will filter results where the subject name + contains the substring. This is a case-insensitive search. + required: false + schema: + type: string responses: '200': description: Response @@ -30877,15 +31246,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - - *134 - - *212 - - *213 + - *138 + - *217 + - *218 responses: '200': description: Response content: application/json: - schema: &214 + schema: &219 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -30901,7 +31270,7 @@ paths: type: integer format: int64 examples: - default: &215 + default: &220 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -30921,24 +31290,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *134 - - &218 + - *138 + - &223 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *212 - - *213 + - *217 + - *218 responses: '200': description: Response content: application/json: - schema: *214 + schema: *219 examples: - default: *215 + default: *220 x-github: enabledForGitHubApps: true category: orgs @@ -30956,19 +31325,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *134 - - *212 - - *213 - - *216 + - *138 - *217 + - *218 + - *221 + - *222 responses: '200': description: Response content: application/json: - schema: *214 + schema: *219 examples: - default: *215 + default: *220 x-github: enabledForGitHubApps: true category: orgs @@ -30985,10 +31354,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - - *134 - - *212 - - *213 - - &219 + - *138 + - *217 + - *218 + - &224 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -31001,7 +31370,7 @@ paths: description: Response content: application/json: - schema: &220 + schema: &225 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -31017,7 +31386,7 @@ paths: type: integer format: int64 examples: - default: &221 + default: &226 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -31053,19 +31422,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - - *134 + - *138 + - *223 + - *217 - *218 - - *212 - - *213 - - *219 + - *224 responses: '200': description: Response content: application/json: - schema: *220 + schema: *225 examples: - default: *221 + default: *226 x-github: enabledForGitHubApps: true category: orgs @@ -31082,20 +31451,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *134 - - *216 + - *138 + - *221 + - *222 - *217 - - *212 - - *213 - - *219 + - *218 + - *224 responses: '200': description: Response content: application/json: - schema: *220 + schema: *225 examples: - default: *221 + default: *226 x-github: enabledForGitHubApps: true category: orgs @@ -31112,14 +31481,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - - *134 + - *138 + - *223 + - *217 - *218 - - *212 - - *213 - *18 - *17 - *76 - - *222 + - *227 + - name: actor_name_substring + in: query + description: Providing a substring will filter results where the actor name + contains the substring. This is a case-insensitive search. + required: false + schema: + type: string responses: '200': description: Response @@ -31188,7 +31564,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *134 + - *138 responses: '200': description: Response @@ -31196,7 +31572,7 @@ paths: application/json: schema: *20 examples: - default: &483 + default: &484 value: id: 1 account: @@ -31265,7 +31641,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *134 + - *138 - *17 - *18 responses: @@ -31354,7 +31730,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *134 + - *138 responses: '200': description: Response @@ -31362,12 +31738,12 @@ paths: application/json: schema: anyOf: - - &224 + - &229 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &223 + limit: &228 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -31395,7 +31771,7 @@ paths: properties: {} additionalProperties: false examples: - default: &225 + default: &230 value: limit: collaborators_only origin: organization @@ -31419,18 +31795,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *134 + - *138 requestBody: required: true content: application/json: - schema: &484 + schema: &485 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *223 + limit: *228 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -31455,9 +31831,9 @@ paths: description: Response content: application/json: - schema: *224 + schema: *229 examples: - default: *225 + default: *230 '422': *15 x-github: githubCloudOnly: false @@ -31475,7 +31851,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *134 + - *138 responses: '204': description: Response @@ -31501,7 +31877,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations parameters: - - *134 + - *138 - *17 - *18 - name: role @@ -31535,9 +31911,9 @@ paths: application/json: schema: type: array - items: *226 + items: *231 examples: - default: *227 + default: *232 headers: Link: *37 '404': *6 @@ -31561,7 +31937,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation parameters: - - *134 + - *138 requestBody: required: false content: @@ -31615,7 +31991,7 @@ paths: description: Response content: application/json: - schema: *226 + schema: *231 examples: default: value: @@ -31671,8 +32047,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - - *134 - - &228 + - *138 + - &233 name: invitation_id description: The unique identifier of the invitation. in: path @@ -31705,8 +32081,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - - *134 - - *228 + - *138 + - *233 - *17 - *18 responses: @@ -31716,9 +32092,9 @@ paths: application/json: schema: type: array - items: *229 + items: *234 examples: - default: &243 + default: &248 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -31763,7 +32139,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *134 + - *138 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -31793,7 +32169,7 @@ paths: - closed - all default: open - - *230 + - *235 - name: sort description: What to sort results by. in: query @@ -31806,7 +32182,7 @@ paths: - comments default: created - *76 - - *102 + - *106 - *17 - *18 responses: @@ -31816,9 +32192,9 @@ paths: application/json: schema: type: array - items: *112 + items: *116 examples: - default: *231 + default: *236 headers: Link: *37 '404': *6 @@ -31840,7 +32216,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members parameters: - - *134 + - *138 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -31876,7 +32252,7 @@ paths: type: array items: *4 examples: - default: *232 + default: *237 headers: Link: *37 '422': *15 @@ -31896,8 +32272,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - - *134 - - *174 + - *138 + - *178 responses: '204': description: Response if requester is an organization member and user is @@ -31928,8 +32304,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - - *134 - - *174 + - *138 + - *178 responses: '204': description: Response @@ -31955,8 +32331,8 @@ paths: parameters: - *17 - *18 - - *134 - - *174 + - *138 + - *178 responses: '200': description: Response @@ -31972,9 +32348,9 @@ paths: type: integer codespaces: type: array - items: *233 + items: *238 examples: - default: *234 + default: *239 '304': *35 '500': *80 '401': *23 @@ -31999,9 +32375,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *134 - - *174 - - &235 + - *138 + - *178 + - &240 name: codespace_name in: path required: true @@ -32009,7 +32385,7 @@ paths: schema: type: string responses: - '202': *140 + '202': *144 '304': *35 '500': *80 '401': *23 @@ -32034,17 +32410,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *134 - - *174 - - *235 + - *138 + - *178 + - *240 responses: '200': description: Response content: application/json: - schema: *233 + schema: *238 examples: - default: &415 + default: &416 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -32217,14 +32593,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *134 - - *174 + - *138 + - *178 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *185 + schema: *190 examples: default: value: @@ -32292,14 +32668,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - - *134 - - *174 + - *138 + - *178 responses: '200': description: Response content: application/json: - schema: &236 + schema: &241 title: Org Membership description: Org Membership type: object @@ -32352,7 +32728,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &237 + response-if-user-has-an-active-admin-membership-with-organization: &242 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -32420,8 +32796,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - - *134 - - *174 + - *138 + - *178 requestBody: required: false content: @@ -32449,9 +32825,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *241 examples: - response-if-user-already-had-membership-with-organization: *237 + response-if-user-already-had-membership-with-organization: *242 '422': *15 '403': *27 x-github: @@ -32472,8 +32848,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *134 - - *174 + - *138 + - *178 responses: '204': description: Response @@ -32498,7 +32874,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations parameters: - - *134 + - *138 - *17 - *18 - name: exclude @@ -32520,7 +32896,7 @@ paths: application/json: schema: type: array - items: &238 + items: &243 title: Migration description: A migration. type: object @@ -32777,7 +33153,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration parameters: - - *134 + - *138 requestBody: required: true content: @@ -32858,7 +33234,7 @@ paths: description: Response content: application/json: - schema: *238 + schema: *243 examples: default: value: @@ -33036,8 +33412,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - - *134 - - &239 + - *138 + - &244 name: migration_id description: The unique identifier of the migration. in: path @@ -33065,7 +33441,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *238 + schema: *243 examples: default: value: @@ -33234,8 +33610,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *134 - - *239 + - *138 + - *244 responses: '302': description: Response @@ -33256,8 +33632,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *134 - - *239 + - *138 + - *244 responses: '204': description: Response @@ -33280,9 +33656,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - - *134 - - *239 - - &651 + - *138 + - *244 + - &652 name: repo_name description: repo_name parameter in: path @@ -33309,8 +33685,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *134 - - *239 + - *138 + - *244 - *17 - *18 responses: @@ -33320,9 +33696,9 @@ paths: application/json: schema: type: array - items: *152 + items: *156 examples: - default: &250 + default: &255 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -33461,7 +33837,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-organization-fine-grained-permissions-for-an-organization parameters: - - *134 + - *138 responses: '200': description: Response @@ -33515,7 +33891,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *134 + - *138 responses: '200': description: Response - list of organization roles @@ -33531,7 +33907,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &240 + items: &245 title: Organization Role description: Organization roles type: object @@ -33693,7 +34069,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *134 + - *138 requestBody: required: true content: @@ -33740,7 +34116,7 @@ paths: description: Response content: application/json: - schema: *240 + schema: *245 examples: default: value: @@ -33769,7 +34145,7 @@ paths: updated_at: '2022-07-04T22:19:11Z' '422': *15 '404': *6 - '409': *139 + '409': *143 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -33791,8 +34167,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *134 - - *241 + - *138 + - *246 responses: '204': description: Response @@ -33817,9 +34193,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *134 - - *241 - - *190 + - *138 + - *246 + - *195 responses: '204': description: Response @@ -33848,9 +34224,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *134 - - *241 - - *190 + - *138 + - *246 + - *195 responses: '204': description: Response @@ -33875,8 +34251,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *134 - - *174 + - *138 + - *178 responses: '204': description: Response @@ -33901,9 +34277,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *134 - - *174 - - *190 + - *138 + - *178 + - *195 responses: '204': description: Response @@ -33933,9 +34309,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *134 - - *174 - - *190 + - *138 + - *178 + - *195 responses: '204': description: Response @@ -33963,14 +34339,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - - *134 - - *190 + - *138 + - *195 responses: '200': description: Response content: application/json: - schema: *240 + schema: *245 examples: default: value: @@ -34027,8 +34403,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *134 - - *190 + - *138 + - *195 requestBody: required: true content: @@ -34067,7 +34443,7 @@ paths: description: Response content: application/json: - schema: *240 + schema: *245 examples: default: value: @@ -34095,7 +34471,7 @@ paths: created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:19:11Z' '422': *15 - '409': *139 + '409': *143 '404': *6 x-github: githubCloudOnly: true @@ -34120,8 +34496,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *134 - - *190 + - *138 + - *195 responses: '204': description: Response @@ -34146,8 +34522,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *134 - - *190 + - *138 + - *195 - *17 - *18 responses: @@ -34226,7 +34602,7 @@ paths: parent: anyOf: - type: 'null' - - *242 + - *247 required: - id - node_id @@ -34240,7 +34616,7 @@ paths: - slug - parent examples: - default: *243 + default: *248 headers: Link: *37 '404': @@ -34269,8 +34645,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *134 - - *190 + - *138 + - *195 - *17 - *18 responses: @@ -34299,7 +34675,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *242 + items: *247 name: type: - string @@ -34416,7 +34792,7 @@ paths: - type - url examples: - default: *232 + default: *237 headers: Link: *37 '404': @@ -34440,7 +34816,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *134 + - *138 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -34464,7 +34840,7 @@ paths: type: array items: *4 examples: - default: *232 + default: *237 headers: Link: *37 x-github: @@ -34489,8 +34865,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *134 - - *174 + - *138 + - *178 requestBody: required: false content: @@ -34547,8 +34923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *134 - - *174 + - *138 + - *178 responses: '204': description: Response @@ -34605,8 +34981,8 @@ paths: - docker - nuget - container - - *134 - - &653 + - *138 + - &654 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -34642,12 +35018,12 @@ paths: application/json: schema: type: array - items: *244 + items: *249 examples: - default: *245 + default: *250 '403': *27 '401': *23 - '400': &655 + '400': &656 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -34669,7 +35045,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &246 + - &251 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -34687,20 +35063,20 @@ paths: - docker - nuget - container - - &247 + - &252 name: package_name description: The name of the package. in: path required: true schema: type: string - - *134 + - *138 responses: '200': description: Response content: application/json: - schema: *244 + schema: *249 examples: default: value: @@ -34752,9 +35128,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *246 - - *247 - - *134 + - *251 + - *252 + - *138 responses: '204': description: Response @@ -34786,9 +35162,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *246 - - *247 - - *134 + - *251 + - *252 + - *138 - name: token description: package token schema: @@ -34820,9 +35196,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *246 - - *247 - - *134 + - *251 + - *252 + - *138 - *18 - *17 - name: state @@ -34842,7 +35218,7 @@ paths: application/json: schema: type: array - items: &248 + items: &253 title: Package Version description: A version of a software package type: object @@ -34977,10 +35353,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *246 - - *247 - - *134 - - &249 + - *251 + - *252 + - *138 + - &254 name: package_version_id description: Unique identifier of the package version. in: path @@ -34992,7 +35368,7 @@ paths: description: Response content: application/json: - schema: *248 + schema: *253 examples: default: value: @@ -35028,10 +35404,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *246 - - *247 - - *134 - - *249 + - *251 + - *252 + - *138 + - *254 responses: '204': description: Response @@ -35063,10 +35439,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *246 - - *247 - - *134 - - *249 + - *251 + - *252 + - *138 + - *254 responses: '204': description: Response @@ -35093,10 +35469,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *134 + - *138 - *17 - *18 - - &251 + - &256 name: sort description: The property by which to sort the results. in: query @@ -35107,7 +35483,7 @@ paths: - created_at default: created_at - *76 - - &252 + - &257 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -35119,7 +35495,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &253 + - &258 name: repository description: The name of the repository to use to filter the results. in: query @@ -35128,7 +35504,7 @@ paths: type: string examples: - Hello-World - - &254 + - &259 name: permission description: The permission to use to filter the results. in: query @@ -35137,7 +35513,7 @@ paths: type: string examples: - issues_read - - &255 + - &260 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -35147,7 +35523,7 @@ paths: schema: type: string format: date-time - - &256 + - &261 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -35313,7 +35689,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *134 + - *138 requestBody: required: true content: @@ -35359,7 +35735,7 @@ paths: '422': *15 '404': *6 '403': *27 - '202': *140 + '202': *144 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35380,7 +35756,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *134 + - *138 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -35421,7 +35797,7 @@ paths: '422': *15 '404': *6 '403': *27 - '204': *183 + '204': *185 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35442,7 +35818,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *134 + - *138 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -35462,9 +35838,9 @@ paths: application/json: schema: type: array - items: *152 + items: *156 examples: - default: *250 + default: *255 headers: Link: *37 x-github: @@ -35487,16 +35863,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *134 + - *138 - *17 - *18 - - *251 - - *76 - - *252 - - *253 - - *254 - - *255 - *256 + - *76 + - *257 + - *258 + - *259 + - *260 + - *261 responses: '500': *80 '422': *15 @@ -35647,7 +36023,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *134 + - *138 requestBody: required: true content: @@ -35684,7 +36060,7 @@ paths: responses: '500': *80 '404': *6 - '202': *140 + '202': *144 '403': *27 '422': *15 x-github: @@ -35707,7 +36083,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *134 + - *138 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -35737,7 +36113,7 @@ paths: responses: '500': *80 '404': *6 - '204': *183 + '204': *185 '403': *27 '422': *15 x-github: @@ -35759,7 +36135,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *134 + - *138 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -35778,9 +36154,9 @@ paths: application/json: schema: type: array - items: *152 + items: *156 examples: - default: *250 + default: *255 headers: Link: *37 x-github: @@ -35802,7 +36178,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-organization-projects parameters: - - *134 + - *138 - name: state description: Indicates the state of the projects to return. in: query @@ -35823,7 +36199,7 @@ paths: application/json: schema: type: array - items: &257 + items: &262 title: Project description: Projects are a way to organize columns and cards of work. @@ -35976,7 +36352,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-an-organization-project parameters: - - *134 + - *138 requestBody: required: true content: @@ -36002,7 +36378,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *262 examples: default: value: @@ -36040,7 +36416,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &322 + '410': &323 description: Gone content: application/json: @@ -36064,7 +36440,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *134 + - *138 responses: '200': description: Response @@ -36072,104 +36448,9 @@ paths: application/json: schema: type: array - items: &258 - title: Organization Custom Property - description: Custom property defined on an organization - type: object - properties: - property_name: - type: string - description: The name of the property - url: - type: string - format: uri - description: The URL that can be used to fetch, update, or delete - info about this property via the API. - source_type: - type: string - description: The source type of the property - enum: - - organization - - enterprise - examples: - - organization - value_type: - type: string - enum: - - string - - single_select - - multi_select - - true_false - description: The type of the value for the property - examples: - - single_select - required: - type: boolean - description: Whether the property is required. - default_value: - oneOf: - - type: string - - type: array - items: - type: string - description: Default value of the property - type: - - 'null' - - string - - array - description: - type: - - string - - 'null' - description: Short description of the property - allowed_values: - type: - - array - - 'null' - items: - type: string - maxLength: 75 - maxItems: 200 - description: |- - An ordered list of the allowed values of the property. - The property can have up to 200 allowed values. - values_editable_by: - type: - - string - - 'null' - enum: - - org_actors - - org_and_repo_actors - - - description: Who can edit the values of the property - examples: - - org_actors - required: - - property_name - - value_type + items: *92 examples: - default: &259 - value: - - property_name: environment - url: https://api.github.com/orgs/github/properties/schema/environment - source_type: organization - value_type: single_select - required: true - default_value: production - description: Prod or dev environment - allowed_values: - - production - - development - values_editable_by: org_actors - - property_name: service - url: https://api.github.com/orgs/github/properties/schema/service - source_type: organization - value_type: string - - property_name: team - url: https://api.github.com/orgs/github/properties/schema/team - source_type: organization - value_type: string - description: Team owning the repository + default: *93 '403': *27 '404': *6 x-github: @@ -36192,7 +36473,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *134 + - *138 requestBody: required: true content: @@ -36203,7 +36484,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *258 + items: *92 minItems: 1 maxItems: 100 required: @@ -36233,9 +36514,9 @@ paths: application/json: schema: type: array - items: *258 + items: *92 examples: - default: *259 + default: *93 '403': *27 '404': *6 x-github: @@ -36256,33 +36537,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *134 - - &260 - name: custom_property_name - description: The custom property name - in: path - required: true - schema: - type: string + - *138 + - *94 responses: '200': description: Response content: application/json: - schema: *258 + schema: *92 examples: - default: &261 - value: - property_name: environment - url: https://api.github.com/orgs/github/properties/schema/environment - source_type: organization - value_type: single_select - required: true - default_value: production - description: Prod or dev environment - allowed_values: - - production - - development + default: *95 '403': *27 '404': *6 x-github: @@ -36305,8 +36569,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *134 - - *260 + - *138 + - *94 requestBody: required: true content: @@ -36371,9 +36635,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *92 examples: - default: *261 + default: *95 '403': *27 '404': *6 x-github: @@ -36396,10 +36660,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *134 - - *260 + - *138 + - *94 responses: - '204': *183 + '204': *185 '403': *27 '404': *6 x-github: @@ -36420,7 +36684,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *134 + - *138 - *17 - *18 - name: repository_query @@ -36461,7 +36725,7 @@ paths: - octocat/Hello-World properties: type: array - items: &262 + items: &263 title: Custom Property Value description: Custom property name and associated value type: object @@ -36531,7 +36795,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *134 + - *138 requestBody: required: true content: @@ -36551,7 +36815,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *262 + items: *263 required: - repository_names - properties @@ -36592,7 +36856,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members parameters: - - *134 + - *138 - *17 - *18 responses: @@ -36604,7 +36868,7 @@ paths: type: array items: *4 examples: - default: *232 + default: *237 headers: Link: *37 x-github: @@ -36623,8 +36887,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *134 - - *174 + - *138 + - *178 responses: '204': description: Response if user is a public member @@ -36648,8 +36912,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *134 - - *174 + - *138 + - *178 responses: '204': description: Response @@ -36670,8 +36934,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *134 - - *174 + - *138 + - *178 responses: '204': description: Response @@ -36695,7 +36959,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories parameters: - - *134 + - *138 - name: type description: Specifies the types of repositories you want returned. `internal` is not yet supported when a GitHub App calls this endpoint with an installation @@ -36742,9 +37006,9 @@ paths: application/json: schema: type: array - items: *152 + items: *156 examples: - default: *250 + default: *255 headers: Link: *37 x-github: @@ -36765,7 +37029,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository parameters: - - *134 + - *138 requestBody: required: true content: @@ -36948,7 +37212,7 @@ paths: description: Response content: application/json: - schema: &324 + schema: &325 title: Full Repository description: Full Repository type: object @@ -37394,7 +37658,7 @@ paths: license: anyOf: - type: 'null' - - *113 + - *117 organization: anyOf: - type: 'null' @@ -37413,7 +37677,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &434 + code_of_conduct: &435 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -37443,7 +37707,7 @@ paths: - key - name - html_url - security_and_analysis: *263 + security_and_analysis: *264 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -37527,7 +37791,7 @@ paths: - network_count - subscribers_count examples: - default: &326 + default: &327 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -38045,7 +38309,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-repository-fine-grained-permissions-for-an-organization parameters: - - *134 + - *138 responses: '200': description: Response @@ -38053,9 +38317,9 @@ paths: application/json: schema: type: array - items: *264 + items: *265 examples: - default: *265 + default: *266 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -38077,10 +38341,10 @@ paths: category: orgs subcategory: rules parameters: - - *134 + - *138 - *17 - *18 - - &565 + - &566 name: targets description: | A comma-separated list of rule targets to filter by. @@ -38099,7 +38363,7 @@ paths: application/json: schema: type: array - items: &272 + items: &273 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -38132,7 +38396,7 @@ paths: source: type: string description: The name of the source - enforcement: &268 + enforcement: &269 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -38144,7 +38408,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &269 + items: &270 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -38212,7 +38476,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &266 + - &267 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -38236,7 +38500,7 @@ paths: match. items: type: string - - &270 + - &271 title: Organization ruleset conditions type: object description: |- @@ -38249,7 +38513,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *266 + - *267 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -38283,7 +38547,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *266 + - *267 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -38305,7 +38569,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *266 + - *267 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -38318,7 +38582,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &267 + items: &268 title: Repository ruleset property targeting definition type: object @@ -38351,7 +38615,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *267 + items: *268 required: - repository_property type: @@ -38359,12 +38623,12 @@ paths: - object rules: type: array - items: &271 + items: &272 title: Repository Rule type: object description: A repository rule. oneOf: - - &547 + - &548 title: creation description: Only allow users with bypass permission to create matching refs. @@ -38376,7 +38640,7 @@ paths: type: string enum: - creation - - &548 + - &549 title: update description: Only allow users with bypass permission to update matching refs. @@ -38397,7 +38661,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &550 + - &551 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -38409,7 +38673,7 @@ paths: type: string enum: - deletion - - &551 + - &552 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -38421,7 +38685,7 @@ paths: type: string enum: - required_linear_history - - &552 + - &553 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -38499,7 +38763,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &553 + - &554 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -38523,7 +38787,7 @@ paths: type: string required: - required_deployment_environments - - &554 + - &555 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -38535,7 +38799,7 @@ paths: type: string enum: - required_signatures - - &555 + - &556 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -38581,7 +38845,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &556 + - &557 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -38629,7 +38893,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &557 + - &558 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -38641,7 +38905,7 @@ paths: type: string enum: - non_fast_forward - - &558 + - &559 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -38677,7 +38941,7 @@ paths: required: - operator - pattern - - &559 + - &560 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -38713,7 +38977,7 @@ paths: required: - operator - pattern - - &560 + - &561 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -38749,7 +39013,7 @@ paths: required: - operator - pattern - - &561 + - &562 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -38785,7 +39049,7 @@ paths: required: - operator - pattern - - &562 + - &563 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -38911,7 +39175,7 @@ paths: maximum: 100 required: - max_file_size - - &563 + - &564 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -38961,7 +39225,7 @@ paths: - repository_id required: - workflows - - &564 + - &565 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -39074,7 +39338,7 @@ paths: category: orgs subcategory: rules parameters: - - *134 + - *138 requestBody: description: Request body required: true @@ -39094,16 +39358,16 @@ paths: - tag - push default: branch - enforcement: *268 + enforcement: *269 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *270 + items: *270 + conditions: *271 rules: type: array description: An array of rules within the ruleset. - items: *271 + items: *272 required: - name - enforcement @@ -39141,9 +39405,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: - default: &273 + default: &274 value: id: 21 name: super cool ruleset @@ -39197,8 +39461,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *134 - - &566 + - *138 + - &567 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -39213,7 +39477,7 @@ paths: in: query schema: type: string - - &567 + - &568 name: time_period description: |- The time period to filter by. @@ -39229,14 +39493,14 @@ paths: - week - month default: day - - &568 + - &569 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &569 + - &570 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -39256,7 +39520,7 @@ paths: description: Response content: application/json: - schema: &570 + schema: &571 title: Rule Suites description: Response type: array @@ -39312,7 +39576,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &571 + default: &572 value: - id: 21 actor_id: 12 @@ -39355,8 +39619,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *134 - - &572 + - *138 + - &573 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -39372,7 +39636,7 @@ paths: description: Response content: application/json: - schema: &573 + schema: &574 title: Rule Suite description: Response type: object @@ -39479,7 +39743,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &574 + default: &575 value: id: 21 actor_id: 12 @@ -39540,7 +39804,7 @@ paths: category: orgs subcategory: rules parameters: - - *134 + - *138 - name: ruleset_id description: The ID of the ruleset. in: path @@ -39552,9 +39816,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: - default: *273 + default: *274 '404': *6 '500': *80 put: @@ -39572,7 +39836,7 @@ paths: category: orgs subcategory: rules parameters: - - *134 + - *138 - name: ruleset_id description: The ID of the ruleset. in: path @@ -39597,16 +39861,16 @@ paths: - branch - tag - push - enforcement: *268 + enforcement: *269 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *270 + items: *270 + conditions: *271 rules: description: An array of rules within the ruleset. type: array - items: *271 + items: *272 examples: default: value: @@ -39641,9 +39905,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: - default: *273 + default: *274 '404': *6 '500': *80 delete: @@ -39661,7 +39925,7 @@ paths: category: orgs subcategory: rules parameters: - - *134 + - *138 - name: ruleset_id description: The ID of the ruleset. in: path @@ -39689,15 +39953,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *134 - - *274 + - *138 - *275 - *276 - *277 + - *278 - *76 - *18 - *17 - - &576 + - &577 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -39707,7 +39971,7 @@ paths: required: false schema: type: string - - &577 + - &578 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -39717,9 +39981,9 @@ paths: required: false schema: type: string - - *278 - *279 - *280 + - *281 responses: '200': description: Response @@ -39727,13 +39991,13 @@ paths: application/json: schema: type: array - items: *281 + items: *282 examples: - default: *282 + default: *283 headers: Link: *37 '404': *6 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39755,7 +40019,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *134 + - *138 - *76 - name: sort description: The property to sort the results by. @@ -39799,7 +40063,7 @@ paths: application/json: schema: type: array - items: &584 + items: &585 description: A repository security advisory. type: object properties: @@ -40043,7 +40307,7 @@ paths: login: type: string description: The username of the user credited. - type: *283 + type: *284 credits_detailed: type: - array @@ -40054,7 +40318,7 @@ paths: type: object properties: user: *4 - type: *283 + type: *284 state: type: string description: The state of the user's acceptance of the @@ -40080,7 +40344,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *229 + items: *234 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -40118,7 +40382,7 @@ paths: - private_fork additionalProperties: false examples: - default: &585 + default: &586 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -40500,7 +40764,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams parameters: - - *134 + - *138 responses: '200': description: Response @@ -40508,9 +40772,9 @@ paths: application/json: schema: type: array - items: *242 + items: *247 examples: - default: *243 + default: *248 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40533,8 +40797,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - - *134 - - *241 + - *138 + - *246 responses: '204': description: Response @@ -40559,8 +40823,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *134 - - *241 + - *138 + - *246 responses: '204': description: Response @@ -40586,15 +40850,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *134 + - *138 responses: '200': description: Response content: application/json: - schema: *284 + schema: *285 examples: - default: *285 + default: *286 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -40618,7 +40882,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - - *134 + - *138 - *17 - *18 responses: @@ -40626,9 +40890,9 @@ paths: description: Success content: application/json: - schema: *286 + schema: *287 examples: - default: *287 + default: *288 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -40650,15 +40914,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *134 + - *138 responses: '200': description: Response content: application/json: - schema: *288 + schema: *289 examples: - default: *289 + default: *290 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -40680,15 +40944,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *134 + - *138 responses: '200': description: Response content: application/json: - schema: *290 + schema: *291 examples: - default: *291 + default: *292 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -40705,7 +40969,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-an-organization parameters: - - *134 + - *138 - *17 - name: page description: Page token @@ -40724,7 +40988,7 @@ paths: description: Response content: application/json: - schema: &313 + schema: &314 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -40776,7 +41040,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &314 + default: &315 value: groups: - group_id: '123' @@ -40821,8 +41085,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *134 - - *241 + - *138 + - *246 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -40854,13 +41118,13 @@ paths: application/json: schema: type: array - items: *94 + items: *98 examples: - default: *95 + default: *99 '500': *80 '403': *27 '404': *6 - '422': *96 + '422': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40894,8 +41158,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team parameters: - - *134 - - *241 + - *138 + - *246 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -40927,9 +41191,9 @@ paths: application/json: schema: type: array - items: *97 + items: *101 examples: - default: *187 + default: *192 '500': *80 '401': *23 '403': *27 @@ -40951,7 +41215,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams parameters: - - *134 + - *138 - *17 - *18 responses: @@ -40961,9 +41225,9 @@ paths: application/json: schema: type: array - items: *229 + items: *234 examples: - default: *243 + default: *248 headers: Link: *37 '403': *27 @@ -40985,7 +41249,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team parameters: - - *134 + - *138 requestBody: required: true content: @@ -41057,7 +41321,7 @@ paths: description: Response content: application/json: - schema: &292 + schema: &293 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -41131,7 +41395,7 @@ paths: parent: anyOf: - type: 'null' - - *242 + - *247 members_count: type: integer examples: @@ -41437,7 +41701,7 @@ paths: - repos_count - organization examples: - default: &293 + default: &294 value: id: 1 node_id: MDQ6VGVhbTE= @@ -41507,16 +41771,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - - *134 - - *241 + - *138 + - *246 responses: '200': description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 '404': *6 x-github: githubCloudOnly: false @@ -41537,8 +41801,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - - *134 - - *241 + - *138 + - *246 requestBody: required: false content: @@ -41601,16 +41865,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 '201': description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 '404': *6 '422': *15 '403': *27 @@ -41635,8 +41899,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - - *134 - - *241 + - *138 + - *246 responses: '204': description: Response @@ -41662,8 +41926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - - *134 - - *241 + - *138 + - *246 - *76 - *17 - *18 @@ -41680,7 +41944,7 @@ paths: application/json: schema: type: array - items: &294 + items: &295 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -41771,7 +42035,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *100 + reactions: *104 required: - author - body @@ -41791,7 +42055,7 @@ paths: - updated_at - url examples: - default: &625 + default: &626 value: - author: login: octocat @@ -41865,8 +42129,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - - *134 - - *241 + - *138 + - *246 requestBody: required: true content: @@ -41900,9 +42164,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: &295 + default: &296 value: author: login: octocat @@ -41974,9 +42238,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - - *134 - - *241 - - &296 + - *138 + - *246 + - &297 name: discussion_number description: The number that identifies the discussion. in: path @@ -41988,9 +42252,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: *295 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42012,9 +42276,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - - *134 - - *241 - - *296 + - *138 + - *246 + - *297 requestBody: required: false content: @@ -42037,9 +42301,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: &626 + default: &627 value: author: login: octocat @@ -42109,9 +42373,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - - *134 - - *241 - - *296 + - *138 + - *246 + - *297 responses: '204': description: Response @@ -42137,9 +42401,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - - *134 - - *241 - - *296 + - *138 + - *246 + - *297 - *76 - *17 - *18 @@ -42150,7 +42414,7 @@ paths: application/json: schema: type: array - items: &297 + items: &298 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -42215,7 +42479,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *100 + reactions: *104 required: - author - body @@ -42230,7 +42494,7 @@ paths: - updated_at - url examples: - default: &627 + default: &628 value: - author: login: octocat @@ -42298,9 +42562,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *134 - - *241 - - *296 + - *138 + - *246 + - *297 requestBody: required: true content: @@ -42322,9 +42586,9 @@ paths: description: Response content: application/json: - schema: *297 + schema: *298 examples: - default: &298 + default: &299 value: author: login: octocat @@ -42390,10 +42654,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *134 - - *241 - - *296 - - &299 + - *138 + - *246 + - *297 + - &300 name: comment_number description: The number that identifies the comment. in: path @@ -42405,9 +42669,9 @@ paths: description: Response content: application/json: - schema: *297 + schema: *298 examples: - default: *298 + default: *299 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42429,10 +42693,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *134 - - *241 - - *296 - - *299 + - *138 + - *246 + - *297 + - *300 requestBody: required: true content: @@ -42454,9 +42718,9 @@ paths: description: Response content: application/json: - schema: *297 + schema: *298 examples: - default: &628 + default: &629 value: author: login: octocat @@ -42520,10 +42784,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *134 - - *241 - - *296 - - *299 + - *138 + - *246 + - *297 + - *300 responses: '204': description: Response @@ -42549,10 +42813,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *134 - - *241 - - *296 - - *299 + - *138 + - *246 + - *297 + - *300 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -42578,7 +42842,7 @@ paths: application/json: schema: type: array - items: &300 + items: &301 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -42622,7 +42886,7 @@ paths: - content - created_at examples: - default: &302 + default: &303 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -42672,10 +42936,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *134 - - *241 - - *296 - - *299 + - *138 + - *246 + - *297 + - *300 requestBody: required: true content: @@ -42708,9 +42972,9 @@ paths: team discussion comment content: application/json: - schema: *300 + schema: *301 examples: - default: &301 + default: &302 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -42739,9 +43003,9 @@ paths: description: Response content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42764,11 +43028,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *134 - - *241 - - *296 - - *299 - - &303 + - *138 + - *246 + - *297 + - *300 + - &304 name: reaction_id description: The unique identifier of the reaction. in: path @@ -42800,9 +43064,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *134 - - *241 - - *296 + - *138 + - *246 + - *297 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -42828,9 +43092,9 @@ paths: application/json: schema: type: array - items: *300 + items: *301 examples: - default: *302 + default: *303 headers: Link: *37 x-github: @@ -42856,9 +43120,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *134 - - *241 - - *296 + - *138 + - *246 + - *297 requestBody: required: true content: @@ -42890,16 +43154,16 @@ paths: description: Response content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '201': description: Response content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -42922,10 +43186,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *134 - - *241 - - *296 - - *303 + - *138 + - *246 + - *297 + - *304 responses: '204': description: Response @@ -42948,16 +43212,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - - *134 - - *241 + - *138 + - *246 responses: '200': description: Response content: application/json: - schema: *304 + schema: *305 examples: - default: *305 + default: *306 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -42976,8 +43240,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - - *134 - - *241 + - *138 + - *246 requestBody: required: true content: @@ -43001,9 +43265,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *307 examples: - default: *307 + default: *308 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -43022,8 +43286,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - - *134 - - *241 + - *138 + - *246 responses: '204': description: Response @@ -43047,8 +43311,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - - *134 - - *241 + - *138 + - *246 - *17 - *18 responses: @@ -43058,9 +43322,9 @@ paths: application/json: schema: type: array - items: *226 + items: *231 examples: - default: *227 + default: *232 headers: Link: *37 x-github: @@ -43082,8 +43346,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - - *134 - - *241 + - *138 + - *246 - name: role description: Filters members returned by their role in the team. in: query @@ -43106,7 +43370,7 @@ paths: type: array items: *4 examples: - default: *232 + default: *237 headers: Link: *37 x-github: @@ -43136,15 +43400,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - - *134 - - *241 - - *174 + - *138 + - *246 + - *178 responses: '200': description: Response content: application/json: - schema: &308 + schema: &309 title: Team Membership description: Team Membership type: object @@ -43172,7 +43436,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &629 + response-if-user-is-a-team-maintainer: &630 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -43208,9 +43472,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *134 - - *241 - - *174 + - *138 + - *246 + - *178 requestBody: required: false content: @@ -43235,9 +43499,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *309 examples: - response-if-users-membership-with-team-is-now-pending: &630 + response-if-users-membership-with-team-is-now-pending: &631 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -43272,9 +43536,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - - *134 - - *241 - - *174 + - *138 + - *246 + - *178 responses: '204': description: Response @@ -43300,8 +43564,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - - *134 - - *241 + - *138 + - *246 - *17 - *18 responses: @@ -43311,7 +43575,7 @@ paths: application/json: schema: type: array - items: &309 + items: &310 title: Team Project description: A team's access to a project. type: object @@ -43380,7 +43644,7 @@ paths: - updated_at - permissions examples: - default: &631 + default: &632 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -43441,9 +43705,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - - *134 - - *241 - - &310 + - *138 + - *246 + - &311 name: project_id description: The unique identifier of the project. in: path @@ -43455,9 +43719,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *310 examples: - default: &632 + default: &633 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -43517,9 +43781,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - - *134 - - *241 - - *310 + - *138 + - *246 + - *311 requestBody: required: false content: @@ -43584,9 +43848,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - - *134 - - *241 - - *310 + - *138 + - *246 + - *311 responses: '204': description: Response @@ -43610,8 +43874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - - *134 - - *241 + - *138 + - *246 - *17 - *18 responses: @@ -43621,9 +43885,9 @@ paths: application/json: schema: type: array - items: *152 + items: *156 examples: - default: *250 + default: *255 headers: Link: *37 x-github: @@ -43652,16 +43916,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *134 - - *241 - - *311 + - *138 + - *246 - *312 + - *313 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &633 + schema: &634 title: Team Repository description: A team's access to a repository. type: object @@ -43687,7 +43951,7 @@ paths: license: anyOf: - type: 'null' - - *113 + - *117 forks: type: integer permissions: @@ -44302,10 +44566,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *134 - - *241 - - *311 + - *138 + - *246 - *312 + - *313 requestBody: required: false content: @@ -44350,10 +44614,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - - *134 - - *241 - - *311 + - *138 + - *246 - *312 + - *313 responses: '204': description: Response @@ -44379,16 +44643,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - - *134 - - *241 + - *138 + - *246 responses: '200': description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -44410,8 +44674,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - - *134 - - *241 + - *138 + - *246 requestBody: required: true content: @@ -44454,7 +44718,7 @@ paths: description: Response content: application/json: - schema: *313 + schema: *314 examples: default: value: @@ -44486,8 +44750,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - - *134 - - *241 + - *138 + - *246 - *17 - *18 responses: @@ -44497,9 +44761,9 @@ paths: application/json: schema: type: array - items: *229 + items: *234 examples: - response-if-child-teams-exist: &634 + response-if-child-teams-exist: &635 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -44552,7 +44816,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *134 + - *138 - name: security_product in: path description: The security feature to enable or disable. @@ -44623,7 +44887,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &315 + - &316 name: card_id description: The unique identifier of the card. in: path @@ -44635,7 +44899,7 @@ paths: description: Response content: application/json: - schema: &316 + schema: &317 title: Project Card description: Project cards represent a scope of work. type: object @@ -44710,7 +44974,7 @@ paths: - created_at - updated_at examples: - default: &317 + default: &318 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -44760,7 +45024,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *315 + - *316 requestBody: required: false content: @@ -44790,9 +45054,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 '304': *35 '403': *27 '401': *23 @@ -44813,7 +45077,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *315 + - *316 responses: '204': description: Response @@ -44851,7 +45115,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *315 + - *316 requestBody: required: true content: @@ -44958,7 +45222,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &318 + - &319 name: column_id description: The unique identifier of the column. in: path @@ -44970,7 +45234,7 @@ paths: description: Response content: application/json: - schema: &319 + schema: &320 title: Project Column description: Project columns contain cards of work. type: object @@ -45024,7 +45288,7 @@ paths: - created_at - updated_at examples: - default: &320 + default: &321 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -45053,7 +45317,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *318 + - *319 requestBody: required: true content: @@ -45078,9 +45342,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *320 examples: - default: *320 + default: *321 '304': *35 '403': *27 '401': *23 @@ -45099,7 +45363,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *318 + - *319 responses: '204': description: Response @@ -45122,7 +45386,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *318 + - *319 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -45143,7 +45407,7 @@ paths: application/json: schema: type: array - items: *316 + items: *317 examples: default: value: @@ -45196,7 +45460,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *318 + - *319 requestBody: required: true content: @@ -45240,9 +45504,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 '304': *35 '403': *27 '401': *23 @@ -45252,8 +45516,8 @@ paths: application/json: schema: oneOf: - - *137 - - *138 + - *141 + - *142 '503': description: Response content: @@ -45292,7 +45556,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *318 + - *319 requestBody: required: true content: @@ -45349,15 +45613,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *310 + - *311 responses: '200': description: Response content: application/json: - schema: *257 + schema: *262 examples: - default: &321 + default: &322 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -45410,7 +45674,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *310 + - *311 requestBody: required: false content: @@ -45459,9 +45723,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *262 examples: - default: *321 + default: *322 '404': description: Not Found if the authenticated user does not have access to the project @@ -45482,7 +45746,7 @@ paths: items: type: string '401': *23 - '410': *322 + '410': *323 '422': *7 x-github: githubCloudOnly: false @@ -45500,7 +45764,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *310 + - *311 responses: '204': description: Delete Success @@ -45521,7 +45785,7 @@ paths: items: type: string '401': *23 - '410': *322 + '410': *323 '404': *6 x-github: githubCloudOnly: false @@ -45544,7 +45808,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *310 + - *311 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -45571,7 +45835,7 @@ paths: type: array items: *4 examples: - default: *232 + default: *237 headers: Link: *37 '404': *6 @@ -45596,8 +45860,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *310 - - *174 + - *311 + - *178 requestBody: required: false content: @@ -45646,8 +45910,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *310 - - *174 + - *311 + - *178 responses: '204': description: Response @@ -45675,8 +45939,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *310 - - *174 + - *311 + - *178 responses: '200': description: Response @@ -45740,7 +46004,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *310 + - *311 - *17 - *18 responses: @@ -45750,7 +46014,7 @@ paths: application/json: schema: type: array - items: *319 + items: *320 examples: default: value: @@ -45782,7 +46046,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *310 + - *311 requestBody: required: true content: @@ -45806,7 +46070,7 @@ paths: description: Response content: application/json: - schema: *319 + schema: *320 examples: default: value: @@ -45867,7 +46131,7 @@ paths: resources: type: object properties: - core: &323 + core: &324 title: Rate Limit type: object properties: @@ -45884,19 +46148,19 @@ paths: - remaining - reset - used - graphql: *323 - search: *323 - code_search: *323 - source_import: *323 - integration_manifest: *323 - code_scanning_upload: *323 - actions_runner_registration: *323 - scim: *323 - dependency_snapshots: *323 + graphql: *324 + search: *324 + code_search: *324 + source_import: *324 + integration_manifest: *324 + code_scanning_upload: *324 + actions_runner_registration: *324 + scim: *324 + dependency_snapshots: *324 required: - core - search - rate: *323 + rate: *324 required: - rate - resources @@ -45995,14 +46259,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *311 - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *324 + schema: *325 examples: default-response: summary: Default response @@ -46507,7 +46771,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *325 + '301': *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46525,8 +46789,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *311 - *312 + - *313 requestBody: required: false content: @@ -46773,10 +47037,10 @@ paths: description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *326 - '307': &327 + default: *327 + '307': &328 description: Temporary Redirect content: application/json: @@ -46805,8 +47069,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *311 - *312 + - *313 responses: '204': description: Response @@ -46828,7 +47092,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *327 + '307': *328 '404': *6 x-github: githubCloudOnly: false @@ -46851,11 +47115,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *311 - *312 + - *313 - *17 - *18 - - &342 + - &343 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -46878,7 +47142,7 @@ paths: type: integer artifacts: type: array - items: &328 + items: &329 title: Artifact description: An artifact type: object @@ -46964,7 +47228,7 @@ paths: - expires_at - updated_at examples: - default: &343 + default: &344 value: total_count: 2 artifacts: @@ -47023,9 +47287,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *311 - *312 - - &329 + - *313 + - &330 name: artifact_id description: The unique identifier of the artifact. in: path @@ -47037,7 +47301,7 @@ paths: description: Response content: application/json: - schema: *328 + schema: *329 examples: default: value: @@ -47074,9 +47338,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *311 - *312 - - *329 + - *313 + - *330 responses: '204': description: Response @@ -47100,9 +47364,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *311 - *312 - - *329 + - *313 + - *330 - name: archive_format in: path required: true @@ -47116,7 +47380,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': *322 + '410': *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47139,14 +47403,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *311 - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *330 + schema: *331 examples: default: value: @@ -47172,11 +47436,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *311 - *312 + - *313 - *17 - *18 - - &331 + - &332 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -47210,7 +47474,7 @@ paths: description: Response content: application/json: - schema: &332 + schema: &333 title: Repository actions caches description: Repository actions caches type: object @@ -47260,7 +47524,7 @@ paths: - total_count - actions_caches examples: - default: &333 + default: &334 value: total_count: 1 actions_caches: @@ -47292,23 +47556,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *311 - *312 + - *313 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *331 + - *332 responses: '200': description: Response content: application/json: - schema: *332 + schema: *333 examples: - default: *333 + default: *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47328,8 +47592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *311 - *312 + - *313 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -47360,9 +47624,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *311 - *312 - - &334 + - *313 + - &335 name: job_id description: The unique identifier of the job. in: path @@ -47374,7 +47638,7 @@ paths: description: Response content: application/json: - schema: &346 + schema: &347 title: Job description: Information of a job execution in a workflow run type: object @@ -47721,9 +47985,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *311 - *312 - - *334 + - *313 + - *335 responses: '302': description: Response @@ -47751,9 +48015,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *311 - *312 - - *334 + - *313 + - *335 requestBody: required: false content: @@ -47775,7 +48039,7 @@ paths: description: Response content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -47799,8 +48063,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *311 - *312 + - *313 responses: '200': description: Status response @@ -47850,8 +48114,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -47885,7 +48149,7 @@ paths: description: Empty response content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -47914,8 +48178,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -47933,7 +48197,7 @@ paths: type: integer secrets: type: array - items: &348 + items: &349 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -47954,7 +48218,7 @@ paths: - created_at - updated_at examples: - default: &349 + default: &350 value: total_count: 2 secrets: @@ -47987,9 +48251,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *311 - *312 - - *335 + - *313 + - *336 - *18 responses: '200': @@ -48006,7 +48270,7 @@ paths: type: integer variables: type: array - items: &352 + items: &353 title: Actions Variable type: object properties: @@ -48040,7 +48304,7 @@ paths: - created_at - updated_at examples: - default: &353 + default: &354 value: total_count: 2 variables: @@ -48073,8 +48337,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -48083,11 +48347,11 @@ paths: schema: type: object properties: - enabled: &336 + enabled: &337 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *40 - selected_actions_url: *145 + selected_actions_url: *149 required: - enabled examples: @@ -48116,8 +48380,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *311 - *312 + - *313 responses: '204': description: Response @@ -48128,7 +48392,7 @@ paths: schema: type: object properties: - enabled: *336 + enabled: *337 allowed_actions: *40 required: - enabled @@ -48159,14 +48423,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *311 - *312 + - *313 responses: '200': description: Response content: application/json: - schema: &337 + schema: &338 type: object properties: access_level: @@ -48184,7 +48448,7 @@ paths: required: - access_level examples: - default: &338 + default: &339 value: access_level: organization x-github: @@ -48209,15 +48473,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *311 - *312 + - *313 requestBody: required: true content: application/json: - schema: *337 + schema: *338 examples: - default: *338 + default: *339 responses: '204': description: Response @@ -48241,8 +48505,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -48273,8 +48537,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *311 - *312 + - *313 responses: '204': description: Response @@ -48306,14 +48570,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *311 - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *148 + schema: *152 examples: default: *46 x-github: @@ -48336,8 +48600,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *311 - *312 + - *313 responses: '204': description: Success response @@ -48348,7 +48612,7 @@ paths: required: true content: application/json: - schema: *149 + schema: *153 examples: default: *46 x-github: @@ -48377,8 +48641,8 @@ paths: in: query schema: type: string - - *311 - *312 + - *313 - *17 - *18 responses: @@ -48422,8 +48686,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -48431,9 +48695,9 @@ paths: application/json: schema: type: array - items: *153 + items: *157 examples: - default: *154 + default: *158 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48455,8 +48719,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -48499,7 +48763,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *155 + '201': *159 '404': *6 '422': *7 x-github: @@ -48529,8 +48793,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *311 - *312 + - *313 responses: '201': description: Response @@ -48538,7 +48802,7 @@ paths: application/json: schema: *56 examples: - default: *156 + default: *160 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48566,8 +48830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *311 - *312 + - *313 responses: '201': description: Response @@ -48575,7 +48839,7 @@ paths: application/json: schema: *56 examples: - default: *157 + default: *161 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48597,8 +48861,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *311 - *312 + - *313 - *52 responses: '200': @@ -48607,7 +48871,7 @@ paths: application/json: schema: *53 examples: - default: *158 + default: *162 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48628,8 +48892,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *311 - *312 + - *313 - *52 responses: '204': @@ -48655,8 +48919,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *311 - *312 + - *313 - *52 responses: '200': *58 @@ -48681,8 +48945,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *311 - *312 + - *313 - *52 requestBody: required: true @@ -48731,8 +48995,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *311 - *312 + - *313 - *52 requestBody: required: true @@ -48782,11 +49046,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *311 - *312 + - *313 - *52 responses: - '200': *159 + '200': *163 '404': *6 x-github: githubCloudOnly: false @@ -48813,10 +49077,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *311 - *312 + - *313 - *52 - - *160 + - *164 responses: '200': *58 '404': *6 @@ -48844,9 +49108,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *311 - *312 - - &356 + - *313 + - &357 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -48854,7 +49118,7 @@ paths: required: false schema: type: string - - &357 + - &358 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -48862,7 +49126,7 @@ paths: required: false schema: type: string - - &358 + - &359 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -48871,7 +49135,7 @@ paths: required: false schema: type: string - - &359 + - &360 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -48898,7 +49162,7 @@ paths: - pending - *17 - *18 - - &360 + - &361 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -48907,7 +49171,7 @@ paths: schema: type: string format: date-time - - &339 + - &340 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -48916,13 +49180,13 @@ paths: schema: type: boolean default: false - - &361 + - &362 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &362 + - &363 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -48945,7 +49209,7 @@ paths: type: integer workflow_runs: type: array - items: &340 + items: &341 title: Workflow Run description: An invocation of a workflow type: object @@ -49062,7 +49326,7 @@ paths: type: - array - 'null' - items: &381 + items: &382 title: Pull Request Minimal type: object properties: @@ -49189,7 +49453,7 @@ paths: head_commit: anyOf: - type: 'null' - - &385 + - &386 title: Simple Commit description: A commit. type: object @@ -49263,8 +49527,8 @@ paths: - timestamp - author - committer - repository: *152 - head_repository: *152 + repository: *156 + head_repository: *156 head_repository_id: type: integer examples: @@ -49304,7 +49568,7 @@ paths: - workflow_url - pull_requests examples: - default: &363 + default: &364 value: total_count: 1 workflow_runs: @@ -49540,24 +49804,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *311 - *312 - - &341 + - *313 + - &342 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *339 + - *340 responses: '200': description: Response content: application/json: - schema: *340 + schema: *341 examples: - default: &344 + default: &345 value: id: 30433642 name: Build @@ -49798,9 +50062,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *311 - *312 - - *341 + - *313 + - *342 responses: '204': description: Response @@ -49823,9 +50087,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *311 - *312 - - *341 + - *313 + - *342 responses: '200': description: Response @@ -49953,15 +50217,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *311 - *312 - - *341 + - *313 + - *342 responses: '201': description: Response content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -49988,12 +50252,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *311 - *312 - - *341 + - *313 + - *342 - *17 - *18 - - *342 + - *343 responses: '200': description: Response @@ -50009,9 +50273,9 @@ paths: type: integer artifacts: type: array - items: *328 + items: *329 examples: - default: *343 + default: *344 headers: Link: *37 x-github: @@ -50035,25 +50299,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *311 - *312 - - *341 - - &345 + - *313 + - *342 + - &346 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *339 + - *340 responses: '200': description: Response content: application/json: - schema: *340 + schema: *341 examples: - default: *344 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50076,10 +50340,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *311 - *312 - - *341 - - *345 + - *313 + - *342 + - *346 - *17 - *18 responses: @@ -50097,9 +50361,9 @@ paths: type: integer jobs: type: array - items: *346 + items: *347 examples: - default: &347 + default: &348 value: total_count: 1 jobs: @@ -50212,10 +50476,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *311 - *312 - - *341 - - *345 + - *313 + - *342 + - *346 responses: '302': description: Response @@ -50243,19 +50507,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *311 - *312 - - *341 + - *313 + - *342 responses: '202': description: Response content: application/json: - schema: *163 + schema: *167 examples: default: value: - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50278,9 +50542,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *311 - *312 - - *341 + - *313 + - *342 requestBody: required: true content: @@ -50347,19 +50611,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *311 - *312 - - *341 + - *313 + - *342 responses: '202': description: Response content: application/json: - schema: *163 + schema: *167 examples: default: value: - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50382,9 +50646,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *311 - *312 - - *341 + - *313 + - *342 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -50414,9 +50678,9 @@ paths: type: integer jobs: type: array - items: *346 + items: *347 examples: - default: *347 + default: *348 headers: Link: *37 x-github: @@ -50441,9 +50705,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *311 - *312 - - *341 + - *313 + - *342 responses: '302': description: Response @@ -50470,9 +50734,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *311 - *312 - - *341 + - *313 + - *342 responses: '204': description: Response @@ -50499,9 +50763,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *311 - *312 - - *341 + - *313 + - *342 responses: '200': description: Response @@ -50570,7 +50834,7 @@ paths: items: type: object properties: - type: &453 + type: &454 type: string description: The type of reviewer. enum: @@ -50581,7 +50845,7 @@ paths: reviewer: anyOf: - *4 - - *229 + - *234 required: - environment - wait_timer @@ -50656,9 +50920,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *311 - *312 - - *341 + - *313 + - *342 requestBody: required: true content: @@ -50708,7 +50972,7 @@ paths: application/json: schema: type: array - items: &448 + items: &449 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -50820,7 +51084,7 @@ paths: - created_at - updated_at examples: - default: &449 + default: &450 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -50876,9 +51140,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *311 - *312 - - *341 + - *313 + - *342 requestBody: required: false content: @@ -50900,7 +51164,7 @@ paths: description: Response content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -50923,9 +51187,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *311 - *312 - - *341 + - *313 + - *342 requestBody: required: false content: @@ -50947,7 +51211,7 @@ paths: description: Response content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -50972,9 +51236,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *311 - *312 - - *341 + - *313 + - *342 responses: '200': description: Response @@ -51111,8 +51375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -51130,9 +51394,9 @@ paths: type: integer secrets: type: array - items: *348 + items: *349 examples: - default: *349 + default: *350 headers: Link: *37 x-github: @@ -51157,16 +51421,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *311 - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *350 + schema: *351 examples: - default: *351 + default: *352 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51188,17 +51452,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *311 - *312 - - *162 + - *313 + - *166 responses: '200': description: Response content: application/json: - schema: *348 + schema: *349 examples: - default: &466 + default: &467 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -51224,9 +51488,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *311 - *312 - - *162 + - *313 + - *166 requestBody: required: true content: @@ -51254,7 +51518,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -51280,9 +51544,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *311 - *312 - - *162 + - *313 + - *166 responses: '204': description: Response @@ -51307,9 +51571,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *311 - *312 - - *335 + - *313 + - *336 - *18 responses: '200': @@ -51326,9 +51590,9 @@ paths: type: integer variables: type: array - items: *352 + items: *353 examples: - default: *353 + default: *354 headers: Link: *37 x-github: @@ -51351,8 +51615,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -51379,7 +51643,7 @@ paths: description: Response content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -51404,17 +51668,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *311 - *312 - - *165 + - *313 + - *169 responses: '200': description: Response content: application/json: - schema: *352 + schema: *353 examples: - default: &467 + default: &468 value: name: USERNAME value: octocat @@ -51440,9 +51704,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *311 - *312 - - *165 + - *313 + - *169 requestBody: required: true content: @@ -51484,9 +51748,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *311 - *312 - - *165 + - *313 + - *169 responses: '204': description: Response @@ -51511,8 +51775,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -51530,7 +51794,7 @@ paths: type: integer workflows: type: array - items: &354 + items: &355 title: Workflow description: A GitHub Actions workflow type: object @@ -51648,9 +51912,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *311 - *312 - - &355 + - *313 + - &356 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -51665,7 +51929,7 @@ paths: description: Response content: application/json: - schema: *354 + schema: *355 examples: default: value: @@ -51698,9 +51962,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *311 - *312 - - *355 + - *313 + - *356 responses: '204': description: Response @@ -51725,9 +51989,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *311 - *312 - - *355 + - *313 + - *356 responses: '204': description: Response @@ -51778,9 +52042,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *311 - *312 - - *355 + - *313 + - *356 responses: '204': description: Response @@ -51807,19 +52071,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *311 - *312 - - *355 + - *313 - *356 - *357 - *358 - *359 + - *360 - *17 - *18 - - *360 - - *339 - *361 + - *340 - *362 + - *363 responses: '200': description: Response @@ -51835,9 +52099,9 @@ paths: type: integer workflow_runs: type: array - items: *340 + items: *341 examples: - default: *363 + default: *364 headers: Link: *37 x-github: @@ -51863,9 +52127,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *311 - *312 - - *355 + - *313 + - *356 responses: '200': description: Response @@ -51926,8 +52190,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *311 - *312 + - *313 - *76 - *17 - *74 @@ -52095,8 +52359,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -52108,7 +52372,7 @@ paths: type: array items: *4 examples: - default: *232 + default: *237 headers: Link: *37 '404': *6 @@ -52133,8 +52397,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *311 - *312 + - *313 - name: assignee in: path required: true @@ -52170,8 +52434,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -52283,8 +52547,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *311 - *312 + - *313 - *17 - *74 - *75 @@ -52328,7 +52592,7 @@ paths: repository_id: type: integer examples: - default: *364 + default: *365 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52348,8 +52612,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -52357,7 +52621,7 @@ paths: application/json: schema: type: array - items: &365 + items: &366 title: Autolink reference description: An autolink reference. type: object @@ -52411,8 +52675,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -52451,9 +52715,9 @@ paths: description: response content: application/json: - schema: *365 + schema: *366 examples: - default: &366 + default: &367 value: id: 1 key_prefix: TICKET- @@ -52484,9 +52748,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *311 - *312 - - &367 + - *313 + - &368 name: autolink_id description: The unique identifier of the autolink. in: path @@ -52498,9 +52762,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *366 examples: - default: *366 + default: *367 '404': *6 x-github: githubCloudOnly: false @@ -52520,9 +52784,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *311 - *312 - - *367 + - *313 + - *368 responses: '204': description: Response @@ -52546,8 +52810,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-automated-security-fixes-are-enabled-for-a-repository parameters: - - *311 - *312 + - *313 responses: '200': description: Response if Dependabot is enabled @@ -52597,8 +52861,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-automated-security-fixes parameters: - - *311 - *312 + - *313 responses: '204': description: Response @@ -52619,8 +52883,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-automated-security-fixes parameters: - - *311 - *312 + - *313 responses: '204': description: Response @@ -52640,8 +52904,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *311 - *312 + - *313 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -52679,7 +52943,7 @@ paths: - url protected: type: boolean - protection: &369 + protection: &370 title: Branch Protection description: Branch Protection type: object @@ -52722,7 +52986,7 @@ paths: required: - contexts - checks - enforce_admins: &372 + enforce_admins: &373 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -52739,7 +53003,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &374 + required_pull_request_reviews: &375 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -52761,7 +53025,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *229 + items: *234 apps: description: The list of apps with review dismissal access. @@ -52793,7 +53057,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *229 + items: *234 apps: description: The list of apps allowed to bypass pull request requirements. @@ -52823,7 +53087,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &371 + restrictions: &372 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -53148,9 +53412,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *311 - *312 - - &370 + - *313 + - &371 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql). @@ -53164,14 +53428,14 @@ paths: description: Response content: application/json: - schema: &380 + schema: &381 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &424 + commit: &425 title: Commit description: Commit type: object @@ -53210,7 +53474,7 @@ paths: author: anyOf: - type: 'null' - - &368 + - &369 title: Git User description: Metaproperties for Git author/committer information. @@ -53231,7 +53495,7 @@ paths: committer: anyOf: - type: 'null' - - *368 + - *369 message: type: string examples: @@ -53255,7 +53519,7 @@ paths: required: - sha - url - verification: &473 + verification: &474 title: Verification type: object properties: @@ -53290,14 +53554,14 @@ paths: author: oneOf: - *4 - - *163 + - *167 type: - 'null' - object committer: oneOf: - *4 - - *163 + - *167 type: - 'null' - object @@ -53334,7 +53598,7 @@ paths: type: integer files: type: array - items: &436 + items: &437 title: Diff Entry description: Diff Entry type: object @@ -53428,7 +53692,7 @@ paths: - self protected: type: boolean - protection: *369 + protection: *370 protection_url: type: string format: uri @@ -53537,7 +53801,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *325 + '301': *326 '404': *6 x-github: githubCloudOnly: false @@ -53559,15 +53823,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *311 - *312 - - *370 + - *313 + - *371 responses: '200': description: Response content: application/json: - schema: *369 + schema: *370 examples: default: value: @@ -53761,9 +54025,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *311 - *312 - - *370 + - *313 + - *371 requestBody: required: true content: @@ -54023,7 +54287,7 @@ paths: url: type: string format: uri - required_status_checks: &377 + required_status_checks: &378 title: Status Check Policy description: Status Check Policy type: object @@ -54104,7 +54368,7 @@ paths: items: *4 teams: type: array - items: *229 + items: *234 apps: type: array items: *5 @@ -54122,7 +54386,7 @@ paths: items: *4 teams: type: array - items: *229 + items: *234 apps: type: array items: *5 @@ -54182,7 +54446,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *371 + restrictions: *372 required_conversation_resolution: type: object properties: @@ -54294,9 +54558,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *311 - *312 - - *370 + - *313 + - *371 responses: '204': description: Response @@ -54321,17 +54585,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *311 - *312 - - *370 + - *313 + - *371 responses: '200': description: Response content: application/json: - schema: *372 + schema: *373 examples: - default: &373 + default: &374 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -54353,17 +54617,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *311 - *312 - - *370 + - *313 + - *371 responses: '200': description: Response content: application/json: - schema: *372 + schema: *373 examples: - default: *373 + default: *374 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54382,9 +54646,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *311 - *312 - - *370 + - *313 + - *371 responses: '204': description: Response @@ -54409,17 +54673,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *311 - *312 - - *370 + - *313 + - *371 responses: '200': description: Response content: application/json: - schema: *374 + schema: *375 examples: - default: &375 + default: &376 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -54515,9 +54779,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *311 - *312 - - *370 + - *313 + - *371 requestBody: required: false content: @@ -54615,9 +54879,9 @@ paths: description: Response content: application/json: - schema: *374 + schema: *375 examples: - default: *375 + default: *376 '422': *15 x-github: githubCloudOnly: false @@ -54638,9 +54902,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *311 - *312 - - *370 + - *313 + - *371 responses: '204': description: Response @@ -54667,17 +54931,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *311 - *312 - - *370 + - *313 + - *371 responses: '200': description: Response content: application/json: - schema: *372 + schema: *373 examples: - default: &376 + default: &377 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -54700,17 +54964,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *311 - *312 - - *370 + - *313 + - *371 responses: '200': description: Response content: application/json: - schema: *372 + schema: *373 examples: - default: *376 + default: *377 '404': *6 x-github: githubCloudOnly: false @@ -54730,9 +54994,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *311 - *312 - - *370 + - *313 + - *371 responses: '204': description: Response @@ -54757,17 +55021,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *311 - *312 - - *370 + - *313 + - *371 responses: '200': description: Response content: application/json: - schema: *377 + schema: *378 examples: - default: &378 + default: &379 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -54793,9 +55057,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *311 - *312 - - *370 + - *313 + - *371 requestBody: required: false content: @@ -54847,9 +55111,9 @@ paths: description: Response content: application/json: - schema: *377 + schema: *378 examples: - default: *378 + default: *379 '404': *6 '422': *15 x-github: @@ -54871,9 +55135,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *311 - *312 - - *370 + - *313 + - *371 responses: '204': description: Response @@ -54897,9 +55161,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *311 - *312 - - *370 + - *313 + - *371 responses: '200': description: Response @@ -54933,9 +55197,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *311 - *312 - - *370 + - *313 + - *371 requestBody: required: false content: @@ -55002,9 +55266,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *311 - *312 - - *370 + - *313 + - *371 requestBody: required: false content: @@ -55068,9 +55332,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *311 - *312 - - *370 + - *313 + - *371 requestBody: content: application/json: @@ -55136,15 +55400,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *311 - *312 - - *370 + - *313 + - *371 responses: '200': description: Response content: application/json: - schema: *371 + schema: *372 examples: default: value: @@ -55235,9 +55499,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *311 - *312 - - *370 + - *313 + - *371 responses: '204': description: Response @@ -55260,9 +55524,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *311 - *312 - - *370 + - *313 + - *371 responses: '200': description: Response @@ -55272,7 +55536,7 @@ paths: type: array items: *5 examples: - default: &379 + default: &380 value: - id: 1 slug: octoapp @@ -55329,9 +55593,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *311 - *312 - - *370 + - *313 + - *371 requestBody: required: true content: @@ -55365,7 +55629,7 @@ paths: type: array items: *5 examples: - default: *379 + default: *380 '422': *15 x-github: githubCloudOnly: false @@ -55386,9 +55650,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *311 - *312 - - *370 + - *313 + - *371 requestBody: required: true content: @@ -55422,7 +55686,7 @@ paths: type: array items: *5 examples: - default: *379 + default: *380 '422': *15 x-github: githubCloudOnly: false @@ -55443,9 +55707,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *311 - *312 - - *370 + - *313 + - *371 requestBody: required: true content: @@ -55479,7 +55743,7 @@ paths: type: array items: *5 examples: - default: *379 + default: *380 '422': *15 x-github: githubCloudOnly: false @@ -55501,9 +55765,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *311 - *312 - - *370 + - *313 + - *371 responses: '200': description: Response @@ -55511,9 +55775,9 @@ paths: application/json: schema: type: array - items: *229 + items: *234 examples: - default: *243 + default: *248 '404': *6 x-github: githubCloudOnly: false @@ -55533,9 +55797,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *311 - *312 - - *370 + - *313 + - *371 requestBody: required: false content: @@ -55571,9 +55835,9 @@ paths: application/json: schema: type: array - items: *229 + items: *234 examples: - default: *243 + default: *248 '422': *15 x-github: githubCloudOnly: false @@ -55594,9 +55858,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *311 - *312 - - *370 + - *313 + - *371 requestBody: required: false content: @@ -55632,9 +55896,9 @@ paths: application/json: schema: type: array - items: *229 + items: *234 examples: - default: *243 + default: *248 '422': *15 x-github: githubCloudOnly: false @@ -55655,9 +55919,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *311 - *312 - - *370 + - *313 + - *371 requestBody: content: application/json: @@ -55692,9 +55956,9 @@ paths: application/json: schema: type: array - items: *229 + items: *234 examples: - default: *243 + default: *248 '422': *15 x-github: githubCloudOnly: false @@ -55716,9 +55980,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *311 - *312 - - *370 + - *313 + - *371 responses: '200': description: Response @@ -55728,7 +55992,7 @@ paths: type: array items: *4 examples: - default: *232 + default: *237 '404': *6 x-github: githubCloudOnly: false @@ -55752,9 +56016,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *311 - *312 - - *370 + - *313 + - *371 requestBody: required: true content: @@ -55787,7 +56051,7 @@ paths: type: array items: *4 examples: - default: *232 + default: *237 '422': *15 x-github: githubCloudOnly: false @@ -55812,9 +56076,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *311 - *312 - - *370 + - *313 + - *371 requestBody: required: true content: @@ -55847,7 +56111,7 @@ paths: type: array items: *4 examples: - default: *232 + default: *237 '422': *15 x-github: githubCloudOnly: false @@ -55872,9 +56136,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *311 - *312 - - *370 + - *313 + - *371 requestBody: required: true content: @@ -55907,7 +56171,7 @@ paths: type: array items: *4 examples: - default: *232 + default: *237 '422': *15 x-github: githubCloudOnly: false @@ -55934,9 +56198,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *311 - *312 - - *370 + - *313 + - *371 requestBody: required: true content: @@ -55958,7 +56222,7 @@ paths: description: Response content: application/json: - schema: *380 + schema: *381 examples: default: value: @@ -56074,8 +56338,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -56354,7 +56618,7 @@ paths: description: Response content: application/json: - schema: &382 + schema: &383 title: CheckRun description: A check performed on the code of a given code change type: object @@ -56489,8 +56753,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *381 - deployment: &684 + items: *382 + deployment: &685 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -56777,9 +57041,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *311 - *312 - - &383 + - *313 + - &384 name: check_run_id description: The unique identifier of the check run. in: path @@ -56791,9 +57055,9 @@ paths: description: Response content: application/json: - schema: *382 + schema: *383 examples: - default: &384 + default: &385 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -56893,9 +57157,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *311 - *312 - - *383 + - *313 + - *384 requestBody: required: true content: @@ -57135,9 +57399,9 @@ paths: description: Response content: application/json: - schema: *382 + schema: *383 examples: - default: *384 + default: *385 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57157,9 +57421,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *311 - *312 - - *383 + - *313 + - *384 - *17 - *18 responses: @@ -57271,15 +57535,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *311 - *312 - - *383 + - *313 + - *384 responses: '201': description: Response content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -57317,8 +57581,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -57340,7 +57604,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &386 + schema: &387 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -57422,12 +57686,12 @@ paths: type: - array - 'null' - items: *381 + items: *382 app: anyOf: - type: 'null' - *5 - repository: *152 + repository: *156 created_at: type: - string @@ -57438,7 +57702,7 @@ paths: - string - 'null' format: date-time - head_commit: *385 + head_commit: *386 latest_check_runs_count: type: integer check_runs_url: @@ -57466,7 +57730,7 @@ paths: - check_runs_url - pull_requests examples: - default: &387 + default: &388 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -57757,9 +58021,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *386 + schema: *387 examples: - default: *387 + default: *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57778,8 +58042,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -57840,7 +58104,7 @@ paths: required: - app_id - setting - repository: *152 + repository: *156 examples: default: value: @@ -58088,9 +58352,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *311 - *312 - - &388 + - *313 + - &389 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -58102,9 +58366,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *387 examples: - default: *387 + default: *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58127,17 +58391,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *311 - *312 - - *388 - - &431 + - *313 + - *389 + - &432 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &432 + - &433 name: status description: Returns check runs with the specified `status`. in: query @@ -58176,9 +58440,9 @@ paths: type: integer check_runs: type: array - items: *382 + items: *383 examples: - default: &433 + default: &434 value: total_count: 1 check_runs: @@ -58280,15 +58544,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *311 - *312 - - *388 + - *313 + - *389 responses: '201': description: Response content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -58315,21 +58579,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *311 - *312 - - *175 - - *176 + - *313 + - *179 + - *180 - *18 - *17 - - &400 + - &401 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *389 - - &401 + schema: *390 + - &402 name: pr description: The number of the pull request for the results you want to list. in: query @@ -58354,13 +58618,13 @@ paths: be returned. in: query required: false - schema: *177 + schema: *181 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *390 + schema: *391 responses: '200': description: Response @@ -58376,7 +58640,7 @@ paths: updated_at: *88 url: *85 html_url: *86 - instances_url: *391 + instances_url: *392 state: *79 fixed_at: *90 dismissed_by: @@ -58384,11 +58648,11 @@ paths: - type: 'null' - *4 dismissed_at: *89 - dismissed_reason: *392 - dismissed_comment: *393 - rule: *394 - tool: *395 - most_recent_instance: *396 + dismissed_reason: *393 + dismissed_comment: *394 + rule: *395 + tool: *396 + most_recent_instance: *397 required: - number - created_at @@ -58504,14 +58768,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &397 + '403': &398 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58531,9 +58795,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *311 - *312 - - &398 + - *313 + - &399 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -58547,7 +58811,7 @@ paths: description: Response content: application/json: - schema: &399 + schema: &400 type: object properties: number: *81 @@ -58555,7 +58819,7 @@ paths: updated_at: *88 url: *85 html_url: *86 - instances_url: *391 + instances_url: *392 state: *79 fixed_at: *90 dismissed_by: @@ -58563,8 +58827,8 @@ paths: - type: 'null' - *4 dismissed_at: *89 - dismissed_reason: *392 - dismissed_comment: *393 + dismissed_reason: *393 + dismissed_comment: *394 rule: type: object properties: @@ -58626,8 +58890,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *395 - most_recent_instance: *396 + tool: *396 + most_recent_instance: *397 required: - number - created_at @@ -58716,9 +58980,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *397 + '403': *398 '404': *6 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58736,9 +59000,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *311 - *312 - - *398 + - *313 + - *399 requestBody: required: true content: @@ -58753,8 +59017,8 @@ paths: enum: - open - dismissed - dismissed_reason: *392 - dismissed_comment: *393 + dismissed_reason: *393 + dismissed_comment: *394 required: - state examples: @@ -58769,7 +59033,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *400 examples: default: value: @@ -58844,14 +59108,14 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &406 + '403': &407 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *92 + '503': *96 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -58871,13 +59135,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *311 - *312 - - *398 + - *313 + - *399 - *18 - *17 - - *400 - *401 + - *402 responses: '200': description: Response @@ -58885,7 +59149,7 @@ paths: application/json: schema: type: array - items: *396 + items: *397 examples: default: value: @@ -58924,9 +59188,9 @@ paths: end_column: 50 classifications: - source - '403': *397 + '403': *398 '404': *6 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58958,25 +59222,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *311 - *312 - - *175 - - *176 + - *313 + - *179 + - *180 - *18 - *17 - - *401 + - *402 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *389 + schema: *390 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &404 + schema: &405 type: string description: An identifier for the upload. examples: @@ -58998,23 +59262,23 @@ paths: application/json: schema: type: array - items: &405 + items: &406 type: object properties: - ref: *389 - commit_sha: &414 + ref: *390 + commit_sha: &415 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *402 + analysis_key: *403 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *403 + category: *404 error: type: string examples: @@ -59039,8 +59303,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *404 - tool: *395 + sarif_id: *405 + tool: *396 deletable: type: boolean warning: @@ -59102,9 +59366,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *397 + '403': *398 '404': *6 - '503': *92 + '503': *96 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -59138,8 +59402,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *311 - *312 + - *313 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -59152,7 +59416,7 @@ paths: description: Response content: application/json: - schema: *405 + schema: *406 examples: response: summary: application/json response @@ -59206,9 +59470,9 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *397 + '403': *398 '404': *6 - '503': *92 + '503': *96 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -59288,8 +59552,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *311 - *312 + - *313 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -59345,9 +59609,9 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *406 + '403': *407 '404': *6 - '503': *92 + '503': *96 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -59367,8 +59631,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -59376,7 +59640,7 @@ paths: application/json: schema: type: array - items: &407 + items: &408 title: CodeQL Database description: A CodeQL database. type: object @@ -59488,9 +59752,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *397 + '403': *398 '404': *6 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59517,8 +59781,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *311 - *312 + - *313 - name: language in: path description: The language of the CodeQL database. @@ -59530,7 +59794,7 @@ paths: description: Response content: application/json: - schema: *407 + schema: *408 examples: default: value: @@ -59562,11 +59826,11 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &438 + '302': &439 description: Found - '403': *397 + '403': *398 '404': *6 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59586,8 +59850,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *311 - *312 + - *313 - name: language in: path description: The language of the CodeQL database. @@ -59597,9 +59861,9 @@ paths: responses: '204': description: Response - '403': *406 + '403': *407 '404': *6 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59625,8 +59889,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -59635,7 +59899,7 @@ paths: type: object additionalProperties: false properties: - language: &408 + language: &409 type: string description: The language targeted by the CodeQL query enum: @@ -59713,7 +59977,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &412 + schema: &413 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -59723,7 +59987,7 @@ paths: description: The ID of the variant analysis. controller_repo: *91 actor: *4 - query_language: *408 + query_language: *409 query_pack_url: type: string description: The download url for the query pack. @@ -59771,7 +60035,7 @@ paths: items: type: object properties: - repository: &409 + repository: &410 title: Repository Identifier description: Repository Identifier type: object @@ -59813,7 +60077,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &413 + analysis_status: &414 type: string description: The new status of the CodeQL variant analysis repository task. @@ -59845,7 +60109,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &410 + access_mismatch_repos: &411 type: object properties: repository_count: @@ -59860,7 +60124,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *409 + items: *410 required: - repository_count - repositories @@ -59883,8 +60147,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *410 - over_limit_repos: *410 + no_codeql_db_repos: *411 + over_limit_repos: *411 required: - access_mismatch_repos - not_found_repos @@ -59900,7 +60164,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &411 + value: &412 summary: Default response value: id: 1 @@ -60052,17 +60316,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *411 + value: *412 repository_lists: summary: Response for a successful variant analysis submission - value: *411 + value: *412 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60083,8 +60347,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *311 - *312 + - *313 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -60096,11 +60360,11 @@ paths: description: Response content: application/json: - schema: *412 + schema: *413 examples: - default: *411 + default: *412 '404': *6 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60121,7 +60385,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *311 + - *312 - name: repo in: path description: The name of the controller repository. @@ -60156,7 +60420,7 @@ paths: type: object properties: repository: *91 - analysis_status: *413 + analysis_status: *414 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -60260,7 +60524,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60281,8 +60545,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -60347,9 +60611,9 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *397 + '403': *398 '404': *6 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60368,8 +60632,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -60384,6 +60648,19 @@ paths: enum: - configured - not-configured + runner_type: + description: Runner type to be used. + type: string + enum: + - standard + - labeled + runner_label: + description: Runner label to be used if the runner type is labeled. + type: + - string + - 'null' + examples: + - code-scanning query_suite: description: CodeQL query suite to be used. type: string @@ -60414,7 +60691,7 @@ paths: description: Response content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -60439,7 +60716,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *406 + '403': *407 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -60447,7 +60724,7 @@ paths: content: application/json: schema: *3 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60504,8 +60781,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -60513,7 +60790,7 @@ paths: schema: type: object properties: - commit_sha: *414 + commit_sha: *415 ref: type: string description: |- @@ -60573,7 +60850,7 @@ paths: schema: type: object properties: - id: *404 + id: *405 url: type: string description: The REST API URL for checking the status of the upload. @@ -60587,11 +60864,11 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *406 + '403': *407 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *92 + '503': *96 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -60610,8 +60887,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *311 - *312 + - *313 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -60659,10 +60936,10 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *397 + '403': *398 '404': description: Not Found if the sarif id does not match any upload - '503': *92 + '503': *96 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -60684,8 +60961,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -60709,7 +60986,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *180 + configuration: *184 examples: default: value: @@ -60738,7 +61015,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *183 + '204': *185 '304': *35 '403': *27 '404': *6 @@ -60763,8 +61040,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *311 - *312 + - *313 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -60892,8 +61169,8 @@ paths: parameters: - *17 - *18 - - *311 - *312 + - *313 responses: '200': description: Response @@ -60909,7 +61186,7 @@ paths: type: integer codespaces: type: array - items: *233 + items: *238 examples: default: value: @@ -61207,8 +61484,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -61272,22 +61549,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *233 + schema: *238 examples: - default: *415 + default: *416 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *233 + schema: *238 examples: - default: *415 + default: *416 '400': *14 '401': *23 '403': *27 '404': *6 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -61311,8 +61588,8 @@ paths: parameters: - *17 - *18 - - *311 - *312 + - *313 responses: '200': description: Response @@ -61376,8 +61653,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *311 - *312 + - *313 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -61414,9 +61691,9 @@ paths: type: integer machines: type: array - items: *416 + items: *417 examples: - default: &641 + default: &642 value: total_count: 2 machines: @@ -61456,8 +61733,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *311 - *312 + - *313 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -61544,8 +61821,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *311 - *312 + - *313 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -61593,7 +61870,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61614,8 +61891,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -61633,7 +61910,7 @@ paths: type: integer secrets: type: array - items: &420 + items: &421 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -61654,7 +61931,7 @@ paths: - created_at - updated_at examples: - default: *417 + default: *418 headers: Link: *37 x-github: @@ -61677,16 +61954,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *311 - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *418 + schema: *419 examples: - default: *419 + default: *420 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -61706,17 +61983,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *311 - *312 - - *162 + - *313 + - *166 responses: '200': description: Response content: application/json: - schema: *420 + schema: *421 examples: - default: *421 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61736,9 +62013,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *311 - *312 - - *162 + - *313 + - *166 requestBody: required: true content: @@ -61766,7 +62043,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -61790,9 +62067,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *311 - *312 - - *162 + - *313 + - *166 responses: '204': description: Response @@ -61820,8 +62097,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *311 - *312 + - *313 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -61859,7 +62136,7 @@ paths: application/json: schema: type: array - items: &422 + items: &423 title: Collaborator description: Collaborator type: object @@ -62052,9 +62329,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *311 - *312 - - *174 + - *313 + - *178 responses: '204': description: Response if user is a collaborator @@ -62096,9 +62373,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *311 - *312 - - *174 + - *313 + - *178 requestBody: required: false content: @@ -62124,7 +62401,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &486 + schema: &487 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -62136,7 +62413,7 @@ paths: format: int64 examples: - 42 - repository: *152 + repository: *156 invitee: anyOf: - type: 'null' @@ -62345,9 +62622,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *311 - *312 - - *174 + - *313 + - *178 responses: '204': description: No Content when collaborator was removed from the repository. @@ -62376,9 +62653,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *311 - *312 - - *174 + - *313 + - *178 responses: '200': description: if user has admin permissions @@ -62398,7 +62675,7 @@ paths: user: anyOf: - type: 'null' - - *422 + - *423 required: - permission - role_name @@ -62452,8 +62729,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -62463,7 +62740,7 @@ paths: application/json: schema: type: array - items: &423 + items: &424 title: Commit Comment description: Commit Comment type: object @@ -62504,8 +62781,8 @@ paths: updated_at: type: string format: date-time - author_association: *99 - reactions: *100 + author_association: *103 + reactions: *104 required: - url - html_url @@ -62521,7 +62798,7 @@ paths: - created_at - updated_at examples: - default: &426 + default: &427 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -62580,17 +62857,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *311 - *312 - - *111 + - *313 + - *115 responses: '200': description: Response content: application/json: - schema: *423 + schema: *424 examples: - default: &427 + default: &428 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -62647,9 +62924,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *311 - *312 - - *111 + - *313 + - *115 requestBody: required: true content: @@ -62671,7 +62948,7 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: default: value: @@ -62722,9 +62999,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *311 - *312 - - *111 + - *313 + - *115 responses: '204': description: Response @@ -62745,9 +63022,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *311 - *312 - - *111 + - *313 + - *115 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -62773,9 +63050,9 @@ paths: application/json: schema: type: array - items: *300 + items: *301 examples: - default: *302 + default: *303 headers: Link: *37 '404': *6 @@ -62796,9 +63073,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *311 - *312 - - *111 + - *313 + - *115 requestBody: required: true content: @@ -62830,16 +63107,16 @@ paths: description: Reaction exists content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '201': description: Reaction created content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '422': *15 x-github: githubCloudOnly: false @@ -62861,10 +63138,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *311 - *312 - - *111 - - *303 + - *313 + - *115 + - *304 responses: '204': description: Response @@ -62913,8 +63190,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *311 - *312 + - *313 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -62970,9 +63247,9 @@ paths: application/json: schema: type: array - items: *424 + items: *425 examples: - default: &534 + default: &535 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -63046,7 +63323,7 @@ paths: '500': *80 '400': *14 '404': *6 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63066,9 +63343,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *311 - *312 - - &425 + - *313 + - &426 name: commit_sha description: The SHA of the commit. in: path @@ -63115,7 +63392,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63140,9 +63417,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *311 - *312 - - *425 + - *313 + - *426 - *17 - *18 responses: @@ -63152,9 +63429,9 @@ paths: application/json: schema: type: array - items: *423 + items: *424 examples: - default: *426 + default: *427 headers: Link: *37 x-github: @@ -63182,9 +63459,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *311 - *312 - - *425 + - *313 + - *426 requestBody: required: true content: @@ -63219,9 +63496,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: - default: *427 + default: *428 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -63249,9 +63526,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *311 - *312 - - *425 + - *313 + - *426 - *17 - *18 responses: @@ -63261,7 +63538,7 @@ paths: application/json: schema: type: array - items: &525 + items: &526 title: Pull Request Simple description: Pull Request Simple type: object @@ -63381,7 +63658,7 @@ paths: milestone: anyOf: - type: 'null' - - *428 + - *429 active_lock_reason: type: - string @@ -63436,7 +63713,7 @@ paths: type: - array - 'null' - items: *229 + items: *234 head: type: object properties: @@ -63480,7 +63757,7 @@ paths: _links: type: object properties: - comments: &429 + comments: &430 title: Link description: Hypermedia Link type: object @@ -63489,13 +63766,13 @@ paths: type: string required: - href - commits: *429 - statuses: *429 - html: *429 - issue: *429 - review_comments: *429 - review_comment: *429 - self: *429 + commits: *430 + statuses: *430 + html: *430 + issue: *430 + review_comments: *430 + review_comment: *430 + self: *430 required: - comments - commits @@ -63505,8 +63782,8 @@ paths: - review_comments - review_comment - self - author_association: *99 - auto_merge: &527 + author_association: *103 + auto_merge: &528 title: Auto merge description: The status of auto merging a pull request. type: @@ -63571,7 +63848,7 @@ paths: - author_association - auto_merge examples: - default: &526 + default: &527 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -64051,7 +64328,7 @@ paths: draft: false headers: Link: *37 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64108,11 +64385,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *311 - *312 + - *313 - *18 - *17 - - &430 + - &431 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -64127,9 +64404,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *425 examples: - default: &513 + default: &514 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -64216,8 +64493,8 @@ paths: '422': *15 '404': *6 '500': *80 - '503': *92 - '409': *139 + '503': *96 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64242,11 +64519,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *311 - *312 - - *430 + - *313 - *431 - *432 + - *433 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -64280,9 +64557,9 @@ paths: type: integer check_runs: type: array - items: *382 + items: *383 examples: - default: *433 + default: *434 headers: Link: *37 x-github: @@ -64307,9 +64584,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *311 - *312 - - *430 + - *313 + - *431 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -64317,7 +64594,7 @@ paths: schema: type: integer example: 1 - - *431 + - *432 - *17 - *18 responses: @@ -64335,7 +64612,7 @@ paths: type: integer check_suites: type: array - items: *386 + items: *387 examples: default: value: @@ -64535,9 +64812,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *311 - *312 - - *430 + - *313 + - *431 - *17 - *18 responses: @@ -64608,7 +64885,7 @@ paths: type: string total_count: type: integer - repository: *152 + repository: *156 commit_url: type: string format: uri @@ -64739,9 +65016,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *311 - *312 - - *430 + - *313 + - *431 - *17 - *18 responses: @@ -64751,7 +65028,7 @@ paths: application/json: schema: type: array - items: &589 + items: &590 title: Status description: The status of a commit. type: object @@ -64832,7 +65109,7 @@ paths: site_admin: false headers: Link: *37 - '301': *325 + '301': *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64860,8 +65137,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -64894,11 +65171,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *434 + - *435 code_of_conduct_file: anyOf: - type: 'null' - - &435 + - &436 title: Community Health File type: object properties: @@ -64914,23 +65191,23 @@ paths: license: anyOf: - type: 'null' - - *113 + - *117 contributing: anyOf: - type: 'null' - - *435 + - *436 readme: anyOf: - type: 'null' - - *435 + - *436 issue_template: anyOf: - type: 'null' - - *435 + - *436 pull_request_template: anyOf: - type: 'null' - - *435 + - *436 required: - code_of_conduct - code_of_conduct_file @@ -65059,8 +65336,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *311 - *312 + - *313 - *18 - *17 - name: basehead @@ -65108,8 +65385,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *424 - merge_base_commit: *424 + base_commit: *425 + merge_base_commit: *425 status: type: string enum: @@ -65133,10 +65410,10 @@ paths: - 6 commits: type: array - items: *424 + items: *425 files: type: array - items: *436 + items: *437 required: - url - html_url @@ -65380,7 +65657,7 @@ paths: module Test" '404': *6 '500': *80 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65422,8 +65699,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *311 - *312 + - *313 - name: path description: path parameter in: path @@ -65574,7 +65851,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &437 + response-if-content-is-a-file: &438 summary: Response if content is a file value: type: file @@ -65711,7 +65988,7 @@ paths: - size - type - url - - &539 + - &540 title: Content File description: Content File type: object @@ -65929,7 +66206,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *437 + response-if-content-is-a-file: *438 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -65998,7 +66275,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *438 + '302': *439 '304': *35 x-github: githubCloudOnly: false @@ -66021,8 +66298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *311 - *312 + - *313 - name: path description: path parameter in: path @@ -66117,7 +66394,7 @@ paths: description: Response content: application/json: - schema: &439 + schema: &440 title: File Commit description: File Commit type: object @@ -66273,7 +66550,7 @@ paths: description: Response content: application/json: - schema: *439 + schema: *440 examples: example-for-creating-a-file: value: @@ -66327,7 +66604,7 @@ paths: schema: oneOf: - *3 - - &468 + - &469 description: Repository rule violation was detected type: object properties: @@ -66348,7 +66625,7 @@ paths: items: type: object properties: - placeholder_id: &581 + placeholder_id: &582 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -66380,8 +66657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *311 - *312 + - *313 - name: path description: path parameter in: path @@ -66442,7 +66719,7 @@ paths: description: Response content: application/json: - schema: *439 + schema: *440 examples: default: value: @@ -66476,8 +66753,8 @@ paths: verified_at: '422': *15 '404': *6 - '409': *139 - '503': *92 + '409': *143 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66497,8 +66774,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *311 - *312 + - *313 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -66622,20 +66899,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *311 - *312 - - *193 - - *194 - - *195 - - *196 + - *313 + - *198 + - *199 + - *200 + - *201 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *197 - - *198 + - *202 + - *203 - *76 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -66655,8 +66932,8 @@ paths: default: 30 - *74 - *75 - - *199 - - *200 + - *204 + - *205 responses: '200': description: Response @@ -66664,7 +66941,7 @@ paths: application/json: schema: type: array - items: &442 + items: &443 type: object description: A Dependabot alert. properties: @@ -66699,7 +66976,7 @@ paths: - development - runtime - - security_advisory: *440 + security_advisory: *441 security_vulnerability: *84 url: *85 html_url: *86 @@ -66730,7 +67007,7 @@ paths: dismissal. maxLength: 280 fixed_at: *90 - auto_dismissed_at: *441 + auto_dismissed_at: *442 required: - number - state @@ -66957,9 +67234,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *311 - *312 - - &443 + - *313 + - &444 name: alert_number in: path description: |- @@ -66974,7 +67251,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *443 examples: default: value: @@ -67084,9 +67361,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *311 - *312 - - *443 + - *313 + - *444 requestBody: required: true content: @@ -67131,7 +67408,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *443 examples: default: value: @@ -67237,7 +67514,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *139 + '409': *143 '422': *7 x-github: githubCloudOnly: false @@ -67260,8 +67537,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -67279,7 +67556,7 @@ paths: type: integer secrets: type: array - items: &446 + items: &447 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -67333,16 +67610,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *311 - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *444 + schema: *445 examples: - default: *445 + default: *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67362,15 +67639,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *311 - *312 - - *162 + - *313 + - *166 responses: '200': description: Response content: application/json: - schema: *446 + schema: *447 examples: default: value: @@ -67396,9 +67673,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *311 - *312 - - *162 + - *313 + - *166 requestBody: required: true content: @@ -67426,7 +67703,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -67450,9 +67727,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *311 - *312 - - *162 + - *313 + - *166 responses: '204': description: Response @@ -67474,8 +67751,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *311 - *312 + - *313 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -67649,8 +67926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -67910,8 +68187,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -67994,7 +68271,7 @@ paths: - version - url additionalProperties: false - metadata: &447 + metadata: &448 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -68033,7 +68310,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *447 + metadata: *448 resolved: type: object description: A collection of resolved package dependencies. @@ -68047,7 +68324,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *447 + metadata: *448 relationship: type: string description: A notation of whether a dependency is requested @@ -68180,8 +68457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *311 - *312 + - *313 - name: sha description: The SHA recorded at creation time. in: query @@ -68222,9 +68499,9 @@ paths: application/json: schema: type: array - items: *448 + items: *449 examples: - default: *449 + default: *450 headers: Link: *37 x-github: @@ -68290,8 +68567,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -68373,7 +68650,7 @@ paths: description: Response content: application/json: - schema: *448 + schema: *449 examples: simple-example: summary: Simple example @@ -68446,9 +68723,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *311 - *312 - - &450 + - *313 + - &451 name: deployment_id description: deployment_id parameter in: path @@ -68460,7 +68737,7 @@ paths: description: Response content: application/json: - schema: *448 + schema: *449 examples: default: value: @@ -68525,9 +68802,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *311 - *312 - - *450 + - *313 + - *451 responses: '204': description: Response @@ -68549,9 +68826,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *311 - *312 - - *450 + - *313 + - *451 - *17 - *18 responses: @@ -68561,7 +68838,7 @@ paths: application/json: schema: type: array - items: &451 + items: &452 title: Deployment Status description: The status of a deployment. type: object @@ -68725,9 +69002,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *311 - *312 - - *450 + - *313 + - *451 requestBody: required: true content: @@ -68802,9 +69079,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: - default: &452 + default: &453 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -68860,9 +69137,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *311 - *312 - - *450 + - *313 + - *451 - name: status_id in: path required: true @@ -68873,9 +69150,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: - default: *452 + default: *453 '404': *6 x-github: githubCloudOnly: false @@ -68900,8 +69177,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -68958,8 +69235,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -68977,7 +69254,7 @@ paths: - 5 environments: type: array - items: &454 + items: &455 title: Environment description: Details of a deployment environment type: object @@ -69039,7 +69316,7 @@ paths: type: string examples: - wait_timer - wait_timer: &456 + wait_timer: &457 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -69081,11 +69358,11 @@ paths: items: type: object properties: - type: *453 + type: *454 reviewer: anyOf: - *4 - - *229 + - *234 required: - id - node_id @@ -69108,7 +69385,7 @@ paths: - id - node_id - type - deployment_branch_policy: &457 + deployment_branch_policy: &458 type: - object - 'null' @@ -69225,9 +69502,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *311 - *312 - - &455 + - *313 + - &456 name: environment_name in: path required: true @@ -69240,9 +69517,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *455 examples: - default: &458 + default: &459 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -69326,9 +69603,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *311 - *312 - - *455 + - *313 + - *456 requestBody: required: false content: @@ -69338,7 +69615,7 @@ paths: - object - 'null' properties: - wait_timer: *456 + wait_timer: *457 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -69357,14 +69634,14 @@ paths: items: type: object properties: - type: *453 + type: *454 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *457 + deployment_branch_policy: *458 additionalProperties: false examples: default: @@ -69384,9 +69661,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *455 examples: - default: *458 + default: *459 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -69410,9 +69687,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *311 - *312 - - *455 + - *313 + - *456 responses: '204': description: Default response @@ -69437,9 +69714,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *311 - *312 - - *455 + - *313 + - *456 - *17 - *18 responses: @@ -69458,7 +69735,7 @@ paths: - 2 branch_policies: type: array - items: &459 + items: &460 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -69519,9 +69796,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *311 - *312 - - *455 + - *313 + - *456 requestBody: required: true content: @@ -69569,9 +69846,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *460 examples: - example-wildcard: &460 + example-wildcard: &461 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -69613,10 +69890,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *311 - *312 - - *455 - - &461 + - *313 + - *456 + - &462 name: branch_policy_id in: path required: true @@ -69628,9 +69905,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *460 examples: - default: *460 + default: *461 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69649,10 +69926,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *311 - *312 - - *455 - - *461 + - *313 + - *456 + - *462 requestBody: required: true content: @@ -69681,9 +69958,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *460 examples: - default: *460 + default: *461 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69702,10 +69979,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *311 - *312 - - *455 - - *461 + - *313 + - *456 + - *462 responses: '204': description: Response @@ -69730,9 +70007,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *455 + - *456 + - *313 - *312 - - *311 responses: '200': description: List of deployment protection rules @@ -69749,7 +70026,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &462 + items: &463 title: Deployment protection rule description: Deployment protection rule type: object @@ -69771,7 +70048,7 @@ paths: for the environment. examples: - true - app: &463 + app: &464 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -69874,9 +70151,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *455 + - *456 + - *313 - *312 - - *311 requestBody: content: application/json: @@ -69897,9 +70174,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *462 + schema: *463 examples: - default: &464 + default: &465 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -69934,9 +70211,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *455 + - *456 + - *313 - *312 - - *311 - *18 - *17 responses: @@ -69956,7 +70233,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *463 + items: *464 examples: default: value: @@ -69991,10 +70268,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *311 - *312 - - *455 - - &465 + - *313 + - *456 + - &466 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -70006,9 +70283,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *463 examples: - default: *464 + default: *465 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70029,10 +70306,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *455 + - *456 + - *313 - *312 - - *311 - - *465 + - *466 responses: '204': description: Response @@ -70058,9 +70335,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *311 - *312 - - *455 + - *313 + - *456 - *17 - *18 responses: @@ -70078,9 +70355,9 @@ paths: type: integer secrets: type: array - items: *348 + items: *349 examples: - default: *349 + default: *350 headers: Link: *37 x-github: @@ -70105,17 +70382,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *311 - *312 - - *455 + - *313 + - *456 responses: '200': description: Response content: application/json: - schema: *350 + schema: *351 examples: - default: *351 + default: *352 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70137,18 +70414,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *311 - *312 - - *455 - - *162 + - *313 + - *456 + - *166 responses: '200': description: Response content: application/json: - schema: *348 + schema: *349 examples: - default: *466 + default: *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70170,10 +70447,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *311 - *312 - - *455 - - *162 + - *313 + - *456 + - *166 requestBody: required: true content: @@ -70204,7 +70481,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -70230,10 +70507,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *311 - *312 - - *455 - - *162 + - *313 + - *456 + - *166 responses: '204': description: Default response @@ -70258,10 +70535,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *311 - *312 - - *455 - - *335 + - *313 + - *456 + - *336 - *18 responses: '200': @@ -70278,9 +70555,9 @@ paths: type: integer variables: type: array - items: *352 + items: *353 examples: - default: *353 + default: *354 headers: Link: *37 x-github: @@ -70303,9 +70580,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *311 - *312 - - *455 + - *313 + - *456 requestBody: required: true content: @@ -70332,7 +70609,7 @@ paths: description: Response content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -70357,18 +70634,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *311 - *312 - - *455 - - *165 + - *313 + - *456 + - *169 responses: '200': description: Response content: application/json: - schema: *352 + schema: *353 examples: - default: *467 + default: *468 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70389,10 +70666,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *311 - *312 - - *165 - - *455 + - *313 + - *169 + - *456 requestBody: required: true content: @@ -70434,10 +70711,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *311 - *312 - - *165 - - *455 + - *313 + - *169 + - *456 responses: '204': description: Response @@ -70459,8 +70736,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -70470,7 +70747,7 @@ paths: application/json: schema: type: array - items: *123 + items: *127 examples: 200-response: value: @@ -70537,8 +70814,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *311 - *312 + - *313 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -70560,7 +70837,7 @@ paths: application/json: schema: type: array - items: *152 + items: *156 examples: default: value: @@ -70697,8 +70974,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *311 - *312 + - *313 requestBody: required: false content: @@ -70731,9 +71008,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *326 + default: *327 '400': *14 '422': *15 '403': *27 @@ -70754,8 +71031,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -70806,7 +71083,7 @@ paths: schema: type: string '404': *6 - '409': *139 + '409': *143 '403': *27 '422': description: Validation failed @@ -70814,8 +71091,8 @@ paths: application/json: schema: oneOf: - - *137 - - *468 + - *141 + - *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70840,8 +71117,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *311 - *312 + - *313 - name: file_sha in: path required: true @@ -70893,7 +71170,7 @@ paths: '404': *6 '422': *15 '403': *27 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70941,8 +71218,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -71051,7 +71328,7 @@ paths: description: Response content: application/json: - schema: &469 + schema: &470 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -71227,7 +71504,7 @@ paths: type: string '422': *15 '404': *6 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71277,15 +71554,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *311 - *312 - - *425 + - *313 + - *426 responses: '200': description: Response content: application/json: - schema: *469 + schema: *470 examples: default: value: @@ -71316,7 +71593,7 @@ paths: payload: verified_at: '404': *6 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71341,9 +71618,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *311 - *312 - - &470 + - *313 + - &471 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -71360,7 +71637,7 @@ paths: application/json: schema: type: array - items: &471 + items: &472 title: Git Reference description: Git references within a repository type: object @@ -71415,7 +71692,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: Link: *37 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71436,17 +71713,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *311 - *312 - - *470 + - *313 + - *471 responses: '200': description: Response content: application/json: - schema: *471 + schema: *472 examples: - default: &472 + default: &473 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -71456,7 +71733,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71475,8 +71752,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -71505,16 +71782,16 @@ paths: description: Response content: application/json: - schema: *471 + schema: *472 examples: - default: *472 + default: *473 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA schema: type: string '422': *15 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71533,9 +71810,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *311 - *312 - - *470 + - *313 + - *471 requestBody: required: true content: @@ -71564,11 +71841,11 @@ paths: description: Response content: application/json: - schema: *471 + schema: *472 examples: - default: *472 + default: *473 '422': *15 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71584,14 +71861,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *311 - *312 - - *470 + - *313 + - *471 responses: '204': description: Response '422': *15 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71639,8 +71916,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -71707,7 +71984,7 @@ paths: description: Response content: application/json: - schema: &474 + schema: &475 title: Git Tag description: Metadata for a Git tag type: object @@ -71763,7 +72040,7 @@ paths: - sha - type - url - verification: *473 + verification: *474 required: - sha - url @@ -71773,7 +72050,7 @@ paths: - tag - message examples: - default: &475 + default: &476 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -71800,7 +72077,7 @@ paths: schema: type: string '422': *15 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71846,8 +72123,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *311 - *312 + - *313 - name: tag_sha in: path required: true @@ -71858,11 +72135,11 @@ paths: description: Response content: application/json: - schema: *474 + schema: *475 examples: - default: *475 + default: *476 '404': *6 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71884,8 +72161,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -71959,7 +72236,7 @@ paths: description: Response content: application/json: - schema: &476 + schema: &477 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -72054,7 +72331,7 @@ paths: '422': *15 '404': *6 '403': *27 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72077,8 +72354,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *311 - *312 + - *313 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -72101,7 +72378,7 @@ paths: description: Response content: application/json: - schema: *476 + schema: *477 examples: default-response: summary: Default response @@ -72142,7 +72419,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72160,8 +72437,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -72171,7 +72448,7 @@ paths: application/json: schema: type: array - items: &477 + items: &478 title: Webhook description: Webhooks for repositories. type: object @@ -72234,7 +72511,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &715 + last_response: &716 title: Hook Response type: object properties: @@ -72311,8 +72588,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *311 - *312 + - *313 requestBody: required: false content: @@ -72365,9 +72642,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *478 examples: - default: &478 + default: &479 value: type: Repository id: 12345678 @@ -72415,17 +72692,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *311 - *312 - - *206 + - *313 + - *211 responses: '200': description: Response content: application/json: - schema: *477 + schema: *478 examples: - default: *478 + default: *479 '404': *6 x-github: githubCloudOnly: false @@ -72445,9 +72722,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *311 - *312 - - *206 + - *313 + - *211 requestBody: required: true content: @@ -72492,9 +72769,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *478 examples: - default: *478 + default: *479 '422': *15 '404': *6 x-github: @@ -72515,9 +72792,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *311 - *312 - - *206 + - *313 + - *211 responses: '204': description: Response @@ -72541,9 +72818,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *311 - *312 - - *206 + - *313 + - *211 responses: '200': description: Response @@ -72570,9 +72847,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *311 - *312 - - *206 + - *313 + - *211 requestBody: required: false content: @@ -72616,11 +72893,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *311 - *312 - - *206 + - *313 + - *211 - *17 - - *207 + - *212 responses: '200': description: Response @@ -72628,9 +72905,9 @@ paths: application/json: schema: type: array - items: *208 + items: *213 examples: - default: *209 + default: *214 '400': *14 '422': *15 x-github: @@ -72649,18 +72926,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *311 - *312 - - *206 + - *313 + - *211 - *16 responses: '200': description: Response content: application/json: - schema: *210 + schema: *215 examples: - default: *211 + default: *216 '400': *14 '422': *15 x-github: @@ -72679,12 +72956,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *311 - *312 - - *206 + - *313 + - *211 - *16 responses: - '202': *140 + '202': *144 '400': *14 '422': *15 x-github: @@ -72704,9 +72981,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *311 - *312 - - *206 + - *313 + - *211 responses: '204': description: Response @@ -72731,9 +73008,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *311 - *312 - - *206 + - *313 + - *211 responses: '204': description: Response @@ -72791,14 +73068,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *311 - *312 + - *313 responses: '200': description: Response content: application/json: - schema: &479 + schema: &480 title: Import description: A repository import from an external source. type: object @@ -72905,7 +73182,7 @@ paths: - html_url - authors_url examples: - default: &482 + default: &483 value: vcs: subversion use_lfs: true @@ -72921,7 +73198,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &480 + '503': &481 description: Unavailable due to service under maintenance. content: application/json: @@ -72950,8 +73227,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -72999,7 +73276,7 @@ paths: description: Response content: application/json: - schema: *479 + schema: *480 examples: default: value: @@ -73024,7 +73301,7 @@ paths: type: string '422': *15 '404': *6 - '503': *480 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73052,8 +73329,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *311 - *312 + - *313 requestBody: required: false content: @@ -73105,7 +73382,7 @@ paths: description: Response content: application/json: - schema: *479 + schema: *480 examples: example-1: summary: Example 1 @@ -73153,7 +73430,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *480 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73176,12 +73453,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *311 - *312 + - *313 responses: '204': description: Response - '503': *480 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73207,9 +73484,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *311 - *312 - - &664 + - *313 + - &665 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -73223,7 +73500,7 @@ paths: application/json: schema: type: array - items: &481 + items: &482 title: Porter Author description: Porter Author type: object @@ -73277,7 +73554,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *480 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73302,8 +73579,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *311 - *312 + - *313 - name: author_id in: path required: true @@ -73333,7 +73610,7 @@ paths: description: Response content: application/json: - schema: *481 + schema: *482 examples: default: value: @@ -73346,7 +73623,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *480 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73370,8 +73647,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -73412,7 +73689,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *480 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73440,8 +73717,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -73468,11 +73745,11 @@ paths: description: Response content: application/json: - schema: *479 + schema: *480 examples: - default: *482 + default: *483 '422': *15 - '503': *480 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73495,8 +73772,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -73504,8 +73781,8 @@ paths: application/json: schema: *20 examples: - default: *483 - '301': *325 + default: *484 + '301': *326 '404': *6 x-github: githubCloudOnly: false @@ -73525,8 +73802,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -73534,12 +73811,12 @@ paths: application/json: schema: anyOf: - - *224 + - *229 - type: object properties: {} additionalProperties: false examples: - default: &485 + default: &486 value: limit: collaborators_only origin: repository @@ -73564,13 +73841,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *311 - *312 + - *313 requestBody: required: true content: application/json: - schema: *484 + schema: *485 examples: default: summary: Example request body @@ -73582,9 +73859,9 @@ paths: description: Response content: application/json: - schema: *224 + schema: *229 examples: - default: *485 + default: *486 '409': description: Response x-github: @@ -73606,8 +73883,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *311 - *312 + - *313 responses: '204': description: Response @@ -73630,8 +73907,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -73641,9 +73918,9 @@ paths: application/json: schema: type: array - items: *486 + items: *487 examples: - default: &657 + default: &658 value: - id: 1 repository: @@ -73774,9 +74051,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *311 - *312 - - *228 + - *313 + - *233 requestBody: required: false content: @@ -73805,7 +74082,7 @@ paths: description: Response content: application/json: - schema: *486 + schema: *487 examples: default: value: @@ -73936,9 +74213,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *311 - *312 - - *228 + - *313 + - *233 responses: '204': description: Response @@ -73969,8 +74246,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *311 - *312 + - *313 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -74010,7 +74287,7 @@ paths: required: false schema: type: string - - *230 + - *235 - name: sort description: What to sort results by. in: query @@ -74023,7 +74300,7 @@ paths: - comments default: created - *76 - - *102 + - *106 - *17 - *18 responses: @@ -74033,9 +74310,9 @@ paths: application/json: schema: type: array - items: *112 + items: *116 examples: - default: &495 + default: &496 value: - id: 1 node_id: MDU6SXNzdWUx @@ -74183,7 +74460,7 @@ paths: state_reason: completed headers: Link: *37 - '301': *325 + '301': *326 '422': *15 '404': *6 x-github: @@ -74212,8 +74489,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -74294,9 +74571,9 @@ paths: description: Response content: application/json: - schema: *112 + schema: *116 examples: - default: &490 + default: &491 value: id: 1 node_id: MDU6SXNzdWUx @@ -74450,9 +74727,9 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *92 + '503': *96 '404': *6 - '410': *322 + '410': *323 x-github: triggersNotification: true githubCloudOnly: false @@ -74480,9 +74757,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *311 - *312 - - *121 + - *313 + - *125 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -74492,7 +74769,7 @@ paths: enum: - asc - desc - - *102 + - *106 - *17 - *18 responses: @@ -74502,9 +74779,9 @@ paths: application/json: schema: type: array - items: *487 + items: *488 examples: - default: &492 + default: &493 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -74562,17 +74839,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *311 - *312 - - *111 + - *313 + - *115 responses: '200': description: Response content: application/json: - schema: *487 + schema: *488 examples: - default: &488 + default: &489 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -74626,9 +74903,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *311 - *312 - - *111 + - *313 + - *115 requestBody: required: true content: @@ -74650,9 +74927,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *488 examples: - default: *488 + default: *489 '422': *15 x-github: githubCloudOnly: false @@ -74670,9 +74947,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *311 - *312 - - *111 + - *313 + - *115 responses: '204': description: Response @@ -74692,9 +74969,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *311 - *312 - - *111 + - *313 + - *115 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -74720,9 +74997,9 @@ paths: application/json: schema: type: array - items: *300 + items: *301 examples: - default: *302 + default: *303 headers: Link: *37 '404': *6 @@ -74743,9 +75020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *311 - *312 - - *111 + - *313 + - *115 requestBody: required: true content: @@ -74777,16 +75054,16 @@ paths: description: Reaction exists content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '201': description: Reaction created content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '422': *15 x-github: githubCloudOnly: false @@ -74808,10 +75085,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *311 - *312 - - *111 - - *303 + - *313 + - *115 + - *304 responses: '204': description: Response @@ -74831,8 +75108,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -74842,7 +75119,7 @@ paths: application/json: schema: type: array - items: &489 + items: &490 title: Issue Event description: Issue Event type: object @@ -74889,7 +75166,7 @@ paths: issue: anyOf: - type: 'null' - - *112 + - *116 label: title: Issue Event Label description: Issue Event Label @@ -74922,7 +75199,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *229 + requested_team: *234 dismissed_review: title: Issue Event Dismissed Review type: object @@ -74989,7 +75266,7 @@ paths: required: - from - to - author_association: *99 + author_association: *103 lock_reason: type: - string @@ -75181,8 +75458,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *311 - *312 + - *313 - name: event_id in: path required: true @@ -75193,7 +75470,7 @@ paths: description: Response content: application/json: - schema: *489 + schema: *490 examples: default: value: @@ -75386,7 +75663,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *322 + '410': *323 '403': *27 x-github: githubCloudOnly: false @@ -75420,9 +75697,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *311 - *312 - - &491 + - *313 + - &492 name: issue_number description: The number that identifies the issue. in: path @@ -75434,12 +75711,12 @@ paths: description: Response content: application/json: - schema: *112 + schema: *116 examples: - default: *490 - '301': *325 + default: *491 + '301': *326 '404': *6 - '410': *322 + '410': *323 '304': *35 x-github: githubCloudOnly: false @@ -75464,9 +75741,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *311 - *312 - - *491 + - *313 + - *492 requestBody: required: false content: @@ -75574,15 +75851,15 @@ paths: description: Response content: application/json: - schema: *112 + schema: *116 examples: - default: *490 + default: *491 '422': *15 - '503': *92 + '503': *96 '403': *27 - '301': *325 + '301': *326 '404': *6 - '410': *322 + '410': *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75600,9 +75877,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *311 - *312 - - *491 + - *313 + - *492 requestBody: required: false content: @@ -75628,9 +75905,9 @@ paths: description: Response content: application/json: - schema: *112 + schema: *116 examples: - default: *490 + default: *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75646,9 +75923,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *311 - *312 - - *491 + - *313 + - *492 requestBody: content: application/json: @@ -75673,9 +75950,9 @@ paths: description: Response content: application/json: - schema: *112 + schema: *116 examples: - default: *490 + default: *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75697,9 +75974,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *311 - *312 - - *491 + - *313 + - *492 - name: assignee in: path required: true @@ -75739,10 +76016,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *311 - *312 - - *491 - - *102 + - *313 + - *492 + - *106 - *17 - *18 responses: @@ -75752,13 +76029,13 @@ paths: application/json: schema: type: array - items: *487 + items: *488 examples: - default: *492 + default: *493 headers: Link: *37 '404': *6 - '410': *322 + '410': *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75787,9 +76064,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *311 - *312 - - *491 + - *313 + - *492 requestBody: required: true content: @@ -75811,16 +76088,16 @@ paths: description: Response content: application/json: - schema: *487 + schema: *488 examples: - default: *488 + default: *489 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *322 + '410': *323 '422': *15 '404': *6 x-github: @@ -75840,9 +76117,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *311 - *312 - - *491 + - *313 + - *492 - *17 - *18 responses: @@ -75856,7 +76133,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &496 + - &497 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -75905,7 +76182,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &497 + - &498 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -76033,7 +76310,7 @@ paths: - performed_via_github_app - assignee - assigner - - &498 + - &499 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -76079,7 +76356,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &499 + - &500 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -76125,7 +76402,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &500 + - &501 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -76174,7 +76451,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &501 + - &502 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -76203,7 +76480,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *229 + requested_team: *234 requested_reviewer: *4 required: - review_requester @@ -76216,7 +76493,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &502 + - &503 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -76245,7 +76522,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *229 + requested_team: *234 requested_reviewer: *4 required: - review_requester @@ -76258,7 +76535,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &503 + - &504 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -76314,7 +76591,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &504 + - &505 title: Locked Issue Event description: Locked Issue Event type: object @@ -76359,7 +76636,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &505 + - &506 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -76420,7 +76697,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &506 + - &507 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -76481,7 +76758,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &507 + - &508 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -76542,7 +76819,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &508 + - &509 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -76635,7 +76912,7 @@ paths: color: red headers: Link: *37 - '410': *322 + '410': *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76652,9 +76929,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *311 - *312 - - *491 + - *313 + - *492 - *17 - *18 responses: @@ -76664,7 +76941,7 @@ paths: application/json: schema: type: array - items: &493 + items: &494 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -76719,7 +76996,7 @@ paths: - color - default examples: - default: &494 + default: &495 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -76737,9 +77014,9 @@ paths: default: false headers: Link: *37 - '301': *325 + '301': *326 '404': *6 - '410': *322 + '410': *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76756,9 +77033,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *311 - *312 - - *491 + - *313 + - *492 requestBody: required: false content: @@ -76817,12 +77094,12 @@ paths: application/json: schema: type: array - items: *493 + items: *494 examples: - default: *494 - '301': *325 + default: *495 + '301': *326 '404': *6 - '410': *322 + '410': *323 '422': *15 x-github: githubCloudOnly: false @@ -76839,9 +77116,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *311 - *312 - - *491 + - *313 + - *492 requestBody: required: false content: @@ -76901,12 +77178,12 @@ paths: application/json: schema: type: array - items: *493 + items: *494 examples: - default: *494 - '301': *325 + default: *495 + '301': *326 '404': *6 - '410': *322 + '410': *323 '422': *15 x-github: githubCloudOnly: false @@ -76923,15 +77200,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *311 - *312 - - *491 + - *313 + - *492 responses: '204': description: Response - '301': *325 + '301': *326 '404': *6 - '410': *322 + '410': *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76950,9 +77227,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *311 - *312 - - *491 + - *313 + - *492 - name: name in: path required: true @@ -76965,7 +77242,7 @@ paths: application/json: schema: type: array - items: *493 + items: *494 examples: default: value: @@ -76976,9 +77253,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *325 + '301': *326 '404': *6 - '410': *322 + '410': *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76998,9 +77275,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *311 - *312 - - *491 + - *313 + - *492 requestBody: required: false content: @@ -77029,7 +77306,7 @@ paths: '204': description: Response '403': *27 - '410': *322 + '410': *323 '404': *6 '422': *15 x-github: @@ -77047,9 +77324,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *311 - *312 - - *491 + - *313 + - *492 responses: '204': description: Response @@ -77071,9 +77348,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *311 - *312 - - *491 + - *313 + - *492 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -77099,13 +77376,13 @@ paths: application/json: schema: type: array - items: *300 + items: *301 examples: - default: *302 + default: *303 headers: Link: *37 '404': *6 - '410': *322 + '410': *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77123,9 +77400,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *311 - *312 - - *491 + - *313 + - *492 requestBody: required: true content: @@ -77157,16 +77434,16 @@ paths: description: Response content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '201': description: Response content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '422': *15 x-github: githubCloudOnly: false @@ -77188,10 +77465,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *311 - *312 - - *491 - - *303 + - *313 + - *492 + - *304 responses: '204': description: Response @@ -77220,9 +77497,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *311 - *312 - - *491 + - *313 + - *492 requestBody: required: true content: @@ -77244,9 +77521,9 @@ paths: description: Response content: application/json: - schema: *112 + schema: *116 examples: - default: *490 + default: *491 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -77279,9 +77556,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *311 - *312 - - *491 + - *313 + - *492 - *17 - *18 responses: @@ -77291,13 +77568,13 @@ paths: application/json: schema: type: array - items: *112 + items: *116 examples: - default: *495 + default: *496 headers: Link: *37 '404': *6 - '410': *322 + '410': *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77325,9 +77602,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *311 - *312 - - *491 + - *313 + - *492 requestBody: required: true content: @@ -77353,16 +77630,16 @@ paths: description: Response content: application/json: - schema: *112 + schema: *116 examples: - default: *490 + default: *491 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *322 + '410': *323 '422': *15 '404': *6 x-github: @@ -77382,9 +77659,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *311 - *312 - - *491 + - *313 + - *492 requestBody: required: true content: @@ -77415,13 +77692,13 @@ paths: description: Response content: application/json: - schema: *112 + schema: *116 examples: - default: *490 + default: *491 '403': *27 '404': *6 '422': *7 - '503': *92 + '503': *96 x-github: triggersNotification: true githubCloudOnly: false @@ -77439,9 +77716,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *311 - *312 - - *491 + - *313 + - *492 - *17 - *18 responses: @@ -77456,7 +77733,6 @@ paths: description: Timeline Event type: object anyOf: - - *496 - *497 - *498 - *499 @@ -77469,6 +77745,7 @@ paths: - *506 - *507 - *508 + - *509 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -77516,12 +77793,12 @@ paths: issue_url: type: string format: uri - author_association: *99 + author_association: *103 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *100 + reactions: *104 required: - event - actor @@ -77552,7 +77829,7 @@ paths: properties: type: type: string - issue: *112 + issue: *116 required: - event - created_at @@ -77768,7 +78045,7 @@ paths: type: string body_text: type: string - author_association: *99 + author_association: *103 required: - event - id @@ -77791,7 +78068,7 @@ paths: type: string comments: type: array - items: &528 + items: &529 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -77896,7 +78173,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *99 + author_association: *103 _links: type: object properties: @@ -77991,7 +78268,7 @@ paths: enum: - line - file - reactions: *100 + reactions: *104 body_html: type: string examples: @@ -78029,7 +78306,7 @@ paths: type: string comments: type: array - items: *423 + items: *424 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -78304,7 +78581,7 @@ paths: headers: Link: *37 '404': *6 - '410': *322 + '410': *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78321,8 +78598,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -78332,7 +78609,7 @@ paths: application/json: schema: type: array - items: &509 + items: &510 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -78399,8 +78676,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -78436,9 +78713,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *510 examples: - default: &510 + default: &511 value: id: 1 key: ssh-rsa AAA... @@ -78472,9 +78749,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *311 - *312 - - &511 + - *313 + - &512 name: key_id description: The unique identifier of the key. in: path @@ -78486,9 +78763,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *510 examples: - default: *510 + default: *511 '404': *6 x-github: githubCloudOnly: false @@ -78506,9 +78783,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *311 - *312 - - *511 + - *313 + - *512 responses: '204': description: Response @@ -78528,8 +78805,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -78539,9 +78816,9 @@ paths: application/json: schema: type: array - items: *493 + items: *494 examples: - default: *494 + default: *495 headers: Link: *37 '404': *6 @@ -78562,8 +78839,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -78599,9 +78876,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *494 examples: - default: &512 + default: &513 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -78633,8 +78910,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *311 - *312 + - *313 - name: name in: path required: true @@ -78645,9 +78922,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *494 examples: - default: *512 + default: *513 '404': *6 x-github: githubCloudOnly: false @@ -78664,8 +78941,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *311 - *312 + - *313 - name: name in: path required: true @@ -78704,7 +78981,7 @@ paths: description: Response content: application/json: - schema: *493 + schema: *494 examples: default: value: @@ -78730,8 +79007,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *311 - *312 + - *313 - name: name in: path required: true @@ -78757,8 +79034,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -78794,10 +79071,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *311 - *312 + - *313 responses: - '202': *140 + '202': *144 '403': description: |- We will return a 403 with one of the following messages: @@ -78823,8 +79100,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *311 - *312 + - *313 responses: '204': description: Response @@ -78850,9 +79127,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *311 - *312 - - *400 + - *313 + - *401 responses: '200': description: Response @@ -78918,7 +79195,7 @@ paths: license: anyOf: - type: 'null' - - *113 + - *117 required: - _links - git_url @@ -78999,8 +79276,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -79065,8 +79342,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -79100,9 +79377,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *424 + schema: *425 examples: - default: *513 + default: *514 '204': description: Response when already merged '404': @@ -79127,8 +79404,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *311 - *312 + - *313 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -79169,7 +79446,7 @@ paths: application/json: schema: type: array - items: *428 + items: *429 examples: default: value: @@ -79225,8 +79502,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -79266,9 +79543,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *429 examples: - default: &514 + default: &515 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -79327,9 +79604,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *311 - *312 - - &515 + - *313 + - &516 name: milestone_number description: The number that identifies the milestone. in: path @@ -79341,9 +79618,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *429 examples: - default: *514 + default: *515 '404': *6 x-github: githubCloudOnly: false @@ -79360,9 +79637,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *311 - *312 - - *515 + - *313 + - *516 requestBody: required: false content: @@ -79400,9 +79677,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *429 examples: - default: *514 + default: *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79418,9 +79695,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *311 - *312 - - *515 + - *313 + - *516 responses: '204': description: Response @@ -79441,9 +79718,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *311 - *312 - - *515 + - *313 + - *516 - *17 - *18 responses: @@ -79453,9 +79730,9 @@ paths: application/json: schema: type: array - items: *493 + items: *494 examples: - default: *494 + default: *495 headers: Link: *37 x-github: @@ -79474,12 +79751,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *311 - *312 - - *516 + - *313 - *517 - - *102 - *518 + - *106 + - *519 - *17 - *18 responses: @@ -79489,9 +79766,9 @@ paths: application/json: schema: type: array - items: *124 + items: *128 examples: - default: *519 + default: *520 headers: Link: *37 x-github: @@ -79515,8 +79792,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *311 - *312 + - *313 requestBody: required: false content: @@ -79574,14 +79851,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *311 - *312 + - *313 responses: '200': description: Response content: application/json: - schema: &520 + schema: &521 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -79725,7 +80002,7 @@ paths: - custom_404 - public examples: - default: &521 + default: &522 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -79766,8 +80043,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -79822,11 +80099,11 @@ paths: description: Response content: application/json: - schema: *520 + schema: *521 examples: - default: *521 + default: *522 '422': *15 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79847,8 +80124,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -79935,7 +80212,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79956,14 +80233,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *311 - *312 + - *313 responses: '204': description: Response '422': *15 '404': *6 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79983,8 +80260,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -79994,7 +80271,7 @@ paths: application/json: schema: type: array - items: &522 + items: &523 title: Page Build description: Page Build type: object @@ -80086,8 +80363,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *311 - *312 + - *313 responses: '201': description: Response @@ -80134,16 +80411,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *311 - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *522 + schema: *523 examples: - default: &523 + default: &524 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -80191,8 +80468,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *311 - *312 + - *313 - name: build_id in: path required: true @@ -80203,9 +80480,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *523 examples: - default: *523 + default: *524 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80225,8 +80502,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -80335,9 +80612,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *311 - *312 - - &524 + - *313 + - &525 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -80395,11 +80672,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *311 - *312 - - *524 + - *313 + - *525 responses: - '204': *183 + '204': *185 '404': *6 x-github: githubCloudOnly: false @@ -80424,8 +80701,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -80693,7 +80970,7 @@ paths: description: Empty response content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -80720,8 +80997,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *311 - *312 + - *313 responses: '200': description: Private vulnerability reporting status @@ -80758,10 +81035,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *311 - *312 + - *313 responses: - '204': *183 + '204': *185 '422': *14 x-github: githubCloudOnly: false @@ -80780,10 +81057,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *311 - *312 + - *313 responses: - '204': *183 + '204': *185 '422': *14 x-github: githubCloudOnly: false @@ -80804,8 +81081,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *311 - *312 + - *313 - name: state description: Indicates the state of the projects to return. in: query @@ -80826,7 +81103,7 @@ paths: application/json: schema: type: array - items: *257 + items: *262 examples: default: value: @@ -80866,7 +81143,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *322 + '410': *323 '422': *7 x-github: githubCloudOnly: false @@ -80886,8 +81163,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -80913,13 +81190,13 @@ paths: description: Response content: application/json: - schema: *257 + schema: *262 examples: - default: *321 + default: *322 '401': *23 '403': *27 '404': *6 - '410': *322 + '410': *323 '422': *7 x-github: githubCloudOnly: false @@ -80939,8 +81216,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -80948,7 +81225,7 @@ paths: application/json: schema: type: array - items: *262 + items: *263 examples: default: value: @@ -80979,8 +81256,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -80992,7 +81269,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *262 + items: *263 required: - properties examples: @@ -81042,8 +81319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *311 - *312 + - *313 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -81103,9 +81380,9 @@ paths: application/json: schema: type: array - items: *525 + items: *526 examples: - default: *526 + default: *527 headers: Link: *37 '304': *35 @@ -81137,8 +81414,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -81205,7 +81482,7 @@ paths: description: Response content: application/json: - schema: &530 + schema: &531 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -81334,7 +81611,7 @@ paths: milestone: anyOf: - type: 'null' - - *428 + - *429 active_lock_reason: type: - string @@ -81389,7 +81666,7 @@ paths: type: - array - 'null' - items: *242 + items: *247 head: type: object properties: @@ -81427,14 +81704,14 @@ paths: _links: type: object properties: - comments: *429 - commits: *429 - statuses: *429 - html: *429 - issue: *429 - review_comments: *429 - review_comment: *429 - self: *429 + comments: *430 + commits: *430 + statuses: *430 + html: *430 + issue: *430 + review_comments: *430 + review_comment: *430 + self: *430 required: - comments - commits @@ -81444,8 +81721,8 @@ paths: - review_comments - review_comment - self - author_association: *99 - auto_merge: *527 + author_association: *103 + auto_merge: *528 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -81547,7 +81824,7 @@ paths: - merged_by - review_comments examples: - default: &531 + default: &532 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -82074,8 +82351,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *311 - *312 + - *313 - name: sort in: query required: false @@ -82094,7 +82371,7 @@ paths: enum: - asc - desc - - *102 + - *106 - *17 - *18 responses: @@ -82104,9 +82381,9 @@ paths: application/json: schema: type: array - items: *528 + items: *529 examples: - default: &533 + default: &534 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -82183,17 +82460,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *311 - *312 - - *111 + - *313 + - *115 responses: '200': description: Response content: application/json: - schema: *528 + schema: *529 examples: - default: &529 + default: &530 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -82268,9 +82545,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *311 - *312 - - *111 + - *313 + - *115 requestBody: required: true content: @@ -82292,9 +82569,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *529 examples: - default: *529 + default: *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82310,9 +82587,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *311 - *312 - - *111 + - *313 + - *115 responses: '204': description: Response @@ -82333,9 +82610,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *311 - *312 - - *111 + - *313 + - *115 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -82361,9 +82638,9 @@ paths: application/json: schema: type: array - items: *300 + items: *301 examples: - default: *302 + default: *303 headers: Link: *37 '404': *6 @@ -82384,9 +82661,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *311 - *312 - - *111 + - *313 + - *115 requestBody: required: true content: @@ -82418,16 +82695,16 @@ paths: description: Reaction exists content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '201': description: Reaction created content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '422': *15 x-github: githubCloudOnly: false @@ -82449,10 +82726,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *311 - *312 - - *111 - - *303 + - *313 + - *115 + - *304 responses: '204': description: Response @@ -82495,9 +82772,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *311 - *312 - - &532 + - *313 + - &533 name: pull_number description: The number that identifies the pull request. in: path @@ -82510,9 +82787,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *530 + schema: *531 examples: - default: *531 + default: *532 '304': *35 '404': *6 '406': @@ -82521,7 +82798,7 @@ paths: application/json: schema: *3 '500': *80 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82547,9 +82824,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *311 - *312 - - *532 + - *313 + - *533 requestBody: required: false content: @@ -82591,9 +82868,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *531 examples: - default: *531 + default: *532 '422': *15 '403': *27 x-github: @@ -82615,9 +82892,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *311 - *312 - - *532 + - *313 + - *533 requestBody: required: true content: @@ -82678,21 +82955,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *233 + schema: *238 examples: - default: *415 + default: *416 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *233 + schema: *238 examples: - default: *415 + default: *416 '401': *23 '403': *27 '404': *6 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -82718,10 +82995,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *311 - *312 - - *532 - - *121 + - *313 + - *533 + - *125 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -82731,7 +83008,7 @@ paths: enum: - asc - desc - - *102 + - *106 - *17 - *18 responses: @@ -82741,9 +83018,9 @@ paths: application/json: schema: type: array - items: *528 + items: *529 examples: - default: *533 + default: *534 headers: Link: *37 x-github: @@ -82776,9 +83053,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *311 - *312 - - *532 + - *313 + - *533 requestBody: required: true content: @@ -82884,7 +83161,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *529 examples: example-for-a-multi-line-comment: value: @@ -82972,10 +83249,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *311 - *312 - - *532 - - *111 + - *313 + - *533 + - *115 requestBody: required: true content: @@ -82997,7 +83274,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *529 examples: default: value: @@ -83083,9 +83360,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *311 - *312 - - *532 + - *313 + - *533 - *17 - *18 responses: @@ -83095,9 +83372,9 @@ paths: application/json: schema: type: array - items: *424 + items: *425 examples: - default: *534 + default: *535 headers: Link: *37 x-github: @@ -83127,9 +83404,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *311 - *312 - - *532 + - *313 + - *533 - *17 - *18 responses: @@ -83139,7 +83416,7 @@ paths: application/json: schema: type: array - items: *436 + items: *437 examples: default: value: @@ -83158,7 +83435,7 @@ paths: Link: *37 '422': *15 '500': *80 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83177,9 +83454,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *311 - *312 - - *532 + - *313 + - *533 responses: '204': description: Response if pull request has been merged @@ -83202,9 +83479,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *311 - *312 - - *532 + - *313 + - *533 requestBody: required: false content: @@ -83316,9 +83593,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *311 - *312 - - *532 + - *313 + - *533 responses: '200': description: Response @@ -83334,7 +83611,7 @@ paths: items: *4 teams: type: array - items: *229 + items: *234 required: - users - teams @@ -83393,9 +83670,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *311 - *312 - - *532 + - *313 + - *533 requestBody: required: false content: @@ -83432,7 +83709,7 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: default: value: @@ -83968,9 +84245,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *311 - *312 - - *532 + - *313 + - *533 requestBody: required: true content: @@ -84004,7 +84281,7 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: default: value: @@ -84509,9 +84786,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *311 - *312 - - *532 + - *313 + - *533 - *17 - *18 responses: @@ -84521,7 +84798,7 @@ paths: application/json: schema: type: array - items: &535 + items: &536 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -84595,7 +84872,7 @@ paths: type: string body_text: type: string - author_association: *99 + author_association: *103 required: - id - node_id @@ -84677,9 +84954,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *311 - *312 - - *532 + - *313 + - *533 requestBody: required: false content: @@ -84769,9 +85046,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *536 examples: - default: &537 + default: &538 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -84834,10 +85111,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *311 - *312 - - *532 - - &536 + - *313 + - *533 + - &537 name: review_id description: The unique identifier of the review. in: path @@ -84849,9 +85126,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *536 examples: - default: &538 + default: &539 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -84910,10 +85187,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *311 - *312 - - *532 - - *536 + - *313 + - *533 + - *537 requestBody: required: true content: @@ -84936,7 +85213,7 @@ paths: description: Response content: application/json: - schema: *535 + schema: *536 examples: default: value: @@ -84998,18 +85275,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *311 - *312 - - *532 - - *536 + - *313 + - *533 + - *537 responses: '200': description: Response content: application/json: - schema: *535 + schema: *536 examples: - default: *537 + default: *538 '422': *7 '404': *6 x-github: @@ -85036,10 +85313,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *311 - *312 - - *532 - - *536 + - *313 + - *533 + - *537 - *17 - *18 responses: @@ -85133,13 +85410,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *99 + author_association: *103 _links: type: object properties: - self: *429 - html: *429 - pull_request: *429 + self: *430 + html: *430 + pull_request: *430 required: - self - html @@ -85148,7 +85425,7 @@ paths: type: string body_html: type: string - reactions: *100 + reactions: *104 side: description: The side of the first line of the range for a multi-line comment. @@ -85290,10 +85567,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *311 - *312 - - *532 - - *536 + - *313 + - *533 + - *537 requestBody: required: true content: @@ -85322,7 +85599,7 @@ paths: description: Response content: application/json: - schema: *535 + schema: *536 examples: default: value: @@ -85385,10 +85662,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *311 - *312 - - *532 - - *536 + - *313 + - *533 + - *537 requestBody: required: true content: @@ -85423,9 +85700,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *536 examples: - default: *538 + default: *539 '404': *6 '422': *7 '403': *27 @@ -85447,9 +85724,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *311 - *312 - - *532 + - *313 + - *533 requestBody: required: false content: @@ -85513,8 +85790,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *311 - *312 + - *313 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -85527,9 +85804,9 @@ paths: description: Response content: application/json: - schema: *539 + schema: *540 examples: - default: &540 + default: &541 value: type: file encoding: base64 @@ -85571,8 +85848,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *311 - *312 + - *313 - name: dir description: The alternate path to look for a README file in: path @@ -85592,9 +85869,9 @@ paths: description: Response content: application/json: - schema: *539 + schema: *540 examples: - default: *540 + default: *541 '404': *6 '422': *15 x-github: @@ -85616,8 +85893,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -85627,7 +85904,7 @@ paths: application/json: schema: type: array - items: &541 + items: &542 title: Release description: A release. type: object @@ -85699,7 +85976,7 @@ paths: author: *4 assets: type: array - items: &542 + items: &543 title: Release Asset description: Data related to a release. type: object @@ -85769,7 +86046,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *100 + reactions: *104 required: - assets_url - upload_url @@ -85879,8 +86156,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -85956,9 +86233,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *542 examples: - default: &545 + default: &546 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -86061,9 +86338,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *311 - *312 - - &543 + - *313 + - &544 name: asset_id description: The unique identifier of the asset. in: path @@ -86075,9 +86352,9 @@ paths: description: Response content: application/json: - schema: *542 + schema: *543 examples: - default: &544 + default: &545 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -86111,7 +86388,7 @@ paths: type: User site_admin: false '404': *6 - '302': *438 + '302': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86127,9 +86404,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *311 - *312 - - *543 + - *313 + - *544 requestBody: required: false content: @@ -86158,9 +86435,9 @@ paths: description: Response content: application/json: - schema: *542 + schema: *543 examples: - default: *544 + default: *545 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86176,9 +86453,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *311 - *312 - - *543 + - *313 + - *544 responses: '204': description: Response @@ -86202,8 +86479,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -86289,16 +86566,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *311 - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *541 + schema: *542 examples: - default: *545 + default: *546 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86315,8 +86592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *311 - *312 + - *313 - name: tag description: tag parameter in: path @@ -86329,9 +86606,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *542 examples: - default: *545 + default: *546 '404': *6 x-github: githubCloudOnly: false @@ -86353,9 +86630,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *311 - *312 - - &546 + - *313 + - &547 name: release_id description: The unique identifier of the release. in: path @@ -86369,9 +86646,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *541 + schema: *542 examples: - default: *545 + default: *546 '401': description: Unauthorized x-github: @@ -86389,9 +86666,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *311 - *312 - - *546 + - *313 + - *547 requestBody: required: false content: @@ -86455,9 +86732,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *542 examples: - default: *545 + default: *546 '404': description: Not Found if the discussion category name is invalid content: @@ -86478,9 +86755,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *311 - *312 - - *546 + - *313 + - *547 responses: '204': description: Response @@ -86500,9 +86777,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *311 - *312 - - *546 + - *313 + - *547 - *17 - *18 responses: @@ -86512,7 +86789,7 @@ paths: application/json: schema: type: array - items: *542 + items: *543 examples: default: value: @@ -86593,9 +86870,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *311 - *312 - - *546 + - *313 + - *547 - name: name in: query required: true @@ -86621,7 +86898,7 @@ paths: description: Response for successful upload content: application/json: - schema: *542 + schema: *543 examples: response-for-successful-upload: value: @@ -86675,9 +86952,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *311 - *312 - - *546 + - *313 + - *547 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -86701,9 +86978,9 @@ paths: application/json: schema: type: array - items: *300 + items: *301 examples: - default: *302 + default: *303 headers: Link: *37 '404': *6 @@ -86724,9 +87001,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *311 - *312 - - *546 + - *313 + - *547 requestBody: required: true content: @@ -86756,16 +87033,16 @@ paths: description: Reaction exists content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '201': description: Reaction created content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '422': *15 x-github: githubCloudOnly: false @@ -86787,10 +87064,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *311 - *312 - - *546 - - *303 + - *313 + - *547 + - *304 responses: '204': description: Response @@ -86814,9 +87091,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *311 - *312 - - *370 + - *313 + - *371 - *17 - *18 responses: @@ -86832,8 +87109,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *547 - - &549 + - *548 + - &550 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -86853,53 +87130,53 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *548 - *549 - - allOf: - *550 - - *549 - allOf: - *551 - - *549 + - *550 - allOf: - *552 - - *549 + - *550 - allOf: - *553 - - *549 + - *550 - allOf: - *554 - - *549 + - *550 - allOf: - *555 - - *549 + - *550 - allOf: - *556 - - *549 + - *550 - allOf: - *557 - - *549 + - *550 - allOf: - *558 - - *549 + - *550 - allOf: - *559 - - *549 + - *550 - allOf: - *560 - - *549 + - *550 - allOf: - *561 - - *549 + - *550 - allOf: - *562 - - *549 + - *550 - allOf: - *563 - - *549 + - *550 - allOf: - *564 - - *549 + - *550 + - allOf: + - *565 + - *550 examples: default: value: @@ -86938,8 +87215,8 @@ paths: category: repos subcategory: rules parameters: - - *311 - *312 + - *313 - *17 - *18 - name: includes_parents @@ -86950,7 +87227,7 @@ paths: schema: type: boolean default: true - - *565 + - *566 responses: '200': description: Response @@ -86958,7 +87235,7 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: default: value: @@ -87005,8 +87282,8 @@ paths: category: repos subcategory: rules parameters: - - *311 - *312 + - *313 requestBody: description: Request body required: true @@ -87026,16 +87303,16 @@ paths: - tag - push default: branch - enforcement: *268 + enforcement: *269 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *266 + items: *270 + conditions: *267 rules: type: array description: An array of rules within the ruleset. - items: *271 + items: *272 required: - name - enforcement @@ -87066,9 +87343,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: - default: &575 + default: &576 value: id: 42 name: super cool ruleset @@ -87115,12 +87392,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *311 - *312 - - *566 + - *313 - *567 - *568 - *569 + - *570 - *17 - *18 responses: @@ -87128,9 +87405,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *571 examples: - default: *571 + default: *572 '404': *6 '500': *80 x-github: @@ -87151,17 +87428,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *311 - *312 - - *572 + - *313 + - *573 responses: '200': description: Response content: application/json: - schema: *573 + schema: *574 examples: - default: *574 + default: *575 '404': *6 '500': *80 x-github: @@ -87189,8 +87466,8 @@ paths: category: repos subcategory: rules parameters: - - *311 - *312 + - *313 - name: ruleset_id description: The ID of the ruleset. in: path @@ -87210,9 +87487,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: - default: *575 + default: *576 '404': *6 '500': *80 put: @@ -87230,8 +87507,8 @@ paths: category: repos subcategory: rules parameters: - - *311 - *312 + - *313 - name: ruleset_id description: The ID of the ruleset. in: path @@ -87256,16 +87533,16 @@ paths: - branch - tag - push - enforcement: *268 + enforcement: *269 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *266 + items: *270 + conditions: *267 rules: description: An array of rules within the ruleset. type: array - items: *271 + items: *272 examples: default: value: @@ -87293,9 +87570,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: - default: *575 + default: *576 '404': *6 '500': *80 delete: @@ -87313,8 +87590,8 @@ paths: category: repos subcategory: rules parameters: - - *311 - *312 + - *313 - name: ruleset_id description: The ID of the ruleset. in: path @@ -87342,20 +87619,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *311 - *312 - - *274 + - *313 - *275 - *276 - *277 + - *278 - *76 - *18 - *17 - - *576 - *577 - - *278 + - *578 - *279 - *280 + - *281 responses: '200': description: Response @@ -87363,7 +87640,7 @@ paths: application/json: schema: type: array - items: &580 + items: &581 type: object properties: number: *81 @@ -87379,8 +87656,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *578 - resolution: *579 + state: *579 + resolution: *580 resolved_at: type: - string @@ -87563,7 +87840,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87585,15 +87862,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *311 - *312 - - *398 + - *313 + - *399 responses: '200': description: Response content: application/json: - schema: *580 + schema: *581 examples: default: value: @@ -87623,7 +87900,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87644,9 +87921,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *311 - *312 - - *398 + - *313 + - *399 requestBody: required: true content: @@ -87654,8 +87931,8 @@ paths: schema: type: object properties: - state: *578 - resolution: *579 + state: *579 + resolution: *580 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -87674,7 +87951,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: default: value: @@ -87726,7 +88003,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *92 + '503': *96 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -87748,9 +88025,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *311 - *312 - - *398 + - *313 + - *399 - *18 - *17 responses: @@ -87761,7 +88038,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &736 + items: &737 type: object properties: type: @@ -88118,7 +88395,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88140,8 +88417,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -88149,14 +88426,14 @@ paths: schema: type: object properties: - reason: &582 + reason: &583 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *581 + placeholder_id: *582 required: - reason - placeholder_id @@ -88173,7 +88450,7 @@ paths: schema: type: object properties: - reason: *582 + reason: *583 expire_at: type: - string @@ -88197,7 +88474,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *92 + '503': *96 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -88217,13 +88494,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *311 - *312 + - *313 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *92 + '503': *96 '200': description: Response content: @@ -88233,7 +88510,7 @@ paths: properties: incremental_scans: type: array - items: &583 + items: &584 description: Information on a single scan performed by secret scanning on the repository type: object @@ -88243,30 +88520,33 @@ paths: description: The type of scan status: type: string - description: The state of the scan. Either "completed" or - "running" + description: The state of the scan. Either "completed", + "running", or "pending" completed_at: type: - string - 'null' format: date-time description: The time that the scan was completed. Empty - if the scan is active + if the scan is running started_at: - type: string + type: + - string + - 'null' format: date-time - description: The time that the scan was started + description: The time that the scan was started. Empty if + the scan is pending pattern_update_scans: type: array - items: *583 + items: *584 backfill_scans: type: array - items: *583 + items: *584 custom_pattern_backfill_scans: type: array items: allOf: - - *583 + - *584 - type: object properties: pattern_name: @@ -88336,8 +88616,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *311 - *312 + - *313 - *76 - name: sort description: The property to sort the results by. @@ -88381,9 +88661,9 @@ paths: application/json: schema: type: array - items: *584 + items: *585 examples: - default: *585 + default: *586 '400': *14 '404': *6 x-github: @@ -88406,8 +88686,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -88487,7 +88767,7 @@ paths: login: type: string description: The username of the user credited. - type: *283 + type: *284 required: - login - type @@ -88577,9 +88857,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *585 examples: - default: &587 + default: &588 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -88812,8 +89092,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -88926,7 +89206,7 @@ paths: description: Response content: application/json: - schema: *584 + schema: *585 examples: default: value: @@ -89073,17 +89353,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *311 - *312 - - *586 + - *313 + - *587 responses: '200': description: Response content: application/json: - schema: *584 + schema: *585 examples: - default: *587 + default: *588 '403': *27 '404': *6 x-github: @@ -89107,9 +89387,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *311 - *312 - - *586 + - *313 + - *587 requestBody: required: true content: @@ -89189,7 +89469,7 @@ paths: login: type: string description: The username of the user credited. - type: *283 + type: *284 required: - login - type @@ -89280,17 +89560,17 @@ paths: description: Response content: application/json: - schema: *584 + schema: *585 examples: - default: *587 - add_credit: *587 + default: *588 + add_credit: *588 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *137 + schema: *141 examples: invalid_state_transition: value: @@ -89321,11 +89601,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *311 - *312 - - *586 + - *313 + - *587 responses: - '202': *140 + '202': *144 '400': *14 '403': *27 '404': *6 @@ -89350,17 +89630,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *311 - *312 - - *586 + - *313 + - *587 responses: '202': description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *326 + default: *327 '400': *14 '422': *15 '403': *27 @@ -89386,8 +89666,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -89483,8 +89763,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *311 - *312 + - *313 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -89493,7 +89773,7 @@ paths: application/json: schema: type: array - items: &588 + items: &589 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -89505,8 +89785,8 @@ paths: - - 1302998400 - 1124 - -435 - '202': *140 - '204': *183 + '202': *144 + '204': *185 '422': description: Repository contains more than 10,000 commits x-github: @@ -89526,8 +89806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -89577,8 +89857,8 @@ paths: - 0 total: 89 week: 1336280400 - '202': *140 - '204': *183 + '202': *144 + '204': *185 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89605,8 +89885,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -89677,8 +89957,8 @@ paths: a: 6898 d: 77 c: 10 - '202': *140 - '204': *183 + '202': *144 + '204': *185 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89700,8 +89980,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *311 - *312 + - *313 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -89855,8 +90135,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *311 - *312 + - *313 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -89866,7 +90146,7 @@ paths: application/json: schema: type: array - items: *588 + items: *589 examples: default: value: @@ -89879,7 +90159,7 @@ paths: - - 0 - 2 - 21 - '204': *183 + '204': *185 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89899,8 +90179,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *311 - *312 + - *313 - name: sha in: path required: true @@ -89956,7 +90236,7 @@ paths: description: Response content: application/json: - schema: *589 + schema: *590 examples: default: value: @@ -90010,8 +90290,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -90023,7 +90303,7 @@ paths: type: array items: *4 examples: - default: *232 + default: *237 headers: Link: *37 x-github: @@ -90043,14 +90323,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *311 - *312 + - *313 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &590 + schema: &591 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -90123,8 +90403,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *311 - *312 + - *313 requestBody: required: false content: @@ -90150,7 +90430,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *591 examples: default: value: @@ -90177,8 +90457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *311 - *312 + - *313 responses: '204': description: Response @@ -90198,8 +90478,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -90281,8 +90561,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -90290,7 +90570,7 @@ paths: application/json: schema: type: array - items: &591 + items: &592 title: Tag protection description: Tag protection type: object @@ -90347,8 +90627,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -90371,7 +90651,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *592 examples: default: value: @@ -90402,8 +90682,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *311 - *312 + - *313 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -90440,8 +90720,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *311 - *312 + - *313 - name: ref in: path required: true @@ -90477,8 +90757,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -90488,9 +90768,9 @@ paths: application/json: schema: type: array - items: *229 + items: *234 examples: - default: *243 + default: *248 headers: Link: *37 '404': *6 @@ -90510,8 +90790,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *311 - *312 + - *313 - *18 - *17 responses: @@ -90519,7 +90799,7 @@ paths: description: Response content: application/json: - schema: &592 + schema: &593 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -90531,7 +90811,7 @@ paths: required: - names examples: - default: &593 + default: &594 value: names: - octocat @@ -90554,8 +90834,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -90586,9 +90866,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *593 examples: - default: *593 + default: *594 '404': *6 '422': *7 x-github: @@ -90609,9 +90889,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *311 - *312 - - &594 + - *313 + - &595 name: per description: The time frame to display results for. in: query @@ -90642,7 +90922,7 @@ paths: - 128 clones: type: array - items: &595 + items: &596 title: Traffic type: object properties: @@ -90729,8 +91009,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -90824,8 +91104,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -90888,9 +91168,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *311 - *312 - - *594 + - *313 + - *595 responses: '200': description: Response @@ -90911,7 +91191,7 @@ paths: - 3782 views: type: array - items: *595 + items: *596 required: - uniques - count @@ -90988,8 +91268,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -91025,7 +91305,7 @@ paths: description: Response content: application/json: - schema: *152 + schema: *156 examples: default: value: @@ -91263,8 +91543,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *311 - *312 + - *313 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -91287,8 +91567,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *311 - *312 + - *313 responses: '204': description: Response @@ -91310,8 +91590,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *311 - *312 + - *313 responses: '204': description: Response @@ -91337,8 +91617,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *311 - *312 + - *313 - name: ref in: path required: true @@ -91430,9 +91710,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *326 + default: *327 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -91473,7 +91753,7 @@ paths: application/json: schema: type: array - items: *152 + items: *156 examples: default: value: @@ -91583,7 +91863,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &603 + - &604 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -91593,7 +91873,7 @@ paths: type: string examples: - members - - &608 + - &609 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -91605,7 +91885,7 @@ paths: format: int32 examples: - 1 - - &609 + - &610 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -91649,7 +91929,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &597 + items: &598 allOf: - type: object required: @@ -91731,7 +92011,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &610 + meta: &611 type: object description: The metadata associated with the creation/updates to the user. @@ -91796,31 +92076,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &598 + '400': &599 description: Bad request content: application/json: - schema: *596 + schema: *597 application/scim+json: - schema: *596 - '401': &599 + schema: *597 + '401': &600 description: Authorization failure - '403': &600 + '403': &601 description: Permission denied - '429': &601 + '429': &602 description: Too many requests content: application/json: - schema: *596 + schema: *597 application/scim+json: - schema: *596 - '500': &602 + schema: *597 + '500': &603 description: Internal server error content: application/json: - schema: *596 + schema: *597 application/scim+json: - schema: *596 + schema: *597 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91844,7 +92124,7 @@ paths: required: true content: application/json: - schema: &606 + schema: &607 type: object required: - schemas @@ -91904,9 +92184,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *597 + schema: *598 examples: - group: &604 + group: &605 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -91925,13 +92205,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *598 - '401': *599 - '403': *600 - '409': &607 + '400': *599 + '401': *600 + '403': *601 + '409': &608 description: Duplicate record detected - '429': *601 - '500': *602 + '429': *602 + '500': *603 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91948,7 +92228,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &605 + - &606 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -91957,22 +92237,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *603 + - *604 - *38 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *597 + schema: *598 examples: - default: *604 - '400': *598 - '401': *599 - '403': *600 + default: *605 + '400': *599 + '401': *600 + '403': *601 '404': *6 - '429': *601 - '500': *602 + '429': *602 + '500': *603 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91991,13 +92271,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *605 + - *606 - *38 requestBody: required: true content: application/json: - schema: *606 + schema: *607 examples: group: summary: Group @@ -92023,17 +92303,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *597 + schema: *598 examples: - group: *604 - groupWithMembers: *604 - '400': *598 - '401': *599 - '403': *600 + group: *605 + groupWithMembers: *605 + '400': *599 + '401': *600 + '403': *601 '404': *6 - '409': *607 - '429': *601 - '500': *602 + '409': *608 + '429': *602 + '500': *603 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92057,13 +92337,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *605 + - *606 - *38 requestBody: required: true content: application/json: - schema: &617 + schema: &618 type: object required: - Operations @@ -92123,17 +92403,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *597 + schema: *598 examples: - updateGroup: *604 - addMembers: *604 - '400': *598 - '401': *599 - '403': *600 + updateGroup: *605 + addMembers: *605 + '400': *599 + '401': *600 + '403': *601 '404': *6 - '409': *607 - '429': *601 - '500': *602 + '409': *608 + '429': *602 + '500': *603 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92149,17 +92429,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *605 + - *606 - *38 responses: '204': description: Group was deleted, no content - '400': *598 - '401': *599 - '403': *600 + '400': *599 + '401': *600 + '403': *601 '404': *6 - '429': *601 - '500': *602 + '429': *602 + '500': *603 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92193,8 +92473,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *608 - *609 + - *610 - *38 responses: '200': @@ -92228,7 +92508,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &612 + items: &613 allOf: - type: object required: @@ -92320,7 +92600,7 @@ paths: address. examples: - true - roles: &611 + roles: &612 type: array description: The roles assigned to the user. items: @@ -92379,7 +92659,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *610 + meta: *611 startIndex: type: integer description: A starting index for the returned page @@ -92418,11 +92698,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *598 - '401': *599 - '403': *600 - '429': *601 - '500': *602 + '400': *599 + '401': *600 + '403': *601 + '429': *602 + '500': *603 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92446,7 +92726,7 @@ paths: required: true content: application/json: - schema: &615 + schema: &616 type: object required: - schemas @@ -92539,9 +92819,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *611 + roles: *612 examples: - user: &616 + user: &617 summary: User value: schemas: @@ -92588,9 +92868,9 @@ paths: description: User has been created content: application/scim+json: - schema: *612 + schema: *613 examples: - user: &613 + user: &614 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -92616,13 +92896,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *613 - '400': *598 - '401': *599 - '403': *600 - '409': *607 - '429': *601 - '500': *602 + enterpriseOwner: *614 + '400': *599 + '401': *600 + '403': *601 + '409': *608 + '429': *602 + '500': *603 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92639,7 +92919,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &614 + - &615 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -92652,15 +92932,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *612 + schema: *613 examples: - default: *613 - '400': *598 - '401': *599 - '403': *600 + default: *614 + '400': *599 + '401': *600 + '403': *601 '404': *6 - '429': *601 - '500': *602 + '429': *602 + '500': *603 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92682,30 +92962,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *614 + - *615 - *38 requestBody: required: true content: application/json: - schema: *615 + schema: *616 examples: - user: *616 + user: *617 responses: '200': description: User was updated content: application/scim+json: - schema: *612 + schema: *613 examples: - user: *613 - '400': *598 - '401': *599 - '403': *600 + user: *614 + '400': *599 + '401': *600 + '403': *601 '404': *6 - '409': *607 - '429': *601 - '500': *602 + '409': *608 + '429': *602 + '500': *603 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92740,13 +93020,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *614 + - *615 - *38 requestBody: required: true content: application/json: - schema: *617 + schema: *618 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -92786,18 +93066,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *612 - examples: - userMultiValuedProperties: *613 - userSingleValuedProperties: *613 - disableUser: *613 - '400': *598 - '401': *599 - '403': *600 + schema: *613 + examples: + userMultiValuedProperties: *614 + userSingleValuedProperties: *614 + disableUser: *614 + '400': *599 + '401': *600 + '403': *601 '404': *6 - '409': *607 - '429': *601 - '500': *602 + '409': *608 + '429': *602 + '500': *603 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92817,17 +93097,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *614 + - *615 - *38 responses: '204': description: User was deleted, no content - '400': *598 - '401': *599 - '403': *600 + '400': *599 + '401': *600 + '403': *601 '404': *6 - '429': *601 - '500': *602 + '429': *602 + '500': *603 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92860,7 +93140,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#list-scim-provisioned-identities parameters: - - *134 + - *138 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -92918,7 +93198,7 @@ paths: - 1 Resources: type: array - items: &618 + items: &619 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -93165,22 +93445,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &619 + '404': &620 description: Resource not found content: application/json: - schema: *596 + schema: *597 application/scim+json: - schema: *596 - '403': &620 + schema: *597 + '403': &621 description: Forbidden content: application/json: - schema: *596 + schema: *597 application/scim+json: - schema: *596 - '400': *598 - '429': *601 + schema: *597 + '400': *599 + '429': *602 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -93200,15 +93480,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *134 + - *138 responses: '201': description: Response content: application/scim+json: - schema: *618 + schema: *619 examples: - default: &621 + default: &622 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -93231,17 +93511,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *619 - '403': *620 - '500': *602 + '404': *620 + '403': *621 + '500': *603 '409': description: Conflict content: application/json: - schema: *596 + schema: *597 application/scim+json: - schema: *596 - '400': *598 + schema: *597 + '400': *599 requestBody: required: true content: @@ -93335,18 +93615,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - - *134 - - *614 + - *138 + - *615 responses: '200': description: Response content: application/scim+json: - schema: *618 + schema: *619 examples: - default: *621 - '404': *619 - '403': *620 + default: *622 + '404': *620 + '403': *621 '304': *35 x-github: githubCloudOnly: true @@ -93369,19 +93649,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *134 - - *614 + - *138 + - *615 responses: '200': description: Response content: application/scim+json: - schema: *618 + schema: *619 examples: - default: *621 + default: *622 '304': *35 - '404': *619 - '403': *620 + '404': *620 + '403': *621 requestBody: required: true content: @@ -93491,20 +93771,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - - *134 - - *614 + - *138 + - *615 responses: '200': description: Response content: application/scim+json: - schema: *618 + schema: *619 examples: - default: *621 + default: *622 '304': *35 - '404': *619 - '403': *620 - '400': *598 + '404': *620 + '403': *621 + '400': *599 '429': description: Response content: @@ -93599,13 +93879,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - - *134 - - *614 + - *138 + - *615 responses: '204': description: Response - '404': *619 - '403': *620 + '404': *620 + '403': *621 '304': *35 x-github: githubCloudOnly: true @@ -93720,7 +94000,7 @@ paths: html_url: type: string format: uri - repository: *152 + repository: *156 score: type: number file_size: @@ -93739,7 +94019,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &622 + text_matches: &623 title: Search Result Text Matches type: array items: @@ -93854,7 +94134,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *35 - '503': *92 + '503': *96 '422': *15 '403': *27 x-github: @@ -93903,7 +94183,7 @@ paths: enum: - author-date - committer-date - - &623 + - &624 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -93972,7 +94252,7 @@ paths: committer: anyOf: - type: 'null' - - *368 + - *369 comment_count: type: integer message: @@ -93991,7 +94271,7 @@ paths: url: type: string format: uri - verification: *473 + verification: *474 required: - author - committer @@ -94006,7 +94286,7 @@ paths: committer: anyOf: - type: 'null' - - *368 + - *369 parents: type: array items: @@ -94018,12 +94298,12 @@ paths: type: string sha: type: string - repository: *152 + repository: *156 score: type: number node_id: type: string - text_matches: *622 + text_matches: *623 required: - sha - node_id @@ -94216,7 +94496,7 @@ paths: - interactions - created - updated - - *623 + - *624 - *17 - *18 responses: @@ -94332,7 +94612,7 @@ paths: milestone: anyOf: - type: 'null' - - *428 + - *429 comments: type: integer created_at: @@ -94346,7 +94626,7 @@ paths: - string - 'null' format: date-time - text_matches: *622 + text_matches: *623 pull_request: type: object properties: @@ -94384,7 +94664,7 @@ paths: type: string score: type: number - author_association: *99 + author_association: *103 draft: type: boolean repository: *55 @@ -94399,7 +94679,7 @@ paths: anyOf: - type: 'null' - *5 - reactions: *100 + reactions: *104 required: - assignee - closed_at @@ -94515,7 +94795,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *92 + '503': *96 '422': *15 '304': *35 '403': *27 @@ -94568,7 +94848,7 @@ paths: enum: - created - updated - - *623 + - *624 - *17 - *18 responses: @@ -94613,7 +94893,7 @@ paths: - 'null' score: type: number - text_matches: *622 + text_matches: *623 required: - id - node_id @@ -94699,7 +94979,7 @@ paths: - forks - help-wanted-issues - updated - - *623 + - *624 - *17 - *18 responses: @@ -94918,7 +95198,7 @@ paths: license: anyOf: - type: 'null' - - *113 + - *117 permissions: type: object properties: @@ -94936,7 +95216,7 @@ paths: - admin - pull - push - text_matches: *622 + text_matches: *623 temp_clone_token: type: string allow_merge_commit: @@ -95139,7 +95419,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *92 + '503': *96 '422': *15 '304': *35 x-github: @@ -95245,7 +95525,7 @@ paths: - string - 'null' format: uri - text_matches: *622 + text_matches: *623 related: type: - array @@ -95440,7 +95720,7 @@ paths: - followers - repositories - joined - - *623 + - *624 - *17 - *18 responses: @@ -95550,7 +95830,7 @@ paths: type: - boolean - 'null' - text_matches: *622 + text_matches: *623 blog: type: - string @@ -95612,7 +95892,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *35 - '503': *92 + '503': *96 '422': *15 x-github: githubCloudOnly: false @@ -95632,7 +95912,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &624 + - &625 name: team_id description: The unique identifier of the team. in: path @@ -95644,9 +95924,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 '404': *6 x-github: githubCloudOnly: false @@ -95673,7 +95953,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *624 + - *625 requestBody: required: true content: @@ -95737,16 +96017,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 '201': description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 '404': *6 '422': *15 '403': *27 @@ -95774,7 +96054,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *624 + - *625 responses: '204': description: Response @@ -95805,7 +96085,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *624 + - *625 - *76 - *17 - *18 @@ -95816,9 +96096,9 @@ paths: application/json: schema: type: array - items: *294 + items: *295 examples: - default: *625 + default: *626 headers: Link: *37 x-github: @@ -95847,7 +96127,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *624 + - *625 requestBody: required: true content: @@ -95881,9 +96161,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: *295 + default: *296 x-github: triggersNotification: true githubCloudOnly: false @@ -95910,16 +96190,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *624 - - *296 + - *625 + - *297 responses: '200': description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: *295 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95944,8 +96224,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *624 - - *296 + - *625 + - *297 requestBody: required: false content: @@ -95968,9 +96248,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: *626 + default: *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95995,8 +96275,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *624 - - *296 + - *625 + - *297 responses: '204': description: Response @@ -96025,8 +96305,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *624 - - *296 + - *625 + - *297 - *76 - *17 - *18 @@ -96037,9 +96317,9 @@ paths: application/json: schema: type: array - items: *297 + items: *298 examples: - default: *627 + default: *628 headers: Link: *37 x-github: @@ -96068,8 +96348,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *624 - - *296 + - *625 + - *297 requestBody: required: true content: @@ -96091,9 +96371,9 @@ paths: description: Response content: application/json: - schema: *297 + schema: *298 examples: - default: *298 + default: *299 x-github: triggersNotification: true githubCloudOnly: false @@ -96120,17 +96400,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *624 - - *296 - - *299 + - *625 + - *297 + - *300 responses: '200': description: Response content: application/json: - schema: *297 + schema: *298 examples: - default: *298 + default: *299 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96155,9 +96435,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *624 - - *296 - - *299 + - *625 + - *297 + - *300 requestBody: required: true content: @@ -96179,9 +96459,9 @@ paths: description: Response content: application/json: - schema: *297 + schema: *298 examples: - default: *628 + default: *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96206,9 +96486,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *624 - - *296 - - *299 + - *625 + - *297 + - *300 responses: '204': description: Response @@ -96237,9 +96517,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *624 - - *296 - - *299 + - *625 + - *297 + - *300 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -96265,9 +96545,9 @@ paths: application/json: schema: type: array - items: *300 + items: *301 examples: - default: *302 + default: *303 headers: Link: *37 x-github: @@ -96296,9 +96576,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *624 - - *296 - - *299 + - *625 + - *297 + - *300 requestBody: required: true content: @@ -96330,9 +96610,9 @@ paths: description: Response content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96358,8 +96638,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *624 - - *296 + - *625 + - *297 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -96385,9 +96665,9 @@ paths: application/json: schema: type: array - items: *300 + items: *301 examples: - default: *302 + default: *303 headers: Link: *37 x-github: @@ -96416,8 +96696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *624 - - *296 + - *625 + - *297 requestBody: required: true content: @@ -96449,9 +96729,9 @@ paths: description: Response content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96475,7 +96755,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *624 + - *625 - *17 - *18 responses: @@ -96485,9 +96765,9 @@ paths: application/json: schema: type: array - items: *226 + items: *231 examples: - default: *227 + default: *232 headers: Link: *37 x-github: @@ -96513,7 +96793,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *624 + - *625 - name: role description: Filters members returned by their role in the team. in: query @@ -96536,7 +96816,7 @@ paths: type: array items: *4 examples: - default: *232 + default: *237 headers: Link: *37 '404': *6 @@ -96564,8 +96844,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *624 - - *174 + - *625 + - *178 responses: '204': description: if user is a member @@ -96601,8 +96881,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *624 - - *174 + - *625 + - *178 responses: '204': description: Response @@ -96641,8 +96921,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *624 - - *174 + - *625 + - *178 responses: '204': description: Response @@ -96678,16 +96958,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *624 - - *174 + - *625 + - *178 responses: '200': description: Response content: application/json: - schema: *308 + schema: *309 examples: - response-if-user-is-a-team-maintainer: *629 + response-if-user-is-a-team-maintainer: *630 '404': *6 x-github: githubCloudOnly: false @@ -96720,8 +97000,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *624 - - *174 + - *625 + - *178 requestBody: required: false content: @@ -96746,9 +97026,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *309 examples: - response-if-users-membership-with-team-is-now-pending: *630 + response-if-users-membership-with-team-is-now-pending: *631 '403': description: Forbidden if team synchronization is set up '422': @@ -96782,8 +97062,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *624 - - *174 + - *625 + - *178 responses: '204': description: Response @@ -96812,7 +97092,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *624 + - *625 - *17 - *18 responses: @@ -96822,9 +97102,9 @@ paths: application/json: schema: type: array - items: *309 + items: *310 examples: - default: *631 + default: *632 headers: Link: *37 '404': *6 @@ -96851,16 +97131,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *624 - - *310 + - *625 + - *311 responses: '200': description: Response content: application/json: - schema: *309 + schema: *310 examples: - default: *632 + default: *633 '404': description: Not Found if project is not managed by this team x-github: @@ -96885,8 +97165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *624 - - *310 + - *625 + - *311 requestBody: required: false content: @@ -96954,8 +97234,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *624 - - *310 + - *625 + - *311 responses: '204': description: Response @@ -96982,7 +97262,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *624 + - *625 - *17 - *18 responses: @@ -96992,9 +97272,9 @@ paths: application/json: schema: type: array - items: *152 + items: *156 examples: - default: *250 + default: *255 headers: Link: *37 '404': *6 @@ -97024,15 +97304,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *624 - - *311 + - *625 - *312 + - *313 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *633 + schema: *634 examples: alternative-response-with-extra-repository-information: value: @@ -97183,9 +97463,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *624 - - *311 + - *625 - *312 + - *313 requestBody: required: false content: @@ -97235,9 +97515,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *624 - - *311 + - *625 - *312 + - *313 responses: '204': description: Response @@ -97266,15 +97546,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *624 + - *625 responses: '200': description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 '403': *27 '404': *6 x-github: @@ -97301,7 +97581,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *624 + - *625 requestBody: required: true content: @@ -97362,7 +97642,7 @@ paths: description: Response content: application/json: - schema: *313 + schema: *314 examples: default: value: @@ -97393,7 +97673,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *624 + - *625 - *17 - *18 responses: @@ -97403,9 +97683,9 @@ paths: application/json: schema: type: array - items: *229 + items: *234 examples: - response-if-child-teams-exist: *634 + response-if-child-teams-exist: *635 headers: Link: *37 '404': *6 @@ -97438,7 +97718,7 @@ paths: application/json: schema: oneOf: - - &636 + - &637 title: Private User description: Private User type: object @@ -97688,7 +97968,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *635 + - *636 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -97848,7 +98128,7 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: default: value: @@ -97927,7 +98207,7 @@ paths: type: array items: *4 examples: - default: *232 + default: *237 '304': *35 '404': *6 '403': *27 @@ -97950,7 +98230,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *174 + - *178 responses: '204': description: If the user is blocked @@ -97978,7 +98258,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *174 + - *178 responses: '204': description: Response @@ -98002,7 +98282,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *174 + - *178 responses: '204': description: Response @@ -98051,9 +98331,9 @@ paths: type: integer codespaces: type: array - items: *233 + items: *238 examples: - default: *234 + default: *239 '304': *35 '500': *80 '401': *23 @@ -98192,21 +98472,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *233 + schema: *238 examples: - default: *415 + default: *416 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *233 + schema: *238 examples: - default: *415 + default: *416 '401': *23 '403': *27 '404': *6 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98246,7 +98526,7 @@ paths: type: integer secrets: type: array - items: &637 + items: &638 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -98288,7 +98568,7 @@ paths: - visibility - selected_repositories_url examples: - default: *417 + default: *418 headers: Link: *37 x-github: @@ -98360,13 +98640,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *162 + - *166 responses: '200': description: Response content: application/json: - schema: *637 + schema: *638 examples: default: value: @@ -98396,7 +98676,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *162 + - *166 requestBody: required: true content: @@ -98441,7 +98721,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -98469,7 +98749,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *162 + - *166 responses: '204': description: Response @@ -98494,7 +98774,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *162 + - *166 responses: '200': description: Response @@ -98510,9 +98790,9 @@ paths: type: integer repositories: type: array - items: *152 + items: *156 examples: - default: *638 + default: *639 '401': *23 '403': *27 '404': *6 @@ -98537,7 +98817,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *162 + - *166 requestBody: required: true content: @@ -98591,7 +98871,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *162 + - *166 - name: repository_id in: path required: true @@ -98624,7 +98904,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *162 + - *166 - name: repository_id in: path required: true @@ -98656,15 +98936,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *235 + - *240 responses: '200': description: Response content: application/json: - schema: *233 + schema: *238 examples: - default: *415 + default: *416 '304': *35 '500': *80 '401': *23 @@ -98690,7 +98970,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *235 + - *240 requestBody: required: false content: @@ -98720,9 +99000,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *238 examples: - default: *415 + default: *416 '401': *23 '403': *27 '404': *6 @@ -98744,9 +99024,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *235 + - *240 responses: - '202': *140 + '202': *144 '304': *35 '500': *80 '401': *23 @@ -98773,13 +99053,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *235 + - *240 responses: '202': description: Response content: application/json: - schema: &639 + schema: &640 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -98832,7 +99112,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &640 + default: &641 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -98864,7 +99144,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *235 + - *240 - name: export_id in: path required: true @@ -98877,9 +99157,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *640 examples: - default: *640 + default: *641 '404': *6 x-github: githubCloudOnly: false @@ -98900,7 +99180,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *235 + - *240 responses: '200': description: Response @@ -98916,9 +99196,9 @@ paths: type: integer machines: type: array - items: *416 + items: *417 examples: - default: *641 + default: *642 '304': *35 '500': *80 '401': *23 @@ -98947,7 +99227,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *235 + - *240 requestBody: required: true content: @@ -99003,11 +99283,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *324 + repository: *325 machine: anyOf: - type: 'null' - - *416 + - *417 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -99804,15 +100084,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *235 + - *240 responses: '200': description: Response content: application/json: - schema: *233 + schema: *238 examples: - default: *415 + default: *416 '304': *35 '500': *80 '400': *14 @@ -99824,7 +100104,7 @@ paths: schema: *3 '403': *27 '404': *6 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99844,15 +100124,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *235 + - *240 responses: '200': description: Response content: application/json: - schema: *233 + schema: *238 examples: - default: *415 + default: *416 '500': *80 '401': *23 '403': *27 @@ -99882,9 +100162,9 @@ paths: application/json: schema: type: array - items: *244 + items: *249 examples: - default: &654 + default: &655 value: - id: 197 name: hello_docker @@ -99985,7 +100265,7 @@ paths: application/json: schema: type: array - items: &642 + items: &643 title: Email description: Email type: object @@ -100055,9 +100335,9 @@ paths: application/json: schema: type: array - items: *642 + items: *643 examples: - default: &656 + default: &657 value: - email: octocat@github.com verified: true @@ -100134,7 +100414,7 @@ paths: application/json: schema: type: array - items: *642 + items: *643 examples: default: value: @@ -100246,7 +100526,7 @@ paths: type: array items: *4 examples: - default: *232 + default: *237 headers: Link: *37 '304': *35 @@ -100279,7 +100559,7 @@ paths: type: array items: *4 examples: - default: *232 + default: *237 headers: Link: *37 '304': *35 @@ -100301,7 +100581,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *174 + - *178 responses: '204': description: if the person is followed by the authenticated user @@ -100331,7 +100611,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *174 + - *178 responses: '204': description: Response @@ -100356,7 +100636,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *174 + - *178 responses: '204': description: Response @@ -100392,7 +100672,7 @@ paths: application/json: schema: type: array - items: &643 + items: &644 title: GPG Key description: A unique encryption key type: object @@ -100537,7 +100817,7 @@ paths: - subkeys - revoked examples: - default: &667 + default: &668 value: - id: 3 name: Octocat's GPG Key @@ -100622,9 +100902,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *644 examples: - default: &644 + default: &645 value: id: 3 name: Octocat's GPG Key @@ -100681,7 +100961,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &645 + - &646 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -100693,9 +100973,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *644 examples: - default: *644 + default: *645 '404': *6 '304': *35 '403': *27 @@ -100718,7 +100998,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *645 + - *646 responses: '204': description: Response @@ -100909,7 +101189,7 @@ paths: type: array items: *55 examples: - default: *646 + default: *647 headers: Link: *37 '404': *6 @@ -100934,7 +101214,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *147 + - *151 responses: '204': description: Response @@ -100960,7 +101240,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *147 + - *151 responses: '204': description: Response @@ -100994,12 +101274,12 @@ paths: application/json: schema: anyOf: - - *224 + - *229 - type: object properties: {} additionalProperties: false examples: - default: *225 + default: *230 '204': description: Response when there are no restrictions x-github: @@ -101023,7 +101303,7 @@ paths: required: true content: application/json: - schema: *484 + schema: *485 examples: default: value: @@ -101034,7 +101314,7 @@ paths: description: Response content: application/json: - schema: *224 + schema: *229 examples: default: value: @@ -101115,7 +101395,7 @@ paths: - closed - all default: open - - *230 + - *235 - name: sort description: What to sort results by. in: query @@ -101128,7 +101408,7 @@ paths: - comments default: created - *76 - - *102 + - *106 - *17 - *18 responses: @@ -101138,9 +101418,9 @@ paths: application/json: schema: type: array - items: *112 + items: *116 examples: - default: *231 + default: *236 headers: Link: *37 '404': *6 @@ -101173,7 +101453,7 @@ paths: application/json: schema: type: array - items: &647 + items: &648 title: Key description: Key type: object @@ -101271,9 +101551,9 @@ paths: description: Response content: application/json: - schema: *647 + schema: *648 examples: - default: &648 + default: &649 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -101306,15 +101586,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *511 + - *512 responses: '200': description: Response content: application/json: - schema: *647 + schema: *648 examples: - default: *648 + default: *649 '404': *6 '304': *35 '403': *27 @@ -101337,7 +101617,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *511 + - *512 responses: '204': description: Response @@ -101370,7 +101650,7 @@ paths: application/json: schema: type: array - items: &649 + items: &650 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -101438,7 +101718,7 @@ paths: - id - type - login - plan: *115 + plan: *119 required: - billing_cycle - next_billing_date @@ -101449,7 +101729,7 @@ paths: - account - plan examples: - default: &650 + default: &651 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -101511,9 +101791,9 @@ paths: application/json: schema: type: array - items: *649 + items: *650 examples: - default: *650 + default: *651 headers: Link: *37 '304': *35 @@ -101553,7 +101833,7 @@ paths: application/json: schema: type: array - items: *236 + items: *241 examples: default: value: @@ -101655,13 +101935,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *134 + - *138 responses: '200': description: Response content: application/json: - schema: *236 + schema: *241 examples: default: value: @@ -101719,7 +101999,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *134 + - *138 requestBody: required: true content: @@ -101744,7 +102024,7 @@ paths: description: Response content: application/json: - schema: *236 + schema: *241 examples: default: value: @@ -101812,7 +102092,7 @@ paths: application/json: schema: type: array - items: *238 + items: *243 examples: default: value: @@ -102074,7 +102354,7 @@ paths: description: Response content: application/json: - schema: *238 + schema: *243 examples: default: value: @@ -102254,7 +102534,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *239 + - *244 - name: exclude in: query required: false @@ -102267,7 +102547,7 @@ paths: description: Response content: application/json: - schema: *238 + schema: *243 examples: default: value: @@ -102461,7 +102741,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *239 + - *244 responses: '302': description: Response @@ -102487,7 +102767,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *239 + - *244 responses: '204': description: Response @@ -102516,8 +102796,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *239 - - *651 + - *244 + - *652 responses: '204': description: Response @@ -102541,7 +102821,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *239 + - *244 - *17 - *18 responses: @@ -102551,9 +102831,9 @@ paths: application/json: schema: type: array - items: *152 + items: *156 examples: - default: *250 + default: *255 headers: Link: *37 '404': *6 @@ -102590,7 +102870,7 @@ paths: type: array items: *50 examples: - default: *652 + default: *653 headers: Link: *37 '304': *35 @@ -102632,7 +102912,7 @@ paths: - docker - nuget - container - - *653 + - *654 - *18 - *17 responses: @@ -102642,10 +102922,10 @@ paths: application/json: schema: type: array - items: *244 + items: *249 examples: - default: *654 - '400': *655 + default: *655 + '400': *656 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102665,16 +102945,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *246 - - *247 + - *251 + - *252 responses: '200': description: Response content: application/json: - schema: *244 + schema: *249 examples: - default: &668 + default: &669 value: id: 40201 name: octo-name @@ -102787,8 +103067,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *246 - - *247 + - *251 + - *252 responses: '204': description: Response @@ -102818,8 +103098,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *246 - - *247 + - *251 + - *252 - name: token description: package token schema: @@ -102851,8 +103131,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *246 - - *247 + - *251 + - *252 - *18 - *17 - name: state @@ -102872,7 +103152,7 @@ paths: application/json: schema: type: array - items: *248 + items: *253 examples: default: value: @@ -102921,15 +103201,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *246 - - *247 - - *249 + - *251 + - *252 + - *254 responses: '200': description: Response content: application/json: - schema: *248 + schema: *253 examples: default: value: @@ -102965,9 +103245,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *246 - - *247 - - *249 + - *251 + - *252 + - *254 responses: '204': description: Response @@ -102997,9 +103277,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *246 - - *247 - - *249 + - *251 + - *252 + - *254 responses: '204': description: Response @@ -103057,7 +103337,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *262 examples: default: value: @@ -103126,9 +103406,9 @@ paths: application/json: schema: type: array - items: *642 + items: *643 examples: - default: *656 + default: *657 headers: Link: *37 '304': *35 @@ -103241,7 +103521,7 @@ paths: type: array items: *55 examples: - default: &663 + default: &664 summary: Default response value: - id: 1296269 @@ -103557,9 +103837,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *326 + default: *327 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -103597,9 +103877,9 @@ paths: application/json: schema: type: array - items: *486 + items: *487 examples: - default: *657 + default: *658 headers: Link: *37 '304': *35 @@ -103622,12 +103902,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *228 + - *233 responses: '204': description: Response '403': *27 - '409': *139 + '409': *143 '404': *6 '304': *35 x-github: @@ -103645,11 +103925,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *228 + - *233 responses: '204': description: Response - '409': *139 + '409': *143 '304': *35 '404': *6 '403': *27 @@ -103678,7 +103958,7 @@ paths: application/json: schema: type: array - items: &658 + items: &659 title: Social account description: Social media account type: object @@ -103695,7 +103975,7 @@ paths: - provider - url examples: - default: &659 + default: &660 value: - provider: twitter url: https://twitter.com/github @@ -103758,9 +104038,9 @@ paths: application/json: schema: type: array - items: *658 + items: *659 examples: - default: *659 + default: *660 '422': *15 '304': *35 '404': *6 @@ -103848,7 +104128,7 @@ paths: application/json: schema: type: array - items: &660 + items: &661 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -103868,7 +104148,7 @@ paths: - title - created_at examples: - default: &669 + default: &670 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103935,9 +104215,9 @@ paths: description: Response content: application/json: - schema: *660 + schema: *661 examples: - default: &661 + default: &662 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103968,7 +104248,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &662 + - &663 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -103980,9 +104260,9 @@ paths: description: Response content: application/json: - schema: *660 + schema: *661 examples: - default: *661 + default: *662 '404': *6 '304': *35 '403': *27 @@ -104005,7 +104285,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *662 + - *663 responses: '204': description: Response @@ -104034,7 +104314,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &670 + - &671 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -104059,11 +104339,11 @@ paths: type: array items: *55 examples: - default-response: *663 + default-response: *664 application/vnd.github.v3.star+json: schema: type: array - items: &671 + items: &672 title: Starred Repository description: Starred Repository type: object @@ -104219,8 +104499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *311 - *312 + - *313 responses: '204': description: Response if this repository is starred by you @@ -104248,8 +104528,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *311 - *312 + - *313 responses: '204': description: Response @@ -104273,8 +104553,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *311 - *312 + - *313 responses: '204': description: Response @@ -104307,9 +104587,9 @@ paths: application/json: schema: type: array - items: *152 + items: *156 examples: - default: *250 + default: *255 headers: Link: *37 '304': *35 @@ -104346,7 +104626,7 @@ paths: application/json: schema: type: array - items: *292 + items: *293 examples: default: value: @@ -104422,7 +104702,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *117 + - *121 responses: '200': description: Response @@ -104430,10 +104710,10 @@ paths: application/json: schema: oneOf: + - *637 - *636 - - *635 examples: - default-response: &665 + default-response: &666 summary: Default response value: login: octocat @@ -104468,7 +104748,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &666 + response-with-git-hub-plan-information: &667 summary: Response with GitHub plan information value: login: octocat @@ -104528,7 +104808,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *664 + - *665 - *17 responses: '200': @@ -104539,7 +104819,7 @@ paths: type: array items: *4 examples: - default: *232 + default: *237 headers: Link: example: ; rel="next" @@ -104567,7 +104847,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *174 + - *178 responses: '200': description: Response @@ -104575,11 +104855,11 @@ paths: application/json: schema: oneOf: + - *637 - *636 - - *635 examples: - default-response: *665 - response-with-git-hub-plan-information: *666 + default-response: *666 + response-with-git-hub-plan-information: *667 '404': *6 x-github: githubCloudOnly: false @@ -104605,7 +104885,7 @@ paths: - *17 - *74 - *75 - - *174 + - *178 - name: subject_digest description: Subject Digest in: path @@ -104707,7 +104987,7 @@ paths: description: Response content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -104733,7 +105013,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *174 + - *178 responses: '200': description: Response @@ -104741,9 +105021,9 @@ paths: application/json: schema: type: array - items: *244 + items: *249 examples: - default: *654 + default: *655 '403': *27 '401': *23 x-github: @@ -104766,7 +105046,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *174 + - *178 - *17 - *18 responses: @@ -104776,7 +105056,7 @@ paths: application/json: schema: type: array - items: *123 + items: *127 examples: default: value: @@ -104847,8 +105127,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *174 - - *134 + - *178 + - *138 - *17 - *18 responses: @@ -104858,7 +105138,7 @@ paths: application/json: schema: type: array - items: *123 + items: *127 examples: default: value: @@ -104937,7 +105217,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *174 + - *178 - *17 - *18 responses: @@ -104947,7 +105227,7 @@ paths: application/json: schema: type: array - items: *123 + items: *127 examples: default: value: @@ -105014,7 +105294,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *174 + - *178 - *17 - *18 responses: @@ -105026,7 +105306,7 @@ paths: type: array items: *4 examples: - default: *232 + default: *237 headers: Link: *37 x-github: @@ -105045,7 +105325,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *174 + - *178 - *17 - *18 responses: @@ -105057,7 +105337,7 @@ paths: type: array items: *4 examples: - default: *232 + default: *237 headers: Link: *37 x-github: @@ -105076,7 +105356,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-user-follows-another-user parameters: - - *174 + - *178 - name: target_user in: path required: true @@ -105103,8 +105383,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *174 - - *102 + - *178 + - *106 - *17 - *18 responses: @@ -105114,9 +105394,9 @@ paths: application/json: schema: type: array - items: *103 + items: *107 examples: - default: *104 + default: *108 headers: Link: *37 '422': *15 @@ -105137,7 +105417,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *174 + - *178 - *17 - *18 responses: @@ -105147,9 +105427,9 @@ paths: application/json: schema: type: array - items: *643 + items: *644 examples: - default: *667 + default: *668 headers: Link: *37 x-github: @@ -105173,7 +105453,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *174 + - *178 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -105245,7 +105525,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *174 + - *178 responses: '200': description: Response @@ -105253,7 +105533,7 @@ paths: application/json: schema: *20 examples: - default: *483 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105271,7 +105551,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *174 + - *178 - *17 - *18 responses: @@ -105319,7 +105599,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *174 + - *178 - *17 - *18 responses: @@ -105331,7 +105611,7 @@ paths: type: array items: *50 examples: - default: *652 + default: *653 headers: Link: *37 x-github: @@ -105370,8 +105650,8 @@ paths: - docker - nuget - container - - *653 - - *174 + - *654 + - *178 - *18 - *17 responses: @@ -105381,12 +105661,12 @@ paths: application/json: schema: type: array - items: *244 + items: *249 examples: - default: *654 + default: *655 '403': *27 '401': *23 - '400': *655 + '400': *656 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105406,17 +105686,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *246 - - *247 - - *174 + - *251 + - *252 + - *178 responses: '200': description: Response content: application/json: - schema: *244 + schema: *249 examples: - default: *668 + default: *669 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105437,9 +105717,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *246 - - *247 - - *174 + - *251 + - *252 + - *178 responses: '204': description: Response @@ -105471,9 +105751,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *246 - - *247 - - *174 + - *251 + - *252 + - *178 - name: token description: package token schema: @@ -105505,9 +105785,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *246 - - *247 - - *174 + - *251 + - *252 + - *178 responses: '200': description: Response @@ -105515,7 +105795,7 @@ paths: application/json: schema: type: array - items: *248 + items: *253 examples: default: value: @@ -105573,16 +105853,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-a-user parameters: - - *246 - - *247 - - *249 - - *174 + - *251 + - *252 + - *254 + - *178 responses: '200': description: Response content: application/json: - schema: *248 + schema: *253 examples: default: value: @@ -105617,10 +105897,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *246 - - *247 - - *174 - - *249 + - *251 + - *252 + - *178 + - *254 responses: '204': description: Response @@ -105652,10 +105932,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *246 - - *247 - - *174 - - *249 + - *251 + - *252 + - *178 + - *254 responses: '204': description: Response @@ -105678,7 +105958,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-user-projects parameters: - - *174 + - *178 - name: state description: Indicates the state of the projects to return. in: query @@ -105699,7 +105979,7 @@ paths: application/json: schema: type: array - items: *257 + items: *262 examples: default: value: @@ -105758,7 +106038,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *174 + - *178 - *17 - *18 responses: @@ -105768,7 +106048,7 @@ paths: application/json: schema: type: array - items: *123 + items: *127 examples: default: value: @@ -105847,7 +106127,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-received-by-a-user parameters: - - *174 + - *178 - *17 - *18 responses: @@ -105857,7 +106137,7 @@ paths: application/json: schema: type: array - items: *123 + items: *127 examples: default: value: @@ -105934,7 +106214,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *174 + - *178 - name: type description: Limit results to repositories of the specified type. in: query @@ -105977,9 +106257,9 @@ paths: application/json: schema: type: array - items: *152 + items: *156 examples: - default: *250 + default: *255 headers: Link: *37 x-github: @@ -106003,15 +106283,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *174 + - *178 responses: '200': description: Response content: application/json: - schema: *284 + schema: *285 examples: - default: *285 + default: *286 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106033,15 +106313,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *174 + - *178 responses: '200': description: Response content: application/json: - schema: *288 + schema: *289 examples: - default: *289 + default: *290 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106063,15 +106343,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *174 + - *178 responses: '200': description: Response content: application/json: - schema: *290 + schema: *291 examples: - default: *291 + default: *292 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106089,7 +106369,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *174 + - *178 - *17 - *18 responses: @@ -106099,9 +106379,9 @@ paths: application/json: schema: type: array - items: *658 + items: *659 examples: - default: *659 + default: *660 headers: Link: *37 x-github: @@ -106121,7 +106401,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *174 + - *178 - *17 - *18 responses: @@ -106131,9 +106411,9 @@ paths: application/json: schema: type: array - items: *660 + items: *661 examples: - default: *669 + default: *670 headers: Link: *37 x-github: @@ -106157,8 +106437,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *174 - - *670 + - *178 + - *671 - *76 - *17 - *18 @@ -106170,11 +106450,11 @@ paths: schema: anyOf: - type: array - items: *671 + items: *672 - type: array items: *55 examples: - default-response: *663 + default-response: *664 headers: Link: *37 x-github: @@ -106193,7 +106473,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *174 + - *178 - *17 - *18 responses: @@ -106203,9 +106483,9 @@ paths: application/json: schema: type: array - items: *152 + items: *156 examples: - default: *250 + default: *255 headers: Link: *37 x-github: @@ -106334,7 +106614,7 @@ webhooks: type: string enum: - disabled - enterprise: &672 + enterprise: &673 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -106403,7 +106683,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &673 + installation: &674 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -106424,7 +106704,7 @@ webhooks: required: - id - node_id - organization: &674 + organization: &675 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -106497,7 +106777,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &675 + repository: &676 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -106526,7 +106806,7 @@ webhooks: license: anyOf: - type: 'null' - - *113 + - *117 organization: anyOf: - type: 'null' @@ -107410,10 +107690,10 @@ webhooks: type: string enum: - enabled - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -107489,11 +107769,11 @@ webhooks: type: string enum: - created - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 - rule: &676 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + rule: &677 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -107716,11 +107996,11 @@ webhooks: type: string enum: - deleted - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 - rule: *676 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + rule: *677 sender: *4 required: - action @@ -107908,11 +108188,11 @@ webhooks: - everyone required: - from - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 - rule: *676 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + rule: *677 sender: *4 required: - action @@ -107985,7 +108265,7 @@ webhooks: required: true content: application/json: - schema: &679 + schema: &680 title: Exemption request cancellation event type: object properties: @@ -107993,11 +108273,11 @@ webhooks: type: string enum: - cancelled - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 - exemption_request: &677 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + exemption_request: &678 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -108151,7 +108431,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &678 + items: &679 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -108257,7 +108537,7 @@ webhooks: required: true content: application/json: - schema: &680 + schema: &681 title: Exemption request completed event type: object properties: @@ -108265,11 +108545,11 @@ webhooks: type: string enum: - completed - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 - exemption_request: *677 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + exemption_request: *678 sender: *4 required: - action @@ -108341,7 +108621,7 @@ webhooks: required: true content: application/json: - schema: &681 + schema: &682 title: Exemption request created event type: object properties: @@ -108349,11 +108629,11 @@ webhooks: type: string enum: - created - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 - exemption_request: *677 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + exemption_request: *678 sender: *4 required: - action @@ -108425,7 +108705,7 @@ webhooks: required: true content: application/json: - schema: &682 + schema: &683 title: Exemption response dismissed event type: object properties: @@ -108433,12 +108713,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 - exemption_request: *677 - exemption_response: *678 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + exemption_request: *678 + exemption_response: *679 sender: *4 required: - action @@ -108512,7 +108792,7 @@ webhooks: required: true content: application/json: - schema: &683 + schema: &684 title: Exemption response submitted event type: object properties: @@ -108520,12 +108800,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 - exemption_request: *677 - exemption_response: *678 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + exemption_request: *678 + exemption_response: *679 sender: *4 required: - action @@ -108598,7 +108878,7 @@ webhooks: required: true content: application/json: - schema: *679 + schema: *680 responses: '200': description: Return a 200 status to indicate that the data was received @@ -108665,7 +108945,7 @@ webhooks: required: true content: application/json: - schema: *680 + schema: *681 responses: '200': description: Return a 200 status to indicate that the data was received @@ -108732,7 +109012,7 @@ webhooks: required: true content: application/json: - schema: *681 + schema: *682 responses: '200': description: Return a 200 status to indicate that the data was received @@ -108799,7 +109079,7 @@ webhooks: required: true content: application/json: - schema: *682 + schema: *683 responses: '200': description: Return a 200 status to indicate that the data was received @@ -108867,7 +109147,7 @@ webhooks: required: true content: application/json: - schema: *683 + schema: *684 responses: '200': description: Return a 200 status to indicate that the data was received @@ -108945,7 +109225,7 @@ webhooks: type: string enum: - completed - check_run: &685 + check_run: &686 title: CheckRun description: A check performed on the code of a given code change type: object @@ -109013,8 +109293,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *381 - repository: *152 + items: *382 + repository: *156 status: type: string enum: @@ -109058,7 +109338,7 @@ webhooks: - examples: - neutral - deployment: *684 + deployment: *685 details_url: type: string examples: @@ -109118,7 +109398,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *381 + items: *382 started_at: type: string format: date-time @@ -109156,9 +109436,9 @@ webhooks: - output - app - pull_requests - installation: *673 - organization: *674 - repository: *675 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - check_run @@ -109551,10 +109831,10 @@ webhooks: type: string enum: - created - check_run: *685 - installation: *673 - organization: *674 - repository: *675 + check_run: *686 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - check_run @@ -109950,10 +110230,10 @@ webhooks: type: string enum: - requested_action - check_run: *685 - installation: *673 - organization: *674 - repository: *675 + check_run: *686 + installation: *674 + organization: *675 + repository: *676 requested_action: description: The action requested by the user. type: object @@ -110358,10 +110638,10 @@ webhooks: type: string enum: - rerequested - check_run: *685 - installation: *673 - organization: *674 - repository: *675 + check_run: *686 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - check_run @@ -111353,10 +111633,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -112041,10 +112321,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -112723,10 +113003,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -113033,20 +113313,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &686 + commit_oid: &687 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *672 - installation: *673 - organization: *674 - ref: &687 + enterprise: *673 + installation: *674 + organization: *675 + ref: &688 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *675 + repository: *676 sender: *4 required: - action @@ -113374,12 +113654,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *686 - enterprise: *672 - installation: *673 - organization: *674 - ref: *687 - repository: *675 + commit_oid: *687 + enterprise: *673 + installation: *674 + organization: *675 + ref: *688 + repository: *676 sender: *4 required: - action @@ -113477,7 +113757,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *393 + dismissed_comment: *394 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113652,12 +113932,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *686 - enterprise: *672 - installation: *673 - organization: *674 - ref: *687 - repository: *675 + commit_oid: *687 + enterprise: *673 + installation: *674 + organization: *675 + ref: *688 + repository: *676 sender: *4 required: - action @@ -113989,12 +114269,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *686 - enterprise: *672 - installation: *673 - organization: *674 - ref: *687 - repository: *675 + commit_oid: *687 + enterprise: *673 + installation: *674 + organization: *675 + ref: *688 + repository: *676 sender: *4 required: - action @@ -114263,9 +114543,9 @@ webhooks: type: - string - 'null' - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -114273,7 +114553,7 @@ webhooks: type: - string - 'null' - repository: *675 + repository: *676 sender: *4 required: - action @@ -114505,12 +114785,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *686 - enterprise: *672 - installation: *673 - organization: *674 - ref: *687 - repository: *675 + commit_oid: *687 + enterprise: *673 + installation: *674 + organization: *675 + ref: *688 + repository: *676 sender: *4 required: - action @@ -114772,10 +115052,10 @@ webhooks: - updated_at - author_association - body - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -114856,18 +115136,18 @@ webhooks: type: - string - 'null' - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *674 - pusher_type: &688 + organization: *675 + pusher_type: &689 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &689 + ref: &690 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -114877,7 +115157,7 @@ webhooks: enum: - tag - branch - repository: *675 + repository: *676 sender: *4 required: - ref @@ -114959,10 +115239,10 @@ webhooks: type: string enum: - created - definition: *258 - enterprise: *672 - installation: *673 - organization: *674 + definition: *92 + enterprise: *673 + installation: *674 + organization: *675 sender: *4 required: - action @@ -115047,9 +115327,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 sender: *4 required: - action @@ -115126,10 +115406,10 @@ webhooks: type: string enum: - updated - definition: *258 - enterprise: *672 - installation: *673 - organization: *674 + definition: *92 + enterprise: *673 + installation: *674 + organization: *675 sender: *4 required: - action @@ -115206,19 +115486,19 @@ webhooks: type: string enum: - updated - enterprise: *672 - installation: *673 - repository: *675 - organization: *674 + enterprise: *673 + installation: *674 + repository: *676 + organization: *675 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *262 + items: *263 old_property_values: type: array description: The old custom property values for the repository. - items: *262 + items: *263 required: - action - repository @@ -115294,18 +115574,18 @@ webhooks: title: delete event type: object properties: - enterprise: *672 - installation: *673 - organization: *674 - pusher_type: *688 - ref: *689 + enterprise: *673 + installation: *674 + organization: *675 + pusher_type: *689 + ref: *690 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *675 + repository: *676 sender: *4 required: - ref @@ -115389,11 +115669,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *442 - installation: *673 - organization: *674 - enterprise: *672 - repository: *675 + alert: *443 + installation: *674 + organization: *675 + enterprise: *673 + repository: *676 sender: *4 required: - action @@ -115477,11 +115757,11 @@ webhooks: type: string enum: - auto_reopened - alert: *442 - installation: *673 - organization: *674 - enterprise: *672 - repository: *675 + alert: *443 + installation: *674 + organization: *675 + enterprise: *673 + repository: *676 sender: *4 required: - action @@ -115565,11 +115845,11 @@ webhooks: type: string enum: - created - alert: *442 - installation: *673 - organization: *674 - enterprise: *672 - repository: *675 + alert: *443 + installation: *674 + organization: *675 + enterprise: *673 + repository: *676 sender: *4 required: - action @@ -115651,11 +115931,11 @@ webhooks: type: string enum: - dismissed - alert: *442 - installation: *673 - organization: *674 - enterprise: *672 - repository: *675 + alert: *443 + installation: *674 + organization: *675 + enterprise: *673 + repository: *676 sender: *4 required: - action @@ -115737,11 +116017,11 @@ webhooks: type: string enum: - fixed - alert: *442 - installation: *673 - organization: *674 - enterprise: *672 - repository: *675 + alert: *443 + installation: *674 + organization: *675 + enterprise: *673 + repository: *676 sender: *4 required: - action @@ -115824,11 +116104,11 @@ webhooks: type: string enum: - reintroduced - alert: *442 - installation: *673 - organization: *674 - enterprise: *672 - repository: *675 + alert: *443 + installation: *674 + organization: *675 + enterprise: *673 + repository: *676 sender: *4 required: - action @@ -115910,11 +116190,11 @@ webhooks: type: string enum: - reopened - alert: *442 - installation: *673 - organization: *674 - enterprise: *672 - repository: *675 + alert: *443 + installation: *674 + organization: *675 + enterprise: *673 + repository: *676 sender: *4 required: - action @@ -115991,9 +116271,9 @@ webhooks: type: string enum: - created - enterprise: *672 - installation: *673 - key: &690 + enterprise: *673 + installation: *674 + key: &691 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -116031,8 +116311,8 @@ webhooks: - verified - created_at - read_only - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 required: - action @@ -116109,11 +116389,11 @@ webhooks: type: string enum: - deleted - enterprise: *672 - installation: *673 - key: *690 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + key: *691 + organization: *675 + repository: *676 sender: *4 required: - action @@ -116685,12 +116965,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - workflow: &694 + workflow: &695 title: Workflow type: - object @@ -117428,13 +117708,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *448 + deployment: *449 pull_requests: type: array - items: *530 - repository: *675 - organization: *674 - installation: *673 + items: *531 + repository: *676 + organization: *675 + installation: *674 sender: *4 responses: '200': @@ -117505,7 +117785,7 @@ webhooks: type: string enum: - approved - approver: &691 + approver: &692 type: object properties: avatar_url: @@ -117548,11 +117828,11 @@ webhooks: type: string comment: type: string - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 - reviewers: &692 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + reviewers: &693 type: array items: type: object @@ -117633,7 +117913,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &693 + workflow_job_run: &694 type: object properties: conclusion: @@ -118379,18 +118659,18 @@ webhooks: type: string enum: - rejected - approver: *691 + approver: *692 comment: type: string - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 - reviewers: *692 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + reviewers: *693 sender: *4 since: type: string - workflow_job_run: *693 + workflow_job_run: *694 workflow_job_runs: type: array items: @@ -119107,13 +119387,13 @@ webhooks: type: string enum: - requested - enterprise: *672 + enterprise: *673 environment: type: string - installation: *673 - organization: *674 - repository: *675 - requestor: &699 + installation: *674 + organization: *675 + repository: *676 + requestor: &700 title: User type: - object @@ -121056,12 +121336,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - workflow: *694 + workflow: *695 workflow_run: title: Deployment Workflow Run type: @@ -121752,7 +122032,7 @@ webhooks: type: string enum: - answered - answer: &697 + answer: &698 type: object properties: author_association: @@ -121912,7 +122192,7 @@ webhooks: - created_at - updated_at - body - discussion: &695 + discussion: &696 title: Discussion description: A Discussion in a repository. type: object @@ -122208,7 +122488,7 @@ webhooks: - id labels: type: array - items: *493 + items: *494 required: - repository_url - category @@ -122230,10 +122510,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -122360,11 +122640,11 @@ webhooks: - from required: - category - discussion: *695 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + discussion: *696 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -122447,11 +122727,11 @@ webhooks: type: string enum: - closed - discussion: *695 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + discussion: *696 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -122533,7 +122813,7 @@ webhooks: type: string enum: - created - comment: &696 + comment: &697 type: object properties: author_association: @@ -122693,11 +122973,11 @@ webhooks: - updated_at - body - reactions - discussion: *695 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + discussion: *696 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -122780,12 +123060,12 @@ webhooks: type: string enum: - deleted - comment: *696 - discussion: *695 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + comment: *697 + discussion: *696 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -122880,12 +123160,12 @@ webhooks: - from required: - body - comment: *696 - discussion: *695 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + comment: *697 + discussion: *696 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -122969,11 +123249,11 @@ webhooks: type: string enum: - created - discussion: *695 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + discussion: *696 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -123055,11 +123335,11 @@ webhooks: type: string enum: - deleted - discussion: *695 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + discussion: *696 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -123159,11 +123439,11 @@ webhooks: type: string required: - from - discussion: *695 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + discussion: *696 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -123245,10 +123525,10 @@ webhooks: type: string enum: - labeled - discussion: *695 - enterprise: *672 - installation: *673 - label: &698 + discussion: *696 + enterprise: *673 + installation: *674 + label: &699 title: Label type: object properties: @@ -123281,8 +123561,8 @@ webhooks: - color - default - description - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 required: - action @@ -123365,11 +123645,11 @@ webhooks: type: string enum: - locked - discussion: *695 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + discussion: *696 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -123451,11 +123731,11 @@ webhooks: type: string enum: - pinned - discussion: *695 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + discussion: *696 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -123537,11 +123817,11 @@ webhooks: type: string enum: - reopened - discussion: *695 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + discussion: *696 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -123626,16 +123906,16 @@ webhooks: changes: type: object properties: - new_discussion: *695 - new_repository: *675 + new_discussion: *696 + new_repository: *676 required: - new_discussion - new_repository - discussion: *695 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + discussion: *696 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -123718,10 +123998,10 @@ webhooks: type: string enum: - unanswered - discussion: *695 - old_answer: *697 - organization: *674 - repository: *675 + discussion: *696 + old_answer: *698 + organization: *675 + repository: *676 sender: *4 required: - action @@ -123803,12 +124083,12 @@ webhooks: type: string enum: - unlabeled - discussion: *695 - enterprise: *672 - installation: *673 - label: *698 - organization: *674 - repository: *675 + discussion: *696 + enterprise: *673 + installation: *674 + label: *699 + organization: *675 + repository: *676 sender: *4 required: - action @@ -123891,11 +124171,11 @@ webhooks: type: string enum: - unlocked - discussion: *695 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + discussion: *696 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -123977,11 +124257,11 @@ webhooks: type: string enum: - unpinned - discussion: *695 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + discussion: *696 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -124054,7 +124334,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *672 + enterprise: *673 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -124732,9 +125012,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *673 - organization: *674 - repository: *675 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - forkee @@ -124880,9 +125160,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 pages: description: The pages that were updated. type: array @@ -124920,7 +125200,7 @@ webhooks: - action - sha - html_url - repository: *675 + repository: *676 sender: *4 required: - pages @@ -124996,10 +125276,10 @@ webhooks: type: string enum: - created - enterprise: *672 + enterprise: *673 installation: *20 - organization: *674 - repositories: &700 + organization: *675 + repositories: &701 description: An array of repository objects that the installation can access. type: array @@ -125025,8 +125305,8 @@ webhooks: - name - full_name - private - repository: *675 - requester: *699 + repository: *676 + requester: *700 sender: *4 required: - action @@ -125101,11 +125381,11 @@ webhooks: type: string enum: - deleted - enterprise: *672 + enterprise: *673 installation: *20 - organization: *674 - repositories: *700 - repository: *675 + organization: *675 + repositories: *701 + repository: *676 requester: type: - 'null' @@ -125182,11 +125462,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *672 + enterprise: *673 installation: *20 - organization: *674 - repositories: *700 - repository: *675 + organization: *675 + repositories: *701 + repository: *676 requester: type: - 'null' @@ -125263,10 +125543,10 @@ webhooks: type: string enum: - added - enterprise: *672 + enterprise: *673 installation: *20 - organization: *674 - repositories_added: &701 + organization: *675 + repositories_added: &702 description: An array of repository objects, which were added to the installation. type: array @@ -125312,15 +125592,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *675 - repository_selection: &702 + repository: *676 + repository_selection: &703 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *699 + requester: *700 sender: *4 required: - action @@ -125399,10 +125679,10 @@ webhooks: type: string enum: - removed - enterprise: *672 + enterprise: *673 installation: *20 - organization: *674 - repositories_added: *701 + organization: *675 + repositories_added: *702 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -125429,9 +125709,9 @@ webhooks: - name - full_name - private - repository: *675 - repository_selection: *702 - requester: *699 + repository: *676 + repository_selection: *703 + requester: *700 sender: *4 required: - action @@ -125510,11 +125790,11 @@ webhooks: type: string enum: - suspend - enterprise: *672 + enterprise: *673 installation: *20 - organization: *674 - repositories: *700 - repository: *675 + organization: *675 + repositories: *701 + repository: *676 requester: type: - 'null' @@ -125697,10 +125977,10 @@ webhooks: type: string required: - from - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 target_type: type: string @@ -125779,11 +126059,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *672 + enterprise: *673 installation: *20 - organization: *674 - repositories: *700 - repository: *675 + organization: *675 + repositories: *701 + repository: *676 requester: type: - 'null' @@ -126031,8 +126311,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -127222,8 +127502,8 @@ webhooks: - state - locked - assignee - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 required: - action @@ -127303,7 +127583,7 @@ webhooks: type: string enum: - deleted - comment: &703 + comment: &704 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -127470,8 +127750,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -128659,8 +128939,8 @@ webhooks: - state - locked - assignee - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 required: - action @@ -128740,7 +129020,7 @@ webhooks: type: string enum: - edited - changes: &728 + changes: &729 description: The changes to the comment. type: object properties: @@ -128752,9 +129032,9 @@ webhooks: type: string required: - from - comment: *703 - enterprise: *672 - installation: *673 + comment: *704 + enterprise: *673 + installation: *674 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -129943,8 +130223,8 @@ webhooks: - state - locked - assignee - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 required: - action @@ -130026,10 +130306,10 @@ webhooks: type: string enum: - assigned - assignee: *699 - enterprise: *672 - installation: *673 - issue: &706 + assignee: *700 + enterprise: *673 + installation: *674 + issue: &707 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -130973,8 +131253,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 required: - action @@ -131054,8 +131334,8 @@ webhooks: type: string enum: - closed - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -132147,8 +132427,8 @@ webhooks: required: - state - closed_at - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 required: - action @@ -132227,8 +132507,8 @@ webhooks: type: string enum: - deleted - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -133165,8 +133445,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 required: - action @@ -133245,8 +133525,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -134187,7 +134467,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &704 + milestone: &705 title: Milestone description: A collection of related issues and pull requests. type: object @@ -134330,8 +134610,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 required: - action @@ -134430,8 +134710,8 @@ webhooks: type: string required: - from - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -135375,9 +135655,9 @@ webhooks: - active_lock_reason - body - reactions - label: *698 - organization: *674 - repository: *675 + label: *699 + organization: *675 + repository: *676 sender: *4 required: - action @@ -135457,8 +135737,8 @@ webhooks: type: string enum: - labeled - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -136401,9 +136681,9 @@ webhooks: - active_lock_reason - body - reactions - label: *698 - organization: *674 - repository: *675 + label: *699 + organization: *675 + repository: *676 sender: *4 required: - action @@ -136483,8 +136763,8 @@ webhooks: type: string enum: - locked - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -137429,8 +137709,8 @@ webhooks: format: uri user_view_type: type: string - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 required: - action @@ -137509,8 +137789,8 @@ webhooks: type: string enum: - milestoned - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -138449,9 +138729,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *704 - organization: *674 - repository: *675 + milestone: *705 + organization: *675 + repository: *676 sender: *4 required: - action @@ -139951,8 +140231,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140895,8 +141175,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 required: - action @@ -140976,9 +141256,9 @@ webhooks: type: string enum: - pinned - enterprise: *672 - installation: *673 - issue: &705 + enterprise: *673 + installation: *674 + issue: &706 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -141915,8 +142195,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 required: - action @@ -141995,8 +142275,8 @@ webhooks: type: string enum: - reopened - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142940,8 +143220,8 @@ webhooks: format: uri user_view_type: type: string - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 required: - action @@ -144441,11 +144721,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *672 - installation: *673 - issue: *705 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + issue: *706 + organization: *675 + repository: *676 sender: *4 required: - action @@ -144526,7 +144806,7 @@ webhooks: type: string enum: - unassigned - assignee: &731 + assignee: &732 title: User type: - object @@ -144598,11 +144878,11 @@ webhooks: required: - login - id - enterprise: *672 - installation: *673 - issue: *706 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + issue: *707 + organization: *675 + repository: *676 sender: *4 required: - action @@ -144681,12 +144961,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *672 - installation: *673 - issue: *706 - label: *698 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + issue: *707 + label: *699 + organization: *675 + repository: *676 sender: *4 required: - action @@ -144766,8 +145046,8 @@ webhooks: type: string enum: - unlocked - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -145710,8 +145990,8 @@ webhooks: format: uri user_view_type: type: string - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 required: - action @@ -145791,11 +146071,11 @@ webhooks: type: string enum: - unpinned - enterprise: *672 - installation: *673 - issue: *705 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + issue: *706 + organization: *675 + repository: *676 sender: *4 required: - action @@ -145874,11 +146154,11 @@ webhooks: type: string enum: - created - enterprise: *672 - installation: *673 - label: *698 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + label: *699 + organization: *675 + repository: *676 sender: *4 required: - action @@ -145956,11 +146236,11 @@ webhooks: type: string enum: - deleted - enterprise: *672 - installation: *673 - label: *698 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + label: *699 + organization: *675 + repository: *676 sender: *4 required: - action @@ -146070,11 +146350,11 @@ webhooks: type: string required: - from - enterprise: *672 - installation: *673 - label: *698 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + label: *699 + organization: *675 + repository: *676 sender: *4 required: - action @@ -146156,9 +146436,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *672 - installation: *673 - marketplace_purchase: &707 + enterprise: *673 + installation: *674 + marketplace_purchase: &708 title: Marketplace Purchase type: object required: @@ -146246,8 +146526,8 @@ webhooks: type: integer unit_count: type: integer - organization: *674 - previous_marketplace_purchase: &708 + organization: *675 + previous_marketplace_purchase: &709 title: Marketplace Purchase type: object properties: @@ -146331,7 +146611,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *675 + repository: *676 sender: *4 required: - action @@ -146411,10 +146691,10 @@ webhooks: - changed effective_date: type: string - enterprise: *672 - installation: *673 - marketplace_purchase: *707 - organization: *674 + enterprise: *673 + installation: *674 + marketplace_purchase: *708 + organization: *675 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -146502,7 +146782,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *675 + repository: *676 sender: *4 required: - action @@ -146584,10 +146864,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *672 - installation: *673 - marketplace_purchase: *707 - organization: *674 + enterprise: *673 + installation: *674 + marketplace_purchase: *708 + organization: *675 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -146673,7 +146953,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *675 + repository: *676 sender: *4 required: - action @@ -146754,8 +147034,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 marketplace_purchase: title: Marketplace Purchase type: object @@ -146841,9 +147121,9 @@ webhooks: type: integer unit_count: type: integer - organization: *674 - previous_marketplace_purchase: *708 - repository: *675 + organization: *675 + previous_marketplace_purchase: *709 + repository: *676 sender: *4 required: - action @@ -146923,12 +147203,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *672 - installation: *673 - marketplace_purchase: *707 - organization: *674 - previous_marketplace_purchase: *708 - repository: *675 + enterprise: *673 + installation: *674 + marketplace_purchase: *708 + organization: *675 + previous_marketplace_purchase: *709 + repository: *676 sender: *4 required: - action @@ -147030,11 +147310,11 @@ webhooks: type: string required: - to - enterprise: *672 - installation: *673 - member: *699 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + member: *700 + organization: *675 + repository: *676 sender: *4 required: - action @@ -147136,11 +147416,11 @@ webhooks: type: - string - 'null' - enterprise: *672 - installation: *673 - member: *699 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + member: *700 + organization: *675 + repository: *676 sender: *4 required: - action @@ -147219,11 +147499,11 @@ webhooks: type: string enum: - removed - enterprise: *672 - installation: *673 - member: *699 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + member: *700 + organization: *675 + repository: *676 sender: *4 required: - action @@ -147301,11 +147581,11 @@ webhooks: type: string enum: - added - enterprise: *672 - installation: *673 - member: *699 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + member: *700 + organization: *675 + repository: *676 scope: description: The scope of the membership. Currently, can only be `team`. @@ -147383,7 +147663,7 @@ webhooks: required: - login - id - team: &709 + team: &710 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -147576,11 +147856,11 @@ webhooks: type: string enum: - removed - enterprise: *672 - installation: *673 - member: *699 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + member: *700 + organization: *675 + repository: *676 scope: description: The scope of the membership. Currently, can only be `team`. @@ -147659,7 +147939,7 @@ webhooks: required: - login - id - team: *709 + team: *710 required: - action - scope @@ -147741,8 +148021,8 @@ webhooks: type: string enum: - checks_requested - installation: *673 - merge_group: &710 + installation: *674 + merge_group: &711 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -147761,15 +148041,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *385 + head_commit: *386 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 required: - action @@ -147855,10 +148135,10 @@ webhooks: - merged - invalidated - dequeued - installation: *673 - merge_group: *710 - organization: *674 - repository: *675 + installation: *674 + merge_group: *711 + organization: *675 + repository: *676 sender: *4 required: - action @@ -147931,7 +148211,7 @@ webhooks: type: string enum: - deleted - enterprise: *672 + enterprise: *673 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -148039,12 +148319,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *673 - organization: *674 + installation: *674 + organization: *675 repository: anyOf: - type: 'null' - - *675 + - *676 sender: *4 required: - action @@ -148124,11 +148404,11 @@ webhooks: type: string enum: - closed - enterprise: *672 - installation: *673 - milestone: *704 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + milestone: *705 + organization: *675 + repository: *676 sender: *4 required: - action @@ -148207,9 +148487,9 @@ webhooks: type: string enum: - created - enterprise: *672 - installation: *673 - milestone: &711 + enterprise: *673 + installation: *674 + milestone: &712 title: Milestone description: A collection of related issues and pull requests. type: object @@ -148351,8 +148631,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 required: - action @@ -148431,11 +148711,11 @@ webhooks: type: string enum: - deleted - enterprise: *672 - installation: *673 - milestone: *704 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + milestone: *705 + organization: *675 + repository: *676 sender: *4 required: - action @@ -148545,11 +148825,11 @@ webhooks: type: string required: - from - enterprise: *672 - installation: *673 - milestone: *704 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + milestone: *705 + organization: *675 + repository: *676 sender: *4 required: - action @@ -148629,11 +148909,11 @@ webhooks: type: string enum: - opened - enterprise: *672 - installation: *673 - milestone: *711 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + milestone: *712 + organization: *675 + repository: *676 sender: *4 required: - action @@ -148712,11 +148992,11 @@ webhooks: type: string enum: - blocked - blocked_user: *699 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + blocked_user: *700 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -148795,11 +149075,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *699 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + blocked_user: *700 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -148878,9 +149158,9 @@ webhooks: type: string enum: - deleted - enterprise: *672 - installation: *673 - membership: &712 + enterprise: *673 + installation: *674 + membership: &713 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -148974,8 +149254,8 @@ webhooks: - role - organization_url - user - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 required: - action @@ -149053,11 +149333,11 @@ webhooks: type: string enum: - member_added - enterprise: *672 - installation: *673 - membership: *712 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + membership: *713 + organization: *675 + repository: *676 sender: *4 required: - action @@ -149136,8 +149416,8 @@ webhooks: type: string enum: - member_invited - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -149259,10 +149539,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 - user: *699 + user: *700 required: - action - invitation @@ -149340,11 +149620,11 @@ webhooks: type: string enum: - member_removed - enterprise: *672 - installation: *673 - membership: *712 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + membership: *713 + organization: *675 + repository: *676 sender: *4 required: - action @@ -149431,11 +149711,11 @@ webhooks: properties: from: type: string - enterprise: *672 - installation: *673 - membership: *712 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + membership: *713 + organization: *675 + repository: *676 sender: *4 required: - action @@ -149511,9 +149791,9 @@ webhooks: type: string enum: - published - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 package: description: Information about the package. type: object @@ -150036,7 +150316,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &713 + items: &714 title: Ruby Gems metadata type: object properties: @@ -150133,7 +150413,7 @@ webhooks: - owner - package_version - registry - repository: *675 + repository: *676 sender: *4 required: - action @@ -150209,9 +150489,9 @@ webhooks: type: string enum: - updated - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 package: description: Information about the package. type: object @@ -150573,7 +150853,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *713 + items: *714 source_url: type: string format: uri @@ -150644,7 +150924,7 @@ webhooks: - owner - package_version - registry - repository: *675 + repository: *676 sender: *4 required: - action @@ -150825,12 +151105,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *672 + enterprise: *673 id: type: integer - installation: *673 - organization: *674 - repository: *675 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - id @@ -150910,7 +151190,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &714 + personal_access_token_request: &715 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -151060,10 +151340,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *672 - organization: *674 + enterprise: *673 + organization: *675 sender: *4 - installation: *673 + installation: *674 required: - action - personal_access_token_request @@ -151142,11 +151422,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *714 - enterprise: *672 - organization: *674 + personal_access_token_request: *715 + enterprise: *673 + organization: *675 sender: *4 - installation: *673 + installation: *674 required: - action - personal_access_token_request @@ -151224,11 +151504,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *714 - enterprise: *672 - organization: *674 + personal_access_token_request: *715 + enterprise: *673 + organization: *675 sender: *4 - installation: *673 + installation: *674 required: - action - personal_access_token_request @@ -151305,11 +151585,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *714 - organization: *674 - enterprise: *672 + personal_access_token_request: *715 + organization: *675 + enterprise: *673 sender: *4 - installation: *673 + installation: *674 required: - action - personal_access_token_request @@ -151413,7 +151693,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *715 + last_response: *716 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -151445,8 +151725,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 zen: description: Random string of GitHub zen. @@ -151691,10 +151971,10 @@ webhooks: - from required: - note - enterprise: *672 - installation: *673 - organization: *674 - project_card: &716 + enterprise: *673 + installation: *674 + organization: *675 + project_card: &717 title: Project Card type: object properties: @@ -151817,7 +152097,7 @@ webhooks: - creator - created_at - updated_at - repository: *675 + repository: *676 sender: *4 required: - action @@ -151898,11 +152178,11 @@ webhooks: type: string enum: - created - enterprise: *672 - installation: *673 - organization: *674 - project_card: *716 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + project_card: *717 + repository: *676 sender: *4 required: - action @@ -151982,9 +152262,9 @@ webhooks: type: string enum: - deleted - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 project_card: title: Project Card type: object @@ -152114,7 +152394,7 @@ webhooks: repository: anyOf: - type: 'null' - - *675 + - *676 sender: *4 required: - action @@ -152208,11 +152488,11 @@ webhooks: - from required: - note - enterprise: *672 - installation: *673 - organization: *674 - project_card: *716 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + project_card: *717 + repository: *676 sender: *4 required: - action @@ -152306,9 +152586,9 @@ webhooks: - from required: - column_id - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 project_card: allOf: - title: Project Card @@ -152505,7 +152785,7 @@ webhooks: type: string required: - after_id - repository: *675 + repository: *676 sender: *4 required: - action @@ -152585,10 +152865,10 @@ webhooks: type: string enum: - closed - enterprise: *672 - installation: *673 - organization: *674 - project: &718 + enterprise: *673 + installation: *674 + organization: *675 + project: &719 title: Project type: object properties: @@ -152715,7 +152995,7 @@ webhooks: - creator - created_at - updated_at - repository: *675 + repository: *676 sender: *4 required: - action @@ -152795,10 +153075,10 @@ webhooks: type: string enum: - created - enterprise: *672 - installation: *673 - organization: *674 - project_column: &717 + enterprise: *673 + installation: *674 + organization: *675 + project_column: &718 title: Project Column type: object properties: @@ -152838,7 +153118,7 @@ webhooks: - name - created_at - updated_at - repository: *675 + repository: *676 sender: *4 required: - action @@ -152917,14 +153197,14 @@ webhooks: type: string enum: - deleted - enterprise: *672 - installation: *673 - organization: *674 - project_column: *717 + enterprise: *673 + installation: *674 + organization: *675 + project_column: *718 repository: anyOf: - type: 'null' - - *675 + - *676 sender: *4 required: - action @@ -153013,11 +153293,11 @@ webhooks: type: string required: - from - enterprise: *672 - installation: *673 - organization: *674 - project_column: *717 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + project_column: *718 + repository: *676 sender: *4 required: - action @@ -153097,11 +153377,11 @@ webhooks: type: string enum: - moved - enterprise: *672 - installation: *673 - organization: *674 - project_column: *717 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + project_column: *718 + repository: *676 sender: *4 required: - action @@ -153181,11 +153461,11 @@ webhooks: type: string enum: - created - enterprise: *672 - installation: *673 - organization: *674 - project: *718 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + project: *719 + repository: *676 sender: *4 required: - action @@ -153265,14 +153545,14 @@ webhooks: type: string enum: - deleted - enterprise: *672 - installation: *673 - organization: *674 - project: *718 + enterprise: *673 + installation: *674 + organization: *675 + project: *719 repository: anyOf: - type: 'null' - - *675 + - *676 sender: *4 required: - action @@ -153373,11 +153653,11 @@ webhooks: type: string required: - from - enterprise: *672 - installation: *673 - organization: *674 - project: *718 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + project: *719 + repository: *676 sender: *4 required: - action @@ -153456,11 +153736,11 @@ webhooks: type: string enum: - reopened - enterprise: *672 - installation: *673 - organization: *674 - project: *718 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + project: *719 + repository: *676 sender: *4 required: - action @@ -153541,9 +153821,9 @@ webhooks: type: string enum: - closed - installation: *673 - organization: *674 - projects_v2: &719 + installation: *674 + organization: *675 + projects_v2: &720 title: Projects v2 Project description: A projects v2 project type: object @@ -153691,9 +153971,9 @@ webhooks: type: string enum: - created - installation: *673 - organization: *674 - projects_v2: *719 + installation: *674 + organization: *675 + projects_v2: *720 sender: *4 required: - action @@ -153774,9 +154054,9 @@ webhooks: type: string enum: - deleted - installation: *673 - organization: *674 - projects_v2: *719 + installation: *674 + organization: *675 + projects_v2: *720 sender: *4 required: - action @@ -153897,9 +154177,9 @@ webhooks: type: string to: type: string - installation: *673 - organization: *674 - projects_v2: *719 + installation: *674 + organization: *675 + projects_v2: *720 sender: *4 required: - action @@ -153982,7 +154262,7 @@ webhooks: type: string enum: - archived - changes: &723 + changes: &724 type: object properties: archived_at: @@ -153998,9 +154278,9 @@ webhooks: - string - 'null' format: date-time - installation: *673 - organization: *674 - projects_v2_item: &720 + installation: *674 + organization: *675 + projects_v2_item: &721 title: Projects v2 Item description: An item belonging to a project type: object @@ -154139,9 +154419,9 @@ webhooks: - 'null' to: type: string - installation: *673 - organization: *674 - projects_v2_item: *720 + installation: *674 + organization: *675 + projects_v2_item: *721 sender: *4 required: - action @@ -154223,9 +154503,9 @@ webhooks: type: string enum: - created - installation: *673 - organization: *674 - projects_v2_item: *720 + installation: *674 + organization: *675 + projects_v2_item: *721 sender: *4 required: - action @@ -154306,9 +154586,9 @@ webhooks: type: string enum: - deleted - installation: *673 - organization: *674 - projects_v2_item: *720 + installation: *674 + organization: *675 + projects_v2_item: *721 sender: *4 required: - action @@ -154413,7 +154693,7 @@ webhooks: oneOf: - type: string - type: integer - - &721 + - &722 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -154433,7 +154713,7 @@ webhooks: required: - id - name - - &722 + - &723 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -154462,8 +154742,8 @@ webhooks: oneOf: - type: string - type: integer - - *721 - *722 + - *723 type: - 'null' - string @@ -154486,9 +154766,9 @@ webhooks: - 'null' required: - body - installation: *673 - organization: *674 - projects_v2_item: *720 + installation: *674 + organization: *675 + projects_v2_item: *721 sender: *4 required: - action @@ -154585,9 +154865,9 @@ webhooks: type: - string - 'null' - installation: *673 - organization: *674 - projects_v2_item: *720 + installation: *674 + organization: *675 + projects_v2_item: *721 sender: *4 required: - action @@ -154670,10 +154950,10 @@ webhooks: type: string enum: - restored - changes: *723 - installation: *673 - organization: *674 - projects_v2_item: *720 + changes: *724 + installation: *674 + organization: *675 + projects_v2_item: *721 sender: *4 required: - action @@ -154755,9 +155035,9 @@ webhooks: type: string enum: - reopened - installation: *673 - organization: *674 - projects_v2: *719 + installation: *674 + organization: *675 + projects_v2: *720 sender: *4 required: - action @@ -154838,9 +155118,9 @@ webhooks: type: string enum: - created - installation: *673 - organization: *674 - projects_v2_status_update: &724 + installation: *674 + organization: *675 + projects_v2_status_update: &725 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -154975,9 +155255,9 @@ webhooks: type: string enum: - deleted - installation: *673 - organization: *674 - projects_v2_status_update: *724 + installation: *674 + organization: *675 + projects_v2_status_update: *725 sender: *4 required: - action @@ -155123,9 +155403,9 @@ webhooks: - string - 'null' format: date - installation: *673 - organization: *674 - projects_v2_status_update: *724 + installation: *674 + organization: *675 + projects_v2_status_update: *725 sender: *4 required: - action @@ -155196,10 +155476,10 @@ webhooks: title: public event type: object properties: - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - repository @@ -155276,13 +155556,13 @@ webhooks: type: string enum: - assigned - assignee: *699 - enterprise: *672 - installation: *673 - number: &725 + assignee: *700 + enterprise: *673 + installation: *674 + number: &726 description: The pull request number. type: integer - organization: *674 + organization: *675 pull_request: title: Pull Request type: object @@ -157631,7 +157911,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *675 + repository: *676 sender: *4 required: - action @@ -157713,11 +157993,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 number: type: integer - organization: *674 + organization: *675 pull_request: title: Pull Request type: object @@ -160059,7 +160339,7 @@ webhooks: - draft reason: type: string - repository: *675 + repository: *676 sender: *4 required: - action @@ -160141,11 +160421,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 number: type: integer - organization: *674 + organization: *675 pull_request: title: Pull Request type: object @@ -162487,7 +162767,7 @@ webhooks: - draft reason: type: string - repository: *675 + repository: *676 sender: *4 required: - action @@ -162569,13 +162849,13 @@ webhooks: type: string enum: - closed - enterprise: *672 - installation: *673 - number: *725 - organization: *674 - pull_request: &726 + enterprise: *673 + installation: *674 + number: *726 + organization: *675 + pull_request: &727 allOf: - - *530 + - *531 - type: object properties: allow_auto_merge: @@ -162637,7 +162917,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *675 + repository: *676 sender: *4 required: - action @@ -162718,12 +162998,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *672 - installation: *673 - number: *725 - organization: *674 - pull_request: *726 - repository: *675 + enterprise: *673 + installation: *674 + number: *726 + organization: *675 + pull_request: *727 + repository: *676 sender: *4 required: - action @@ -162803,11 +163083,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *672 - milestone: *428 - number: *725 - organization: *674 - pull_request: &727 + enterprise: *673 + milestone: *429 + number: *726 + organization: *675 + pull_request: &728 title: Pull Request type: object properties: @@ -165134,7 +165414,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *675 + repository: *676 sender: *4 required: - action @@ -165213,11 +165493,11 @@ webhooks: type: string enum: - dequeued - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 number: type: integer - organization: *674 + organization: *675 pull_request: title: Pull Request type: object @@ -167563,7 +167843,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *675 + repository: *676 sender: *4 required: - action @@ -167687,12 +167967,12 @@ webhooks: type: string required: - from - enterprise: *672 - installation: *673 - number: *725 - organization: *674 - pull_request: *726 - repository: *675 + enterprise: *673 + installation: *674 + number: *726 + organization: *675 + pull_request: *727 + repository: *676 sender: *4 required: - action @@ -167772,11 +168052,11 @@ webhooks: type: string enum: - enqueued - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 number: type: integer - organization: *674 + organization: *675 pull_request: title: Pull Request type: object @@ -170107,7 +170387,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *675 + repository: *676 sender: *4 required: - action @@ -170187,11 +170467,11 @@ webhooks: type: string enum: - labeled - enterprise: *672 - installation: *673 - label: *698 - number: *725 - organization: *674 + enterprise: *673 + installation: *674 + label: *699 + number: *726 + organization: *675 pull_request: title: Pull Request type: object @@ -172539,7 +172819,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *675 + repository: *676 sender: *4 required: - action @@ -172620,10 +172900,10 @@ webhooks: type: string enum: - locked - enterprise: *672 - installation: *673 - number: *725 - organization: *674 + enterprise: *673 + installation: *674 + number: *726 + organization: *675 pull_request: title: Pull Request type: object @@ -174969,7 +175249,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *675 + repository: *676 sender: *4 required: - action @@ -175049,12 +175329,12 @@ webhooks: type: string enum: - milestoned - enterprise: *672 - milestone: *428 - number: *725 - organization: *674 - pull_request: *727 - repository: *675 + enterprise: *673 + milestone: *429 + number: *726 + organization: *675 + pull_request: *728 + repository: *676 sender: *4 required: - action @@ -175133,12 +175413,12 @@ webhooks: type: string enum: - opened - enterprise: *672 - installation: *673 - number: *725 - organization: *674 - pull_request: *726 - repository: *675 + enterprise: *673 + installation: *674 + number: *726 + organization: *675 + pull_request: *727 + repository: *676 sender: *4 required: - action @@ -175219,12 +175499,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *672 - installation: *673 - number: *725 - organization: *674 - pull_request: *726 - repository: *675 + enterprise: *673 + installation: *674 + number: *726 + organization: *675 + pull_request: *727 + repository: *676 sender: *4 required: - action @@ -175304,12 +175584,12 @@ webhooks: type: string enum: - reopened - enterprise: *672 - installation: *673 - number: *725 - organization: *674 - pull_request: *726 - repository: *675 + enterprise: *673 + installation: *674 + number: *726 + organization: *675 + pull_request: *727 + repository: *676 sender: *4 required: - action @@ -175684,9 +175964,9 @@ webhooks: - start_side - side - reactions - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 pull_request: type: object properties: @@ -177916,7 +178196,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *675 + repository: *676 sender: *4 required: - action @@ -177996,7 +178276,7 @@ webhooks: type: string enum: - deleted - comment: &729 + comment: &730 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -178289,9 +178569,9 @@ webhooks: - start_side - side - reactions - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 pull_request: type: object properties: @@ -180509,7 +180789,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *675 + repository: *676 sender: *4 required: - action @@ -180589,11 +180869,11 @@ webhooks: type: string enum: - edited - changes: *728 - comment: *729 - enterprise: *672 - installation: *673 - organization: *674 + changes: *729 + comment: *730 + enterprise: *673 + installation: *674 + organization: *675 pull_request: type: object properties: @@ -182814,7 +183094,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *675 + repository: *676 sender: *4 required: - action @@ -182895,9 +183175,9 @@ webhooks: type: string enum: - dismissed - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 pull_request: title: Simple Pull Request type: object @@ -185130,7 +185410,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *675 + repository: *676 review: description: The review that was affected. type: object @@ -185376,9 +185656,9 @@ webhooks: type: string required: - from - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 pull_request: title: Simple Pull Request type: object @@ -187492,8 +187772,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *675 - review: &730 + repository: *676 + review: &731 description: The review that was affected. type: object properties: @@ -187726,12 +188006,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 number: description: The pull request number. type: integer - organization: *674 + organization: *675 pull_request: title: Pull Request type: object @@ -190078,7 +190358,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *675 + repository: *676 requested_reviewer: title: User type: @@ -190164,12 +190444,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 number: description: The pull request number. type: integer - organization: *674 + organization: *675 pull_request: title: Pull Request type: object @@ -192523,7 +192803,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *675 + repository: *676 requested_team: title: Team description: Groups of organization members that gives permissions @@ -192718,12 +192998,12 @@ webhooks: type: string enum: - review_requested - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 number: description: The pull request number. type: integer - organization: *674 + organization: *675 pull_request: title: Pull Request type: object @@ -195072,7 +195352,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *675 + repository: *676 requested_reviewer: title: User type: @@ -195159,12 +195439,12 @@ webhooks: type: string enum: - review_requested - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 number: description: The pull request number. type: integer - organization: *674 + organization: *675 pull_request: title: Pull Request type: object @@ -197504,7 +197784,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *675 + repository: *676 requested_team: title: Team description: Groups of organization members that gives permissions @@ -197688,9 +197968,9 @@ webhooks: type: string enum: - submitted - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 pull_request: title: Simple Pull Request type: object @@ -199926,8 +200206,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *675 - review: *730 + repository: *676 + review: *731 sender: *4 required: - action @@ -200007,9 +200287,9 @@ webhooks: type: string enum: - resolved - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 pull_request: title: Simple Pull Request type: object @@ -202140,7 +202420,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *675 + repository: *676 sender: *4 thread: type: object @@ -202532,9 +202812,9 @@ webhooks: type: string enum: - unresolved - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 pull_request: title: Simple Pull Request type: object @@ -204648,7 +204928,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *675 + repository: *676 sender: *4 thread: type: object @@ -205042,10 +205322,10 @@ webhooks: type: string before: type: string - enterprise: *672 - installation: *673 - number: *725 - organization: *674 + enterprise: *673 + installation: *674 + number: *726 + organization: *675 pull_request: title: Pull Request type: object @@ -207380,7 +207660,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *675 + repository: *676 sender: *4 required: - action @@ -207462,11 +207742,11 @@ webhooks: type: string enum: - unassigned - assignee: *731 - enterprise: *672 - installation: *673 - number: *725 - organization: *674 + assignee: *732 + enterprise: *673 + installation: *674 + number: *726 + organization: *675 pull_request: title: Pull Request type: object @@ -209816,7 +210096,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *675 + repository: *676 sender: *4 required: - action @@ -209895,11 +210175,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *672 - installation: *673 - label: *698 - number: *725 - organization: *674 + enterprise: *673 + installation: *674 + label: *699 + number: *726 + organization: *675 pull_request: title: Pull Request type: object @@ -212238,7 +212518,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *675 + repository: *676 sender: *4 required: - action @@ -212319,10 +212599,10 @@ webhooks: type: string enum: - unlocked - enterprise: *672 - installation: *673 - number: *725 - organization: *674 + enterprise: *673 + installation: *674 + number: *726 + organization: *675 pull_request: title: Pull Request type: object @@ -214651,7 +214931,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *675 + repository: *676 sender: *4 required: - action @@ -214854,7 +215134,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *672 + enterprise: *673 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -214949,8 +215229,8 @@ webhooks: - url - author - committer - installation: *673 - organization: *674 + installation: *674 + organization: *675 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -215538,9 +215818,9 @@ webhooks: type: string enum: - published - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 registry_package: type: object properties: @@ -216017,7 +216297,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *713 + items: *714 summary: type: string tag_name: @@ -216073,7 +216353,7 @@ webhooks: - owner - package_version - registry - repository: *675 + repository: *676 sender: *4 required: - action @@ -216151,9 +216431,9 @@ webhooks: type: string enum: - updated - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 registry_package: type: object properties: @@ -216465,7 +216745,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *713 + items: *714 summary: type: string tag_name: @@ -216515,7 +216795,7 @@ webhooks: - owner - package_version - registry - repository: *675 + repository: *676 sender: *4 required: - action @@ -216592,10 +216872,10 @@ webhooks: type: string enum: - created - enterprise: *672 - installation: *673 - organization: *674 - release: &732 + enterprise: *673 + installation: *674 + organization: *675 + release: &733 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -216911,7 +217191,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *675 + repository: *676 sender: *4 required: - action @@ -216988,11 +217268,11 @@ webhooks: type: string enum: - deleted - enterprise: *672 - installation: *673 - organization: *674 - release: *732 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + release: *733 + repository: *676 sender: *4 required: - action @@ -217100,11 +217380,11 @@ webhooks: type: boolean required: - to - enterprise: *672 - installation: *673 - organization: *674 - release: *732 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + release: *733 + repository: *676 sender: *4 required: - action @@ -217182,9 +217462,9 @@ webhooks: type: string enum: - prereleased - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -217505,7 +217785,7 @@ webhooks: - string - 'null' format: uri - repository: *675 + repository: *676 sender: *4 required: - action @@ -217581,10 +217861,10 @@ webhooks: type: string enum: - published - enterprise: *672 - installation: *673 - organization: *674 - release: &733 + enterprise: *673 + installation: *674 + organization: *675 + release: &734 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -217902,7 +218182,7 @@ webhooks: - string - 'null' format: uri - repository: *675 + repository: *676 sender: *4 required: - action @@ -217978,11 +218258,11 @@ webhooks: type: string enum: - released - enterprise: *672 - installation: *673 - organization: *674 - release: *732 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + release: *733 + repository: *676 sender: *4 required: - action @@ -218058,11 +218338,11 @@ webhooks: type: string enum: - unpublished - enterprise: *672 - installation: *673 - organization: *674 - release: *733 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + release: *734 + repository: *676 sender: *4 required: - action @@ -218138,11 +218418,11 @@ webhooks: type: string enum: - published - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 - repository_advisory: *584 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + repository_advisory: *585 sender: *4 required: - action @@ -218218,11 +218498,11 @@ webhooks: type: string enum: - reported - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 - repository_advisory: *584 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + repository_advisory: *585 sender: *4 required: - action @@ -218298,10 +218578,10 @@ webhooks: type: string enum: - archived - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -218378,10 +218658,10 @@ webhooks: type: string enum: - created - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -218459,10 +218739,10 @@ webhooks: type: string enum: - deleted - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -218547,10 +218827,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -218665,10 +218945,10 @@ webhooks: - 'null' items: type: string - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -218740,10 +219020,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 status: type: string @@ -218824,10 +219104,10 @@ webhooks: type: string enum: - privatized - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -218904,10 +219184,10 @@ webhooks: type: string enum: - publicized - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -219001,10 +219281,10 @@ webhooks: - name required: - repository - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -219084,11 +219364,11 @@ webhooks: type: string enum: - created - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 - repository_ruleset: *272 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + repository_ruleset: *273 sender: *4 required: - action @@ -219166,11 +219446,11 @@ webhooks: type: string enum: - deleted - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 - repository_ruleset: *272 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + repository_ruleset: *273 sender: *4 required: - action @@ -219248,11 +219528,11 @@ webhooks: type: string enum: - edited - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 - repository_ruleset: *272 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + repository_ruleset: *273 changes: type: object properties: @@ -219271,16 +219551,16 @@ webhooks: properties: added: type: array - items: *266 + items: *267 deleted: type: array - items: *266 + items: *267 updated: type: array items: type: object properties: - condition: *266 + condition: *267 changes: type: object properties: @@ -219313,16 +219593,16 @@ webhooks: properties: added: type: array - items: *271 + items: *272 deleted: type: array - items: *271 + items: *272 updated: type: array items: type: object properties: - rule: *271 + rule: *272 changes: type: object properties: @@ -219559,10 +219839,10 @@ webhooks: - from required: - owner - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -219640,10 +219920,10 @@ webhooks: type: string enum: - unarchived - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -219721,7 +220001,7 @@ webhooks: type: string enum: - create - alert: &734 + alert: &735 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -219845,10 +220125,10 @@ webhooks: type: string enum: - open - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -220058,10 +220338,10 @@ webhooks: type: string enum: - dismissed - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -220139,11 +220419,11 @@ webhooks: type: string enum: - reopen - alert: *734 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + alert: *735 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -220345,10 +220625,10 @@ webhooks: enum: - fixed - open - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -220426,7 +220706,7 @@ webhooks: type: string enum: - created - alert: &735 + alert: &736 type: object properties: number: *81 @@ -220530,10 +220810,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -220614,11 +220894,11 @@ webhooks: type: string enum: - created - alert: *735 - installation: *673 - location: *736 - organization: *674 - repository: *675 + alert: *736 + installation: *674 + location: *737 + organization: *675 + repository: *676 sender: *4 required: - location @@ -220856,11 +221136,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *735 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + alert: *736 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -220938,11 +221218,11 @@ webhooks: type: string enum: - reopened - alert: *735 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + alert: *736 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -221020,11 +221300,11 @@ webhooks: type: string enum: - resolved - alert: *735 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + alert: *736 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -221102,11 +221382,11 @@ webhooks: type: string enum: - validated - alert: *735 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + alert: *736 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -221182,11 +221462,11 @@ webhooks: type: string enum: - published - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 - security_advisory: &737 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + security_advisory: &738 description: The details of the security advisory, including summary, description, and severity. type: object @@ -221372,11 +221652,11 @@ webhooks: type: string enum: - updated - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 - security_advisory: *737 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + security_advisory: *738 sender: *4 required: - action @@ -221449,10 +221729,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -221638,11 +221918,11 @@ webhooks: from: type: object properties: - security_and_analysis: *263 - enterprise: *672 - installation: *673 - organization: *674 - repository: *324 + security_and_analysis: *264 + enterprise: *673 + installation: *674 + organization: *675 + repository: *325 sender: *4 required: - changes @@ -221720,12 +222000,12 @@ webhooks: type: string enum: - cancelled - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - sponsorship: &738 + sponsorship: &739 type: object properties: created_at: @@ -222030,12 +222310,12 @@ webhooks: type: string enum: - created - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - sponsorship: *738 + sponsorship: *739 required: - action - sponsorship @@ -222123,12 +222403,12 @@ webhooks: type: string required: - from - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - sponsorship: *738 + sponsorship: *739 required: - action - changes @@ -222205,17 +222485,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &739 + effective_date: &740 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - sponsorship: *738 + sponsorship: *739 required: - action - sponsorship @@ -222289,7 +222569,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &740 + changes: &741 type: object properties: tier: @@ -222333,13 +222613,13 @@ webhooks: - from required: - tier - effective_date: *739 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + effective_date: *740 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - sponsorship: *738 + sponsorship: *739 required: - action - changes @@ -222416,13 +222696,13 @@ webhooks: type: string enum: - tier_changed - changes: *740 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + changes: *741 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - sponsorship: *738 + sponsorship: *739 required: - action - changes @@ -222496,10 +222776,10 @@ webhooks: type: string enum: - created - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -222583,10 +222863,10 @@ webhooks: type: string enum: - deleted - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -223019,15 +223299,15 @@ webhooks: type: - string - 'null' - enterprise: *672 + enterprise: *673 id: description: The unique identifier of the status. type: integer - installation: *673 + installation: *674 name: type: string - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 sha: description: The Commit SHA. @@ -223137,15 +223417,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *112 + parent_issue: *116 parent_issue_repo: *55 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *112 - installation: *673 - organization: *674 - repository: *675 + sub_issue: *116 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -223229,15 +223509,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *112 + parent_issue: *116 parent_issue_repo: *55 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *112 - installation: *673 - organization: *674 - repository: *675 + sub_issue: *116 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -223321,15 +223601,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *112 + sub_issue: *116 sub_issue_repo: *55 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *112 - installation: *673 - organization: *674 - repository: *675 + parent_issue: *116 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -223413,15 +223693,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *112 + sub_issue: *116 sub_issue_repo: *55 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *112 - installation: *673 - organization: *674 - repository: *675 + parent_issue: *116 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -223498,12 +223778,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - team: &741 + team: &742 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -223696,9 +223976,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 repository: title: Repository description: A git repository @@ -224168,7 +224448,7 @@ webhooks: - topics - visibility sender: *4 - team: *741 + team: *742 required: - action - team @@ -224244,9 +224524,9 @@ webhooks: type: string enum: - created - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 repository: title: Repository description: A git repository @@ -224716,7 +224996,7 @@ webhooks: - topics - visibility sender: *4 - team: *741 + team: *742 required: - action - team @@ -224793,9 +225073,9 @@ webhooks: type: string enum: - deleted - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 repository: title: Repository description: A git repository @@ -225265,7 +225545,7 @@ webhooks: - topics - visibility sender: *4 - team: *741 + team: *742 required: - action - team @@ -225409,9 +225689,9 @@ webhooks: - from required: - permissions - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 repository: title: Repository description: A git repository @@ -225881,7 +226161,7 @@ webhooks: - topics - visibility sender: *4 - team: *741 + team: *742 required: - action - changes @@ -225959,9 +226239,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 repository: title: Repository description: A git repository @@ -226431,7 +226711,7 @@ webhooks: - topics - visibility sender: *4 - team: *741 + team: *742 required: - action - team @@ -226507,10 +226787,10 @@ webhooks: type: string enum: - started - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -226583,17 +226863,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *672 + enterprise: *673 inputs: type: - object - 'null' additionalProperties: true - installation: *673 - organization: *674 + installation: *674 + organization: *675 ref: type: string - repository: *675 + repository: *676 sender: *4 workflow: type: string @@ -226675,10 +226955,10 @@ webhooks: type: string enum: - completed - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 workflow_job: allOf: @@ -226934,7 +227214,7 @@ webhooks: type: string required: - conclusion - deployment: *448 + deployment: *449 required: - action - repository @@ -227013,10 +227293,10 @@ webhooks: type: string enum: - in_progress - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 workflow_job: allOf: @@ -227298,7 +227578,7 @@ webhooks: required: - status - steps - deployment: *448 + deployment: *449 required: - action - repository @@ -227377,10 +227657,10 @@ webhooks: type: string enum: - queued - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 workflow_job: type: object @@ -227526,7 +227806,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *448 + deployment: *449 required: - action - repository @@ -227605,10 +227885,10 @@ webhooks: type: string enum: - waiting - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 workflow_job: type: object @@ -227755,7 +228035,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *448 + deployment: *449 required: - action - repository @@ -227835,12 +228115,12 @@ webhooks: type: string enum: - completed - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - workflow: *694 + workflow: *695 workflow_run: title: Workflow Run type: object @@ -228859,12 +229139,12 @@ webhooks: type: string enum: - in_progress - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - workflow: *694 + workflow: *695 workflow_run: title: Workflow Run type: object @@ -229868,12 +230148,12 @@ webhooks: type: string enum: - requested - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - workflow: *694 + workflow: *695 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index 3b097cb82..09177b2c6 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -32122,6 +32122,1144 @@ } } }, + "/enterprises/{enterprise}/properties/schema": { + "get": { + "summary": "Get custom properties for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets all custom properties defined for an enterprise.\nEnterprise members can read these properties.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-enterprise-custom-properties", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-custom-properties-for-an-enterprise" + }, + "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" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Custom Property", + "description": "Custom property defined on an organization", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + }, + "value_type": { + "type": "string", + "enum": [ + "string", + "single_select", + "multi_select", + "true_false" + ], + "description": "The type of the value for the property", + "examples": [ + "single_select" + ] + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "Default value of the property", + "type": [ + "null", + "string", + "array" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "Short description of the property" + }, + "allowed_values": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string", + "maxLength": 75 + }, + "maxItems": 200, + "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + }, + "values_editable_by": { + "type": [ + "string", + "null" + ], + "enum": [ + "org_actors", + "org_and_repo_actors", + null + ], + "description": "Who can edit the values of the property", + "examples": [ + "org_actors" + ] + } + }, + "required": [ + "property_name", + "value_type" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "property_name": "environment", + "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", + "value_type": "single_select", + "required": true, + "default_value": "production", + "description": "Prod or dev environment", + "allowed_values": [ + "production", + "development" + ], + "values_editable_by": "org_actors" + }, + { + "property_name": "service", + "url": "https://api.github.com/orgs/github/properties/schema/service", + "source_type": "organization", + "value_type": "string" + }, + { + "property_name": "team", + "url": "https://api.github.com/orgs/github/properties/schema/team", + "source_type": "organization", + "value_type": "string", + "description": "Team owning the repository" + } + ] + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "custom-properties" + } + }, + "patch": { + "summary": "Create or update custom properties for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nCreates new or updates existing custom properties defined for an enterprise in a batch.\n\nTo use this endpoint, the authenticated user must be an administrator for the enterprise.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/create-or-update-enterprise-custom-properties", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-custom-properties-for-an-enterprise" + }, + "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" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "properties": { + "type": "array", + "description": "The array of custom properties to create or update.", + "items": { + "title": "Organization Custom Property", + "description": "Custom property defined on an organization", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + }, + "value_type": { + "type": "string", + "enum": [ + "string", + "single_select", + "multi_select", + "true_false" + ], + "description": "The type of the value for the property", + "examples": [ + "single_select" + ] + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "Default value of the property", + "type": [ + "null", + "string", + "array" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "Short description of the property" + }, + "allowed_values": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string", + "maxLength": 75 + }, + "maxItems": 200, + "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + }, + "values_editable_by": { + "type": [ + "string", + "null" + ], + "enum": [ + "org_actors", + "org_and_repo_actors", + null + ], + "description": "Who can edit the values of the property", + "examples": [ + "org_actors" + ] + } + }, + "required": [ + "property_name", + "value_type" + ] + }, + "minItems": 1, + "maxItems": 100 + } + }, + "required": [ + "properties" + ] + }, + "examples": { + "default": { + "value": { + "properties": [ + { + "property_name": "environment", + "value_type": "single_select", + "required": true, + "default_value": "production", + "description": "Prod or dev environment", + "allowed_values": [ + "production", + "development" + ], + "values_editable_by": "org_actors" + }, + { + "property_name": "service", + "value_type": "string" + }, + { + "property_name": "team", + "value_type": "string", + "description": "Team owning the repository" + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "title": "Organization Custom Property", + "description": "Custom property defined on an organization", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + }, + "value_type": { + "type": "string", + "enum": [ + "string", + "single_select", + "multi_select", + "true_false" + ], + "description": "The type of the value for the property", + "examples": [ + "single_select" + ] + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "Default value of the property", + "type": [ + "null", + "string", + "array" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "Short description of the property" + }, + "allowed_values": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string", + "maxLength": 75 + }, + "maxItems": 200, + "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + }, + "values_editable_by": { + "type": [ + "string", + "null" + ], + "enum": [ + "org_actors", + "org_and_repo_actors", + null + ], + "description": "Who can edit the values of the property", + "examples": [ + "org_actors" + ] + } + }, + "required": [ + "property_name", + "value_type" + ] + } + }, + "examples": { + "default": { + "value": [ + { + "property_name": "environment", + "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", + "value_type": "single_select", + "required": true, + "default_value": "production", + "description": "Prod or dev environment", + "allowed_values": [ + "production", + "development" + ], + "values_editable_by": "org_actors" + }, + { + "property_name": "service", + "url": "https://api.github.com/orgs/github/properties/schema/service", + "source_type": "organization", + "value_type": "string" + }, + { + "property_name": "team", + "url": "https://api.github.com/orgs/github/properties/schema/team", + "source_type": "organization", + "value_type": "string", + "description": "Team owning the repository" + } + ] + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "custom-properties" + } + } + }, + "/enterprises/{enterprise}/properties/schema/{custom_property_name}": { + "get": { + "summary": "Get a custom property for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a custom property that is defined for an enterprise.\nEnterprise members can read these properties.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-enterprise-custom-property", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise" + }, + "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": "custom_property_name", + "description": "The custom property name", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Organization Custom Property", + "description": "Custom property defined on an organization", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + }, + "value_type": { + "type": "string", + "enum": [ + "string", + "single_select", + "multi_select", + "true_false" + ], + "description": "The type of the value for the property", + "examples": [ + "single_select" + ] + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "Default value of the property", + "type": [ + "null", + "string", + "array" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "Short description of the property" + }, + "allowed_values": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string", + "maxLength": 75 + }, + "maxItems": 200, + "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + }, + "values_editable_by": { + "type": [ + "string", + "null" + ], + "enum": [ + "org_actors", + "org_and_repo_actors", + null + ], + "description": "Who can edit the values of the property", + "examples": [ + "org_actors" + ] + } + }, + "required": [ + "property_name", + "value_type" + ] + }, + "examples": { + "default": { + "value": { + "property_name": "environment", + "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", + "value_type": "single_select", + "required": true, + "default_value": "production", + "description": "Prod or dev environment", + "allowed_values": [ + "production", + "development" + ] + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "custom-properties" + } + }, + "put": { + "summary": "Create or update a custom property for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nCreates a new or updates an existing custom property that is defined for an enterprise.\n\nTo use this endpoint, the authenticated user must be an administrator for the enterprise.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/create-or-update-enterprise-custom-property", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise" + }, + "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": "custom_property_name", + "description": "The custom property name", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "title": "Organization Custom Property", + "description": "Custom property defined on an organization", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + }, + "value_type": { + "type": "string", + "enum": [ + "string", + "single_select", + "multi_select", + "true_false" + ], + "description": "The type of the value for the property", + "examples": [ + "single_select" + ] + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "Default value of the property", + "type": [ + "null", + "string", + "array" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "Short description of the property" + }, + "allowed_values": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string", + "maxLength": 75 + }, + "maxItems": 200, + "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + }, + "values_editable_by": { + "type": [ + "string", + "null" + ], + "enum": [ + "org_actors", + "org_and_repo_actors", + null + ], + "description": "Who can edit the values of the property", + "examples": [ + "org_actors" + ] + } + }, + "required": [ + "property_name", + "value_type" + ] + }, + "examples": { + "default": { + "value": { + "property_name": "environment", + "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", + "value_type": "single_select", + "required": true, + "default_value": "production", + "description": "Prod or dev environment", + "allowed_values": [ + "production", + "development" + ] + } + } + } + } + } + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "custom-properties" + } + }, + "delete": { + "summary": "Remove a custom property for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nRemove a custom property that is defined for an enterprise.\n\nTo use this endpoint, the authenticated user must be an administrator for the enterprise.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/remove-enterprise-custom-property", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise" + }, + "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": "custom_property_name", + "description": "The custom property name", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "204": { + "description": "A header with no content is returned." + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "custom-properties" + } + } + }, "/enterprises/{enterprise}/secret-scanning/alerts": { "get": { "summary": "List secret scanning alerts for an enterprise", @@ -35332,7 +36470,7 @@ "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": { "get": { "summary": "Get Copilot metrics for an enterprise team", - "description": "Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.\n\nTo access this endpoint, the Copilot Metrics API access policy must be enabled or set to \"no policy\" for the enterprise within GitHub settings.\nOnly owners and billing managers for the enterprise that contains the enterprise team can view Copilot metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See \"[About enterprise accounts for Copilot Business](https://docs.github.com/enterprise-cloud@latest//admin/copilot-business-only/about-enterprise-accounts-for-copilot-business).\"\n\nUse this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.\n\nTo access this endpoint, the Copilot Metrics API access policy must be enabled or set to \"no policy\" for the enterprise within GitHub settings.\nOnly owners and billing managers for the enterprise that contains the enterprise team can view Copilot metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -35997,7 +37135,7 @@ "/enterprises/{enterprise}/team/{team_slug}/copilot/usage": { "get": { "summary": "Get a summary of Copilot usage for an enterprise team", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had five or more members with active Copilot licenses, as evaluated at the end of that day.\n\nOwners and billing managers for the enterprise that contains the enterprise team can view Copilot usage metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change. This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See \"[About enterprise accounts for Copilot Business](https://docs.github.com/enterprise-cloud@latest//admin/copilot-business-only/about-enterprise-accounts-for-copilot-business).\"\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had five or more members with active Copilot licenses, as evaluated at the end of that day.\n\nOwners and billing managers for the enterprise that contains the enterprise team can view Copilot usage metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -84963,6 +86101,35 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "standard", + "labeled", + "not_set", + null + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning when runner_type is 'labeled'." + } + } + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -85316,6 +86483,31 @@ ], "default": "disabled" }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning default setup when runner_type is 'labeled'." + } + } + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -85531,6 +86723,35 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "standard", + "labeled", + "not_set", + null + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning when runner_type is 'labeled'." + } + } + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -85660,6 +86881,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "enabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -85816,6 +87041,35 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "standard", + "labeled", + "not_set", + null + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning when runner_type is 'labeled'." + } + } + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -85951,6 +87205,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "enabled", "secret_scanning_push_protection": "enabled", "secret_scanning_delegated_bypass": "enabled", @@ -85989,6 +87247,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "enabled", "secret_scanning_push_protection": "enabled", "secret_scanning_delegated_bypass": "disabled", @@ -86410,527 +87672,614 @@ "not_set" ] }, - "secret_scanning": { - "type": "string", - "description": "The enablement status of secret scanning", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "secret_scanning_push_protection": { - "type": "string", - "description": "The enablement status of secret scanning push protection", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "secret_scanning_delegated_bypass": { - "type": "string", - "description": "The enablement status of secret scanning delegated bypass", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "secret_scanning_delegated_bypass_options": { - "type": "object", - "description": "Feature options for secret scanning delegated bypass", + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "standard", + "labeled", + "not_set", + null + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning when runner_type is 'labeled'." + } + } + }, + "secret_scanning": { + "type": "string", + "description": "The enablement status of secret scanning", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "secret_scanning_push_protection": { + "type": "string", + "description": "The enablement status of secret scanning push protection", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "secret_scanning_delegated_bypass": { + "type": "string", + "description": "The enablement status of secret scanning delegated bypass", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "secret_scanning_delegated_bypass_options": { + "type": "object", + "description": "Feature options for secret scanning delegated bypass", + "properties": { + "reviewers": { + "type": "array", + "description": "The bypass reviewers for secret scanning delegated bypass", + "items": { + "type": "object", + "required": [ + "reviewer_id", + "reviewer_type" + ], + "properties": { + "reviewer_id": { + "type": "integer", + "description": "The ID of the team or role selected as a bypass reviewer" + }, + "reviewer_type": { + "type": "string", + "description": "The type of the bypass reviewer", + "enum": [ + "TEAM", + "ROLE" + ] + } + } + } + } + } + }, + "secret_scanning_validity_checks": { + "type": "string", + "description": "The enablement status of secret scanning validity checks", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "secret_scanning_non_provider_patterns": { + "type": "string", + "description": "The enablement status of secret scanning non-provider patterns", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "private_vulnerability_reporting": { + "type": "string", + "description": "The enablement status of private vulnerability reporting", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "enforcement": { + "type": "string", + "description": "The enforcement status for a security configuration", + "enum": [ + "enforced", + "unenforced" + ] + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL of the configuration" + }, + "html_url": { + "type": "string", + "format": "uri", + "description": "The URL of the configuration" + }, + "created_at": { + "type": "string", + "format": "date-time" + }, + "updated_at": { + "type": "string", + "format": "date-time" + } + } + }, + "examples": { + "default": { + "value": { + "id": 1325, + "target_type": "organization", + "name": "octo-org recommended settings", + "description": "This is a code security configuration for octo-org", + "advanced_security": "enabled", + "dependency_graph": "enabled", + "dependency_graph_autosubmit_action": "enabled", + "dependency_graph_autosubmit_action_options": { + "labeled_runners": false + }, + "dependabot_alerts": "enabled", + "dependabot_security_updates": "not_set", + "code_scanning_default_setup": "disabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, + "secret_scanning": "enabled", + "secret_scanning_push_protection": "disabled", + "secret_scanning_delegated_bypass": "disabled", + "secret_scanning_validity_checks": "disabled", + "secret_scanning_non_provider_patterns": "disabled", + "private_vulnerability_reporting": "disabled", + "enforcement": "enforced", + "url": "https://api.github.com/orgs/octo-org/code-security/configurations/1325", + "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325", + "created_at": "2024-05-01T00:00:00Z", + "updated_at": "2024-05-01T00:00:00Z" + } + } + } + } + } + }, + "304": { + "description": "Not modified" + }, + "403": { + "description": "Forbidden", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + }, + "404": { + "description": "Resource not found", + "content": { + "application/json": { + "schema": { + "title": "Basic Error", + "description": "Basic Error", + "type": "object", + "properties": { + "message": { + "type": "string" + }, + "documentation_url": { + "type": "string" + }, + "url": { + "type": "string" + }, + "status": { + "type": "string" + } + } + } + } + } + } + }, + "x-github": { + "githubCloudOnly": false, + "enabledForGitHubApps": true, + "category": "code-security", + "subcategory": "configurations" + } + }, + "patch": { + "summary": "Update a code security configuration", + "description": "Updates a code security configuration in an organization.\n\nThe authenticated user must be an administrator or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint.", + "tags": [ + "code-security" + ], + "operationId": "code-security/update-configuration", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration" + }, + "parameters": [ + { + "name": "org", + "description": "The organization name. The name is not case sensitive.", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, + { + "name": "configuration_id", + "description": "The unique identifier of the code security configuration.", + "in": "path", + "required": true, + "schema": { + "type": "integer" + } + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "additionalProperties": false, + "properties": { + "name": { + "type": "string", + "description": "The name of the code security configuration. Must be unique within the organization." + }, + "description": { + "type": "string", + "description": "A description of the code security configuration", + "maxLength": 255 + }, + "advanced_security": { + "type": "string", + "description": "The enablement status of GitHub Advanced Security", + "enum": [ + "enabled", + "disabled" + ] + }, + "dependency_graph": { + "type": "string", + "description": "The enablement status of Dependency Graph", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "dependency_graph_autosubmit_action": { + "type": "string", + "description": "The enablement status of Automatic dependency submission", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "dependency_graph_autosubmit_action_options": { + "type": "object", + "description": "Feature options for Automatic dependency submission", + "properties": { + "labeled_runners": { + "type": "boolean", + "description": "Whether to use runners labeled with 'dependency-submission' or standard GitHub runners." + } + } + }, + "dependabot_alerts": { + "type": "string", + "description": "The enablement status of Dependabot alerts", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "dependabot_security_updates": { + "type": "string", + "description": "The enablement status of Dependabot security updates", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "code_scanning_default_setup": { + "type": "string", + "description": "The enablement status of code scanning default setup", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning default setup when runner_type is 'labeled'." + } + } + }, + "secret_scanning": { + "type": "string", + "description": "The enablement status of secret scanning", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "secret_scanning_push_protection": { + "type": "string", + "description": "The enablement status of secret scanning push protection", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "secret_scanning_delegated_bypass": { + "type": "string", + "description": "The enablement status of secret scanning delegated bypass", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "secret_scanning_delegated_bypass_options": { + "type": "object", + "description": "Feature options for secret scanning delegated bypass", + "properties": { + "reviewers": { + "type": "array", + "description": "The bypass reviewers for secret scanning delegated bypass", + "items": { + "type": "object", + "required": [ + "reviewer_id", + "reviewer_type" + ], + "properties": { + "reviewer_id": { + "type": "integer", + "description": "The ID of the team or role selected as a bypass reviewer" + }, + "reviewer_type": { + "type": "string", + "description": "The type of the bypass reviewer", + "enum": [ + "TEAM", + "ROLE" + ] + } + } + } + } + } + }, + "secret_scanning_validity_checks": { + "type": "string", + "description": "The enablement status of secret scanning validity checks", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "secret_scanning_non_provider_patterns": { + "type": "string", + "description": "The enablement status of secret scanning non-provider patterns", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "private_vulnerability_reporting": { + "type": "string", + "description": "The enablement status of private vulnerability reporting", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "enforcement": { + "type": "string", + "description": "The enforcement status for a security configuration", + "enum": [ + "enforced", + "unenforced" + ] + } + } + }, + "examples": { + "default": { + "summary": "Example for updating a code security configuration", + "value": { + "name": "octo-org recommended settings v2", + "secret_scanning": "disabled", + "code_scanning_default_setup": "enabled" + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response when a configuration is updated", + "content": { + "application/json": { + "schema": { + "type": "object", + "description": "A code security configuration", + "properties": { + "id": { + "type": "integer", + "description": "The ID of the code security configuration" + }, + "name": { + "type": "string", + "description": "The name of the code security configuration. Must be unique within the organization." + }, + "target_type": { + "type": "string", + "description": "The type of the code security configuration.", + "enum": [ + "global", + "organization", + "enterprise" + ] + }, + "description": { + "type": "string", + "description": "A description of the code security configuration" + }, + "advanced_security": { + "type": "string", + "description": "The enablement status of GitHub Advanced Security", + "enum": [ + "enabled", + "disabled" + ] + }, + "dependency_graph": { + "type": "string", + "description": "The enablement status of Dependency Graph", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "dependency_graph_autosubmit_action": { + "type": "string", + "description": "The enablement status of Automatic dependency submission", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "dependency_graph_autosubmit_action_options": { + "type": "object", + "description": "Feature options for Automatic dependency submission", + "properties": { + "labeled_runners": { + "type": "boolean", + "description": "Whether to use runners labeled with 'dependency-submission' or standard GitHub runners." + } + } + }, + "dependabot_alerts": { + "type": "string", + "description": "The enablement status of Dependabot alerts", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "dependabot_security_updates": { + "type": "string", + "description": "The enablement status of Dependabot security updates", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "code_scanning_default_setup": { + "type": "string", + "description": "The enablement status of code scanning default setup", + "enum": [ + "enabled", + "disabled", + "not_set" + ] + }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", "properties": { - "reviewers": { - "type": "array", - "description": "The bypass reviewers for secret scanning delegated bypass", - "items": { - "type": "object", - "required": [ - "reviewer_id", - "reviewer_type" - ], - "properties": { - "reviewer_id": { - "type": "integer", - "description": "The ID of the team or role selected as a bypass reviewer" - }, - "reviewer_type": { - "type": "string", - "description": "The type of the bypass reviewer", - "enum": [ - "TEAM", - "ROLE" - ] - } - } - } - } - } - }, - "secret_scanning_validity_checks": { - "type": "string", - "description": "The enablement status of secret scanning validity checks", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "secret_scanning_non_provider_patterns": { - "type": "string", - "description": "The enablement status of secret scanning non-provider patterns", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "private_vulnerability_reporting": { - "type": "string", - "description": "The enablement status of private vulnerability reporting", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "enforcement": { - "type": "string", - "description": "The enforcement status for a security configuration", - "enum": [ - "enforced", - "unenforced" - ] - }, - "url": { - "type": "string", - "format": "uri", - "description": "The URL of the configuration" - }, - "html_url": { - "type": "string", - "format": "uri", - "description": "The URL of the configuration" - }, - "created_at": { - "type": "string", - "format": "date-time" - }, - "updated_at": { - "type": "string", - "format": "date-time" - } - } - }, - "examples": { - "default": { - "value": { - "id": 1325, - "target_type": "organization", - "name": "octo-org recommended settings", - "description": "This is a code security configuration for octo-org", - "advanced_security": "enabled", - "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": "enabled", - "dependency_graph_autosubmit_action_options": { - "labeled_runners": false - }, - "dependabot_alerts": "enabled", - "dependabot_security_updates": "not_set", - "code_scanning_default_setup": "disabled", - "secret_scanning": "enabled", - "secret_scanning_push_protection": "disabled", - "secret_scanning_delegated_bypass": "disabled", - "secret_scanning_validity_checks": "disabled", - "secret_scanning_non_provider_patterns": "disabled", - "private_vulnerability_reporting": "disabled", - "enforcement": "enforced", - "url": "https://api.github.com/orgs/octo-org/code-security/configurations/1325", - "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325", - "created_at": "2024-05-01T00:00:00Z", - "updated_at": "2024-05-01T00:00:00Z" - } - } - } - } - } - }, - "304": { - "description": "Not modified" - }, - "403": { - "description": "Forbidden", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - }, - "404": { - "description": "Resource not found", - "content": { - "application/json": { - "schema": { - "title": "Basic Error", - "description": "Basic Error", - "type": "object", - "properties": { - "message": { - "type": "string" - }, - "documentation_url": { - "type": "string" - }, - "url": { - "type": "string" - }, - "status": { - "type": "string" - } - } - } - } - } - } - }, - "x-github": { - "githubCloudOnly": false, - "enabledForGitHubApps": true, - "category": "code-security", - "subcategory": "configurations" - } - }, - "patch": { - "summary": "Update a code security configuration", - "description": "Updates a code security configuration in an organization.\n\nThe authenticated user must be an administrator or security manager for the organization to use this endpoint.\n\nOAuth app tokens and personal access tokens (classic) need the `write:org` scope to use this endpoint.", - "tags": [ - "code-security" - ], - "operationId": "code-security/update-configuration", - "externalDocs": { - "description": "API method documentation", - "url": "https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration" - }, - "parameters": [ - { - "name": "org", - "description": "The organization name. The name is not case sensitive.", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "configuration_id", - "description": "The unique identifier of the code security configuration.", - "in": "path", - "required": true, - "schema": { - "type": "integer" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": false, - "properties": { - "name": { - "type": "string", - "description": "The name of the code security configuration. Must be unique within the organization." - }, - "description": { - "type": "string", - "description": "A description of the code security configuration", - "maxLength": 255 - }, - "advanced_security": { - "type": "string", - "description": "The enablement status of GitHub Advanced Security", - "enum": [ - "enabled", - "disabled" - ] - }, - "dependency_graph": { - "type": "string", - "description": "The enablement status of Dependency Graph", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "dependency_graph_autosubmit_action": { - "type": "string", - "description": "The enablement status of Automatic dependency submission", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "dependency_graph_autosubmit_action_options": { - "type": "object", - "description": "Feature options for Automatic dependency submission", - "properties": { - "labeled_runners": { - "type": "boolean", - "description": "Whether to use runners labeled with 'dependency-submission' or standard GitHub runners." - } - } - }, - "dependabot_alerts": { - "type": "string", - "description": "The enablement status of Dependabot alerts", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "dependabot_security_updates": { - "type": "string", - "description": "The enablement status of Dependabot security updates", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "code_scanning_default_setup": { - "type": "string", - "description": "The enablement status of code scanning default setup", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "secret_scanning": { - "type": "string", - "description": "The enablement status of secret scanning", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "secret_scanning_push_protection": { - "type": "string", - "description": "The enablement status of secret scanning push protection", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "secret_scanning_delegated_bypass": { - "type": "string", - "description": "The enablement status of secret scanning delegated bypass", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "secret_scanning_delegated_bypass_options": { - "type": "object", - "description": "Feature options for secret scanning delegated bypass", - "properties": { - "reviewers": { - "type": "array", - "description": "The bypass reviewers for secret scanning delegated bypass", - "items": { - "type": "object", - "required": [ - "reviewer_id", - "reviewer_type" + "runner_type": { + "type": [ + "string", + "null" ], - "properties": { - "reviewer_id": { - "type": "integer", - "description": "The ID of the team or role selected as a bypass reviewer" - }, - "reviewer_type": { - "type": "string", - "description": "The type of the bypass reviewer", - "enum": [ - "TEAM", - "ROLE" - ] - } - } - } - } - } - }, - "secret_scanning_validity_checks": { - "type": "string", - "description": "The enablement status of secret scanning validity checks", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "secret_scanning_non_provider_patterns": { - "type": "string", - "description": "The enablement status of secret scanning non-provider patterns", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "private_vulnerability_reporting": { - "type": "string", - "description": "The enablement status of private vulnerability reporting", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "enforcement": { - "type": "string", - "description": "The enforcement status for a security configuration", - "enum": [ - "enforced", - "unenforced" - ] - } - } - }, - "examples": { - "default": { - "summary": "Example for updating a code security configuration", - "value": { - "name": "octo-org recommended settings v2", - "secret_scanning": "disabled", - "code_scanning_default_setup": "enabled" - } - } - } - } - } - }, - "responses": { - "200": { - "description": "Response when a configuration is updated", - "content": { - "application/json": { - "schema": { - "type": "object", - "description": "A code security configuration", - "properties": { - "id": { - "type": "integer", - "description": "The ID of the code security configuration" - }, - "name": { - "type": "string", - "description": "The name of the code security configuration. Must be unique within the organization." - }, - "target_type": { - "type": "string", - "description": "The type of the code security configuration.", - "enum": [ - "global", - "organization", - "enterprise" - ] - }, - "description": { - "type": "string", - "description": "A description of the code security configuration" - }, - "advanced_security": { - "type": "string", - "description": "The enablement status of GitHub Advanced Security", - "enum": [ - "enabled", - "disabled" - ] - }, - "dependency_graph": { - "type": "string", - "description": "The enablement status of Dependency Graph", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "dependency_graph_autosubmit_action": { - "type": "string", - "description": "The enablement status of Automatic dependency submission", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "dependency_graph_autosubmit_action_options": { - "type": "object", - "description": "Feature options for Automatic dependency submission", - "properties": { - "labeled_runners": { - "type": "boolean", - "description": "Whether to use runners labeled with 'dependency-submission' or standard GitHub runners." + "enum": [ + "standard", + "labeled", + "not_set", + null + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning when runner_type is 'labeled'." } } }, - "dependabot_alerts": { - "type": "string", - "description": "The enablement status of Dependabot alerts", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "dependabot_security_updates": { - "type": "string", - "description": "The enablement status of Dependabot security updates", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, - "code_scanning_default_setup": { - "type": "string", - "description": "The enablement status of code scanning default setup", - "enum": [ - "enabled", - "disabled", - "not_set" - ] - }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -87060,6 +88409,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "disabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -87550,6 +88903,35 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "standard", + "labeled", + "not_set", + null + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning when runner_type is 'labeled'." + } + } + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -87684,6 +89066,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "enabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -94608,7 +95994,7 @@ "/orgs/{org}/copilot/billing/selected_teams": { "post": { "summary": "Add teams to the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for all users within each specified team.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can add Copilot seats for their organization members.\n\nIn order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response will contain the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for all users within each specified team.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -94806,7 +96192,7 @@ }, "delete": { "summary": "Remove teams from the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all members of each team specified to \"pending cancellation\".\nThis will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team.\n\nFor more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nFor more information about disabling access to Copilot Business or Enterprise, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response will contain the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all members of each team specified to \"pending cancellation\".\nThis will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -95006,7 +96392,7 @@ "/orgs/{org}/copilot/billing/selected_users": { "post": { "summary": "Add users to the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for each user specified.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can add Copilot seats for their organization members.\n\nIn order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response will contain the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for each user specified.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -95204,7 +96590,7 @@ }, "delete": { "summary": "Remove users from the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\n\nFor more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nFor more information about disabling access to Copilot Business or Enterprise, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response will contain the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -111708,6 +113094,15 @@ "default": "total_request_count" } } + }, + { + "name": "api_route_substring", + "in": "query", + "description": "Providing a substring will filter results where the API route contains the substring. This is a case-insensitive search.", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { @@ -111868,6 +113263,15 @@ "default": "total_request_count" } } + }, + { + "name": "subject_name_substring", + "in": "query", + "description": "Providing a substring will filter results where the subject name contains the substring. This is a case-insensitive search.", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { @@ -112720,6 +114124,15 @@ "default": "total_request_count" } } + }, + { + "name": "actor_name_substring", + "in": "query", + "description": "Providing a substring will filter results where the actor name contains the substring. This is a case-insensitive search.", + "required": false, + "schema": { + "type": "string" + } } ], "responses": { @@ -272070,6 +273483,24 @@ "not-configured" ] }, + "runner_type": { + "description": "Runner type to be used.", + "type": "string", + "enum": [ + "standard", + "labeled" + ] + }, + "runner_label": { + "description": "Runner label to be used if the runner type is labeled.", + "type": [ + "string", + "null" + ], + "examples": [ + "code-scanning" + ] + }, "query_suite": { "description": "CodeQL query suite to be used.", "type": "string", @@ -272782,6 +274213,35 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "standard", + "labeled", + "not_set", + null + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning when runner_type is 'labeled'." + } + } + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -493777,7 +495237,7 @@ }, "status": { "type": "string", - "description": "The state of the scan. Either \"completed\" or \"running\"" + "description": "The state of the scan. Either \"completed\", \"running\", or \"pending\"" }, "completed_at": { "type": [ @@ -493785,12 +495245,15 @@ "null" ], "format": "date-time", - "description": "The time that the scan was completed. Empty if the scan is active" + "description": "The time that the scan was completed. Empty if the scan is running" }, "started_at": { - "type": "string", + "type": [ + "string", + "null" + ], "format": "date-time", - "description": "The time that the scan was started" + "description": "The time that the scan was started. Empty if the scan is pending" } } } @@ -493807,7 +495270,7 @@ }, "status": { "type": "string", - "description": "The state of the scan. Either \"completed\" or \"running\"" + "description": "The state of the scan. Either \"completed\", \"running\", or \"pending\"" }, "completed_at": { "type": [ @@ -493815,12 +495278,15 @@ "null" ], "format": "date-time", - "description": "The time that the scan was completed. Empty if the scan is active" + "description": "The time that the scan was completed. Empty if the scan is running" }, "started_at": { - "type": "string", + "type": [ + "string", + "null" + ], "format": "date-time", - "description": "The time that the scan was started" + "description": "The time that the scan was started. Empty if the scan is pending" } } } @@ -493837,7 +495303,7 @@ }, "status": { "type": "string", - "description": "The state of the scan. Either \"completed\" or \"running\"" + "description": "The state of the scan. Either \"completed\", \"running\", or \"pending\"" }, "completed_at": { "type": [ @@ -493845,12 +495311,15 @@ "null" ], "format": "date-time", - "description": "The time that the scan was completed. Empty if the scan is active" + "description": "The time that the scan was completed. Empty if the scan is running" }, "started_at": { - "type": "string", + "type": [ + "string", + "null" + ], "format": "date-time", - "description": "The time that the scan was started" + "description": "The time that the scan was started. Empty if the scan is pending" } } } @@ -493869,7 +495338,7 @@ }, "status": { "type": "string", - "description": "The state of the scan. Either \"completed\" or \"running\"" + "description": "The state of the scan. Either \"completed\", \"running\", or \"pending\"" }, "completed_at": { "type": [ @@ -493877,12 +495346,15 @@ "null" ], "format": "date-time", - "description": "The time that the scan was completed. Empty if the scan is active" + "description": "The time that the scan was completed. Empty if the scan is running" }, "started_at": { - "type": "string", + "type": [ + "string", + "null" + ], "format": "date-time", - "description": "The time that the scan was started" + "description": "The time that the scan was started. Empty if the scan is pending" } } }, diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index fc750e851..e39028d38 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -896,7 +896,7 @@ paths: - subscriptions_url - type - url - type: &283 + type: &284 type: string description: The type of credit the user is receiving. enum: @@ -1029,7 +1029,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &138 + schema: &142 title: Validation Error Simple description: Validation Error Simple type: object @@ -1062,7 +1062,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &586 + - &587 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1593,7 +1593,7 @@ paths: schema: type: integer default: 30 - - &207 + - &212 name: cursor description: 'Used for pagination: the starting delivery from which the page of deliveries is fetched. Refer to the `link` header for the next and previous @@ -1609,7 +1609,7 @@ paths: application/json: schema: type: array - items: &208 + items: &213 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1702,7 +1702,7 @@ paths: - installation_id - repository_id examples: - default: &209 + default: &214 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1734,7 +1734,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &596 + schema: &597 title: Scim Error description: Scim Error type: object @@ -1765,7 +1765,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &137 + schema: &141 title: Validation Error description: Validation Error type: object @@ -1837,7 +1837,7 @@ paths: description: Response content: application/json: - schema: &210 + schema: &215 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1972,7 +1972,7 @@ paths: - request - response examples: - default: &211 + default: &216 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2032,7 +2032,7 @@ paths: parameters: - *16 responses: - '202': &140 + '202': &144 description: Accepted content: application/json: @@ -2241,7 +2241,7 @@ paths: parameters: - *17 - *18 - - &102 + - &106 name: since description: 'Only show results that were last updated after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -3003,7 +3003,7 @@ paths: license: anyOf: - type: 'null' - - &113 + - &117 title: License Simple description: License Simple type: object @@ -7598,7 +7598,7 @@ paths: description: Response content: application/json: - schema: &141 + schema: &145 type: object properties: total_active_caches_count: @@ -7613,7 +7613,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &142 + default: &146 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7708,7 +7708,7 @@ paths: - all - local_only - selected - selected_actions_url: &145 + selected_actions_url: &149 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` @@ -8089,7 +8089,7 @@ paths: description: Success response content: application/json: - schema: &148 + schema: &152 type: object properties: default_workflow_permissions: &44 @@ -8137,7 +8137,7 @@ paths: required: true content: application/json: - schema: &149 + schema: &153 type: object properties: default_workflow_permissions: *44 @@ -8966,7 +8966,7 @@ paths: application/json: schema: type: array - items: &153 + items: &157 title: Runner Application description: Runner Application type: object @@ -8991,7 +8991,7 @@ paths: - download_url - filename examples: - default: &154 + default: &158 value: - os: osx architecture: x64 @@ -9075,7 +9075,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &155 + '201': &159 description: Response content: application/json: @@ -9189,7 +9189,7 @@ paths: - token - expires_at examples: - default: &156 + default: &160 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -9229,7 +9229,7 @@ paths: application/json: schema: *56 examples: - default: &157 + default: &161 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -9261,7 +9261,7 @@ paths: application/json: schema: *53 examples: - default: &158 + default: &162 value: id: 23 name: MBP @@ -9475,7 +9475,7 @@ paths: - *38 - *52 responses: - '200': &159 + '200': &163 description: Response content: application/json: @@ -9531,7 +9531,7 @@ paths: parameters: - *38 - *52 - - &160 + - &164 name: name description: The name of a self-hosted runner's custom label. in: path @@ -9628,7 +9628,7 @@ paths: required: true content: application/json: - schema: &167 + schema: &171 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -9699,7 +9699,7 @@ paths: required: false schema: type: string - - &168 + - &172 name: include description: |- The event types to include: @@ -9717,7 +9717,7 @@ paths: - web - git - all - - &169 + - &173 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. @@ -9725,7 +9725,7 @@ paths: required: false schema: type: string - - &170 + - &174 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. @@ -9733,7 +9733,7 @@ paths: required: false schema: type: string - - &171 + - &175 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -9755,7 +9755,7 @@ paths: application/json: schema: type: array - items: &172 + items: &176 type: object properties: "@timestamp": @@ -9877,7 +9877,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &173 + default: &177 value: - "@timestamp": 1606929874512 action: team.add_member @@ -10441,7 +10441,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *38 - - &175 + - &179 name: tool_name description: The name of a code scanning tool. Only results by this tool will be listed. You can specify the tool by using either `tool_name` or `tool_guid`, @@ -10451,7 +10451,7 @@ paths: schema: &77 type: string description: The name of the tool used to generate the code scanning analysis. - - &176 + - &180 name: tool_guid description: The GUID of a code scanning tool. Only results by this tool will be listed. Note that some code scanning tools may not include a GUID in @@ -10475,7 +10475,7 @@ paths: be returned. in: query required: false - schema: &177 + schema: &181 type: string description: State of a code scanning alert. enum: @@ -10500,7 +10500,7 @@ paths: application/json: schema: type: array - items: &178 + items: &182 type: object properties: number: &81 @@ -10529,7 +10529,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &391 + instances_url: &392 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -10565,7 +10565,7 @@ paths: format: `YYYY-MM-DDTHH:MM:SSZ`.' format: date-time readOnly: true - dismissed_reason: &392 + dismissed_reason: &393 type: - string - 'null' @@ -10576,14 +10576,14 @@ paths: - won't fix - used in tests - - dismissed_comment: &393 + dismissed_comment: &394 type: - string - 'null' description: The dismissal comment associated with the dismissal of the alert. maxLength: 280 - rule: &394 + rule: &395 type: object properties: id: @@ -10644,7 +10644,7 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: &395 + tool: &396 type: object properties: name: *77 @@ -10655,15 +10655,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *78 - most_recent_instance: &396 + most_recent_instance: &397 type: object properties: - ref: &389 + ref: &390 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &402 + analysis_key: &403 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -10674,7 +10674,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &403 + category: &404 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -11058,7 +11058,7 @@ paths: - most_recent_instance - repository examples: - default: &179 + default: &183 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -11289,7 +11289,7 @@ paths: headers: Link: *37 '404': *6 - '503': &92 + '503': &96 description: Service unavailable content: application/json: @@ -11716,7 +11716,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &185 + items: &190 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -11731,7 +11731,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &229 + - &234 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -11790,7 +11790,7 @@ paths: parent: anyOf: - type: 'null' - - &242 + - &247 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. @@ -11984,7 +11984,7 @@ paths: - created_at additionalProperties: false examples: - default: &186 + default: &191 value: total_seats: 2 seats: @@ -12119,7 +12119,7 @@ paths: application/json: schema: type: array - items: &94 + items: &98 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -12435,7 +12435,7 @@ paths: - date additionalProperties: true examples: - default: &95 + default: &99 value: - date: '2024-06-24' total_active_users: 24 @@ -12537,7 +12537,7 @@ paths: '500': *80 '403': *27 '404': *6 - '422': &96 + '422': &100 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -12607,7 +12607,7 @@ paths: application/json: schema: type: array - items: &97 + items: &101 title: Copilot Usage Metrics description: Summary of Copilot usage. type: object @@ -12787,7 +12787,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *38 - - &193 + - &198 name: state in: query description: |- @@ -12796,7 +12796,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &194 + - &199 name: severity in: query description: |- @@ -12805,7 +12805,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &195 + - &200 name: ecosystem in: query description: |- @@ -12814,14 +12814,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &196 + - &201 name: package in: query description: A comma-separated list of package names. If specified, only alerts for these packages will be returned. schema: type: string - - &197 + - &202 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -12831,7 +12831,7 @@ paths: enum: - development - runtime - - &198 + - &203 name: sort in: query description: |- @@ -12847,7 +12847,7 @@ paths: - *76 - *74 - *75 - - &199 + - &204 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -12860,7 +12860,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &200 + - &205 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -12880,7 +12880,7 @@ paths: application/json: schema: type: array - items: &201 + items: &206 type: object description: A Dependabot alert. properties: @@ -12932,7 +12932,7 @@ paths: - development - runtime - - security_advisory: &440 + security_advisory: &441 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -13167,7 +13167,7 @@ paths: dismissal. maxLength: 280 fixed_at: *90 - auto_dismissed_at: &441 + auto_dismissed_at: &442 type: - string - 'null' @@ -13194,7 +13194,7 @@ paths: - repository additionalProperties: false examples: - default: &202 + default: &207 value: - number: 2 state: dismissed @@ -13586,6 +13586,313 @@ paths: previews: [] category: enterprise-admin subcategory: license + "/enterprises/{enterprise}/properties/schema": + get: + summary: Get custom properties for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets all custom properties defined for an enterprise. + Enterprise members can read these properties. + tags: + - enterprise-admin + operationId: enterprise-admin/get-enterprise-custom-properties + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-custom-properties-for-an-enterprise + parameters: + - *38 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: &92 + title: Organization Custom Property + description: Custom property defined on an organization + type: object + properties: + property_name: + type: string + description: The name of the property + url: + type: string + format: uri + description: The URL that can be used to fetch, update, or delete + info about this property via the API. + source_type: + type: string + description: The source type of the property + enum: + - organization + - enterprise + examples: + - organization + value_type: + type: string + enum: + - string + - single_select + - multi_select + - true_false + description: The type of the value for the property + examples: + - single_select + required: + type: boolean + description: Whether the property is required. + default_value: + oneOf: + - type: string + - type: array + items: + type: string + description: Default value of the property + type: + - 'null' + - string + - array + description: + type: + - string + - 'null' + description: Short description of the property + allowed_values: + type: + - array + - 'null' + items: + type: string + maxLength: 75 + maxItems: 200 + description: |- + An ordered list of the allowed values of the property. + The property can have up to 200 allowed values. + values_editable_by: + type: + - string + - 'null' + enum: + - org_actors + - org_and_repo_actors + - + description: Who can edit the values of the property + examples: + - org_actors + required: + - property_name + - value_type + examples: + default: &93 + value: + - property_name: environment + url: https://api.github.com/orgs/github/properties/schema/environment + source_type: organization + value_type: single_select + required: true + default_value: production + description: Prod or dev environment + allowed_values: + - production + - development + values_editable_by: org_actors + - property_name: service + url: https://api.github.com/orgs/github/properties/schema/service + source_type: organization + value_type: string + - property_name: team + url: https://api.github.com/orgs/github/properties/schema/team + source_type: organization + value_type: string + description: Team owning the repository + '403': *27 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: custom-properties + patch: + summary: Create or update custom properties for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Creates new or updates existing custom properties defined for an enterprise in a batch. + + To use this endpoint, the authenticated user must be an administrator for the enterprise. + tags: + - enterprise-admin + operationId: enterprise-admin/create-or-update-enterprise-custom-properties + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-custom-properties-for-an-enterprise + parameters: + - *38 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + properties: + type: array + description: The array of custom properties to create or update. + items: *92 + minItems: 1 + maxItems: 100 + required: + - properties + examples: + default: + value: + properties: + - property_name: environment + value_type: single_select + required: true + default_value: production + description: Prod or dev environment + allowed_values: + - production + - development + values_editable_by: org_actors + - property_name: service + value_type: string + - property_name: team + value_type: string + description: Team owning the repository + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: *92 + examples: + default: *93 + '403': *27 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: custom-properties + "/enterprises/{enterprise}/properties/schema/{custom_property_name}": + get: + summary: Get a custom property for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets a custom property that is defined for an enterprise. + Enterprise members can read these properties. + tags: + - enterprise-admin + operationId: enterprise-admin/get-enterprise-custom-property + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise + parameters: + - *38 + - &94 + name: custom_property_name + description: The custom property name + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: *92 + examples: + default: &95 + value: + property_name: environment + url: https://api.github.com/orgs/github/properties/schema/environment + source_type: organization + value_type: single_select + required: true + default_value: production + description: Prod or dev environment + allowed_values: + - production + - development + '403': *27 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: custom-properties + put: + summary: Create or update a custom property for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Creates a new or updates an existing custom property that is defined for an enterprise. + + To use this endpoint, the authenticated user must be an administrator for the enterprise. + tags: + - enterprise-admin + operationId: enterprise-admin/create-or-update-enterprise-custom-property + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise + parameters: + - *38 + - *94 + responses: + '200': + description: Response + content: + application/json: + schema: *92 + examples: + default: *95 + '403': *27 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: custom-properties + delete: + summary: Remove a custom property for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Remove a custom property that is defined for an enterprise. + + To use this endpoint, the authenticated user must be an administrator for the enterprise. + tags: + - enterprise-admin + operationId: enterprise-admin/remove-enterprise-custom-property + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise + parameters: + - *38 + - *94 + responses: + '204': &185 + description: A header with no content is returned. + '403': *27 + '404': *6 + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: custom-properties "/enterprises/{enterprise}/secret-scanning/alerts": get: summary: List secret scanning alerts for an enterprise @@ -13600,7 +13907,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *38 - - &274 + - &275 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -13611,7 +13918,7 @@ paths: enum: - open - resolved - - &275 + - &276 name: secret_type in: query description: |- @@ -13621,7 +13928,7 @@ paths: required: false schema: type: string - - &276 + - &277 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -13630,7 +13937,7 @@ paths: required: false schema: type: string - - &277 + - &278 name: sort description: The property to sort the results by. `created` means when the alert was created. `updated` means when the alert was updated or resolved. @@ -13646,7 +13953,7 @@ paths: - *17 - *74 - *75 - - &278 + - &279 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -13655,7 +13962,7 @@ paths: required: false schema: type: string - - &279 + - &280 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -13664,7 +13971,7 @@ paths: schema: type: boolean default: false - - &280 + - &281 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -13680,7 +13987,7 @@ paths: application/json: schema: type: array - items: &281 + items: &282 type: object properties: number: *81 @@ -13696,14 +14003,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &578 + state: &579 description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. type: string enum: - open - resolved - resolution: &579 + resolution: &580 type: - string - 'null' @@ -13796,7 +14103,7 @@ paths: description: Whether the detected secret was found in multiple repositories in the same organization or enterprise. examples: - default: &282 + default: &283 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -14029,7 +14336,7 @@ paths: headers: Link: *37 '404': *6 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -14057,7 +14364,7 @@ paths: description: Response content: application/json: - schema: &284 + schema: &285 type: object properties: total_minutes_used: @@ -14127,7 +14434,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &285 + default: &286 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -14165,7 +14472,7 @@ paths: description: Success content: application/json: - schema: &286 + schema: &287 type: object properties: total_advanced_security_committers: @@ -14228,7 +14535,7 @@ paths: required: - repositories examples: - default: &287 + default: &288 value: total_advanced_security_committers: 2 total_count: 2 @@ -14316,7 +14623,7 @@ paths: '400': *14 '403': *27 '500': *80 - '503': *92 + '503': *96 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -14337,7 +14644,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-users-to-a-cost-center parameters: - *38 - - &93 + - &97 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -14379,13 +14686,13 @@ paths: message: Resources successfully added to the cost center. '400': *14 '403': *27 - '409': &139 + '409': &143 description: Conflict content: application/json: schema: *3 '500': *80 - '503': *92 + '503': *96 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -14405,7 +14712,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-users-from-a-cost-center parameters: - *38 - - *93 + - *97 requestBody: required: true content: @@ -14443,7 +14750,7 @@ paths: '400': *14 '403': *27 '500': *80 - '503': *92 + '503': *96 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -14471,7 +14778,7 @@ paths: description: Response content: application/json: - schema: &288 + schema: &289 type: object properties: total_gigabytes_bandwidth_used: @@ -14489,7 +14796,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &289 + default: &290 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -14521,7 +14828,7 @@ paths: description: Response content: application/json: - schema: &290 + schema: &291 type: object properties: days_left_in_billing_cycle: @@ -14539,7 +14846,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &291 + default: &292 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -14564,7 +14871,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *38 - - &128 + - &132 name: year description: If specified, only return results for a single year. The value of `year` is an integer with four digits representing a year. For example, @@ -14573,7 +14880,7 @@ paths: required: false schema: type: integer - - &129 + - &133 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. @@ -14581,7 +14888,7 @@ paths: required: false schema: type: integer - - &130 + - &134 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. @@ -14589,7 +14896,7 @@ paths: required: false schema: type: integer - - &131 + - &135 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. @@ -14609,7 +14916,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &132 + schema: &136 type: object properties: usageItems: @@ -14662,7 +14969,7 @@ paths: - netAmount - organizationName examples: - default: &133 + default: &137 value: usageItems: - date: '2023-08-01' @@ -14679,7 +14986,7 @@ paths: '400': *14 '403': *27 '500': *80 - '503': *92 + '503': *96 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -14689,6 +14996,9 @@ paths: get: summary: Get Copilot metrics for an enterprise team description: |- + > [!NOTE] + > This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See "[About enterprise accounts for Copilot Business](https://docs.github.com/enterprise-cloud@latest//admin/copilot-business-only/about-enterprise-accounts-for-copilot-business)." + Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day, @@ -14747,13 +15057,13 @@ paths: application/json: schema: type: array - items: *94 + items: *98 examples: - default: *95 + default: *99 '500': *80 '403': *27 '404': *6 - '422': *96 + '422': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -14764,7 +15074,7 @@ paths: summary: Get a summary of Copilot usage for an enterprise team description: |- > [!NOTE] - > This endpoint is in public preview and is subject to change. + > This endpoint is in public preview and is subject to change. This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See "[About enterprise accounts for Copilot Business](https://docs.github.com/enterprise-cloud@latest//admin/copilot-business-only/about-enterprise-accounts-for-copilot-business)." You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE for users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. @@ -14788,7 +15098,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-an-enterprise-team parameters: - *38 - - &241 + - &246 name: team_slug description: The slug of the team name. in: path @@ -14826,9 +15136,9 @@ paths: application/json: schema: type: array - items: *97 + items: *101 examples: - default: &187 + default: &192 value: - day: '2023-10-15' total_suggestions_count: 1000 @@ -14984,7 +15294,7 @@ paths: application/json: schema: type: array - items: &123 + items: &127 title: Event description: Event type: object @@ -14995,7 +15305,7 @@ paths: type: - string - 'null' - actor: &98 + actor: &102 title: Actor description: Actor type: object @@ -15036,13 +15346,13 @@ paths: - id - name - url - org: *98 + org: *102 payload: type: object properties: action: type: string - issue: &112 + issue: &116 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. @@ -15162,7 +15472,7 @@ paths: milestone: anyOf: - type: 'null' - - &428 + - &429 title: Milestone description: A collection of related issues and pull requests. @@ -15339,7 +15649,7 @@ paths: anyOf: - type: 'null' - *5 - author_association: &99 + author_association: &103 title: author_association type: string description: How the author is associated with the repository. @@ -15354,7 +15664,7 @@ paths: - OWNER examples: - OWNER - reactions: &100 + reactions: &104 title: Reaction Rollup type: object properties: @@ -15426,7 +15736,7 @@ paths: - author_association - created_at - updated_at - comment: &487 + comment: &488 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -15476,12 +15786,12 @@ paths: issue_url: type: string format: uri - author_association: *99 + author_association: *103 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *100 + reactions: *104 required: - id - node_id @@ -15578,7 +15888,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *35 '403': *27 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -15668,7 +15978,7 @@ paths: _links: type: object properties: - timeline: &101 + timeline: &105 title: Link With Type description: Hypermedia Link with Type type: object @@ -15680,17 +15990,17 @@ paths: required: - href - type - user: *101 - security_advisories: *101 - current_user: *101 - current_user_public: *101 - current_user_actor: *101 - current_user_organization: *101 + user: *105 + security_advisories: *105 + current_user: *105 + current_user_public: *105 + current_user_actor: *105 + current_user_organization: *105 current_user_organizations: type: array - items: *101 - repository_discussions: *101 - repository_discussions_category: *101 + items: *105 + repository_discussions: *105 + repository_discussions_category: *105 required: - timeline - user @@ -15752,7 +16062,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *102 + - *106 - *17 - *18 responses: @@ -15762,7 +16072,7 @@ paths: application/json: schema: type: array - items: &103 + items: &107 title: Base Gist description: Base Gist type: object @@ -15857,7 +16167,7 @@ paths: - created_at - updated_at examples: - default: &104 + default: &108 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -15981,7 +16291,7 @@ paths: description: Response content: application/json: - schema: &105 + schema: &109 title: Gist Simple description: Gist Simple type: object @@ -15999,7 +16309,7 @@ paths: url: type: string format: uri - user: &635 + user: &636 title: Public User description: Public User type: object @@ -16369,7 +16679,7 @@ paths: truncated: type: boolean examples: - default: &106 + default: &110 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -16472,7 +16782,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *102 + - *106 - *17 - *18 responses: @@ -16482,9 +16792,9 @@ paths: application/json: schema: type: array - items: *103 + items: *107 examples: - default: *104 + default: *108 headers: Link: *37 '422': *15 @@ -16506,7 +16816,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *102 + - *106 - *17 - *18 responses: @@ -16516,9 +16826,9 @@ paths: application/json: schema: type: array - items: *103 + items: *107 examples: - default: *104 + default: *108 headers: Link: *37 '401': *23 @@ -16546,7 +16856,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &107 + - &111 name: gist_id description: The unique identifier of the gist. in: path @@ -16558,10 +16868,10 @@ paths: description: Response content: application/json: - schema: *105 + schema: *109 examples: - default: *106 - '403': &110 + default: *110 + '403': &114 description: Forbidden Gist content: application/json: @@ -16610,7 +16920,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *107 + - *111 requestBody: required: true content: @@ -16674,9 +16984,9 @@ paths: description: Response content: application/json: - schema: *105 + schema: *109 examples: - updateGist: *106 + updateGist: *110 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -16834,7 +17144,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *107 + - *111 responses: '204': description: Response @@ -16863,7 +17173,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *107 + - *111 - *17 - *18 responses: @@ -16873,7 +17183,7 @@ paths: application/json: schema: type: array - items: &108 + items: &112 title: Gist Comment description: A comment made to a gist. type: object @@ -16911,7 +17221,7 @@ paths: format: date-time examples: - '2011-04-18T23:23:56Z' - author_association: *99 + author_association: *103 required: - url - id @@ -16976,7 +17286,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *107 + - *111 requestBody: required: true content: @@ -17002,9 +17312,9 @@ paths: description: Response content: application/json: - schema: *108 + schema: *112 examples: - default: &109 + default: &113 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -17062,8 +17372,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *107 - - &111 + - *111 + - &115 name: comment_id description: The unique identifier of the comment. in: path @@ -17076,12 +17386,12 @@ paths: description: Response content: application/json: - schema: *108 + schema: *112 examples: - default: *109 + default: *113 '304': *35 '404': *6 - '403': *110 + '403': *114 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -17103,8 +17413,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *107 - *111 + - *115 requestBody: required: true content: @@ -17130,9 +17440,9 @@ paths: description: Response content: application/json: - schema: *108 + schema: *112 examples: - default: *109 + default: *113 '404': *6 x-github: githubCloudOnly: false @@ -17149,8 +17459,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *107 - *111 + - *115 responses: '204': description: Response @@ -17173,7 +17483,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *107 + - *111 - *17 - *18 responses: @@ -17274,7 +17584,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *107 + - *111 - *17 - *18 responses: @@ -17284,7 +17594,7 @@ paths: application/json: schema: type: array - items: *105 + items: *109 examples: default: value: @@ -17349,13 +17659,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *107 + - *111 responses: '201': description: Response content: application/json: - schema: *103 + schema: *107 examples: default: value: @@ -17426,7 +17736,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *107 + - *111 responses: '204': description: Response if gist is starred @@ -17456,7 +17766,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *107 + - *111 responses: '204': description: Response @@ -17478,7 +17788,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *107 + - *111 responses: '204': description: Response @@ -17507,7 +17817,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *107 + - *111 - name: sha in: path required: true @@ -17518,9 +17828,9 @@ paths: description: Response content: application/json: - schema: *105 + schema: *109 examples: - default: *106 + default: *110 '422': *15 '404': *6 '403': *27 @@ -17889,7 +18199,7 @@ paths: - closed - all default: open - - &230 + - &235 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -17908,7 +18218,7 @@ paths: - comments default: created - *76 - - *102 + - *106 - name: collab in: query required: false @@ -17938,9 +18248,9 @@ paths: application/json: schema: type: array - items: *112 + items: *116 examples: - default: &231 + default: &236 value: - id: 1 node_id: MDU6SXNzdWUx @@ -18220,7 +18530,7 @@ paths: application/json: schema: type: array - items: *113 + items: *117 examples: default: value: @@ -18517,7 +18827,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &114 + X-CommonMarker-Version: &118 example: 0.17.4 schema: type: string @@ -18572,7 +18882,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *114 + X-CommonMarker-Version: *118 content: text/html: schema: @@ -18601,7 +18911,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account parameters: - - &117 + - &121 name: account_id description: account_id parameter in: path @@ -18613,7 +18923,7 @@ paths: description: Response content: application/json: - schema: &116 + schema: &120 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -18647,7 +18957,7 @@ paths: - 'null' id: type: integer - plan: &115 + plan: &119 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -18750,7 +19060,7 @@ paths: - 'null' updated_at: type: string - plan: *115 + plan: *119 required: - url - id @@ -18758,7 +19068,7 @@ paths: - login - marketplace_purchase examples: - default: &118 + default: &122 value: url: https://api.github.com/orgs/github type: Organization @@ -18843,9 +19153,9 @@ paths: application/json: schema: type: array - items: *115 + items: *119 examples: - default: &119 + default: &123 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -18885,14 +19195,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &120 + - &124 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &121 + - &125 name: sort description: The property to sort the results by. in: query @@ -18922,9 +19232,9 @@ paths: application/json: schema: type: array - items: *116 + items: *120 examples: - default: &122 + default: &126 value: - url: https://api.github.com/orgs/github type: Organization @@ -18998,15 +19308,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#get-a-subscription-plan-for-an-account-stubbed parameters: - - *117 + - *121 responses: '200': description: Response content: application/json: - schema: *116 + schema: *120 examples: - default: *118 + default: *122 '404': description: Not Found when the account has not purchased the listing '401': *23 @@ -19038,9 +19348,9 @@ paths: application/json: schema: type: array - items: *115 + items: *119 examples: - default: *119 + default: *123 headers: Link: *37 '401': *23 @@ -19063,8 +19373,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *120 - - *121 + - *124 + - *125 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -19084,9 +19394,9 @@ paths: application/json: schema: type: array - items: *116 + items: *120 examples: - default: *122 + default: *126 headers: Link: *37 '401': *23 @@ -19336,14 +19646,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &311 + - &312 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &312 + - &313 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -19360,7 +19670,7 @@ paths: application/json: schema: type: array - items: *123 + items: *127 examples: default: value: @@ -19414,7 +19724,7 @@ paths: '404': *6 '403': *27 '304': *35 - '301': &325 + '301': &326 description: Moved permanently content: application/json: @@ -19436,7 +19746,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &516 + - &517 name: all description: If `true`, show notifications marked as read. in: query @@ -19444,7 +19754,7 @@ paths: schema: type: boolean default: false - - &517 + - &518 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -19453,8 +19763,8 @@ paths: schema: type: boolean default: false - - *102 - - &518 + - *106 + - &519 name: before description: 'Only show notifications updated before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: @@ -19479,14 +19789,14 @@ paths: application/json: schema: type: array - items: &124 + items: &128 title: Thread description: Thread type: object properties: id: type: string - repository: &152 + repository: &156 title: Minimal Repository description: Minimal Repository type: object @@ -19825,7 +20135,7 @@ paths: type: boolean examples: - false - security_and_analysis: &263 + security_and_analysis: &264 type: - object - 'null' @@ -19980,7 +20290,7 @@ paths: - url - subscription_url examples: - default: &519 + default: &520 value: - id: '1' repository: @@ -20146,7 +20456,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &125 + - &129 name: thread_id description: The unique identifier of the notification thread. This corresponds to the value returned in the `id` field when you retrieve notifications @@ -20160,7 +20470,7 @@ paths: description: Response content: application/json: - schema: *124 + schema: *128 examples: default: value: @@ -20263,7 +20573,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *125 + - *129 responses: '205': description: Reset Content @@ -20286,7 +20596,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *125 + - *129 responses: '204': description: No content @@ -20309,13 +20619,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread-subscription-for-the-authenticated-user parameters: - - *125 + - *129 responses: '200': description: Response content: application/json: - schema: &126 + schema: &130 title: Thread Subscription description: Thread Subscription type: object @@ -20359,7 +20669,7 @@ paths: - url - subscribed examples: - default: &127 + default: &131 value: subscribed: true ignored: false @@ -20390,7 +20700,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *125 + - *129 requestBody: required: false content: @@ -20411,9 +20721,9 @@ paths: description: Response content: application/json: - schema: *126 + schema: *130 examples: - default: *127 + default: *131 '304': *35 '403': *27 '401': *23 @@ -20436,7 +20746,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *125 + - *129 responses: '204': description: Response @@ -20533,7 +20843,7 @@ paths: type: array items: *50 examples: - default: &652 + default: &653 value: - login: github id: 1 @@ -20598,7 +20908,7 @@ paths: - 3 custom_roles: type: array - items: &188 + items: &193 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -20647,7 +20957,7 @@ paths: - created_at - updated_at examples: - default: &189 + default: &194 value: id: 8030 name: Security Engineer @@ -20693,29 +21003,29 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/enhanced-billing#get-billing-usage-report-for-an-organization parameters: - - &134 + - &138 name: org description: The organization name. The name is not case sensitive. in: path required: true schema: type: string - - *128 - - *129 - - *130 - - *131 + - *132 + - *133 + - *134 + - *135 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *132 + schema: *136 examples: - default: *133 + default: *137 '400': *14 '403': *27 '500': *80 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20741,13 +21051,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization parameters: - - *134 + - *138 responses: '200': description: Response content: application/json: - schema: &135 + schema: &139 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -21117,7 +21427,7 @@ paths: - updated_at - archived_at examples: - default-response: &136 + default-response: &140 value: login: github id: 1 @@ -21210,7 +21520,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization parameters: - - *134 + - *138 requestBody: required: false content: @@ -21434,18 +21744,18 @@ paths: description: Response content: application/json: - schema: *135 + schema: *139 examples: - default: *136 + default: *140 '422': description: Validation failed content: application/json: schema: oneOf: - - *137 - - *138 - '409': *139 + - *141 + - *142 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -21468,9 +21778,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization parameters: - - *134 + - *138 responses: - '202': *140 + '202': *144 '404': *6 '403': *27 x-github: @@ -21493,15 +21803,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-an-organization parameters: - - *134 + - *138 responses: '200': description: Response content: application/json: - schema: *141 + schema: *145 examples: - default: *142 + default: *146 headers: Link: *37 x-github: @@ -21524,7 +21834,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-repositories-with-github-actions-cache-usage-for-an-organization parameters: - - *134 + - *138 - *17 - *18 responses: @@ -21542,7 +21852,7 @@ paths: type: integer repository_cache_usages: type: array - items: &330 + items: &331 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -21600,13 +21910,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *134 + - *138 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &143 + schema: &147 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -21620,7 +21930,7 @@ paths: required: - include_claim_keys examples: - default: &144 + default: &148 value: include_claim_keys: - repo @@ -21642,20 +21952,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-an-organization parameters: - - *134 + - *138 requestBody: required: true content: application/json: - schema: *143 + schema: *147 examples: - default: *144 + default: *148 responses: '201': description: Empty response content: application/json: - schema: &163 + schema: &167 title: Empty Object description: An object without any properties. type: object @@ -21685,7 +21995,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-an-organization parameters: - - *134 + - *138 responses: '200': description: Response @@ -21694,7 +22004,7 @@ paths: schema: type: object properties: - enabled_repositories: &146 + enabled_repositories: &150 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -21708,7 +22018,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *40 - selected_actions_url: *145 + selected_actions_url: *149 required: - enabled_repositories examples: @@ -21737,7 +22047,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-an-organization parameters: - - *134 + - *138 responses: '204': description: Response @@ -21748,7 +22058,7 @@ paths: schema: type: object properties: - enabled_repositories: *146 + enabled_repositories: *150 allowed_actions: *40 required: - enabled_repositories @@ -21776,7 +22086,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#list-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *134 + - *138 - *17 - *18 responses: @@ -21796,7 +22106,7 @@ paths: type: array items: *55 examples: - default: &646 + default: &647 value: total_count: 1 repositories: @@ -21936,7 +22246,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-selected-repositories-enabled-for-github-actions-in-an-organization parameters: - - *134 + - *138 responses: '204': description: Response @@ -21980,8 +22290,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#enable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *134 - - &147 + - *138 + - &151 name: repository_id description: The unique identifier of the repository. in: path @@ -22009,8 +22319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#disable-a-selected-repository-for-github-actions-in-an-organization parameters: - - *134 - - *147 + - *138 + - *151 responses: '204': description: Response @@ -22033,7 +22343,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *134 + - *138 responses: '200': description: Response @@ -22064,7 +22374,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-an-organization parameters: - - *134 + - *138 responses: '204': description: Response @@ -22096,13 +22406,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-an-organization parameters: - - *134 + - *138 responses: '200': description: Response content: application/json: - schema: *148 + schema: *152 examples: default: *46 x-github: @@ -22125,7 +22435,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-an-organization parameters: - - *134 + - *138 responses: '204': description: Success response @@ -22136,7 +22446,7 @@ paths: required: false content: application/json: - schema: *149 + schema: *153 examples: default: *46 x-github: @@ -22158,7 +22468,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runner-groups-for-an-organization parameters: - - *134 + - *138 - *17 - *18 - name: visible_to_repository @@ -22183,7 +22493,7 @@ paths: type: number runner_groups: type: array - items: &150 + items: &154 type: object properties: id: @@ -22296,7 +22606,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#create-a-self-hosted-runner-group-for-an-organization parameters: - - *134 + - *138 requestBody: required: true content: @@ -22366,9 +22676,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *154 examples: - default: &151 + default: &155 value: id: 2 name: octo-runner-group @@ -22403,14 +22713,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#get-a-self-hosted-runner-group-for-an-organization parameters: - - *134 + - *138 - *49 responses: '200': description: Response content: application/json: - schema: *150 + schema: *154 examples: default: value: @@ -22446,7 +22756,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#update-a-self-hosted-runner-group-for-an-organization parameters: - - *134 + - *138 - *49 requestBody: required: true @@ -22498,9 +22808,9 @@ paths: description: Response content: application/json: - schema: *150 + schema: *154 examples: - default: *151 + default: *155 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -22519,7 +22829,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#delete-a-self-hosted-runner-group-from-an-organization parameters: - - *134 + - *138 - *49 responses: '204': @@ -22543,7 +22853,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *134 + - *138 - *49 - *18 - *17 @@ -22562,9 +22872,9 @@ paths: type: number repositories: type: array - items: *152 + items: *156 examples: - default: &638 + default: &639 value: total_count: 1 repositories: @@ -22816,7 +23126,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-repository-access-for-a-self-hosted-runner-group-in-an-organization parameters: - - *134 + - *138 - *49 requestBody: required: true @@ -22861,9 +23171,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *134 + - *138 - *49 - - *147 + - *151 responses: '204': description: Response @@ -22885,9 +23195,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-repository-access-to-a-self-hosted-runner-group-in-an-organization parameters: - - *134 + - *138 - *49 - - *147 + - *151 responses: '204': description: Response @@ -22910,7 +23220,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#list-self-hosted-runners-in-a-group-for-an-organization parameters: - - *134 + - *138 - *49 - *17 - *18 @@ -22952,7 +23262,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#set-self-hosted-runners-in-a-group-for-an-organization parameters: - - *134 + - *138 - *49 requestBody: required: true @@ -22997,7 +23307,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#add-a-self-hosted-runner-to-a-group-for-an-organization parameters: - - *134 + - *138 - *49 - *52 responses: @@ -23021,7 +23331,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runner-groups#remove-a-self-hosted-runner-from-a-group-for-an-organization parameters: - - *134 + - *138 - *49 - *52 responses: @@ -23053,7 +23363,7 @@ paths: in: query schema: type: string - - *134 + - *138 - *17 - *18 responses: @@ -23097,7 +23407,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-an-organization parameters: - - *134 + - *138 responses: '200': description: Response @@ -23105,9 +23415,9 @@ paths: application/json: schema: type: array - items: *153 + items: *157 examples: - default: *154 + default: *158 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23129,7 +23439,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-an-organization parameters: - - *134 + - *138 requestBody: required: true content: @@ -23172,7 +23482,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *155 + '201': *159 '404': *6 '422': *7 x-github: @@ -23202,7 +23512,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-an-organization parameters: - - *134 + - *138 responses: '201': description: Response @@ -23210,7 +23520,7 @@ paths: application/json: schema: *56 examples: - default: *156 + default: *160 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23238,7 +23548,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-an-organization parameters: - - *134 + - *138 responses: '201': description: Response @@ -23246,7 +23556,7 @@ paths: application/json: schema: *56 examples: - default: *157 + default: *161 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23268,7 +23578,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-an-organization parameters: - - *134 + - *138 - *52 responses: '200': @@ -23277,7 +23587,7 @@ paths: application/json: schema: *53 examples: - default: *158 + default: *162 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -23298,7 +23608,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-an-organization parameters: - - *134 + - *138 - *52 responses: '204': @@ -23324,7 +23634,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *134 + - *138 - *52 responses: '200': *58 @@ -23349,7 +23659,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-an-organization parameters: - - *134 + - *138 - *52 requestBody: required: true @@ -23398,7 +23708,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-an-organization parameters: - - *134 + - *138 - *52 requestBody: required: true @@ -23448,10 +23758,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-an-organization parameters: - - *134 + - *138 - *52 responses: - '200': *159 + '200': *163 '404': *6 x-github: githubCloudOnly: false @@ -23478,9 +23788,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-an-organization parameters: - - *134 + - *138 - *52 - - *160 + - *164 responses: '200': *58 '404': *6 @@ -23507,7 +23817,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets parameters: - - *134 + - *138 - *17 - *18 responses: @@ -23525,7 +23835,7 @@ paths: type: integer secrets: type: array - items: &161 + items: &165 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -23600,13 +23910,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key parameters: - - *134 + - *138 responses: '200': description: Response content: application/json: - schema: &350 + schema: &351 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -23641,7 +23951,7 @@ paths: - key_id - key examples: - default: &351 + default: &352 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23666,8 +23976,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - - *134 - - &162 + - *138 + - &166 name: secret_name description: The name of the secret. in: path @@ -23679,7 +23989,7 @@ paths: description: Response content: application/json: - schema: *161 + schema: *165 examples: default: value: @@ -23709,8 +24019,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 requestBody: required: true content: @@ -23765,7 +24075,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -23791,8 +24101,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 responses: '204': description: Response @@ -23818,8 +24128,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 - *18 - *17 responses: @@ -23837,9 +24147,9 @@ paths: type: integer repositories: type: array - items: *152 + items: *156 examples: - default: &166 + default: &170 value: total_count: 1 repositories: @@ -23931,8 +24241,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 requestBody: required: true content: @@ -23984,8 +24294,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#add-selected-repository-to-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 - name: repository_id in: path required: true @@ -24018,8 +24328,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 - name: repository_id in: path required: true @@ -24051,8 +24361,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - - *134 - - &335 + - *138 + - &336 name: per_page description: The number of results per page (max 30). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -24076,7 +24386,7 @@ paths: type: integer variables: type: array - items: &164 + items: &168 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -24166,7 +24476,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable parameters: - - *134 + - *138 requestBody: required: true content: @@ -24214,7 +24524,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -24239,8 +24549,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - - *134 - - &165 + - *138 + - &169 name: name description: The name of the variable. in: path @@ -24252,7 +24562,7 @@ paths: description: Response content: application/json: - schema: *164 + schema: *168 examples: default: value: @@ -24282,8 +24592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - - *134 - - *165 + - *138 + - *169 requestBody: required: true content: @@ -24345,8 +24655,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - - *134 - - *165 + - *138 + - *169 responses: '204': description: Response @@ -24372,8 +24682,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-selected-repositories-for-an-organization-variable parameters: - - *134 - - *165 + - *138 + - *169 - *18 - *17 responses: @@ -24391,9 +24701,9 @@ paths: type: integer repositories: type: array - items: *152 + items: *156 examples: - default: *166 + default: *170 '409': description: Response when the visibility of the variable is not set to `selected` @@ -24419,8 +24729,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#set-selected-repositories-for-an-organization-variable parameters: - - *134 - - *165 + - *138 + - *169 requestBody: required: true content: @@ -24469,8 +24779,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#add-selected-repository-to-an-organization-variable parameters: - - *134 - - *165 + - *138 + - *169 - name: repository_id in: path required: true @@ -24504,8 +24814,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#remove-selected-repository-from-an-organization-variable parameters: - - *134 - - *165 + - *138 + - *169 - name: repository_id in: path required: true @@ -24536,7 +24846,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *134 + - *138 responses: '200': description: Response @@ -24563,11 +24873,11 @@ paths: required: true content: application/json: - schema: *167 + schema: *171 examples: default: *61 parameters: - - *134 + - *138 responses: '200': description: Response @@ -24591,7 +24901,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *134 + - *138 responses: '204': description: Response @@ -24619,7 +24929,7 @@ paths: - *17 - *74 - *75 - - *134 + - *138 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -24660,7 +24970,7 @@ paths: repository_id: type: integer examples: - default: &364 + default: &365 value: attestations: - bundle: @@ -24778,7 +25088,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-the-audit-log-for-an-organization parameters: - - *134 + - *138 - name: phrase description: A search phrase. For more information, see [Searching the audit log](https://docs.github.com/enterprise-cloud@latest//github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization#searching-the-audit-log). @@ -24786,10 +25096,10 @@ paths: required: false schema: type: string - - *168 - - *169 - - *170 - - *171 + - *172 + - *173 + - *174 + - *175 - *17 responses: '200': @@ -24798,9 +25108,9 @@ paths: application/json: schema: type: array - items: *172 + items: *176 examples: - default: *173 + default: *177 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -24817,7 +25127,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *134 + - *138 - *17 - *18 responses: @@ -24829,7 +25139,7 @@ paths: type: array items: *4 examples: - default: &232 + default: &237 value: - login: octocat id: 1 @@ -24867,8 +25177,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#check-if-a-user-is-blocked-by-an-organization parameters: - - *134 - - &174 + - *138 + - &178 name: username description: The handle for the GitHub user account. in: path @@ -24899,8 +25209,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *134 - - *174 + - *138 + - *178 responses: '204': description: Response @@ -24920,8 +25230,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *134 - - *174 + - *138 + - *178 responses: '204': description: Response @@ -24946,9 +25256,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - - *134 - - *175 - - *176 + - *138 + - *179 + - *180 - *74 - *75 - *18 @@ -24959,7 +25269,7 @@ paths: be returned. in: query required: false - schema: *177 + schema: *181 - name: sort description: The property by which to sort the results. in: query @@ -24975,7 +25285,7 @@ paths: be returned. in: query required: false - schema: &390 + schema: &391 type: string description: Severity of a code scanning alert. enum: @@ -24993,13 +25303,13 @@ paths: application/json: schema: type: array - items: *178 + items: *182 examples: - default: *179 + default: *183 headers: Link: *37 '404': *6 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25021,7 +25331,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-code-security-configurations-for-an-organization parameters: - - *134 + - *138 - name: target_type in: query description: The target type of the code security configuration @@ -25049,7 +25359,7 @@ paths: application/json: schema: type: array - items: &180 + items: &184 type: object description: A code security configuration properties: @@ -25120,6 +25430,29 @@ paths: - enabled - disabled - not_set + code_scanning_default_setup_options: + type: + - object + - 'null' + description: Feature options for code scanning default setup + properties: + runner_type: + type: + - string + - 'null' + enum: + - standard + - labeled + - not_set + - + description: Whether to use labeled runners or standard + GitHub runners. + runner_label: + type: + - string + - 'null' + description: The label of the runner to use for code scanning + when runner_type is 'labeled'. secret_scanning: type: string description: The enablement status of secret scanning @@ -25288,7 +25621,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration parameters: - - *134 + - *138 requestBody: required: true content: @@ -25361,6 +25694,26 @@ paths: - disabled - not_set default: disabled + code_scanning_default_setup_options: &188 + type: + - object + - 'null' + description: Feature options for code scanning default setup + properties: + runner_type: + type: string + enum: + - standard + - labeled + - not_set + description: Whether to use labeled runners or standard GitHub + runners. + runner_label: + type: + - string + - 'null' + description: The label of the runner to use for code scanning + default setup when runner_type is 'labeled'. secret_scanning: type: string description: The enablement status of secret scanning @@ -25460,9 +25813,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *180 + schema: *184 examples: - default: &181 + default: &186 value: id: 1325 target_type: organization @@ -25476,6 +25829,9 @@ paths: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: disabled + code_scanning_default_setup_options: + runner_type: not_set + runner_label: secret_scanning: enabled secret_scanning_push_protection: disabled secret_scanning_delegated_bypass: disabled @@ -25508,7 +25864,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations parameters: - - *134 + - *138 responses: '200': description: Response @@ -25528,7 +25884,7 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *180 + configuration: *184 examples: default: value: @@ -25546,6 +25902,9 @@ paths: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: enabled + code_scanning_default_setup_options: + runner_type: not_set + runner_label: secret_scanning: enabled secret_scanning_push_protection: enabled secret_scanning_delegated_bypass: enabled @@ -25577,6 +25936,9 @@ paths: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: enabled + code_scanning_default_setup_options: + runner_type: not_set + runner_label: secret_scanning: enabled secret_scanning_push_protection: enabled secret_scanning_delegated_bypass: disabled @@ -25612,7 +25974,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *134 + - *138 requestBody: required: true content: @@ -25635,12 +25997,11 @@ paths: - 32 - 91 responses: - '204': &183 - description: A header with no content is returned. + '204': *185 '400': *14 '403': *27 '404': *6 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25662,8 +26023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - - *134 - - &182 + - *138 + - &187 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -25675,9 +26036,9 @@ paths: description: Response content: application/json: - schema: *180 + schema: *184 examples: - default: *181 + default: *186 '304': *35 '403': *27 '404': *6 @@ -25701,8 +26062,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - - *134 - - *182 + - *138 + - *187 requestBody: required: true content: @@ -25768,6 +26129,7 @@ paths: - enabled - disabled - not_set + code_scanning_default_setup_options: *188 secret_scanning: type: string description: The enablement status of secret scanning @@ -25854,7 +26216,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *180 + schema: *184 examples: default: value: @@ -25870,6 +26232,9 @@ paths: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: enabled + code_scanning_default_setup_options: + runner_type: not_set + runner_label: secret_scanning: disabled secret_scanning_push_protection: disabled secret_scanning_delegated_bypass: disabled @@ -25905,14 +26270,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *134 - - *182 + - *138 + - *187 responses: - '204': *183 + '204': *185 '400': *14 '403': *27 '404': *6 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25936,8 +26301,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *134 - - *182 + - *138 + - *187 requestBody: required: true content: @@ -25976,7 +26341,7 @@ paths: - 32 - 91 responses: - '202': *140 + '202': *144 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26000,8 +26365,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#set-a-code-security-configuration-as-a-default-for-an-organization parameters: - - *134 - - *182 + - *138 + - *187 requestBody: required: true content: @@ -26041,12 +26406,12 @@ paths: - none - private_and_internal - public - configuration: *180 + configuration: *184 examples: default: value: default_for_new_repos: all - configuration: *181 + configuration: *186 '403': *27 '404': *6 x-github: @@ -26070,8 +26435,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-repositories-associated-with-a-code-security-configuration parameters: - - *134 - - *182 + - *138 + - *187 - name: per_page description: The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/using-pagination-in-the-rest-api)." @@ -26214,7 +26579,7 @@ paths: parameters: - *17 - *18 - - *134 + - *138 responses: '200': description: Response @@ -26230,7 +26595,7 @@ paths: type: integer codespaces: type: array - items: &233 + items: &238 type: object title: Codespace description: A codespace. @@ -26261,11 +26626,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *152 + repository: *156 machine: anyOf: - type: 'null' - - &416 + - &417 type: object title: Codespace machine description: A description of the machine powering a codespace. @@ -26552,7 +26917,7 @@ paths: - pulls_url - recent_folders examples: - default: &234 + default: &239 value: total_count: 3 codespaces: @@ -26984,7 +27349,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *134 + - *138 deprecated: true requestBody: required: true @@ -27051,7 +27416,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#add-users-to-codespaces-access-for-an-organization parameters: - - *134 + - *138 deprecated: true requestBody: required: true @@ -27106,7 +27471,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *134 + - *138 requestBody: required: true content: @@ -27158,7 +27523,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *134 + - *138 - *17 - *18 responses: @@ -27176,7 +27541,7 @@ paths: type: integer secrets: type: array - items: &184 + items: &189 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -27217,7 +27582,7 @@ paths: - updated_at - visibility examples: - default: &417 + default: &418 value: total_count: 2 secrets: @@ -27249,13 +27614,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *134 + - *138 responses: '200': description: Response content: application/json: - schema: &418 + schema: &419 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -27290,7 +27655,7 @@ paths: - key_id - key examples: - default: &419 + default: &420 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -27313,16 +27678,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 responses: '200': description: Response content: application/json: - schema: *184 + schema: *189 examples: - default: &421 + default: &422 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -27349,8 +27714,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#create-or-update-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 requestBody: required: true content: @@ -27405,7 +27770,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -27431,8 +27796,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 responses: '204': description: Response @@ -27457,8 +27822,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-selected-repositories-for-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 - *18 - *17 responses: @@ -27476,9 +27841,9 @@ paths: type: integer repositories: type: array - items: *152 + items: *156 examples: - default: *166 + default: *170 '404': *6 x-github: githubCloudOnly: false @@ -27500,8 +27865,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#set-selected-repositories-for-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 requestBody: required: true content: @@ -27551,8 +27916,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#add-selected-repository-to-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 - name: repository_id in: path required: true @@ -27585,8 +27950,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#remove-selected-repository-from-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 - name: repository_id in: path required: true @@ -27625,7 +27990,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-information-and-settings-for-an-organization parameters: - - *134 + - *138 responses: '200': description: OK @@ -27768,7 +28133,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#list-all-copilot-seat-assignments-for-an-organization parameters: - - *134 + - *138 - *18 - name: per_page description: The number of results per page (max 100). For more information, @@ -27791,9 +28156,9 @@ paths: currently being billed. seats: type: array - items: *185 + items: *190 examples: - default: *186 + default: *191 headers: Link: *37 '500': *80 @@ -27815,13 +28180,11 @@ paths: Purchases a GitHub Copilot seat for all users within each specified team. The organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)." - Only organization owners can add Copilot seats for their organization members. - - In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy. + Only organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy. For more information about setting up a Copilot subscription, see "[Subscribing to Copilot for your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization)." For more information about setting a suggestion matching policy, see "[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching)." - The response will contain the total number of new seats that were created and existing seats that were refreshed. + The response contains the total number of new seats that were created and existing seats that were refreshed. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: @@ -27831,7 +28194,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-teams-to-the-copilot-subscription-for-an-organization parameters: - - *134 + - *138 requestBody: content: application/json: @@ -27895,14 +28258,11 @@ paths: Sets seats for all members of each team specified to "pending cancellation". This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team. - - For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)." - - For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)." + For more information about disabling access to Copilot, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)." Only organization owners can cancel Copilot seats for their organization members. - The response will contain the total number of seats set to "pending cancellation". + The response contains the total number of seats set to "pending cancellation". OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: @@ -27912,7 +28272,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-teams-from-the-copilot-subscription-for-an-organization parameters: - - *134 + - *138 requestBody: content: application/json: @@ -27978,13 +28338,11 @@ paths: Purchases a GitHub Copilot seat for each user specified. The organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)." - Only organization owners can add Copilot seats for their organization members. - - In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy. + Only organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy. For more information about setting up a Copilot subscription, see "[Subscribing to Copilot for your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization)." For more information about setting a suggestion matching policy, see "[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching)." - The response will contain the total number of new seats that were created and existing seats that were refreshed. + The response contains the total number of new seats that were created and existing seats that were refreshed. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: @@ -27994,7 +28352,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#add-users-to-the-copilot-subscription-for-an-organization parameters: - - *134 + - *138 requestBody: content: application/json: @@ -28057,14 +28415,11 @@ paths: Sets seats for all users specified to "pending cancellation". This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership. - - For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)." - - For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)." + For more information about disabling access to Copilot, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)." Only organization owners can cancel Copilot seats for their organization members. - The response will contain the total number of seats set to "pending cancellation". + The response contains the total number of seats set to "pending cancellation". OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: @@ -28074,7 +28429,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#remove-users-from-the-copilot-subscription-for-an-organization parameters: - - *134 + - *138 requestBody: content: application/json: @@ -28155,7 +28510,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-an-organization parameters: - - *134 + - *138 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -28187,13 +28542,13 @@ paths: application/json: schema: type: array - items: *94 + items: *98 examples: - default: *95 + default: *99 '500': *80 '403': *27 '404': *6 - '422': *96 + '422': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28224,7 +28579,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-organization-members parameters: - - *134 + - *138 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -28256,9 +28611,9 @@ paths: application/json: schema: type: array - items: *97 + items: *101 examples: - default: *187 + default: *192 '500': *80 '401': *23 '403': *27 @@ -28284,7 +28639,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-saml-sso-authorizations-for-an-organization parameters: - - *134 + - *138 - *17 - name: page description: Page token @@ -28443,7 +28798,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#remove-a-saml-sso-authorization-for-an-organization parameters: - - *134 + - *138 - name: credential_id in: path required: true @@ -28474,7 +28829,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-custom-repository-roles-in-an-organization parameters: - - *134 + - *138 responses: '200': description: Response - list of custom role names @@ -28490,7 +28845,7 @@ paths: - 3 custom_roles: type: array - items: *188 + items: *193 examples: default: value: @@ -28577,12 +28932,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *134 + - *138 requestBody: required: true content: application/json: - schema: &191 + schema: &196 type: object properties: name: @@ -28624,9 +28979,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *193 examples: - default: *189 + default: *194 '422': *15 '404': *6 x-github: @@ -28650,8 +29005,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *134 - - &190 + - *138 + - &195 name: role_id description: The unique identifier of the role. in: path @@ -28663,9 +29018,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *193 examples: - default: *189 + default: *194 '404': *6 x-github: githubCloudOnly: true @@ -28687,13 +29042,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *134 - - *190 + - *138 + - *195 requestBody: required: true content: application/json: - schema: &192 + schema: &197 type: object properties: name: @@ -28732,9 +29087,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *193 examples: - default: *189 + default: *194 '422': *15 '404': *6 x-github: @@ -28758,8 +29113,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *134 - - *190 + - *138 + - *195 responses: '204': description: Response @@ -28787,12 +29142,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---create-a-custom-role parameters: - - *134 + - *138 requestBody: required: true content: application/json: - schema: *191 + schema: *196 examples: default: value: @@ -28806,9 +29161,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *193 examples: - default: *189 + default: *194 '422': *15 '404': *6 x-github: @@ -28838,16 +29193,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---get-a-custom-role parameters: - - *134 - - *190 + - *138 + - *195 responses: '200': description: Response content: application/json: - schema: *188 + schema: *193 examples: - default: *189 + default: *194 '404': *6 x-github: githubCloudOnly: true @@ -28875,13 +29230,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---update-a-custom-role parameters: - - *134 - - *190 + - *138 + - *195 requestBody: required: true content: application/json: - schema: *192 + schema: *197 examples: default: value: @@ -28896,9 +29251,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *193 examples: - default: *189 + default: *194 '422': *15 '404': *6 x-github: @@ -28928,8 +29283,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---delete-a-custom-role parameters: - - *134 - - *190 + - *138 + - *195 responses: '204': description: Response @@ -28957,18 +29312,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *134 - - *193 - - *194 - - *195 - - *196 - - *197 + - *138 - *198 + - *199 + - *200 + - *201 + - *202 + - *203 - *76 - *74 - *75 - - *199 - - *200 + - *204 + - *205 - *17 responses: '200': @@ -28977,9 +29332,9 @@ paths: application/json: schema: type: array - items: *201 + items: *206 examples: - default: *202 + default: *207 '304': *35 '400': *14 '403': *27 @@ -29005,7 +29360,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets parameters: - - *134 + - *138 - *17 - *18 responses: @@ -29023,7 +29378,7 @@ paths: type: integer secrets: type: array - items: &203 + items: &208 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -29096,13 +29451,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key parameters: - - *134 + - *138 responses: '200': description: Response content: application/json: - schema: &444 + schema: &445 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -29121,7 +29476,7 @@ paths: - key_id - key examples: - default: &445 + default: &446 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -29144,14 +29499,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 responses: '200': description: Response content: application/json: - schema: *203 + schema: *208 examples: default: value: @@ -29179,8 +29534,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 requestBody: required: true content: @@ -29235,7 +29590,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -29259,8 +29614,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 responses: '204': description: Response @@ -29284,8 +29639,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-selected-repositories-for-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 - *18 - *17 responses: @@ -29303,9 +29658,9 @@ paths: type: integer repositories: type: array - items: *152 + items: *156 examples: - default: *166 + default: *170 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29326,8 +29681,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#set-selected-repositories-for-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 requestBody: required: true content: @@ -29377,8 +29732,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#add-selected-repository-to-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 - name: repository_id in: path required: true @@ -29409,8 +29764,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#remove-selected-repository-from-an-organization-secret parameters: - - *134 - - *162 + - *138 + - *166 - name: repository_id in: path required: true @@ -29440,7 +29795,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-organization parameters: - - *134 + - *138 responses: '200': description: Response @@ -29448,7 +29803,7 @@ paths: application/json: schema: type: array - items: &244 + items: &249 title: Package description: A software package type: object @@ -29501,7 +29856,7 @@ paths: repository: anyOf: - type: 'null' - - *152 + - *156 created_at: type: string format: date-time @@ -29519,7 +29874,7 @@ paths: - created_at - updated_at examples: - default: &245 + default: &250 value: - id: 197 name: hello_docker @@ -29597,7 +29952,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events parameters: - - *134 + - *138 - *17 - *18 responses: @@ -29607,7 +29962,7 @@ paths: application/json: schema: type: array - items: *123 + items: *127 examples: 200-response: value: @@ -29677,7 +30032,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group parameters: - - *134 + - *138 - name: group_id description: The unique identifier of the group. in: path @@ -29703,7 +30058,7 @@ paths: description: Response content: application/json: - schema: &306 + schema: &307 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -29793,7 +30148,7 @@ paths: member_name: Octo Lisa member_email: octo_lisa@github.com examples: - default: &307 + default: &308 value: group_id: '123' group_name: Octocat admins @@ -29831,7 +30186,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-external-groups-in-an-organization parameters: - - *134 + - *138 - *17 - name: page description: Page token @@ -29848,7 +30203,7 @@ paths: description: Response content: application/json: - schema: &304 + schema: &305 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -29888,7 +30243,7 @@ paths: group_name: group-azuread-test2 updated_at: 2021-06-03 22:27:15:000 -700 examples: - default: &305 + default: &306 value: groups: - group_id: '123' @@ -29922,7 +30277,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations parameters: - - *134 + - *138 - *17 - *18 responses: @@ -29932,7 +30287,7 @@ paths: application/json: schema: type: array - items: &226 + items: &231 title: Organization Invitation description: Organization Invitation type: object @@ -29986,7 +30341,7 @@ paths: - invitation_teams_url - node_id examples: - default: &227 + default: &232 value: - id: 1 login: monalisa @@ -30045,7 +30400,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#closing-down---list-fine-grained-permissions-for-an-organization parameters: - - *134 + - *138 responses: '200': description: Response @@ -30053,7 +30408,7 @@ paths: application/json: schema: type: array - items: &264 + items: &265 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -30067,7 +30422,7 @@ paths: - name - description examples: - default: &265 + default: &266 value: - name: add_assignee description: Assign or remove a user @@ -30098,7 +30453,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks parameters: - - *134 + - *138 - *17 - *18 responses: @@ -30108,7 +30463,7 @@ paths: application/json: schema: type: array - items: &204 + items: &209 title: Org Hook description: Org Hook type: object @@ -30229,7 +30584,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook parameters: - - *134 + - *138 requestBody: required: true content: @@ -30291,9 +30646,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *209 examples: - default: &205 + default: &210 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -30337,8 +30692,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - - *134 - - &206 + - *138 + - &211 name: hook_id description: The unique identifier of the hook. You can find this value in the `X-GitHub-Hook-ID` header of a webhook delivery. @@ -30351,9 +30706,9 @@ paths: description: Response content: application/json: - schema: *204 + schema: *209 examples: - default: *205 + default: *210 '404': *6 x-github: githubCloudOnly: false @@ -30374,8 +30729,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - - *134 - - *206 + - *138 + - *211 requestBody: required: false content: @@ -30421,7 +30776,7 @@ paths: description: Response content: application/json: - schema: *204 + schema: *209 examples: default: value: @@ -30460,8 +30815,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *134 - - *206 + - *138 + - *211 responses: '204': description: Response @@ -30486,8 +30841,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - - *134 - - *206 + - *138 + - *211 responses: '200': description: Response @@ -30515,8 +30870,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - - *134 - - *206 + - *138 + - *211 requestBody: required: false content: @@ -30564,10 +30919,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *134 - - *206 + - *138 + - *211 - *17 - - *207 + - *212 responses: '200': description: Response @@ -30575,9 +30930,9 @@ paths: application/json: schema: type: array - items: *208 + items: *213 examples: - default: *209 + default: *214 '400': *14 '422': *15 x-github: @@ -30600,17 +30955,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - - *134 - - *206 + - *138 + - *211 - *16 responses: '200': description: Response content: application/json: - schema: *210 + schema: *215 examples: - default: *211 + default: *216 '400': *14 '422': *15 x-github: @@ -30633,11 +30988,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - - *134 - - *206 + - *138 + - *211 - *16 responses: - '202': *140 + '202': *144 '400': *14 '422': *15 x-github: @@ -30660,8 +31015,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *134 - - *206 + - *138 + - *211 responses: '204': description: Response @@ -30683,8 +31038,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *134 - - &216 + - *138 + - &221 name: actor_type in: path description: The type of the actor @@ -30697,14 +31052,14 @@ paths: - fine_grained_pats - oauth_apps - github_apps_user_to_server - - &217 + - &222 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &212 + - &217 name: min_timestamp description: 'The minimum timestamp to query for stats. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -30712,7 +31067,7 @@ paths: required: true schema: type: string - - &213 + - &218 name: max_timestamp description: 'The maximum timestamp to query for stats. Defaults to the time 30 days ago. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -30740,6 +31095,13 @@ paths: - api_route - total_request_count default: total_request_count + - name: api_route_substring + in: query + description: Providing a substring will filter results where the API route + contains the substring. This is a case-insensitive search. + required: false + schema: + type: string responses: '200': description: Response @@ -30799,13 +31161,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - - *134 - - *212 - - *213 + - *138 + - *217 + - *218 - *18 - *17 - *76 - - &222 + - &227 name: sort description: The property to sort the results by. in: query @@ -30821,6 +31183,13 @@ paths: - subject_name - total_request_count default: total_request_count + - name: subject_name_substring + in: query + description: Providing a substring will filter results where the subject name + contains the substring. This is a case-insensitive search. + required: false + schema: + type: string responses: '200': description: Response @@ -30877,15 +31246,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - - *134 - - *212 - - *213 + - *138 + - *217 + - *218 responses: '200': description: Response content: application/json: - schema: &214 + schema: &219 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -30901,7 +31270,7 @@ paths: type: integer format: int64 examples: - default: &215 + default: &220 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -30921,24 +31290,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *134 - - &218 + - *138 + - &223 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *212 - - *213 + - *217 + - *218 responses: '200': description: Response content: application/json: - schema: *214 + schema: *219 examples: - default: *215 + default: *220 x-github: enabledForGitHubApps: true category: orgs @@ -30956,19 +31325,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *134 - - *212 - - *213 - - *216 + - *138 - *217 + - *218 + - *221 + - *222 responses: '200': description: Response content: application/json: - schema: *214 + schema: *219 examples: - default: *215 + default: *220 x-github: enabledForGitHubApps: true category: orgs @@ -30985,10 +31354,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - - *134 - - *212 - - *213 - - &219 + - *138 + - *217 + - *218 + - &224 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -31001,7 +31370,7 @@ paths: description: Response content: application/json: - schema: &220 + schema: &225 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -31017,7 +31386,7 @@ paths: type: integer format: int64 examples: - default: &221 + default: &226 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -31053,19 +31422,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - - *134 + - *138 + - *223 + - *217 - *218 - - *212 - - *213 - - *219 + - *224 responses: '200': description: Response content: application/json: - schema: *220 + schema: *225 examples: - default: *221 + default: *226 x-github: enabledForGitHubApps: true category: orgs @@ -31082,20 +31451,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *134 - - *216 + - *138 + - *221 + - *222 - *217 - - *212 - - *213 - - *219 + - *218 + - *224 responses: '200': description: Response content: application/json: - schema: *220 + schema: *225 examples: - default: *221 + default: *226 x-github: enabledForGitHubApps: true category: orgs @@ -31112,14 +31481,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - - *134 + - *138 + - *223 + - *217 - *218 - - *212 - - *213 - *18 - *17 - *76 - - *222 + - *227 + - name: actor_name_substring + in: query + description: Providing a substring will filter results where the actor name + contains the substring. This is a case-insensitive search. + required: false + schema: + type: string responses: '200': description: Response @@ -31188,7 +31564,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-an-organization-installation-for-the-authenticated-app parameters: - - *134 + - *138 responses: '200': description: Response @@ -31196,7 +31572,7 @@ paths: application/json: schema: *20 examples: - default: &483 + default: &484 value: id: 1 account: @@ -31265,7 +31641,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *134 + - *138 - *17 - *18 responses: @@ -31354,7 +31730,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *134 + - *138 responses: '200': description: Response @@ -31362,12 +31738,12 @@ paths: application/json: schema: anyOf: - - &224 + - &229 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &223 + limit: &228 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -31395,7 +31771,7 @@ paths: properties: {} additionalProperties: false examples: - default: &225 + default: &230 value: limit: collaborators_only origin: organization @@ -31419,18 +31795,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *134 + - *138 requestBody: required: true content: application/json: - schema: &484 + schema: &485 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *223 + limit: *228 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -31455,9 +31831,9 @@ paths: description: Response content: application/json: - schema: *224 + schema: *229 examples: - default: *225 + default: *230 '422': *15 x-github: githubCloudOnly: false @@ -31475,7 +31851,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *134 + - *138 responses: '204': description: Response @@ -31501,7 +31877,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations parameters: - - *134 + - *138 - *17 - *18 - name: role @@ -31535,9 +31911,9 @@ paths: application/json: schema: type: array - items: *226 + items: *231 examples: - default: *227 + default: *232 headers: Link: *37 '404': *6 @@ -31561,7 +31937,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation parameters: - - *134 + - *138 requestBody: required: false content: @@ -31615,7 +31991,7 @@ paths: description: Response content: application/json: - schema: *226 + schema: *231 examples: default: value: @@ -31671,8 +32047,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - - *134 - - &228 + - *138 + - &233 name: invitation_id description: The unique identifier of the invitation. in: path @@ -31705,8 +32081,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - - *134 - - *228 + - *138 + - *233 - *17 - *18 responses: @@ -31716,9 +32092,9 @@ paths: application/json: schema: type: array - items: *229 + items: *234 examples: - default: &243 + default: &248 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -31763,7 +32139,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-organization-issues-assigned-to-the-authenticated-user parameters: - - *134 + - *138 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -31793,7 +32169,7 @@ paths: - closed - all default: open - - *230 + - *235 - name: sort description: What to sort results by. in: query @@ -31806,7 +32182,7 @@ paths: - comments default: created - *76 - - *102 + - *106 - *17 - *18 responses: @@ -31816,9 +32192,9 @@ paths: application/json: schema: type: array - items: *112 + items: *116 examples: - default: *231 + default: *236 headers: Link: *37 '404': *6 @@ -31840,7 +32216,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members parameters: - - *134 + - *138 - name: filter description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -31876,7 +32252,7 @@ paths: type: array items: *4 examples: - default: *232 + default: *237 headers: Link: *37 '422': *15 @@ -31896,8 +32272,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - - *134 - - *174 + - *138 + - *178 responses: '204': description: Response if requester is an organization member and user is @@ -31928,8 +32304,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - - *134 - - *174 + - *138 + - *178 responses: '204': description: Response @@ -31955,8 +32331,8 @@ paths: parameters: - *17 - *18 - - *134 - - *174 + - *138 + - *178 responses: '200': description: Response @@ -31972,9 +32348,9 @@ paths: type: integer codespaces: type: array - items: *233 + items: *238 examples: - default: *234 + default: *239 '304': *35 '500': *80 '401': *23 @@ -31999,9 +32375,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *134 - - *174 - - &235 + - *138 + - *178 + - &240 name: codespace_name in: path required: true @@ -32009,7 +32385,7 @@ paths: schema: type: string responses: - '202': *140 + '202': *144 '304': *35 '500': *80 '401': *23 @@ -32034,17 +32410,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#stop-a-codespace-for-an-organization-user parameters: - - *134 - - *174 - - *235 + - *138 + - *178 + - *240 responses: '200': description: Response content: application/json: - schema: *233 + schema: *238 examples: - default: &415 + default: &416 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -32217,14 +32593,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-user-management#get-copilot-seat-assignment-details-for-a-user parameters: - - *134 - - *174 + - *138 + - *178 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *185 + schema: *190 examples: default: value: @@ -32292,14 +32668,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - - *134 - - *174 + - *138 + - *178 responses: '200': description: Response content: application/json: - schema: &236 + schema: &241 title: Org Membership description: Org Membership type: object @@ -32352,7 +32728,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &237 + response-if-user-has-an-active-admin-membership-with-organization: &242 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -32420,8 +32796,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - - *134 - - *174 + - *138 + - *178 requestBody: required: false content: @@ -32449,9 +32825,9 @@ paths: description: Response content: application/json: - schema: *236 + schema: *241 examples: - response-if-user-already-had-membership-with-organization: *237 + response-if-user-already-had-membership-with-organization: *242 '422': *15 '403': *27 x-github: @@ -32472,8 +32848,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *134 - - *174 + - *138 + - *178 responses: '204': description: Response @@ -32498,7 +32874,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations parameters: - - *134 + - *138 - *17 - *18 - name: exclude @@ -32520,7 +32896,7 @@ paths: application/json: schema: type: array - items: &238 + items: &243 title: Migration description: A migration. type: object @@ -32777,7 +33153,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration parameters: - - *134 + - *138 requestBody: required: true content: @@ -32858,7 +33234,7 @@ paths: description: Response content: application/json: - schema: *238 + schema: *243 examples: default: value: @@ -33036,8 +33412,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - - *134 - - &239 + - *138 + - &244 name: migration_id description: The unique identifier of the migration. in: path @@ -33065,7 +33441,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *238 + schema: *243 examples: default: value: @@ -33234,8 +33610,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *134 - - *239 + - *138 + - *244 responses: '302': description: Response @@ -33256,8 +33632,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *134 - - *239 + - *138 + - *244 responses: '204': description: Response @@ -33280,9 +33656,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - - *134 - - *239 - - &651 + - *138 + - *244 + - &652 name: repo_name description: repo_name parameter in: path @@ -33309,8 +33685,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *134 - - *239 + - *138 + - *244 - *17 - *18 responses: @@ -33320,9 +33696,9 @@ paths: application/json: schema: type: array - items: *152 + items: *156 examples: - default: &250 + default: &255 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -33461,7 +33837,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-organization-fine-grained-permissions-for-an-organization parameters: - - *134 + - *138 responses: '200': description: Response @@ -33515,7 +33891,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-all-organization-roles-for-an-organization parameters: - - *134 + - *138 responses: '200': description: Response - list of organization roles @@ -33531,7 +33907,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &240 + items: &245 title: Organization Role description: Organization roles type: object @@ -33693,7 +34069,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *134 + - *138 requestBody: required: true content: @@ -33740,7 +34116,7 @@ paths: description: Response content: application/json: - schema: *240 + schema: *245 examples: default: value: @@ -33769,7 +34145,7 @@ paths: updated_at: '2022-07-04T22:19:11Z' '422': *15 '404': *6 - '409': *139 + '409': *143 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -33791,8 +34167,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - - *134 - - *241 + - *138 + - *246 responses: '204': description: Response @@ -33817,9 +34193,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - - *134 - - *241 - - *190 + - *138 + - *246 + - *195 responses: '204': description: Response @@ -33848,9 +34224,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - - *134 - - *241 - - *190 + - *138 + - *246 + - *195 responses: '204': description: Response @@ -33875,8 +34251,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-all-organization-roles-for-a-user parameters: - - *134 - - *174 + - *138 + - *178 responses: '204': description: Response @@ -33901,9 +34277,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#assign-an-organization-role-to-a-user parameters: - - *134 - - *174 - - *190 + - *138 + - *178 + - *195 responses: '204': description: Response @@ -33933,9 +34309,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#remove-an-organization-role-from-a-user parameters: - - *134 - - *174 - - *190 + - *138 + - *178 + - *195 responses: '204': description: Response @@ -33963,14 +34339,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - - *134 - - *190 + - *138 + - *195 responses: '200': description: Response content: application/json: - schema: *240 + schema: *245 examples: default: value: @@ -34027,8 +34403,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *134 - - *190 + - *138 + - *195 requestBody: required: true content: @@ -34067,7 +34443,7 @@ paths: description: Response content: application/json: - schema: *240 + schema: *245 examples: default: value: @@ -34095,7 +34471,7 @@ paths: created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:19:11Z' '422': *15 - '409': *139 + '409': *143 '404': *6 x-github: githubCloudOnly: true @@ -34120,8 +34496,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *134 - - *190 + - *138 + - *195 responses: '204': description: Response @@ -34146,8 +34522,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - - *134 - - *190 + - *138 + - *195 - *17 - *18 responses: @@ -34226,7 +34602,7 @@ paths: parent: anyOf: - type: 'null' - - *242 + - *247 required: - id - node_id @@ -34240,7 +34616,7 @@ paths: - slug - parent examples: - default: *243 + default: *248 headers: Link: *37 '404': @@ -34269,8 +34645,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - - *134 - - *190 + - *138 + - *195 - *17 - *18 responses: @@ -34299,7 +34675,7 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: *242 + items: *247 name: type: - string @@ -34416,7 +34792,7 @@ paths: - type - url examples: - default: *232 + default: *237 headers: Link: *37 '404': @@ -34440,7 +34816,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#list-outside-collaborators-for-an-organization parameters: - - *134 + - *138 - name: filter description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614-two-factor-authentication) @@ -34464,7 +34840,7 @@ paths: type: array items: *4 examples: - default: *232 + default: *237 headers: Link: *37 x-github: @@ -34489,8 +34865,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#convert-an-organization-member-to-outside-collaborator parameters: - - *134 - - *174 + - *138 + - *178 requestBody: required: false content: @@ -34547,8 +34923,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/outside-collaborators#remove-outside-collaborator-from-an-organization parameters: - - *134 - - *174 + - *138 + - *178 responses: '204': description: Response @@ -34605,8 +34981,8 @@ paths: - docker - nuget - container - - *134 - - &653 + - *138 + - &654 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -34642,12 +35018,12 @@ paths: application/json: schema: type: array - items: *244 + items: *249 examples: - default: *245 + default: *250 '403': *27 '401': *23 - '400': &655 + '400': &656 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -34669,7 +35045,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &246 + - &251 name: package_type description: The type of supported package. Packages in GitHub's Gradle registry have the type `maven`. Docker images pushed to GitHub's Container registry @@ -34687,20 +35063,20 @@ paths: - docker - nuget - container - - &247 + - &252 name: package_name description: The name of the package. in: path required: true schema: type: string - - *134 + - *138 responses: '200': description: Response content: application/json: - schema: *244 + schema: *249 examples: default: value: @@ -34752,9 +35128,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *246 - - *247 - - *134 + - *251 + - *252 + - *138 responses: '204': description: Response @@ -34786,9 +35162,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *246 - - *247 - - *134 + - *251 + - *252 + - *138 - name: token description: package token schema: @@ -34820,9 +35196,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization parameters: - - *246 - - *247 - - *134 + - *251 + - *252 + - *138 - *18 - *17 - name: state @@ -34842,7 +35218,7 @@ paths: application/json: schema: type: array - items: &248 + items: &253 title: Package Version description: A version of a software package type: object @@ -34977,10 +35353,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *246 - - *247 - - *134 - - &249 + - *251 + - *252 + - *138 + - &254 name: package_version_id description: Unique identifier of the package version. in: path @@ -34992,7 +35368,7 @@ paths: description: Response content: application/json: - schema: *248 + schema: *253 examples: default: value: @@ -35028,10 +35404,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *246 - - *247 - - *134 - - *249 + - *251 + - *252 + - *138 + - *254 responses: '204': description: Response @@ -35063,10 +35439,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *246 - - *247 - - *134 - - *249 + - *251 + - *252 + - *138 + - *254 responses: '204': description: Response @@ -35093,10 +35469,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *134 + - *138 - *17 - *18 - - &251 + - &256 name: sort description: The property by which to sort the results. in: query @@ -35107,7 +35483,7 @@ paths: - created_at default: created_at - *76 - - &252 + - &257 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -35119,7 +35495,7 @@ paths: type: string examples: - owner[]=octocat1,owner[]=octocat2 - - &253 + - &258 name: repository description: The name of the repository to use to filter the results. in: query @@ -35128,7 +35504,7 @@ paths: type: string examples: - Hello-World - - &254 + - &259 name: permission description: The permission to use to filter the results. in: query @@ -35137,7 +35513,7 @@ paths: type: string examples: - issues_read - - &255 + - &260 name: last_used_before description: 'Only show fine-grained personal access tokens used before the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -35147,7 +35523,7 @@ paths: schema: type: string format: date-time - - &256 + - &261 name: last_used_after description: 'Only show fine-grained personal access tokens used after the given time. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -35313,7 +35689,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-requests-to-access-organization-resources-with-fine-grained-personal-access-tokens parameters: - - *134 + - *138 requestBody: required: true content: @@ -35359,7 +35735,7 @@ paths: '422': *15 '404': *6 '403': *27 - '202': *140 + '202': *144 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35380,7 +35756,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#review-a-request-to-access-organization-resources-with-a-fine-grained-personal-access-token parameters: - - *134 + - *138 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -35421,7 +35797,7 @@ paths: '422': *15 '404': *6 '403': *27 - '204': *183 + '204': *185 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35442,7 +35818,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-requested-to-be-accessed-by-a-fine-grained-personal-access-token parameters: - - *134 + - *138 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -35462,9 +35838,9 @@ paths: application/json: schema: type: array - items: *152 + items: *156 examples: - default: *250 + default: *255 headers: Link: *37 x-github: @@ -35487,16 +35863,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-fine-grained-personal-access-tokens-with-access-to-organization-resources parameters: - - *134 + - *138 - *17 - *18 - - *251 - - *76 - - *252 - - *253 - - *254 - - *255 - *256 + - *76 + - *257 + - *258 + - *259 + - *260 + - *261 responses: '500': *80 '422': *15 @@ -35647,7 +36023,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-to-organization-resources-via-fine-grained-personal-access-tokens parameters: - - *134 + - *138 requestBody: required: true content: @@ -35684,7 +36060,7 @@ paths: responses: '500': *80 '404': *6 - '202': *140 + '202': *144 '403': *27 '422': *15 x-github: @@ -35707,7 +36083,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#update-the-access-a-fine-grained-personal-access-token-has-to-organization-resources parameters: - - *134 + - *138 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -35737,7 +36113,7 @@ paths: responses: '500': *80 '404': *6 - '204': *183 + '204': *185 '403': *27 '422': *15 x-github: @@ -35759,7 +36135,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/personal-access-tokens#list-repositories-a-fine-grained-personal-access-token-has-access-to parameters: - - *134 + - *138 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -35778,9 +36154,9 @@ paths: application/json: schema: type: array - items: *152 + items: *156 examples: - default: *250 + default: *255 headers: Link: *37 x-github: @@ -35802,7 +36178,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-organization-projects parameters: - - *134 + - *138 - name: state description: Indicates the state of the projects to return. in: query @@ -35823,7 +36199,7 @@ paths: application/json: schema: type: array - items: &257 + items: &262 title: Project description: Projects are a way to organize columns and cards of work. @@ -35976,7 +36352,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-an-organization-project parameters: - - *134 + - *138 requestBody: required: true content: @@ -36002,7 +36378,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *262 examples: default: value: @@ -36040,7 +36416,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': &322 + '410': &323 description: Gone content: application/json: @@ -36064,7 +36440,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-all-custom-properties-for-an-organization parameters: - - *134 + - *138 responses: '200': description: Response @@ -36072,104 +36448,9 @@ paths: application/json: schema: type: array - items: &258 - title: Organization Custom Property - description: Custom property defined on an organization - type: object - properties: - property_name: - type: string - description: The name of the property - url: - type: string - format: uri - description: The URL that can be used to fetch, update, or delete - info about this property via the API. - source_type: - type: string - description: The source type of the property - enum: - - organization - - enterprise - examples: - - organization - value_type: - type: string - enum: - - string - - single_select - - multi_select - - true_false - description: The type of the value for the property - examples: - - single_select - required: - type: boolean - description: Whether the property is required. - default_value: - oneOf: - - type: string - - type: array - items: - type: string - description: Default value of the property - type: - - 'null' - - string - - array - description: - type: - - string - - 'null' - description: Short description of the property - allowed_values: - type: - - array - - 'null' - items: - type: string - maxLength: 75 - maxItems: 200 - description: |- - An ordered list of the allowed values of the property. - The property can have up to 200 allowed values. - values_editable_by: - type: - - string - - 'null' - enum: - - org_actors - - org_and_repo_actors - - - description: Who can edit the values of the property - examples: - - org_actors - required: - - property_name - - value_type + items: *92 examples: - default: &259 - value: - - property_name: environment - url: https://api.github.com/orgs/github/properties/schema/environment - source_type: organization - value_type: single_select - required: true - default_value: production - description: Prod or dev environment - allowed_values: - - production - - development - values_editable_by: org_actors - - property_name: service - url: https://api.github.com/orgs/github/properties/schema/service - source_type: organization - value_type: string - - property_name: team - url: https://api.github.com/orgs/github/properties/schema/team - source_type: organization - value_type: string - description: Team owning the repository + default: *93 '403': *27 '404': *6 x-github: @@ -36192,7 +36473,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-properties-for-an-organization parameters: - - *134 + - *138 requestBody: required: true content: @@ -36203,7 +36484,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *258 + items: *92 minItems: 1 maxItems: 100 required: @@ -36233,9 +36514,9 @@ paths: application/json: schema: type: array - items: *258 + items: *92 examples: - default: *259 + default: *93 '403': *27 '404': *6 x-github: @@ -36256,33 +36537,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - - *134 - - &260 - name: custom_property_name - description: The custom property name - in: path - required: true - schema: - type: string + - *138 + - *94 responses: '200': description: Response content: application/json: - schema: *258 + schema: *92 examples: - default: &261 - value: - property_name: environment - url: https://api.github.com/orgs/github/properties/schema/environment - source_type: organization - value_type: single_select - required: true - default_value: production - description: Prod or dev environment - allowed_values: - - production - - development + default: *95 '403': *27 '404': *6 x-github: @@ -36305,8 +36569,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - - *134 - - *260 + - *138 + - *94 requestBody: required: true content: @@ -36371,9 +36635,9 @@ paths: description: Response content: application/json: - schema: *258 + schema: *92 examples: - default: *261 + default: *95 '403': *27 '404': *6 x-github: @@ -36396,10 +36660,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - - *134 - - *260 + - *138 + - *94 responses: - '204': *183 + '204': *185 '403': *27 '404': *6 x-github: @@ -36420,7 +36684,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#list-custom-property-values-for-organization-repositories parameters: - - *134 + - *138 - *17 - *18 - name: repository_query @@ -36461,7 +36725,7 @@ paths: - octocat/Hello-World properties: type: array - items: &262 + items: &263 title: Custom Property Value description: Custom property name and associated value type: object @@ -36531,7 +36795,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-properties#create-or-update-custom-property-values-for-organization-repositories parameters: - - *134 + - *138 requestBody: required: true content: @@ -36551,7 +36815,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *262 + items: *263 required: - repository_names - properties @@ -36592,7 +36856,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members parameters: - - *134 + - *138 - *17 - *18 responses: @@ -36604,7 +36868,7 @@ paths: type: array items: *4 examples: - default: *232 + default: *237 headers: Link: *37 x-github: @@ -36623,8 +36887,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-public-organization-membership-for-a-user parameters: - - *134 - - *174 + - *138 + - *178 responses: '204': description: Response if user is a public member @@ -36648,8 +36912,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-public-organization-membership-for-the-authenticated-user parameters: - - *134 - - *174 + - *138 + - *178 responses: '204': description: Response @@ -36670,8 +36934,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-public-organization-membership-for-the-authenticated-user parameters: - - *134 - - *174 + - *138 + - *178 responses: '204': description: Response @@ -36695,7 +36959,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories parameters: - - *134 + - *138 - name: type description: Specifies the types of repositories you want returned. `internal` is not yet supported when a GitHub App calls this endpoint with an installation @@ -36742,9 +37006,9 @@ paths: application/json: schema: type: array - items: *152 + items: *156 examples: - default: *250 + default: *255 headers: Link: *37 x-github: @@ -36765,7 +37029,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository parameters: - - *134 + - *138 requestBody: required: true content: @@ -36948,7 +37212,7 @@ paths: description: Response content: application/json: - schema: &324 + schema: &325 title: Full Repository description: Full Repository type: object @@ -37394,7 +37658,7 @@ paths: license: anyOf: - type: 'null' - - *113 + - *117 organization: anyOf: - type: 'null' @@ -37413,7 +37677,7 @@ paths: description: Whether anonymous git access is allowed. default: true type: boolean - code_of_conduct: &434 + code_of_conduct: &435 title: Code Of Conduct Simple description: Code of Conduct Simple type: object @@ -37443,7 +37707,7 @@ paths: - key - name - html_url - security_and_analysis: *263 + security_and_analysis: *264 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -37527,7 +37791,7 @@ paths: - network_count - subscribers_count examples: - default: &326 + default: &327 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -38045,7 +38309,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#list-repository-fine-grained-permissions-for-an-organization parameters: - - *134 + - *138 responses: '200': description: Response @@ -38053,9 +38317,9 @@ paths: application/json: schema: type: array - items: *264 + items: *265 examples: - default: *265 + default: *266 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -38077,10 +38341,10 @@ paths: category: orgs subcategory: rules parameters: - - *134 + - *138 - *17 - *18 - - &565 + - &566 name: targets description: | A comma-separated list of rule targets to filter by. @@ -38099,7 +38363,7 @@ paths: application/json: schema: type: array - items: &272 + items: &273 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -38132,7 +38396,7 @@ paths: source: type: string description: The name of the source - enforcement: &268 + enforcement: &269 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -38144,7 +38408,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &269 + items: &270 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -38212,7 +38476,7 @@ paths: description: The html URL of the ruleset conditions: anyOf: - - &266 + - &267 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -38236,7 +38500,7 @@ paths: match. items: type: string - - &270 + - &271 title: Organization ruleset conditions type: object description: |- @@ -38249,7 +38513,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *266 + - *267 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -38283,7 +38547,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *266 + - *267 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -38305,7 +38569,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *266 + - *267 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -38318,7 +38582,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &267 + items: &268 title: Repository ruleset property targeting definition type: object @@ -38351,7 +38615,7 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *267 + items: *268 required: - repository_property type: @@ -38359,12 +38623,12 @@ paths: - object rules: type: array - items: &271 + items: &272 title: Repository Rule type: object description: A repository rule. oneOf: - - &547 + - &548 title: creation description: Only allow users with bypass permission to create matching refs. @@ -38376,7 +38640,7 @@ paths: type: string enum: - creation - - &548 + - &549 title: update description: Only allow users with bypass permission to update matching refs. @@ -38397,7 +38661,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &550 + - &551 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -38409,7 +38673,7 @@ paths: type: string enum: - deletion - - &551 + - &552 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -38421,7 +38685,7 @@ paths: type: string enum: - required_linear_history - - &552 + - &553 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -38499,7 +38763,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &553 + - &554 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -38523,7 +38787,7 @@ paths: type: string required: - required_deployment_environments - - &554 + - &555 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -38535,7 +38799,7 @@ paths: type: string enum: - required_signatures - - &555 + - &556 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -38581,7 +38845,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &556 + - &557 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -38629,7 +38893,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &557 + - &558 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -38641,7 +38905,7 @@ paths: type: string enum: - non_fast_forward - - &558 + - &559 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -38677,7 +38941,7 @@ paths: required: - operator - pattern - - &559 + - &560 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -38713,7 +38977,7 @@ paths: required: - operator - pattern - - &560 + - &561 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -38749,7 +39013,7 @@ paths: required: - operator - pattern - - &561 + - &562 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -38785,7 +39049,7 @@ paths: required: - operator - pattern - - &562 + - &563 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -38911,7 +39175,7 @@ paths: maximum: 100 required: - max_file_size - - &563 + - &564 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -38961,7 +39225,7 @@ paths: - repository_id required: - workflows - - &564 + - &565 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -39074,7 +39338,7 @@ paths: category: orgs subcategory: rules parameters: - - *134 + - *138 requestBody: description: Request body required: true @@ -39094,16 +39358,16 @@ paths: - tag - push default: branch - enforcement: *268 + enforcement: *269 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *270 + items: *270 + conditions: *271 rules: type: array description: An array of rules within the ruleset. - items: *271 + items: *272 required: - name - enforcement @@ -39141,9 +39405,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: - default: &273 + default: &274 value: id: 21 name: super cool ruleset @@ -39197,8 +39461,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *134 - - &566 + - *138 + - &567 name: ref description: The name of the ref. Cannot contain wildcard characters. Optionally prefix with `refs/heads/` to limit to branches or `refs/tags/` to limit @@ -39213,7 +39477,7 @@ paths: in: query schema: type: string - - &567 + - &568 name: time_period description: |- The time period to filter by. @@ -39229,14 +39493,14 @@ paths: - week - month default: day - - &568 + - &569 name: actor_name description: The handle for the GitHub user account to filter on. When specified, only rule evaluations triggered by this actor will be returned. in: query schema: type: string - - &569 + - &570 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -39256,7 +39520,7 @@ paths: description: Response content: application/json: - schema: &570 + schema: &571 title: Rule Suites description: Response type: array @@ -39312,7 +39576,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &571 + default: &572 value: - id: 21 actor_id: 12 @@ -39355,8 +39619,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *134 - - &572 + - *138 + - &573 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -39372,7 +39636,7 @@ paths: description: Response content: application/json: - schema: &573 + schema: &574 title: Rule Suite description: Response type: object @@ -39479,7 +39743,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &574 + default: &575 value: id: 21 actor_id: 12 @@ -39540,7 +39804,7 @@ paths: category: orgs subcategory: rules parameters: - - *134 + - *138 - name: ruleset_id description: The ID of the ruleset. in: path @@ -39552,9 +39816,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: - default: *273 + default: *274 '404': *6 '500': *80 put: @@ -39572,7 +39836,7 @@ paths: category: orgs subcategory: rules parameters: - - *134 + - *138 - name: ruleset_id description: The ID of the ruleset. in: path @@ -39597,16 +39861,16 @@ paths: - branch - tag - push - enforcement: *268 + enforcement: *269 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *270 + items: *270 + conditions: *271 rules: description: An array of rules within the ruleset. type: array - items: *271 + items: *272 examples: default: value: @@ -39641,9 +39905,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: - default: *273 + default: *274 '404': *6 '500': *80 delete: @@ -39661,7 +39925,7 @@ paths: category: orgs subcategory: rules parameters: - - *134 + - *138 - name: ruleset_id description: The ID of the ruleset. in: path @@ -39689,15 +39953,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - - *134 - - *274 + - *138 - *275 - *276 - *277 + - *278 - *76 - *18 - *17 - - &576 + - &577 name: before description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events before this cursor. To @@ -39707,7 +39971,7 @@ paths: required: false schema: type: string - - &577 + - &578 name: after description: A cursor, as given in the [Link header](https://docs.github.com/enterprise-cloud@latest//rest/guides/using-pagination-in-the-rest-api#using-link-headers). If specified, the query only searches for events after this cursor. To @@ -39717,9 +39981,9 @@ paths: required: false schema: type: string - - *278 - *279 - *280 + - *281 responses: '200': description: Response @@ -39727,13 +39991,13 @@ paths: application/json: schema: type: array - items: *281 + items: *282 examples: - default: *282 + default: *283 headers: Link: *37 '404': *6 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39755,7 +40019,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories-for-an-organization parameters: - - *134 + - *138 - *76 - name: sort description: The property to sort the results by. @@ -39799,7 +40063,7 @@ paths: application/json: schema: type: array - items: &584 + items: &585 description: A repository security advisory. type: object properties: @@ -40043,7 +40307,7 @@ paths: login: type: string description: The username of the user credited. - type: *283 + type: *284 credits_detailed: type: - array @@ -40054,7 +40318,7 @@ paths: type: object properties: user: *4 - type: *283 + type: *284 state: type: string description: The state of the user's acceptance of the @@ -40080,7 +40344,7 @@ paths: - array - 'null' description: A list of teams that collaborate on the advisory. - items: *229 + items: *234 private_fork: readOnly: true description: A temporary private fork of the advisory's repository @@ -40118,7 +40382,7 @@ paths: - private_fork additionalProperties: false examples: - default: &585 + default: &586 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -40500,7 +40764,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams parameters: - - *134 + - *138 responses: '200': description: Response @@ -40508,9 +40772,9 @@ paths: application/json: schema: type: array - items: *242 + items: *247 examples: - default: *243 + default: *248 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40533,8 +40797,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - - *134 - - *241 + - *138 + - *246 responses: '204': description: Response @@ -40559,8 +40823,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *134 - - *241 + - *138 + - *246 responses: '204': description: Response @@ -40586,15 +40850,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-an-organization parameters: - - *134 + - *138 responses: '200': description: Response content: application/json: - schema: *284 + schema: *285 examples: - default: *285 + default: *286 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -40618,7 +40882,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization parameters: - - *134 + - *138 - *17 - *18 responses: @@ -40626,9 +40890,9 @@ paths: description: Success content: application/json: - schema: *286 + schema: *287 examples: - default: *287 + default: *288 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -40650,15 +40914,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-an-organization parameters: - - *134 + - *138 responses: '200': description: Response content: application/json: - schema: *288 + schema: *289 examples: - default: *289 + default: *290 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -40680,15 +40944,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-an-organization parameters: - - *134 + - *138 responses: '200': description: Response content: application/json: - schema: *290 + schema: *291 examples: - default: *291 + default: *292 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -40705,7 +40969,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-an-organization parameters: - - *134 + - *138 - *17 - name: page description: Page token @@ -40724,7 +40988,7 @@ paths: description: Response content: application/json: - schema: &313 + schema: &314 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -40776,7 +41040,7 @@ paths: group_description: Another group of Developers working on AzureAD SAML SSO examples: - default: &314 + default: &315 value: groups: - group_id: '123' @@ -40821,8 +41085,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - - *134 - - *241 + - *138 + - *246 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -40854,13 +41118,13 @@ paths: application/json: schema: type: array - items: *94 + items: *98 examples: - default: *95 + default: *99 '500': *80 '403': *27 '404': *6 - '422': *96 + '422': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40894,8 +41158,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team parameters: - - *134 - - *241 + - *138 + - *246 - name: since description: Show usage metrics since this date. This is a timestamp in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:MM:SSZ`). @@ -40927,9 +41191,9 @@ paths: application/json: schema: type: array - items: *97 + items: *101 examples: - default: *187 + default: *192 '500': *80 '401': *23 '403': *27 @@ -40951,7 +41215,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams parameters: - - *134 + - *138 - *17 - *18 responses: @@ -40961,9 +41225,9 @@ paths: application/json: schema: type: array - items: *229 + items: *234 examples: - default: *243 + default: *248 headers: Link: *37 '403': *27 @@ -40985,7 +41249,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team parameters: - - *134 + - *138 requestBody: required: true content: @@ -41057,7 +41321,7 @@ paths: description: Response content: application/json: - schema: &292 + schema: &293 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -41131,7 +41395,7 @@ paths: parent: anyOf: - type: 'null' - - *242 + - *247 members_count: type: integer examples: @@ -41437,7 +41701,7 @@ paths: - repos_count - organization examples: - default: &293 + default: &294 value: id: 1 node_id: MDQ6VGVhbTE= @@ -41507,16 +41771,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - - *134 - - *241 + - *138 + - *246 responses: '200': description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 '404': *6 x-github: githubCloudOnly: false @@ -41537,8 +41801,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - - *134 - - *241 + - *138 + - *246 requestBody: required: false content: @@ -41601,16 +41865,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 '201': description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 '404': *6 '422': *15 '403': *27 @@ -41635,8 +41899,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - - *134 - - *241 + - *138 + - *246 responses: '204': description: Response @@ -41662,8 +41926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - - *134 - - *241 + - *138 + - *246 - *76 - *17 - *18 @@ -41680,7 +41944,7 @@ paths: application/json: schema: type: array - items: &294 + items: &295 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -41771,7 +42035,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *100 + reactions: *104 required: - author - body @@ -41791,7 +42055,7 @@ paths: - updated_at - url examples: - default: &625 + default: &626 value: - author: login: octocat @@ -41865,8 +42129,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - - *134 - - *241 + - *138 + - *246 requestBody: required: true content: @@ -41900,9 +42164,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: &295 + default: &296 value: author: login: octocat @@ -41974,9 +42238,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - - *134 - - *241 - - &296 + - *138 + - *246 + - &297 name: discussion_number description: The number that identifies the discussion. in: path @@ -41988,9 +42252,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: *295 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42012,9 +42276,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - - *134 - - *241 - - *296 + - *138 + - *246 + - *297 requestBody: required: false content: @@ -42037,9 +42301,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: &626 + default: &627 value: author: login: octocat @@ -42109,9 +42373,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - - *134 - - *241 - - *296 + - *138 + - *246 + - *297 responses: '204': description: Response @@ -42137,9 +42401,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - - *134 - - *241 - - *296 + - *138 + - *246 + - *297 - *76 - *17 - *18 @@ -42150,7 +42414,7 @@ paths: application/json: schema: type: array - items: &297 + items: &298 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -42215,7 +42479,7 @@ paths: format: uri examples: - https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *100 + reactions: *104 required: - author - body @@ -42230,7 +42494,7 @@ paths: - updated_at - url examples: - default: &627 + default: &628 value: - author: login: octocat @@ -42298,9 +42562,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *134 - - *241 - - *296 + - *138 + - *246 + - *297 requestBody: required: true content: @@ -42322,9 +42586,9 @@ paths: description: Response content: application/json: - schema: *297 + schema: *298 examples: - default: &298 + default: &299 value: author: login: octocat @@ -42390,10 +42654,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *134 - - *241 - - *296 - - &299 + - *138 + - *246 + - *297 + - &300 name: comment_number description: The number that identifies the comment. in: path @@ -42405,9 +42669,9 @@ paths: description: Response content: application/json: - schema: *297 + schema: *298 examples: - default: *298 + default: *299 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42429,10 +42693,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *134 - - *241 - - *296 - - *299 + - *138 + - *246 + - *297 + - *300 requestBody: required: true content: @@ -42454,9 +42718,9 @@ paths: description: Response content: application/json: - schema: *297 + schema: *298 examples: - default: &628 + default: &629 value: author: login: octocat @@ -42520,10 +42784,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *134 - - *241 - - *296 - - *299 + - *138 + - *246 + - *297 + - *300 responses: '204': description: Response @@ -42549,10 +42813,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - - *134 - - *241 - - *296 - - *299 + - *138 + - *246 + - *297 + - *300 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -42578,7 +42842,7 @@ paths: application/json: schema: type: array - items: &300 + items: &301 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -42622,7 +42886,7 @@ paths: - content - created_at examples: - default: &302 + default: &303 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -42672,10 +42936,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - - *134 - - *241 - - *296 - - *299 + - *138 + - *246 + - *297 + - *300 requestBody: required: true content: @@ -42708,9 +42972,9 @@ paths: team discussion comment content: application/json: - schema: *300 + schema: *301 examples: - default: &301 + default: &302 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -42739,9 +43003,9 @@ paths: description: Response content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -42764,11 +43028,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *134 - - *241 - - *296 - - *299 - - &303 + - *138 + - *246 + - *297 + - *300 + - &304 name: reaction_id description: The unique identifier of the reaction. in: path @@ -42800,9 +43064,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *134 - - *241 - - *296 + - *138 + - *246 + - *297 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -42828,9 +43092,9 @@ paths: application/json: schema: type: array - items: *300 + items: *301 examples: - default: *302 + default: *303 headers: Link: *37 x-github: @@ -42856,9 +43120,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *134 - - *241 - - *296 + - *138 + - *246 + - *297 requestBody: required: true content: @@ -42890,16 +43154,16 @@ paths: description: Response content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '201': description: Response content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -42922,10 +43186,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *134 - - *241 - - *296 - - *303 + - *138 + - *246 + - *297 + - *304 responses: '204': description: Response @@ -42948,16 +43212,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team parameters: - - *134 - - *241 + - *138 + - *246 responses: '200': description: Response content: application/json: - schema: *304 + schema: *305 examples: - default: *305 + default: *306 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -42976,8 +43240,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team parameters: - - *134 - - *241 + - *138 + - *246 requestBody: required: true content: @@ -43001,9 +43265,9 @@ paths: description: Response content: application/json: - schema: *306 + schema: *307 examples: - default: *307 + default: *308 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -43022,8 +43286,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team parameters: - - *134 - - *241 + - *138 + - *246 responses: '204': description: Response @@ -43047,8 +43311,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - - *134 - - *241 + - *138 + - *246 - *17 - *18 responses: @@ -43058,9 +43322,9 @@ paths: application/json: schema: type: array - items: *226 + items: *231 examples: - default: *227 + default: *232 headers: Link: *37 x-github: @@ -43082,8 +43346,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - - *134 - - *241 + - *138 + - *246 - name: role description: Filters members returned by their role in the team. in: query @@ -43106,7 +43370,7 @@ paths: type: array items: *4 examples: - default: *232 + default: *237 headers: Link: *37 x-github: @@ -43136,15 +43400,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - - *134 - - *241 - - *174 + - *138 + - *246 + - *178 responses: '200': description: Response content: application/json: - schema: &308 + schema: &309 title: Team Membership description: Team Membership type: object @@ -43172,7 +43436,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &629 + response-if-user-is-a-team-maintainer: &630 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -43208,9 +43472,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user parameters: - - *134 - - *241 - - *174 + - *138 + - *246 + - *178 requestBody: required: false content: @@ -43235,9 +43499,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *309 examples: - response-if-users-membership-with-team-is-now-pending: &630 + response-if-users-membership-with-team-is-now-pending: &631 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -43272,9 +43536,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - - *134 - - *241 - - *174 + - *138 + - *246 + - *178 responses: '204': description: Response @@ -43300,8 +43564,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - - *134 - - *241 + - *138 + - *246 - *17 - *18 responses: @@ -43311,7 +43575,7 @@ paths: application/json: schema: type: array - items: &309 + items: &310 title: Team Project description: A team's access to a project. type: object @@ -43380,7 +43644,7 @@ paths: - updated_at - permissions examples: - default: &631 + default: &632 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -43441,9 +43705,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - - *134 - - *241 - - &310 + - *138 + - *246 + - &311 name: project_id description: The unique identifier of the project. in: path @@ -43455,9 +43719,9 @@ paths: description: Response content: application/json: - schema: *309 + schema: *310 examples: - default: &632 + default: &633 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -43517,9 +43781,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - - *134 - - *241 - - *310 + - *138 + - *246 + - *311 requestBody: required: false content: @@ -43584,9 +43848,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - - *134 - - *241 - - *310 + - *138 + - *246 + - *311 responses: '204': description: Response @@ -43610,8 +43874,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - - *134 - - *241 + - *138 + - *246 - *17 - *18 responses: @@ -43621,9 +43885,9 @@ paths: application/json: schema: type: array - items: *152 + items: *156 examples: - default: *250 + default: *255 headers: Link: *37 x-github: @@ -43652,16 +43916,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *134 - - *241 - - *311 + - *138 + - *246 - *312 + - *313 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &633 + schema: &634 title: Team Repository description: A team's access to a repository. type: object @@ -43687,7 +43951,7 @@ paths: license: anyOf: - type: 'null' - - *113 + - *117 forks: type: integer permissions: @@ -44302,10 +44566,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *134 - - *241 - - *311 + - *138 + - *246 - *312 + - *313 requestBody: required: false content: @@ -44350,10 +44614,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - - *134 - - *241 - - *311 + - *138 + - *246 - *312 + - *313 responses: '204': description: Response @@ -44379,16 +44643,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team parameters: - - *134 - - *241 + - *138 + - *246 responses: '200': description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -44410,8 +44674,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections parameters: - - *134 - - *241 + - *138 + - *246 requestBody: required: true content: @@ -44454,7 +44718,7 @@ paths: description: Response content: application/json: - schema: *313 + schema: *314 examples: default: value: @@ -44486,8 +44750,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - - *134 - - *241 + - *138 + - *246 - *17 - *18 responses: @@ -44497,9 +44761,9 @@ paths: application/json: schema: type: array - items: *229 + items: *234 examples: - response-if-child-teams-exist: &634 + response-if-child-teams-exist: &635 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -44552,7 +44816,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#enable-or-disable-a-security-feature-for-an-organization parameters: - - *134 + - *138 - name: security_product in: path description: The security feature to enable or disable. @@ -44623,7 +44887,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &315 + - &316 name: card_id description: The unique identifier of the card. in: path @@ -44635,7 +44899,7 @@ paths: description: Response content: application/json: - schema: &316 + schema: &317 title: Project Card description: Project cards represent a scope of work. type: object @@ -44710,7 +44974,7 @@ paths: - created_at - updated_at examples: - default: &317 + default: &318 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -44760,7 +45024,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *315 + - *316 requestBody: required: false content: @@ -44790,9 +45054,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 '304': *35 '403': *27 '401': *23 @@ -44813,7 +45077,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *315 + - *316 responses: '204': description: Response @@ -44851,7 +45115,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *315 + - *316 requestBody: required: true content: @@ -44958,7 +45222,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &318 + - &319 name: column_id description: The unique identifier of the column. in: path @@ -44970,7 +45234,7 @@ paths: description: Response content: application/json: - schema: &319 + schema: &320 title: Project Column description: Project columns contain cards of work. type: object @@ -45024,7 +45288,7 @@ paths: - created_at - updated_at examples: - default: &320 + default: &321 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -45053,7 +45317,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *318 + - *319 requestBody: required: true content: @@ -45078,9 +45342,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *320 examples: - default: *320 + default: *321 '304': *35 '403': *27 '401': *23 @@ -45099,7 +45363,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *318 + - *319 responses: '204': description: Response @@ -45122,7 +45386,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *318 + - *319 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -45143,7 +45407,7 @@ paths: application/json: schema: type: array - items: *316 + items: *317 examples: default: value: @@ -45196,7 +45460,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *318 + - *319 requestBody: required: true content: @@ -45240,9 +45504,9 @@ paths: description: Response content: application/json: - schema: *316 + schema: *317 examples: - default: *317 + default: *318 '304': *35 '403': *27 '401': *23 @@ -45252,8 +45516,8 @@ paths: application/json: schema: oneOf: - - *137 - - *138 + - *141 + - *142 '503': description: Response content: @@ -45292,7 +45556,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *318 + - *319 requestBody: required: true content: @@ -45349,15 +45613,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *310 + - *311 responses: '200': description: Response content: application/json: - schema: *257 + schema: *262 examples: - default: &321 + default: &322 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -45410,7 +45674,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *310 + - *311 requestBody: required: false content: @@ -45459,9 +45723,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *262 examples: - default: *321 + default: *322 '404': description: Not Found if the authenticated user does not have access to the project @@ -45482,7 +45746,7 @@ paths: items: type: string '401': *23 - '410': *322 + '410': *323 '422': *7 x-github: githubCloudOnly: false @@ -45500,7 +45764,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *310 + - *311 responses: '204': description: Delete Success @@ -45521,7 +45785,7 @@ paths: items: type: string '401': *23 - '410': *322 + '410': *323 '404': *6 x-github: githubCloudOnly: false @@ -45544,7 +45808,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *310 + - *311 - name: affiliation description: Filters the collaborators by their affiliation. `outside` means outside collaborators of a project that are not a member of the project's @@ -45571,7 +45835,7 @@ paths: type: array items: *4 examples: - default: *232 + default: *237 headers: Link: *37 '404': *6 @@ -45596,8 +45860,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *310 - - *174 + - *311 + - *178 requestBody: required: false content: @@ -45646,8 +45910,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *310 - - *174 + - *311 + - *178 responses: '204': description: Response @@ -45675,8 +45939,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *310 - - *174 + - *311 + - *178 responses: '200': description: Response @@ -45740,7 +46004,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *310 + - *311 - *17 - *18 responses: @@ -45750,7 +46014,7 @@ paths: application/json: schema: type: array - items: *319 + items: *320 examples: default: value: @@ -45782,7 +46046,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *310 + - *311 requestBody: required: true content: @@ -45806,7 +46070,7 @@ paths: description: Response content: application/json: - schema: *319 + schema: *320 examples: default: value: @@ -45867,7 +46131,7 @@ paths: resources: type: object properties: - core: &323 + core: &324 title: Rate Limit type: object properties: @@ -45884,19 +46148,19 @@ paths: - remaining - reset - used - graphql: *323 - search: *323 - code_search: *323 - source_import: *323 - integration_manifest: *323 - code_scanning_upload: *323 - actions_runner_registration: *323 - scim: *323 - dependency_snapshots: *323 + graphql: *324 + search: *324 + code_search: *324 + source_import: *324 + integration_manifest: *324 + code_scanning_upload: *324 + actions_runner_registration: *324 + scim: *324 + dependency_snapshots: *324 required: - core - search - rate: *323 + rate: *324 required: - rate - resources @@ -45995,14 +46259,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *311 - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *324 + schema: *325 examples: default-response: summary: Default response @@ -46507,7 +46771,7 @@ paths: status: disabled '403': *27 '404': *6 - '301': *325 + '301': *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46525,8 +46789,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *311 - *312 + - *313 requestBody: required: false content: @@ -46773,10 +47037,10 @@ paths: description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *326 - '307': &327 + default: *327 + '307': &328 description: Temporary Redirect content: application/json: @@ -46805,8 +47069,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *311 - *312 + - *313 responses: '204': description: Response @@ -46828,7 +47092,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository - '307': *327 + '307': *328 '404': *6 x-github: githubCloudOnly: false @@ -46851,11 +47115,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *311 - *312 + - *313 - *17 - *18 - - &342 + - &343 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -46878,7 +47142,7 @@ paths: type: integer artifacts: type: array - items: &328 + items: &329 title: Artifact description: An artifact type: object @@ -46964,7 +47228,7 @@ paths: - expires_at - updated_at examples: - default: &343 + default: &344 value: total_count: 2 artifacts: @@ -47023,9 +47287,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *311 - *312 - - &329 + - *313 + - &330 name: artifact_id description: The unique identifier of the artifact. in: path @@ -47037,7 +47301,7 @@ paths: description: Response content: application/json: - schema: *328 + schema: *329 examples: default: value: @@ -47074,9 +47338,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *311 - *312 - - *329 + - *313 + - *330 responses: '204': description: Response @@ -47100,9 +47364,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *311 - *312 - - *329 + - *313 + - *330 - name: archive_format in: path required: true @@ -47116,7 +47380,7 @@ paths: example: https://pipelines.actions.githubusercontent.com/OhgS4QRKqmgx7bKC27GKU83jnQjyeqG8oIMTge8eqtheppcmw8/_apis/pipelines/1/runs/176/signedlogcontent?urlExpires=2020-01-24T18%3A10%3A31.5729946Z&urlSigningMethod=HMACV1&urlSignature=agG73JakPYkHrh06seAkvmH7rBR4Ji4c2%2B6a2ejYh3E%3D schema: type: string - '410': *322 + '410': *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47139,14 +47403,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *311 - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *330 + schema: *331 examples: default: value: @@ -47172,11 +47436,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *311 - *312 + - *313 - *17 - *18 - - &331 + - &332 name: ref description: The full Git reference for narrowing down the cache. The `ref` for a branch should be formatted as `refs/heads/`. To reference @@ -47210,7 +47474,7 @@ paths: description: Response content: application/json: - schema: &332 + schema: &333 title: Repository actions caches description: Repository actions caches type: object @@ -47260,7 +47524,7 @@ paths: - total_count - actions_caches examples: - default: &333 + default: &334 value: total_count: 1 actions_caches: @@ -47292,23 +47556,23 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key parameters: - - *311 - *312 + - *313 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *331 + - *332 responses: '200': description: Response content: application/json: - schema: *332 + schema: *333 examples: - default: *333 + default: *334 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47328,8 +47592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/cache#delete-a-github-actions-cache-for-a-repository-using-a-cache-id parameters: - - *311 - *312 + - *313 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -47360,9 +47624,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *311 - *312 - - &334 + - *313 + - &335 name: job_id description: The unique identifier of the job. in: path @@ -47374,7 +47638,7 @@ paths: description: Response content: application/json: - schema: &346 + schema: &347 title: Job description: Information of a job execution in a workflow run type: object @@ -47721,9 +47985,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *311 - *312 - - *334 + - *313 + - *335 responses: '302': description: Response @@ -47751,9 +48015,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *311 - *312 - - *334 + - *313 + - *335 requestBody: required: false content: @@ -47775,7 +48039,7 @@ paths: description: Response content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -47799,8 +48063,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#get-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *311 - *312 + - *313 responses: '200': description: Status response @@ -47850,8 +48114,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/oidc#set-the-customization-template-for-an-oidc-subject-claim-for-a-repository parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -47885,7 +48149,7 @@ paths: description: Empty response content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -47914,8 +48178,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -47933,7 +48197,7 @@ paths: type: integer secrets: type: array - items: &348 + items: &349 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -47954,7 +48218,7 @@ paths: - created_at - updated_at examples: - default: &349 + default: &350 value: total_count: 2 secrets: @@ -47987,9 +48251,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *311 - *312 - - *335 + - *313 + - *336 - *18 responses: '200': @@ -48006,7 +48270,7 @@ paths: type: integer variables: type: array - items: &352 + items: &353 title: Actions Variable type: object properties: @@ -48040,7 +48304,7 @@ paths: - created_at - updated_at examples: - default: &353 + default: &354 value: total_count: 2 variables: @@ -48073,8 +48337,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -48083,11 +48347,11 @@ paths: schema: type: object properties: - enabled: &336 + enabled: &337 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *40 - selected_actions_url: *145 + selected_actions_url: *149 required: - enabled examples: @@ -48116,8 +48380,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *311 - *312 + - *313 responses: '204': description: Response @@ -48128,7 +48392,7 @@ paths: schema: type: object properties: - enabled: *336 + enabled: *337 allowed_actions: *40 required: - enabled @@ -48159,14 +48423,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *311 - *312 + - *313 responses: '200': description: Response content: application/json: - schema: &337 + schema: &338 type: object properties: access_level: @@ -48184,7 +48448,7 @@ paths: required: - access_level examples: - default: &338 + default: &339 value: access_level: organization x-github: @@ -48209,15 +48473,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-the-level-of-access-for-workflows-outside-of-the-repository parameters: - - *311 - *312 + - *313 requestBody: required: true content: application/json: - schema: *337 + schema: *338 examples: - default: *338 + default: *339 responses: '204': description: Response @@ -48241,8 +48505,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -48273,8 +48537,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *311 - *312 + - *313 responses: '204': description: Response @@ -48306,14 +48570,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *311 - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *148 + schema: *152 examples: default: *46 x-github: @@ -48336,8 +48600,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *311 - *312 + - *313 responses: '204': description: Success response @@ -48348,7 +48612,7 @@ paths: required: true content: application/json: - schema: *149 + schema: *153 examples: default: *46 x-github: @@ -48377,8 +48641,8 @@ paths: in: query schema: type: string - - *311 - *312 + - *313 - *17 - *18 responses: @@ -48422,8 +48686,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -48431,9 +48695,9 @@ paths: application/json: schema: type: array - items: *153 + items: *157 examples: - default: *154 + default: *158 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48455,8 +48719,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-configuration-for-a-just-in-time-runner-for-a-repository parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -48499,7 +48763,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *155 + '201': *159 '404': *6 '422': *7 x-github: @@ -48529,8 +48793,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *311 - *312 + - *313 responses: '201': description: Response @@ -48538,7 +48802,7 @@ paths: application/json: schema: *56 examples: - default: *156 + default: *160 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48566,8 +48830,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *311 - *312 + - *313 responses: '201': description: Response @@ -48575,7 +48839,7 @@ paths: application/json: schema: *56 examples: - default: *157 + default: *161 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48597,8 +48861,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#get-a-self-hosted-runner-for-a-repository parameters: - - *311 - *312 + - *313 - *52 responses: '200': @@ -48607,7 +48871,7 @@ paths: application/json: schema: *53 examples: - default: *158 + default: *162 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48628,8 +48892,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#delete-a-self-hosted-runner-from-a-repository parameters: - - *311 - *312 + - *313 - *52 responses: '204': @@ -48655,8 +48919,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#list-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *311 - *312 + - *313 - *52 responses: '200': *58 @@ -48681,8 +48945,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#add-custom-labels-to-a-self-hosted-runner-for-a-repository parameters: - - *311 - *312 + - *313 - *52 requestBody: required: true @@ -48731,8 +48995,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#set-custom-labels-for-a-self-hosted-runner-for-a-repository parameters: - - *311 - *312 + - *313 - *52 requestBody: required: true @@ -48782,11 +49046,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-all-custom-labels-from-a-self-hosted-runner-for-a-repository parameters: - - *311 - *312 + - *313 - *52 responses: - '200': *159 + '200': *163 '404': *6 x-github: githubCloudOnly: false @@ -48813,10 +49077,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/self-hosted-runners#remove-a-custom-label-from-a-self-hosted-runner-for-a-repository parameters: - - *311 - *312 + - *313 - *52 - - *160 + - *164 responses: '200': *58 '404': *6 @@ -48844,9 +49108,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *311 - *312 - - &356 + - *313 + - &357 name: actor description: Returns someone's workflow runs. Use the login for the user who created the `push` associated with the check suite or workflow run. @@ -48854,7 +49118,7 @@ paths: required: false schema: type: string - - &357 + - &358 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -48862,7 +49126,7 @@ paths: required: false schema: type: string - - &358 + - &359 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -48871,7 +49135,7 @@ paths: required: false schema: type: string - - &359 + - &360 name: status description: Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status @@ -48898,7 +49162,7 @@ paths: - pending - *17 - *18 - - &360 + - &361 name: created description: Returns workflow runs created within the given date-time range. For more information on the syntax, see "[Understanding the search syntax](https://docs.github.com/enterprise-cloud@latest//search-github/getting-started-with-searching-on-github/understanding-the-search-syntax#query-for-dates)." @@ -48907,7 +49171,7 @@ paths: schema: type: string format: date-time - - &339 + - &340 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -48916,13 +49180,13 @@ paths: schema: type: boolean default: false - - &361 + - &362 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &362 + - &363 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -48945,7 +49209,7 @@ paths: type: integer workflow_runs: type: array - items: &340 + items: &341 title: Workflow Run description: An invocation of a workflow type: object @@ -49062,7 +49326,7 @@ paths: type: - array - 'null' - items: &381 + items: &382 title: Pull Request Minimal type: object properties: @@ -49189,7 +49453,7 @@ paths: head_commit: anyOf: - type: 'null' - - &385 + - &386 title: Simple Commit description: A commit. type: object @@ -49263,8 +49527,8 @@ paths: - timestamp - author - committer - repository: *152 - head_repository: *152 + repository: *156 + head_repository: *156 head_repository_id: type: integer examples: @@ -49304,7 +49568,7 @@ paths: - workflow_url - pull_requests examples: - default: &363 + default: &364 value: total_count: 1 workflow_runs: @@ -49540,24 +49804,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *311 - *312 - - &341 + - *313 + - &342 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *339 + - *340 responses: '200': description: Response content: application/json: - schema: *340 + schema: *341 examples: - default: &344 + default: &345 value: id: 30433642 name: Build @@ -49798,9 +50062,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *311 - *312 - - *341 + - *313 + - *342 responses: '204': description: Response @@ -49823,9 +50087,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *311 - *312 - - *341 + - *313 + - *342 responses: '200': description: Response @@ -49953,15 +50217,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#approve-a-workflow-run-for-a-fork-pull-request parameters: - - *311 - *312 - - *341 + - *313 + - *342 responses: '201': description: Response content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -49988,12 +50252,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *311 - *312 - - *341 + - *313 + - *342 - *17 - *18 - - *342 + - *343 responses: '200': description: Response @@ -50009,9 +50273,9 @@ paths: type: integer artifacts: type: array - items: *328 + items: *329 examples: - default: *343 + default: *344 headers: Link: *37 x-github: @@ -50035,25 +50299,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *311 - *312 - - *341 - - &345 + - *313 + - *342 + - &346 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *339 + - *340 responses: '200': description: Response content: application/json: - schema: *340 + schema: *341 examples: - default: *344 + default: *345 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50076,10 +50340,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *311 - *312 - - *341 - - *345 + - *313 + - *342 + - *346 - *17 - *18 responses: @@ -50097,9 +50361,9 @@ paths: type: integer jobs: type: array - items: *346 + items: *347 examples: - default: &347 + default: &348 value: total_count: 1 jobs: @@ -50212,10 +50476,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *311 - *312 - - *341 - - *345 + - *313 + - *342 + - *346 responses: '302': description: Response @@ -50243,19 +50507,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *311 - *312 - - *341 + - *313 + - *342 responses: '202': description: Response content: application/json: - schema: *163 + schema: *167 examples: default: value: - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50278,9 +50542,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-custom-deployment-protection-rules-for-a-workflow-run parameters: - - *311 - *312 - - *341 + - *313 + - *342 requestBody: required: true content: @@ -50347,19 +50611,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *311 - *312 - - *341 + - *313 + - *342 responses: '202': description: Response content: application/json: - schema: *163 + schema: *167 examples: default: value: - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50382,9 +50646,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *311 - *312 - - *341 + - *313 + - *342 - name: filter description: Filters jobs by their `completed_at` timestamp. `latest` returns jobs from the most recent execution of the workflow run. `all` returns all @@ -50414,9 +50678,9 @@ paths: type: integer jobs: type: array - items: *346 + items: *347 examples: - default: *347 + default: *348 headers: Link: *37 x-github: @@ -50441,9 +50705,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *311 - *312 - - *341 + - *313 + - *342 responses: '302': description: Response @@ -50470,9 +50734,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *311 - *312 - - *341 + - *313 + - *342 responses: '204': description: Response @@ -50499,9 +50763,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *311 - *312 - - *341 + - *313 + - *342 responses: '200': description: Response @@ -50570,7 +50834,7 @@ paths: items: type: object properties: - type: &453 + type: &454 type: string description: The type of reviewer. enum: @@ -50581,7 +50845,7 @@ paths: reviewer: anyOf: - *4 - - *229 + - *234 required: - environment - wait_timer @@ -50656,9 +50920,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *311 - *312 - - *341 + - *313 + - *342 requestBody: required: true content: @@ -50708,7 +50972,7 @@ paths: application/json: schema: type: array - items: &448 + items: &449 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -50820,7 +51084,7 @@ paths: - created_at - updated_at examples: - default: &449 + default: &450 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -50876,9 +51140,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *311 - *312 - - *341 + - *313 + - *342 requestBody: required: false content: @@ -50900,7 +51164,7 @@ paths: description: Response content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -50923,9 +51187,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *311 - *312 - - *341 + - *313 + - *342 requestBody: required: false content: @@ -50947,7 +51211,7 @@ paths: description: Response content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -50972,9 +51236,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *311 - *312 - - *341 + - *313 + - *342 responses: '200': description: Response @@ -51111,8 +51375,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -51130,9 +51394,9 @@ paths: type: integer secrets: type: array - items: *348 + items: *349 examples: - default: *349 + default: *350 headers: Link: *37 x-github: @@ -51157,16 +51421,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *311 - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *350 + schema: *351 examples: - default: *351 + default: *352 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51188,17 +51452,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *311 - *312 - - *162 + - *313 + - *166 responses: '200': description: Response content: application/json: - schema: *348 + schema: *349 examples: - default: &466 + default: &467 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -51224,9 +51488,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *311 - *312 - - *162 + - *313 + - *166 requestBody: required: true content: @@ -51254,7 +51518,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -51280,9 +51544,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *311 - *312 - - *162 + - *313 + - *166 responses: '204': description: Response @@ -51307,9 +51571,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *311 - *312 - - *335 + - *313 + - *336 - *18 responses: '200': @@ -51326,9 +51590,9 @@ paths: type: integer variables: type: array - items: *352 + items: *353 examples: - default: *353 + default: *354 headers: Link: *37 x-github: @@ -51351,8 +51615,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -51379,7 +51643,7 @@ paths: description: Response content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -51404,17 +51668,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *311 - *312 - - *165 + - *313 + - *169 responses: '200': description: Response content: application/json: - schema: *352 + schema: *353 examples: - default: &467 + default: &468 value: name: USERNAME value: octocat @@ -51440,9 +51704,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *311 - *312 - - *165 + - *313 + - *169 requestBody: required: true content: @@ -51484,9 +51748,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *311 - *312 - - *165 + - *313 + - *169 responses: '204': description: Response @@ -51511,8 +51775,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -51530,7 +51794,7 @@ paths: type: integer workflows: type: array - items: &354 + items: &355 title: Workflow description: A GitHub Actions workflow type: object @@ -51648,9 +51912,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *311 - *312 - - &355 + - *313 + - &356 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -51665,7 +51929,7 @@ paths: description: Response content: application/json: - schema: *354 + schema: *355 examples: default: value: @@ -51698,9 +51962,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *311 - *312 - - *355 + - *313 + - *356 responses: '204': description: Response @@ -51725,9 +51989,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *311 - *312 - - *355 + - *313 + - *356 responses: '204': description: Response @@ -51778,9 +52042,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *311 - *312 - - *355 + - *313 + - *356 responses: '204': description: Response @@ -51807,19 +52071,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *311 - *312 - - *355 + - *313 - *356 - *357 - *358 - *359 + - *360 - *17 - *18 - - *360 - - *339 - *361 + - *340 - *362 + - *363 responses: '200': description: Response @@ -51835,9 +52099,9 @@ paths: type: integer workflow_runs: type: array - items: *340 + items: *341 examples: - default: *363 + default: *364 headers: Link: *37 x-github: @@ -51863,9 +52127,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *311 - *312 - - *355 + - *313 + - *356 responses: '200': description: Response @@ -51926,8 +52190,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *311 - *312 + - *313 - *76 - *17 - *74 @@ -52095,8 +52359,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -52108,7 +52372,7 @@ paths: type: array items: *4 examples: - default: *232 + default: *237 headers: Link: *37 '404': *6 @@ -52133,8 +52397,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *311 - *312 + - *313 - name: assignee in: path required: true @@ -52170,8 +52434,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -52283,8 +52547,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *311 - *312 + - *313 - *17 - *74 - *75 @@ -52328,7 +52592,7 @@ paths: repository_id: type: integer examples: - default: *364 + default: *365 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52348,8 +52612,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -52357,7 +52621,7 @@ paths: application/json: schema: type: array - items: &365 + items: &366 title: Autolink reference description: An autolink reference. type: object @@ -52411,8 +52675,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -52451,9 +52715,9 @@ paths: description: response content: application/json: - schema: *365 + schema: *366 examples: - default: &366 + default: &367 value: id: 1 key_prefix: TICKET- @@ -52484,9 +52748,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *311 - *312 - - &367 + - *313 + - &368 name: autolink_id description: The unique identifier of the autolink. in: path @@ -52498,9 +52762,9 @@ paths: description: Response content: application/json: - schema: *365 + schema: *366 examples: - default: *366 + default: *367 '404': *6 x-github: githubCloudOnly: false @@ -52520,9 +52784,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *311 - *312 - - *367 + - *313 + - *368 responses: '204': description: Response @@ -52546,8 +52810,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-automated-security-fixes-are-enabled-for-a-repository parameters: - - *311 - *312 + - *313 responses: '200': description: Response if Dependabot is enabled @@ -52597,8 +52861,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-automated-security-fixes parameters: - - *311 - *312 + - *313 responses: '204': description: Response @@ -52619,8 +52883,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-automated-security-fixes parameters: - - *311 - *312 + - *313 responses: '204': description: Response @@ -52640,8 +52904,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *311 - *312 + - *313 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -52679,7 +52943,7 @@ paths: - url protected: type: boolean - protection: &369 + protection: &370 title: Branch Protection description: Branch Protection type: object @@ -52722,7 +52986,7 @@ paths: required: - contexts - checks - enforce_admins: &372 + enforce_admins: &373 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -52739,7 +53003,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &374 + required_pull_request_reviews: &375 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -52761,7 +53025,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *229 + items: *234 apps: description: The list of apps with review dismissal access. @@ -52793,7 +53057,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *229 + items: *234 apps: description: The list of apps allowed to bypass pull request requirements. @@ -52823,7 +53087,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &371 + restrictions: &372 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -53148,9 +53412,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *311 - *312 - - &370 + - *313 + - &371 name: branch description: The name of the branch. Cannot contain wildcard characters. To use wildcard characters in branch names, use [the GraphQL API](https://docs.github.com/enterprise-cloud@latest//graphql). @@ -53164,14 +53428,14 @@ paths: description: Response content: application/json: - schema: &380 + schema: &381 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &424 + commit: &425 title: Commit description: Commit type: object @@ -53210,7 +53474,7 @@ paths: author: anyOf: - type: 'null' - - &368 + - &369 title: Git User description: Metaproperties for Git author/committer information. @@ -53231,7 +53495,7 @@ paths: committer: anyOf: - type: 'null' - - *368 + - *369 message: type: string examples: @@ -53255,7 +53519,7 @@ paths: required: - sha - url - verification: &473 + verification: &474 title: Verification type: object properties: @@ -53290,14 +53554,14 @@ paths: author: oneOf: - *4 - - *163 + - *167 type: - 'null' - object committer: oneOf: - *4 - - *163 + - *167 type: - 'null' - object @@ -53334,7 +53598,7 @@ paths: type: integer files: type: array - items: &436 + items: &437 title: Diff Entry description: Diff Entry type: object @@ -53428,7 +53692,7 @@ paths: - self protected: type: boolean - protection: *369 + protection: *370 protection_url: type: string format: uri @@ -53537,7 +53801,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *325 + '301': *326 '404': *6 x-github: githubCloudOnly: false @@ -53559,15 +53823,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *311 - *312 - - *370 + - *313 + - *371 responses: '200': description: Response content: application/json: - schema: *369 + schema: *370 examples: default: value: @@ -53761,9 +54025,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *311 - *312 - - *370 + - *313 + - *371 requestBody: required: true content: @@ -54023,7 +54287,7 @@ paths: url: type: string format: uri - required_status_checks: &377 + required_status_checks: &378 title: Status Check Policy description: Status Check Policy type: object @@ -54104,7 +54368,7 @@ paths: items: *4 teams: type: array - items: *229 + items: *234 apps: type: array items: *5 @@ -54122,7 +54386,7 @@ paths: items: *4 teams: type: array - items: *229 + items: *234 apps: type: array items: *5 @@ -54182,7 +54446,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *371 + restrictions: *372 required_conversation_resolution: type: object properties: @@ -54294,9 +54558,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *311 - *312 - - *370 + - *313 + - *371 responses: '204': description: Response @@ -54321,17 +54585,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *311 - *312 - - *370 + - *313 + - *371 responses: '200': description: Response content: application/json: - schema: *372 + schema: *373 examples: - default: &373 + default: &374 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -54353,17 +54617,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *311 - *312 - - *370 + - *313 + - *371 responses: '200': description: Response content: application/json: - schema: *372 + schema: *373 examples: - default: *373 + default: *374 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54382,9 +54646,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *311 - *312 - - *370 + - *313 + - *371 responses: '204': description: Response @@ -54409,17 +54673,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *311 - *312 - - *370 + - *313 + - *371 responses: '200': description: Response content: application/json: - schema: *374 + schema: *375 examples: - default: &375 + default: &376 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -54515,9 +54779,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *311 - *312 - - *370 + - *313 + - *371 requestBody: required: false content: @@ -54615,9 +54879,9 @@ paths: description: Response content: application/json: - schema: *374 + schema: *375 examples: - default: *375 + default: *376 '422': *15 x-github: githubCloudOnly: false @@ -54638,9 +54902,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *311 - *312 - - *370 + - *313 + - *371 responses: '204': description: Response @@ -54667,17 +54931,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *311 - *312 - - *370 + - *313 + - *371 responses: '200': description: Response content: application/json: - schema: *372 + schema: *373 examples: - default: &376 + default: &377 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -54700,17 +54964,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *311 - *312 - - *370 + - *313 + - *371 responses: '200': description: Response content: application/json: - schema: *372 + schema: *373 examples: - default: *376 + default: *377 '404': *6 x-github: githubCloudOnly: false @@ -54730,9 +54994,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *311 - *312 - - *370 + - *313 + - *371 responses: '204': description: Response @@ -54757,17 +55021,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *311 - *312 - - *370 + - *313 + - *371 responses: '200': description: Response content: application/json: - schema: *377 + schema: *378 examples: - default: &378 + default: &379 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -54793,9 +55057,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *311 - *312 - - *370 + - *313 + - *371 requestBody: required: false content: @@ -54847,9 +55111,9 @@ paths: description: Response content: application/json: - schema: *377 + schema: *378 examples: - default: *378 + default: *379 '404': *6 '422': *15 x-github: @@ -54871,9 +55135,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *311 - *312 - - *370 + - *313 + - *371 responses: '204': description: Response @@ -54897,9 +55161,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *311 - *312 - - *370 + - *313 + - *371 responses: '200': description: Response @@ -54933,9 +55197,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *311 - *312 - - *370 + - *313 + - *371 requestBody: required: false content: @@ -55002,9 +55266,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *311 - *312 - - *370 + - *313 + - *371 requestBody: required: false content: @@ -55068,9 +55332,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *311 - *312 - - *370 + - *313 + - *371 requestBody: content: application/json: @@ -55136,15 +55400,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *311 - *312 - - *370 + - *313 + - *371 responses: '200': description: Response content: application/json: - schema: *371 + schema: *372 examples: default: value: @@ -55235,9 +55499,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *311 - *312 - - *370 + - *313 + - *371 responses: '204': description: Response @@ -55260,9 +55524,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *311 - *312 - - *370 + - *313 + - *371 responses: '200': description: Response @@ -55272,7 +55536,7 @@ paths: type: array items: *5 examples: - default: &379 + default: &380 value: - id: 1 slug: octoapp @@ -55329,9 +55593,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *311 - *312 - - *370 + - *313 + - *371 requestBody: required: true content: @@ -55365,7 +55629,7 @@ paths: type: array items: *5 examples: - default: *379 + default: *380 '422': *15 x-github: githubCloudOnly: false @@ -55386,9 +55650,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *311 - *312 - - *370 + - *313 + - *371 requestBody: required: true content: @@ -55422,7 +55686,7 @@ paths: type: array items: *5 examples: - default: *379 + default: *380 '422': *15 x-github: githubCloudOnly: false @@ -55443,9 +55707,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *311 - *312 - - *370 + - *313 + - *371 requestBody: required: true content: @@ -55479,7 +55743,7 @@ paths: type: array items: *5 examples: - default: *379 + default: *380 '422': *15 x-github: githubCloudOnly: false @@ -55501,9 +55765,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *311 - *312 - - *370 + - *313 + - *371 responses: '200': description: Response @@ -55511,9 +55775,9 @@ paths: application/json: schema: type: array - items: *229 + items: *234 examples: - default: *243 + default: *248 '404': *6 x-github: githubCloudOnly: false @@ -55533,9 +55797,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *311 - *312 - - *370 + - *313 + - *371 requestBody: required: false content: @@ -55571,9 +55835,9 @@ paths: application/json: schema: type: array - items: *229 + items: *234 examples: - default: *243 + default: *248 '422': *15 x-github: githubCloudOnly: false @@ -55594,9 +55858,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *311 - *312 - - *370 + - *313 + - *371 requestBody: required: false content: @@ -55632,9 +55896,9 @@ paths: application/json: schema: type: array - items: *229 + items: *234 examples: - default: *243 + default: *248 '422': *15 x-github: githubCloudOnly: false @@ -55655,9 +55919,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *311 - *312 - - *370 + - *313 + - *371 requestBody: content: application/json: @@ -55692,9 +55956,9 @@ paths: application/json: schema: type: array - items: *229 + items: *234 examples: - default: *243 + default: *248 '422': *15 x-github: githubCloudOnly: false @@ -55716,9 +55980,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *311 - *312 - - *370 + - *313 + - *371 responses: '200': description: Response @@ -55728,7 +55992,7 @@ paths: type: array items: *4 examples: - default: *232 + default: *237 '404': *6 x-github: githubCloudOnly: false @@ -55752,9 +56016,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *311 - *312 - - *370 + - *313 + - *371 requestBody: required: true content: @@ -55787,7 +56051,7 @@ paths: type: array items: *4 examples: - default: *232 + default: *237 '422': *15 x-github: githubCloudOnly: false @@ -55812,9 +56076,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *311 - *312 - - *370 + - *313 + - *371 requestBody: required: true content: @@ -55847,7 +56111,7 @@ paths: type: array items: *4 examples: - default: *232 + default: *237 '422': *15 x-github: githubCloudOnly: false @@ -55872,9 +56136,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *311 - *312 - - *370 + - *313 + - *371 requestBody: required: true content: @@ -55907,7 +56171,7 @@ paths: type: array items: *4 examples: - default: *232 + default: *237 '422': *15 x-github: githubCloudOnly: false @@ -55934,9 +56198,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *311 - *312 - - *370 + - *313 + - *371 requestBody: required: true content: @@ -55958,7 +56222,7 @@ paths: description: Response content: application/json: - schema: *380 + schema: *381 examples: default: value: @@ -56074,8 +56338,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -56354,7 +56618,7 @@ paths: description: Response content: application/json: - schema: &382 + schema: &383 title: CheckRun description: A check performed on the code of a given code change type: object @@ -56489,8 +56753,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *381 - deployment: &684 + items: *382 + deployment: &685 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -56777,9 +57041,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *311 - *312 - - &383 + - *313 + - &384 name: check_run_id description: The unique identifier of the check run. in: path @@ -56791,9 +57055,9 @@ paths: description: Response content: application/json: - schema: *382 + schema: *383 examples: - default: &384 + default: &385 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -56893,9 +57157,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *311 - *312 - - *383 + - *313 + - *384 requestBody: required: true content: @@ -57135,9 +57399,9 @@ paths: description: Response content: application/json: - schema: *382 + schema: *383 examples: - default: *384 + default: *385 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57157,9 +57421,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *311 - *312 - - *383 + - *313 + - *384 - *17 - *18 responses: @@ -57271,15 +57535,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *311 - *312 - - *383 + - *313 + - *384 responses: '201': description: Response content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -57317,8 +57581,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -57340,7 +57604,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &386 + schema: &387 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -57422,12 +57686,12 @@ paths: type: - array - 'null' - items: *381 + items: *382 app: anyOf: - type: 'null' - *5 - repository: *152 + repository: *156 created_at: type: - string @@ -57438,7 +57702,7 @@ paths: - string - 'null' format: date-time - head_commit: *385 + head_commit: *386 latest_check_runs_count: type: integer check_runs_url: @@ -57466,7 +57730,7 @@ paths: - check_runs_url - pull_requests examples: - default: &387 + default: &388 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -57757,9 +58021,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *386 + schema: *387 examples: - default: *387 + default: *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57778,8 +58042,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -57840,7 +58104,7 @@ paths: required: - app_id - setting - repository: *152 + repository: *156 examples: default: value: @@ -58088,9 +58352,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *311 - *312 - - &388 + - *313 + - &389 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -58102,9 +58366,9 @@ paths: description: Response content: application/json: - schema: *386 + schema: *387 examples: - default: *387 + default: *388 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58127,17 +58391,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *311 - *312 - - *388 - - &431 + - *313 + - *389 + - &432 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &432 + - &433 name: status description: Returns check runs with the specified `status`. in: query @@ -58176,9 +58440,9 @@ paths: type: integer check_runs: type: array - items: *382 + items: *383 examples: - default: &433 + default: &434 value: total_count: 1 check_runs: @@ -58280,15 +58544,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *311 - *312 - - *388 + - *313 + - *389 responses: '201': description: Response content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -58315,21 +58579,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *311 - *312 - - *175 - - *176 + - *313 + - *179 + - *180 - *18 - *17 - - &400 + - &401 name: ref description: The Git reference for the results you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. in: query required: false - schema: *389 - - &401 + schema: *390 + - &402 name: pr description: The number of the pull request for the results you want to list. in: query @@ -58354,13 +58618,13 @@ paths: be returned. in: query required: false - schema: *177 + schema: *181 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *390 + schema: *391 responses: '200': description: Response @@ -58376,7 +58640,7 @@ paths: updated_at: *88 url: *85 html_url: *86 - instances_url: *391 + instances_url: *392 state: *79 fixed_at: *90 dismissed_by: @@ -58384,11 +58648,11 @@ paths: - type: 'null' - *4 dismissed_at: *89 - dismissed_reason: *392 - dismissed_comment: *393 - rule: *394 - tool: *395 - most_recent_instance: *396 + dismissed_reason: *393 + dismissed_comment: *394 + rule: *395 + tool: *396 + most_recent_instance: *397 required: - number - created_at @@ -58504,14 +58768,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *35 - '403': &397 + '403': &398 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58531,9 +58795,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *311 - *312 - - &398 + - *313 + - &399 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -58547,7 +58811,7 @@ paths: description: Response content: application/json: - schema: &399 + schema: &400 type: object properties: number: *81 @@ -58555,7 +58819,7 @@ paths: updated_at: *88 url: *85 html_url: *86 - instances_url: *391 + instances_url: *392 state: *79 fixed_at: *90 dismissed_by: @@ -58563,8 +58827,8 @@ paths: - type: 'null' - *4 dismissed_at: *89 - dismissed_reason: *392 - dismissed_comment: *393 + dismissed_reason: *393 + dismissed_comment: *394 rule: type: object properties: @@ -58626,8 +58890,8 @@ paths: - 'null' description: A link to the documentation for the rule used to detect the alert. - tool: *395 - most_recent_instance: *396 + tool: *396 + most_recent_instance: *397 required: - number - created_at @@ -58716,9 +58980,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *35 - '403': *397 + '403': *398 '404': *6 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58736,9 +59000,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *311 - *312 - - *398 + - *313 + - *399 requestBody: required: true content: @@ -58753,8 +59017,8 @@ paths: enum: - open - dismissed - dismissed_reason: *392 - dismissed_comment: *393 + dismissed_reason: *393 + dismissed_comment: *394 required: - state examples: @@ -58769,7 +59033,7 @@ paths: description: Response content: application/json: - schema: *399 + schema: *400 examples: default: value: @@ -58844,14 +59108,14 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &406 + '403': &407 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *6 - '503': *92 + '503': *96 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -58871,13 +59135,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *311 - *312 - - *398 + - *313 + - *399 - *18 - *17 - - *400 - *401 + - *402 responses: '200': description: Response @@ -58885,7 +59149,7 @@ paths: application/json: schema: type: array - items: *396 + items: *397 examples: default: value: @@ -58924,9 +59188,9 @@ paths: end_column: 50 classifications: - source - '403': *397 + '403': *398 '404': *6 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58958,25 +59222,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *311 - *312 - - *175 - - *176 + - *313 + - *179 + - *180 - *18 - *17 - - *401 + - *402 - name: ref in: query description: The Git reference for the analyses you want to list. The `ref` for a branch can be formatted either as `refs/heads/` or simply ``. To reference a pull request use `refs/pull//merge`. required: false - schema: *389 + schema: *390 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &404 + schema: &405 type: string description: An identifier for the upload. examples: @@ -58998,23 +59262,23 @@ paths: application/json: schema: type: array - items: &405 + items: &406 type: object properties: - ref: *389 - commit_sha: &414 + ref: *390 + commit_sha: &415 description: The SHA of the commit to which the analysis you are uploading relates. type: string minLength: 40 maxLength: 40 pattern: "^[0-9a-fA-F]+$" - analysis_key: *402 + analysis_key: *403 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *403 + category: *404 error: type: string examples: @@ -59039,8 +59303,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *404 - tool: *395 + sarif_id: *405 + tool: *396 deletable: type: boolean warning: @@ -59102,9 +59366,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *397 + '403': *398 '404': *6 - '503': *92 + '503': *96 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -59138,8 +59402,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-analysis-for-a-repository parameters: - - *311 - *312 + - *313 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -59152,7 +59416,7 @@ paths: description: Response content: application/json: - schema: *405 + schema: *406 examples: response: summary: application/json response @@ -59206,9 +59470,9 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *397 + '403': *398 '404': *6 - '503': *92 + '503': *96 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -59288,8 +59552,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-code-scanning-analysis-from-a-repository parameters: - - *311 - *312 + - *313 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -59345,9 +59609,9 @@ paths: next_analysis_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41 confirm_delete_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses/41?confirm_delete '400': *14 - '403': *406 + '403': *407 '404': *6 - '503': *92 + '503': *96 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -59367,8 +59631,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -59376,7 +59640,7 @@ paths: application/json: schema: type: array - items: &407 + items: &408 title: CodeQL Database description: A CodeQL database. type: object @@ -59488,9 +59752,9 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/ruby commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '403': *397 + '403': *398 '404': *6 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59517,8 +59781,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *311 - *312 + - *313 - name: language in: path description: The language of the CodeQL database. @@ -59530,7 +59794,7 @@ paths: description: Response content: application/json: - schema: *407 + schema: *408 examples: default: value: @@ -59562,11 +59826,11 @@ paths: updated_at: '2022-09-12T12:14:32Z' url: https://api.github.com/repos/octocat/Hello-World/code-scanning/codeql/databases/java commit_oid: 1927de39fefa25a9d0e64e3f540ff824a72f538c - '302': &438 + '302': &439 description: Found - '403': *397 + '403': *398 '404': *6 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59586,8 +59850,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *311 - *312 + - *313 - name: language in: path description: The language of the CodeQL database. @@ -59597,9 +59861,9 @@ paths: responses: '204': description: Response - '403': *406 + '403': *407 '404': *6 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -59625,8 +59889,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -59635,7 +59899,7 @@ paths: type: object additionalProperties: false properties: - language: &408 + language: &409 type: string description: The language targeted by the CodeQL query enum: @@ -59713,7 +59977,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &412 + schema: &413 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -59723,7 +59987,7 @@ paths: description: The ID of the variant analysis. controller_repo: *91 actor: *4 - query_language: *408 + query_language: *409 query_pack_url: type: string description: The download url for the query pack. @@ -59771,7 +60035,7 @@ paths: items: type: object properties: - repository: &409 + repository: &410 title: Repository Identifier description: Repository Identifier type: object @@ -59813,7 +60077,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &413 + analysis_status: &414 type: string description: The new status of the CodeQL variant analysis repository task. @@ -59845,7 +60109,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &410 + access_mismatch_repos: &411 type: object properties: repository_count: @@ -59860,7 +60124,7 @@ paths: This list may not include all repositories that were skipped. This is only available when the repository was found and the user has access to it. - items: *409 + items: *410 required: - repository_count - repositories @@ -59883,8 +60147,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *410 - over_limit_repos: *410 + no_codeql_db_repos: *411 + over_limit_repos: *411 required: - access_mismatch_repos - not_found_repos @@ -59900,7 +60164,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &411 + value: &412 summary: Default response value: id: 1 @@ -60052,17 +60316,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *411 + value: *412 repository_lists: summary: Response for a successful variant analysis submission - value: *411 + value: *412 '404': *6 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60083,8 +60347,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-summary-of-a-codeql-variant-analysis parameters: - - *311 - *312 + - *313 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -60096,11 +60360,11 @@ paths: description: Response content: application/json: - schema: *412 + schema: *413 examples: - default: *411 + default: *412 '404': *6 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60121,7 +60385,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-the-analysis-status-of-a-repository-in-a-codeql-variant-analysis parameters: - - *311 + - *312 - name: repo in: path description: The name of the controller repository. @@ -60156,7 +60420,7 @@ paths: type: object properties: repository: *91 - analysis_status: *413 + analysis_status: *414 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -60260,7 +60524,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *6 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60281,8 +60545,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -60347,9 +60611,9 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *397 + '403': *398 '404': *6 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60368,8 +60632,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -60384,6 +60648,19 @@ paths: enum: - configured - not-configured + runner_type: + description: Runner type to be used. + type: string + enum: + - standard + - labeled + runner_label: + description: Runner label to be used if the runner type is labeled. + type: + - string + - 'null' + examples: + - code-scanning query_suite: description: CodeQL query suite to be used. type: string @@ -60414,7 +60691,7 @@ paths: description: Response content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -60439,7 +60716,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *406 + '403': *407 '404': *6 '409': description: Response if there is already a validation run in progress with @@ -60447,7 +60724,7 @@ paths: content: application/json: schema: *3 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60504,8 +60781,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -60513,7 +60790,7 @@ paths: schema: type: object properties: - commit_sha: *414 + commit_sha: *415 ref: type: string description: |- @@ -60573,7 +60850,7 @@ paths: schema: type: object properties: - id: *404 + id: *405 url: type: string description: The REST API URL for checking the status of the upload. @@ -60587,11 +60864,11 @@ paths: url: https://api.github.com/repos/octocat/hello-world/code-scanning/sarifs/47177e22-5596-11eb-80a1-c1e54ef945c6 '400': description: Bad Request if the sarif field is invalid - '403': *406 + '403': *407 '404': *6 '413': description: Payload Too Large if the sarif field is too large - '503': *92 + '503': *96 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -60610,8 +60887,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *311 - *312 + - *313 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -60659,10 +60936,10 @@ paths: value: processing_status: complete analyses_url: https://api.github.com/repos/octocat/hello-world/code-scanning/analyses?sarif_id=47177e22-5596-11eb-80a1-c1e54ef945c6 - '403': *397 + '403': *398 '404': description: Not Found if the sarif id does not match any upload - '503': *92 + '503': *96 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -60684,8 +60961,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-the-code-security-configuration-associated-with-a-repository parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -60709,7 +60986,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *180 + configuration: *184 examples: default: value: @@ -60738,7 +61015,7 @@ paths: html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - '204': *183 + '204': *185 '304': *35 '403': *27 '404': *6 @@ -60763,8 +61040,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *311 - *312 + - *313 - name: ref description: 'A branch, tag or commit name used to determine which version of the CODEOWNERS file to use. Default: the repository''s default branch @@ -60892,8 +61169,8 @@ paths: parameters: - *17 - *18 - - *311 - *312 + - *313 responses: '200': description: Response @@ -60909,7 +61186,7 @@ paths: type: integer codespaces: type: array - items: *233 + items: *238 examples: default: value: @@ -61207,8 +61484,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -61272,22 +61549,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *233 + schema: *238 examples: - default: *415 + default: *416 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *233 + schema: *238 examples: - default: *415 + default: *416 '400': *14 '401': *23 '403': *27 '404': *6 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -61311,8 +61588,8 @@ paths: parameters: - *17 - *18 - - *311 - *312 + - *313 responses: '200': description: Response @@ -61376,8 +61653,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *311 - *312 + - *313 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -61414,9 +61691,9 @@ paths: type: integer machines: type: array - items: *416 + items: *417 examples: - default: &641 + default: &642 value: total_count: 2 machines: @@ -61456,8 +61733,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *311 - *312 + - *313 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -61544,8 +61821,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#check-if-permissions-defined-by-a-devcontainer-have-been-accepted-by-the-authenticated-user parameters: - - *311 - *312 + - *313 - name: ref description: The git reference that points to the location of the devcontainer configuration to use for the permission check. The value of `ref` will typically @@ -61593,7 +61870,7 @@ paths: '403': *27 '404': *6 '422': *15 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61614,8 +61891,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -61633,7 +61910,7 @@ paths: type: integer secrets: type: array - items: &420 + items: &421 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -61654,7 +61931,7 @@ paths: - created_at - updated_at examples: - default: *417 + default: *418 headers: Link: *37 x-github: @@ -61677,16 +61954,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *311 - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *418 + schema: *419 examples: - default: *419 + default: *420 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -61706,17 +61983,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *311 - *312 - - *162 + - *313 + - *166 responses: '200': description: Response content: application/json: - schema: *420 + schema: *421 examples: - default: *421 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61736,9 +62013,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *311 - *312 - - *162 + - *313 + - *166 requestBody: required: true content: @@ -61766,7 +62043,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -61790,9 +62067,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *311 - *312 - - *162 + - *313 + - *166 responses: '204': description: Response @@ -61820,8 +62097,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *311 - *312 + - *313 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -61859,7 +62136,7 @@ paths: application/json: schema: type: array - items: &422 + items: &423 title: Collaborator description: Collaborator type: object @@ -62052,9 +62329,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *311 - *312 - - *174 + - *313 + - *178 responses: '204': description: Response if user is a collaborator @@ -62096,9 +62373,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *311 - *312 - - *174 + - *313 + - *178 requestBody: required: false content: @@ -62124,7 +62401,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &486 + schema: &487 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -62136,7 +62413,7 @@ paths: format: int64 examples: - 42 - repository: *152 + repository: *156 invitee: anyOf: - type: 'null' @@ -62345,9 +62622,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *311 - *312 - - *174 + - *313 + - *178 responses: '204': description: No Content when collaborator was removed from the repository. @@ -62376,9 +62653,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *311 - *312 - - *174 + - *313 + - *178 responses: '200': description: if user has admin permissions @@ -62398,7 +62675,7 @@ paths: user: anyOf: - type: 'null' - - *422 + - *423 required: - permission - role_name @@ -62452,8 +62729,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -62463,7 +62740,7 @@ paths: application/json: schema: type: array - items: &423 + items: &424 title: Commit Comment description: Commit Comment type: object @@ -62504,8 +62781,8 @@ paths: updated_at: type: string format: date-time - author_association: *99 - reactions: *100 + author_association: *103 + reactions: *104 required: - url - html_url @@ -62521,7 +62798,7 @@ paths: - created_at - updated_at examples: - default: &426 + default: &427 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -62580,17 +62857,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *311 - *312 - - *111 + - *313 + - *115 responses: '200': description: Response content: application/json: - schema: *423 + schema: *424 examples: - default: &427 + default: &428 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -62647,9 +62924,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *311 - *312 - - *111 + - *313 + - *115 requestBody: required: true content: @@ -62671,7 +62948,7 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: default: value: @@ -62722,9 +62999,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *311 - *312 - - *111 + - *313 + - *115 responses: '204': description: Response @@ -62745,9 +63022,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *311 - *312 - - *111 + - *313 + - *115 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a commit comment. @@ -62773,9 +63050,9 @@ paths: application/json: schema: type: array - items: *300 + items: *301 examples: - default: *302 + default: *303 headers: Link: *37 '404': *6 @@ -62796,9 +63073,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *311 - *312 - - *111 + - *313 + - *115 requestBody: required: true content: @@ -62830,16 +63107,16 @@ paths: description: Reaction exists content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '201': description: Reaction created content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '422': *15 x-github: githubCloudOnly: false @@ -62861,10 +63138,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *311 - *312 - - *111 - - *303 + - *313 + - *115 + - *304 responses: '204': description: Response @@ -62913,8 +63190,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *311 - *312 + - *313 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -62970,9 +63247,9 @@ paths: application/json: schema: type: array - items: *424 + items: *425 examples: - default: &534 + default: &535 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -63046,7 +63323,7 @@ paths: '500': *80 '400': *14 '404': *6 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63066,9 +63343,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *311 - *312 - - &425 + - *313 + - &426 name: commit_sha description: The SHA of the commit. in: path @@ -63115,7 +63392,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *15 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63140,9 +63417,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *311 - *312 - - *425 + - *313 + - *426 - *17 - *18 responses: @@ -63152,9 +63429,9 @@ paths: application/json: schema: type: array - items: *423 + items: *424 examples: - default: *426 + default: *427 headers: Link: *37 x-github: @@ -63182,9 +63459,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *311 - *312 - - *425 + - *313 + - *426 requestBody: required: true content: @@ -63219,9 +63496,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: - default: *427 + default: *428 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -63249,9 +63526,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *311 - *312 - - *425 + - *313 + - *426 - *17 - *18 responses: @@ -63261,7 +63538,7 @@ paths: application/json: schema: type: array - items: &525 + items: &526 title: Pull Request Simple description: Pull Request Simple type: object @@ -63381,7 +63658,7 @@ paths: milestone: anyOf: - type: 'null' - - *428 + - *429 active_lock_reason: type: - string @@ -63436,7 +63713,7 @@ paths: type: - array - 'null' - items: *229 + items: *234 head: type: object properties: @@ -63480,7 +63757,7 @@ paths: _links: type: object properties: - comments: &429 + comments: &430 title: Link description: Hypermedia Link type: object @@ -63489,13 +63766,13 @@ paths: type: string required: - href - commits: *429 - statuses: *429 - html: *429 - issue: *429 - review_comments: *429 - review_comment: *429 - self: *429 + commits: *430 + statuses: *430 + html: *430 + issue: *430 + review_comments: *430 + review_comment: *430 + self: *430 required: - comments - commits @@ -63505,8 +63782,8 @@ paths: - review_comments - review_comment - self - author_association: *99 - auto_merge: &527 + author_association: *103 + auto_merge: &528 title: Auto merge description: The status of auto merging a pull request. type: @@ -63571,7 +63848,7 @@ paths: - author_association - auto_merge examples: - default: &526 + default: &527 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -64051,7 +64328,7 @@ paths: draft: false headers: Link: *37 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64108,11 +64385,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *311 - *312 + - *313 - *18 - *17 - - &430 + - &431 name: ref description: The commit reference. Can be a commit SHA, branch name (`heads/BRANCH_NAME`), or tag name (`tags/TAG_NAME`). For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" @@ -64127,9 +64404,9 @@ paths: description: Response content: application/json: - schema: *424 + schema: *425 examples: - default: &513 + default: &514 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -64216,8 +64493,8 @@ paths: '422': *15 '404': *6 '500': *80 - '503': *92 - '409': *139 + '503': *96 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64242,11 +64519,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *311 - *312 - - *430 + - *313 - *431 - *432 + - *433 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -64280,9 +64557,9 @@ paths: type: integer check_runs: type: array - items: *382 + items: *383 examples: - default: *433 + default: *434 headers: Link: *37 x-github: @@ -64307,9 +64584,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *311 - *312 - - *430 + - *313 + - *431 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -64317,7 +64594,7 @@ paths: schema: type: integer example: 1 - - *431 + - *432 - *17 - *18 responses: @@ -64335,7 +64612,7 @@ paths: type: integer check_suites: type: array - items: *386 + items: *387 examples: default: value: @@ -64535,9 +64812,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *311 - *312 - - *430 + - *313 + - *431 - *17 - *18 responses: @@ -64608,7 +64885,7 @@ paths: type: string total_count: type: integer - repository: *152 + repository: *156 commit_url: type: string format: uri @@ -64739,9 +65016,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *311 - *312 - - *430 + - *313 + - *431 - *17 - *18 responses: @@ -64751,7 +65028,7 @@ paths: application/json: schema: type: array - items: &589 + items: &590 title: Status description: The status of a commit. type: object @@ -64832,7 +65109,7 @@ paths: site_admin: false headers: Link: *37 - '301': *325 + '301': *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64860,8 +65137,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -64894,11 +65171,11 @@ paths: code_of_conduct: anyOf: - type: 'null' - - *434 + - *435 code_of_conduct_file: anyOf: - type: 'null' - - &435 + - &436 title: Community Health File type: object properties: @@ -64914,23 +65191,23 @@ paths: license: anyOf: - type: 'null' - - *113 + - *117 contributing: anyOf: - type: 'null' - - *435 + - *436 readme: anyOf: - type: 'null' - - *435 + - *436 issue_template: anyOf: - type: 'null' - - *435 + - *436 pull_request_template: anyOf: - type: 'null' - - *435 + - *436 required: - code_of_conduct - code_of_conduct_file @@ -65059,8 +65336,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *311 - *312 + - *313 - *18 - *17 - name: basehead @@ -65108,8 +65385,8 @@ paths: format: uri examples: - https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *424 - merge_base_commit: *424 + base_commit: *425 + merge_base_commit: *425 status: type: string enum: @@ -65133,10 +65410,10 @@ paths: - 6 commits: type: array - items: *424 + items: *425 files: type: array - items: *436 + items: *437 required: - url - html_url @@ -65380,7 +65657,7 @@ paths: module Test" '404': *6 '500': *80 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65422,8 +65699,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *311 - *312 + - *313 - name: path description: path parameter in: path @@ -65574,7 +65851,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &437 + response-if-content-is-a-file: &438 summary: Response if content is a file value: type: file @@ -65711,7 +65988,7 @@ paths: - size - type - url - - &539 + - &540 title: Content File description: Content File type: object @@ -65929,7 +66206,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *437 + response-if-content-is-a-file: *438 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -65998,7 +66275,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *6 '403': *27 - '302': *438 + '302': *439 '304': *35 x-github: githubCloudOnly: false @@ -66021,8 +66298,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *311 - *312 + - *313 - name: path description: path parameter in: path @@ -66117,7 +66394,7 @@ paths: description: Response content: application/json: - schema: &439 + schema: &440 title: File Commit description: File Commit type: object @@ -66273,7 +66550,7 @@ paths: description: Response content: application/json: - schema: *439 + schema: *440 examples: example-for-creating-a-file: value: @@ -66327,7 +66604,7 @@ paths: schema: oneOf: - *3 - - &468 + - &469 description: Repository rule violation was detected type: object properties: @@ -66348,7 +66625,7 @@ paths: items: type: object properties: - placeholder_id: &581 + placeholder_id: &582 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -66380,8 +66657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *311 - *312 + - *313 - name: path description: path parameter in: path @@ -66442,7 +66719,7 @@ paths: description: Response content: application/json: - schema: *439 + schema: *440 examples: default: value: @@ -66476,8 +66753,8 @@ paths: verified_at: '422': *15 '404': *6 - '409': *139 - '503': *92 + '409': *143 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66497,8 +66774,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *311 - *312 + - *313 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -66622,20 +66899,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *311 - *312 - - *193 - - *194 - - *195 - - *196 + - *313 + - *198 + - *199 + - *200 + - *201 - name: manifest in: query description: A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned. schema: type: string - - *197 - - *198 + - *202 + - *203 - *76 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -66655,8 +66932,8 @@ paths: default: 30 - *74 - *75 - - *199 - - *200 + - *204 + - *205 responses: '200': description: Response @@ -66664,7 +66941,7 @@ paths: application/json: schema: type: array - items: &442 + items: &443 type: object description: A Dependabot alert. properties: @@ -66699,7 +66976,7 @@ paths: - development - runtime - - security_advisory: *440 + security_advisory: *441 security_vulnerability: *84 url: *85 html_url: *86 @@ -66730,7 +67007,7 @@ paths: dismissal. maxLength: 280 fixed_at: *90 - auto_dismissed_at: *441 + auto_dismissed_at: *442 required: - number - state @@ -66957,9 +67234,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *311 - *312 - - &443 + - *313 + - &444 name: alert_number in: path description: |- @@ -66974,7 +67251,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *443 examples: default: value: @@ -67084,9 +67361,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *311 - *312 - - *443 + - *313 + - *444 requestBody: required: true content: @@ -67131,7 +67408,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *443 examples: default: value: @@ -67237,7 +67514,7 @@ paths: '400': *14 '403': *27 '404': *6 - '409': *139 + '409': *143 '422': *7 x-github: githubCloudOnly: false @@ -67260,8 +67537,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -67279,7 +67556,7 @@ paths: type: integer secrets: type: array - items: &446 + items: &447 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -67333,16 +67610,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *311 - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *444 + schema: *445 examples: - default: *445 + default: *446 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67362,15 +67639,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *311 - *312 - - *162 + - *313 + - *166 responses: '200': description: Response content: application/json: - schema: *446 + schema: *447 examples: default: value: @@ -67396,9 +67673,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *311 - *312 - - *162 + - *313 + - *166 requestBody: required: true content: @@ -67426,7 +67703,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -67450,9 +67727,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *311 - *312 - - *162 + - *313 + - *166 responses: '204': description: Response @@ -67474,8 +67751,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-review#get-a-diff-of-the-dependencies-between-commits parameters: - - *311 - *312 + - *313 - name: basehead description: The base and head Git revisions to compare. The Git revisions will be resolved to commit SHAs. Named revisions will be resolved to their @@ -67649,8 +67926,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/sboms#export-a-software-bill-of-materials-sbom-for-a-repository parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -67910,8 +68187,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependency-graph/dependency-submission#create-a-snapshot-of-dependencies-for-a-repository parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -67994,7 +68271,7 @@ paths: - version - url additionalProperties: false - metadata: &447 + metadata: &448 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -68033,7 +68310,7 @@ paths: examples: - "/src/build/package-lock.json" additionalProperties: false - metadata: *447 + metadata: *448 resolved: type: object description: A collection of resolved package dependencies. @@ -68047,7 +68324,7 @@ paths: pattern: "^pkg" examples: - pkg:/npm/%40actions/http-client@1.0.11 - metadata: *447 + metadata: *448 relationship: type: string description: A notation of whether a dependency is requested @@ -68180,8 +68457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *311 - *312 + - *313 - name: sha description: The SHA recorded at creation time. in: query @@ -68222,9 +68499,9 @@ paths: application/json: schema: type: array - items: *448 + items: *449 examples: - default: *449 + default: *450 headers: Link: *37 x-github: @@ -68290,8 +68567,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -68373,7 +68650,7 @@ paths: description: Response content: application/json: - schema: *448 + schema: *449 examples: simple-example: summary: Simple example @@ -68446,9 +68723,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *311 - *312 - - &450 + - *313 + - &451 name: deployment_id description: deployment_id parameter in: path @@ -68460,7 +68737,7 @@ paths: description: Response content: application/json: - schema: *448 + schema: *449 examples: default: value: @@ -68525,9 +68802,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *311 - *312 - - *450 + - *313 + - *451 responses: '204': description: Response @@ -68549,9 +68826,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *311 - *312 - - *450 + - *313 + - *451 - *17 - *18 responses: @@ -68561,7 +68838,7 @@ paths: application/json: schema: type: array - items: &451 + items: &452 title: Deployment Status description: The status of a deployment. type: object @@ -68725,9 +69002,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *311 - *312 - - *450 + - *313 + - *451 requestBody: required: true content: @@ -68802,9 +69079,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: - default: &452 + default: &453 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -68860,9 +69137,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *311 - *312 - - *450 + - *313 + - *451 - name: status_id in: path required: true @@ -68873,9 +69150,9 @@ paths: description: Response content: application/json: - schema: *451 + schema: *452 examples: - default: *452 + default: *453 '404': *6 x-github: githubCloudOnly: false @@ -68900,8 +69177,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -68958,8 +69235,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -68977,7 +69254,7 @@ paths: - 5 environments: type: array - items: &454 + items: &455 title: Environment description: Details of a deployment environment type: object @@ -69039,7 +69316,7 @@ paths: type: string examples: - wait_timer - wait_timer: &456 + wait_timer: &457 type: integer description: The amount of time to delay a job after the job is initially triggered. The time (in minutes) @@ -69081,11 +69358,11 @@ paths: items: type: object properties: - type: *453 + type: *454 reviewer: anyOf: - *4 - - *229 + - *234 required: - id - node_id @@ -69108,7 +69385,7 @@ paths: - id - node_id - type - deployment_branch_policy: &457 + deployment_branch_policy: &458 type: - object - 'null' @@ -69225,9 +69502,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *311 - *312 - - &455 + - *313 + - &456 name: environment_name in: path required: true @@ -69240,9 +69517,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *455 examples: - default: &458 + default: &459 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -69326,9 +69603,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *311 - *312 - - *455 + - *313 + - *456 requestBody: required: false content: @@ -69338,7 +69615,7 @@ paths: - object - 'null' properties: - wait_timer: *456 + wait_timer: *457 prevent_self_review: type: boolean description: Whether or not a user who created the job is prevented @@ -69357,14 +69634,14 @@ paths: items: type: object properties: - type: *453 + type: *454 id: type: integer description: The id of the user or team who can review the deployment examples: - 4532992 - deployment_branch_policy: *457 + deployment_branch_policy: *458 additionalProperties: false examples: default: @@ -69384,9 +69661,9 @@ paths: description: Response content: application/json: - schema: *454 + schema: *455 examples: - default: *458 + default: *459 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -69410,9 +69687,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *311 - *312 - - *455 + - *313 + - *456 responses: '204': description: Default response @@ -69437,9 +69714,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *311 - *312 - - *455 + - *313 + - *456 - *17 - *18 responses: @@ -69458,7 +69735,7 @@ paths: - 2 branch_policies: type: array - items: &459 + items: &460 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -69519,9 +69796,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *311 - *312 - - *455 + - *313 + - *456 requestBody: required: true content: @@ -69569,9 +69846,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *460 examples: - example-wildcard: &460 + example-wildcard: &461 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -69613,10 +69890,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *311 - *312 - - *455 - - &461 + - *313 + - *456 + - &462 name: branch_policy_id in: path required: true @@ -69628,9 +69905,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *460 examples: - default: *460 + default: *461 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69649,10 +69926,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *311 - *312 - - *455 - - *461 + - *313 + - *456 + - *462 requestBody: required: true content: @@ -69681,9 +69958,9 @@ paths: description: Response content: application/json: - schema: *459 + schema: *460 examples: - default: *460 + default: *461 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69702,10 +69979,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *311 - *312 - - *455 - - *461 + - *313 + - *456 + - *462 responses: '204': description: Response @@ -69730,9 +70007,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *455 + - *456 + - *313 - *312 - - *311 responses: '200': description: List of deployment protection rules @@ -69749,7 +70026,7 @@ paths: - 10 custom_deployment_protection_rules: type: array - items: &462 + items: &463 title: Deployment protection rule description: Deployment protection rule type: object @@ -69771,7 +70048,7 @@ paths: for the environment. examples: - true - app: &463 + app: &464 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -69874,9 +70151,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#create-a-custom-deployment-protection-rule-on-an-environment parameters: - - *455 + - *456 + - *313 - *312 - - *311 requestBody: content: application/json: @@ -69897,9 +70174,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *462 + schema: *463 examples: - default: &464 + default: &465 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -69934,9 +70211,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#list-custom-deployment-rule-integrations-available-for-an-environment parameters: - - *455 + - *456 + - *313 - *312 - - *311 - *18 - *17 responses: @@ -69956,7 +70233,7 @@ paths: - 35 available_custom_deployment_protection_rule_integrations: type: array - items: *463 + items: *464 examples: default: value: @@ -69991,10 +70268,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *311 - *312 - - *455 - - &465 + - *313 + - *456 + - &466 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -70006,9 +70283,9 @@ paths: description: Response content: application/json: - schema: *462 + schema: *463 examples: - default: *464 + default: *465 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70029,10 +70306,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *455 + - *456 + - *313 - *312 - - *311 - - *465 + - *466 responses: '204': description: Response @@ -70058,9 +70335,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *311 - *312 - - *455 + - *313 + - *456 - *17 - *18 responses: @@ -70078,9 +70355,9 @@ paths: type: integer secrets: type: array - items: *348 + items: *349 examples: - default: *349 + default: *350 headers: Link: *37 x-github: @@ -70105,17 +70382,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *311 - *312 - - *455 + - *313 + - *456 responses: '200': description: Response content: application/json: - schema: *350 + schema: *351 examples: - default: *351 + default: *352 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70137,18 +70414,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *311 - *312 - - *455 - - *162 + - *313 + - *456 + - *166 responses: '200': description: Response content: application/json: - schema: *348 + schema: *349 examples: - default: *466 + default: *467 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70170,10 +70447,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *311 - *312 - - *455 - - *162 + - *313 + - *456 + - *166 requestBody: required: true content: @@ -70204,7 +70481,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -70230,10 +70507,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *311 - *312 - - *455 - - *162 + - *313 + - *456 + - *166 responses: '204': description: Default response @@ -70258,10 +70535,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *311 - *312 - - *455 - - *335 + - *313 + - *456 + - *336 - *18 responses: '200': @@ -70278,9 +70555,9 @@ paths: type: integer variables: type: array - items: *352 + items: *353 examples: - default: *353 + default: *354 headers: Link: *37 x-github: @@ -70303,9 +70580,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *311 - *312 - - *455 + - *313 + - *456 requestBody: required: true content: @@ -70332,7 +70609,7 @@ paths: description: Response content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -70357,18 +70634,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *311 - *312 - - *455 - - *165 + - *313 + - *456 + - *169 responses: '200': description: Response content: application/json: - schema: *352 + schema: *353 examples: - default: *467 + default: *468 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70389,10 +70666,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *311 - *312 - - *165 - - *455 + - *313 + - *169 + - *456 requestBody: required: true content: @@ -70434,10 +70711,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *311 - *312 - - *165 - - *455 + - *313 + - *169 + - *456 responses: '204': description: Response @@ -70459,8 +70736,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -70470,7 +70747,7 @@ paths: application/json: schema: type: array - items: *123 + items: *127 examples: 200-response: value: @@ -70537,8 +70814,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *311 - *312 + - *313 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -70560,7 +70837,7 @@ paths: application/json: schema: type: array - items: *152 + items: *156 examples: default: value: @@ -70697,8 +70974,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *311 - *312 + - *313 requestBody: required: false content: @@ -70731,9 +71008,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *326 + default: *327 '400': *14 '422': *15 '403': *27 @@ -70754,8 +71031,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -70806,7 +71083,7 @@ paths: schema: type: string '404': *6 - '409': *139 + '409': *143 '403': *27 '422': description: Validation failed @@ -70814,8 +71091,8 @@ paths: application/json: schema: oneOf: - - *137 - - *468 + - *141 + - *469 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70840,8 +71117,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *311 - *312 + - *313 - name: file_sha in: path required: true @@ -70893,7 +71170,7 @@ paths: '404': *6 '422': *15 '403': *27 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70941,8 +71218,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -71051,7 +71328,7 @@ paths: description: Response content: application/json: - schema: &469 + schema: &470 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -71227,7 +71504,7 @@ paths: type: string '422': *15 '404': *6 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71277,15 +71554,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *311 - *312 - - *425 + - *313 + - *426 responses: '200': description: Response content: application/json: - schema: *469 + schema: *470 examples: default: value: @@ -71316,7 +71593,7 @@ paths: payload: verified_at: '404': *6 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71341,9 +71618,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *311 - *312 - - &470 + - *313 + - &471 name: ref description: The Git reference. For more information, see "[Git References](https://git-scm.com/book/en/v2/Git-Internals-Git-References)" in the Git documentation. @@ -71360,7 +71637,7 @@ paths: application/json: schema: type: array - items: &471 + items: &472 title: Git Reference description: Git references within a repository type: object @@ -71415,7 +71692,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: Link: *37 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71436,17 +71713,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *311 - *312 - - *470 + - *313 + - *471 responses: '200': description: Response content: application/json: - schema: *471 + schema: *472 examples: - default: &472 + default: &473 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -71456,7 +71733,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *6 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71475,8 +71752,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -71505,16 +71782,16 @@ paths: description: Response content: application/json: - schema: *471 + schema: *472 examples: - default: *472 + default: *473 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA schema: type: string '422': *15 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71533,9 +71810,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *311 - *312 - - *470 + - *313 + - *471 requestBody: required: true content: @@ -71564,11 +71841,11 @@ paths: description: Response content: application/json: - schema: *471 + schema: *472 examples: - default: *472 + default: *473 '422': *15 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71584,14 +71861,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *311 - *312 - - *470 + - *313 + - *471 responses: '204': description: Response '422': *15 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71639,8 +71916,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -71707,7 +71984,7 @@ paths: description: Response content: application/json: - schema: &474 + schema: &475 title: Git Tag description: Metadata for a Git tag type: object @@ -71763,7 +72040,7 @@ paths: - sha - type - url - verification: *473 + verification: *474 required: - sha - url @@ -71773,7 +72050,7 @@ paths: - tag - message examples: - default: &475 + default: &476 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -71800,7 +72077,7 @@ paths: schema: type: string '422': *15 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71846,8 +72123,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *311 - *312 + - *313 - name: tag_sha in: path required: true @@ -71858,11 +72135,11 @@ paths: description: Response content: application/json: - schema: *474 + schema: *475 examples: - default: *475 + default: *476 '404': *6 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71884,8 +72161,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -71959,7 +72236,7 @@ paths: description: Response content: application/json: - schema: &476 + schema: &477 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -72054,7 +72331,7 @@ paths: '422': *15 '404': *6 '403': *27 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72077,8 +72354,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *311 - *312 + - *313 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -72101,7 +72378,7 @@ paths: description: Response content: application/json: - schema: *476 + schema: *477 examples: default-response: summary: Default response @@ -72142,7 +72419,7 @@ paths: truncated: false '422': *15 '404': *6 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72160,8 +72437,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -72171,7 +72448,7 @@ paths: application/json: schema: type: array - items: &477 + items: &478 title: Webhook description: Webhooks for repositories. type: object @@ -72234,7 +72511,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &715 + last_response: &716 title: Hook Response type: object properties: @@ -72311,8 +72588,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *311 - *312 + - *313 requestBody: required: false content: @@ -72365,9 +72642,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *478 examples: - default: &478 + default: &479 value: type: Repository id: 12345678 @@ -72415,17 +72692,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *311 - *312 - - *206 + - *313 + - *211 responses: '200': description: Response content: application/json: - schema: *477 + schema: *478 examples: - default: *478 + default: *479 '404': *6 x-github: githubCloudOnly: false @@ -72445,9 +72722,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *311 - *312 - - *206 + - *313 + - *211 requestBody: required: true content: @@ -72492,9 +72769,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *478 examples: - default: *478 + default: *479 '422': *15 '404': *6 x-github: @@ -72515,9 +72792,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *311 - *312 - - *206 + - *313 + - *211 responses: '204': description: Response @@ -72541,9 +72818,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *311 - *312 - - *206 + - *313 + - *211 responses: '200': description: Response @@ -72570,9 +72847,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *311 - *312 - - *206 + - *313 + - *211 requestBody: required: false content: @@ -72616,11 +72893,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *311 - *312 - - *206 + - *313 + - *211 - *17 - - *207 + - *212 responses: '200': description: Response @@ -72628,9 +72905,9 @@ paths: application/json: schema: type: array - items: *208 + items: *213 examples: - default: *209 + default: *214 '400': *14 '422': *15 x-github: @@ -72649,18 +72926,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *311 - *312 - - *206 + - *313 + - *211 - *16 responses: '200': description: Response content: application/json: - schema: *210 + schema: *215 examples: - default: *211 + default: *216 '400': *14 '422': *15 x-github: @@ -72679,12 +72956,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *311 - *312 - - *206 + - *313 + - *211 - *16 responses: - '202': *140 + '202': *144 '400': *14 '422': *15 x-github: @@ -72704,9 +72981,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *311 - *312 - - *206 + - *313 + - *211 responses: '204': description: Response @@ -72731,9 +73008,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *311 - *312 - - *206 + - *313 + - *211 responses: '204': description: Response @@ -72791,14 +73068,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *311 - *312 + - *313 responses: '200': description: Response content: application/json: - schema: &479 + schema: &480 title: Import description: A repository import from an external source. type: object @@ -72905,7 +73182,7 @@ paths: - html_url - authors_url examples: - default: &482 + default: &483 value: vcs: subversion use_lfs: true @@ -72921,7 +73198,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *6 - '503': &480 + '503': &481 description: Unavailable due to service under maintenance. content: application/json: @@ -72950,8 +73227,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -72999,7 +73276,7 @@ paths: description: Response content: application/json: - schema: *479 + schema: *480 examples: default: value: @@ -73024,7 +73301,7 @@ paths: type: string '422': *15 '404': *6 - '503': *480 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73052,8 +73329,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *311 - *312 + - *313 requestBody: required: false content: @@ -73105,7 +73382,7 @@ paths: description: Response content: application/json: - schema: *479 + schema: *480 examples: example-1: summary: Example 1 @@ -73153,7 +73430,7 @@ paths: html_url: https://import.github.com/octocat/socm/import authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm - '503': *480 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73176,12 +73453,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *311 - *312 + - *313 responses: '204': description: Response - '503': *480 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73207,9 +73484,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *311 - *312 - - &664 + - *313 + - &665 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -73223,7 +73500,7 @@ paths: application/json: schema: type: array - items: &481 + items: &482 title: Porter Author description: Porter Author type: object @@ -73277,7 +73554,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *6 - '503': *480 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73302,8 +73579,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *311 - *312 + - *313 - name: author_id in: path required: true @@ -73333,7 +73610,7 @@ paths: description: Response content: application/json: - schema: *481 + schema: *482 examples: default: value: @@ -73346,7 +73623,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *15 '404': *6 - '503': *480 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73370,8 +73647,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -73412,7 +73689,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *480 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73440,8 +73717,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -73468,11 +73745,11 @@ paths: description: Response content: application/json: - schema: *479 + schema: *480 examples: - default: *482 + default: *483 '422': *15 - '503': *480 + '503': *481 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73495,8 +73772,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -73504,8 +73781,8 @@ paths: application/json: schema: *20 examples: - default: *483 - '301': *325 + default: *484 + '301': *326 '404': *6 x-github: githubCloudOnly: false @@ -73525,8 +73802,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -73534,12 +73811,12 @@ paths: application/json: schema: anyOf: - - *224 + - *229 - type: object properties: {} additionalProperties: false examples: - default: &485 + default: &486 value: limit: collaborators_only origin: repository @@ -73564,13 +73841,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *311 - *312 + - *313 requestBody: required: true content: application/json: - schema: *484 + schema: *485 examples: default: summary: Example request body @@ -73582,9 +73859,9 @@ paths: description: Response content: application/json: - schema: *224 + schema: *229 examples: - default: *485 + default: *486 '409': description: Response x-github: @@ -73606,8 +73883,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *311 - *312 + - *313 responses: '204': description: Response @@ -73630,8 +73907,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -73641,9 +73918,9 @@ paths: application/json: schema: type: array - items: *486 + items: *487 examples: - default: &657 + default: &658 value: - id: 1 repository: @@ -73774,9 +74051,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *311 - *312 - - *228 + - *313 + - *233 requestBody: required: false content: @@ -73805,7 +74082,7 @@ paths: description: Response content: application/json: - schema: *486 + schema: *487 examples: default: value: @@ -73936,9 +74213,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *311 - *312 - - *228 + - *313 + - *233 responses: '204': description: Response @@ -73969,8 +74246,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *311 - *312 + - *313 - name: milestone description: If an `integer` is passed, it should refer to a milestone by its `number` field. If the string `*` is passed, issues with any milestone @@ -74010,7 +74287,7 @@ paths: required: false schema: type: string - - *230 + - *235 - name: sort description: What to sort results by. in: query @@ -74023,7 +74300,7 @@ paths: - comments default: created - *76 - - *102 + - *106 - *17 - *18 responses: @@ -74033,9 +74310,9 @@ paths: application/json: schema: type: array - items: *112 + items: *116 examples: - default: &495 + default: &496 value: - id: 1 node_id: MDU6SXNzdWUx @@ -74183,7 +74460,7 @@ paths: state_reason: completed headers: Link: *37 - '301': *325 + '301': *326 '422': *15 '404': *6 x-github: @@ -74212,8 +74489,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -74294,9 +74571,9 @@ paths: description: Response content: application/json: - schema: *112 + schema: *116 examples: - default: &490 + default: &491 value: id: 1 node_id: MDU6SXNzdWUx @@ -74450,9 +74727,9 @@ paths: '400': *14 '403': *27 '422': *15 - '503': *92 + '503': *96 '404': *6 - '410': *322 + '410': *323 x-github: triggersNotification: true githubCloudOnly: false @@ -74480,9 +74757,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *311 - *312 - - *121 + - *313 + - *125 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -74492,7 +74769,7 @@ paths: enum: - asc - desc - - *102 + - *106 - *17 - *18 responses: @@ -74502,9 +74779,9 @@ paths: application/json: schema: type: array - items: *487 + items: *488 examples: - default: &492 + default: &493 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -74562,17 +74839,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *311 - *312 - - *111 + - *313 + - *115 responses: '200': description: Response content: application/json: - schema: *487 + schema: *488 examples: - default: &488 + default: &489 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -74626,9 +74903,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *311 - *312 - - *111 + - *313 + - *115 requestBody: required: true content: @@ -74650,9 +74927,9 @@ paths: description: Response content: application/json: - schema: *487 + schema: *488 examples: - default: *488 + default: *489 '422': *15 x-github: githubCloudOnly: false @@ -74670,9 +74947,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *311 - *312 - - *111 + - *313 + - *115 responses: '204': description: Response @@ -74692,9 +74969,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *311 - *312 - - *111 + - *313 + - *115 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue comment. @@ -74720,9 +74997,9 @@ paths: application/json: schema: type: array - items: *300 + items: *301 examples: - default: *302 + default: *303 headers: Link: *37 '404': *6 @@ -74743,9 +75020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *311 - *312 - - *111 + - *313 + - *115 requestBody: required: true content: @@ -74777,16 +75054,16 @@ paths: description: Reaction exists content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '201': description: Reaction created content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '422': *15 x-github: githubCloudOnly: false @@ -74808,10 +75085,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *311 - *312 - - *111 - - *303 + - *313 + - *115 + - *304 responses: '204': description: Response @@ -74831,8 +75108,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -74842,7 +75119,7 @@ paths: application/json: schema: type: array - items: &489 + items: &490 title: Issue Event description: Issue Event type: object @@ -74889,7 +75166,7 @@ paths: issue: anyOf: - type: 'null' - - *112 + - *116 label: title: Issue Event Label description: Issue Event Label @@ -74922,7 +75199,7 @@ paths: anyOf: - type: 'null' - *4 - requested_team: *229 + requested_team: *234 dismissed_review: title: Issue Event Dismissed Review type: object @@ -74989,7 +75266,7 @@ paths: required: - from - to - author_association: *99 + author_association: *103 lock_reason: type: - string @@ -75181,8 +75458,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *311 - *312 + - *313 - name: event_id in: path required: true @@ -75193,7 +75470,7 @@ paths: description: Response content: application/json: - schema: *489 + schema: *490 examples: default: value: @@ -75386,7 +75663,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *6 - '410': *322 + '410': *323 '403': *27 x-github: githubCloudOnly: false @@ -75420,9 +75697,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *311 - *312 - - &491 + - *313 + - &492 name: issue_number description: The number that identifies the issue. in: path @@ -75434,12 +75711,12 @@ paths: description: Response content: application/json: - schema: *112 + schema: *116 examples: - default: *490 - '301': *325 + default: *491 + '301': *326 '404': *6 - '410': *322 + '410': *323 '304': *35 x-github: githubCloudOnly: false @@ -75464,9 +75741,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *311 - *312 - - *491 + - *313 + - *492 requestBody: required: false content: @@ -75574,15 +75851,15 @@ paths: description: Response content: application/json: - schema: *112 + schema: *116 examples: - default: *490 + default: *491 '422': *15 - '503': *92 + '503': *96 '403': *27 - '301': *325 + '301': *326 '404': *6 - '410': *322 + '410': *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75600,9 +75877,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *311 - *312 - - *491 + - *313 + - *492 requestBody: required: false content: @@ -75628,9 +75905,9 @@ paths: description: Response content: application/json: - schema: *112 + schema: *116 examples: - default: *490 + default: *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75646,9 +75923,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *311 - *312 - - *491 + - *313 + - *492 requestBody: content: application/json: @@ -75673,9 +75950,9 @@ paths: description: Response content: application/json: - schema: *112 + schema: *116 examples: - default: *490 + default: *491 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75697,9 +75974,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#check-if-a-user-can-be-assigned-to-a-issue parameters: - - *311 - *312 - - *491 + - *313 + - *492 - name: assignee in: path required: true @@ -75739,10 +76016,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *311 - *312 - - *491 - - *102 + - *313 + - *492 + - *106 - *17 - *18 responses: @@ -75752,13 +76029,13 @@ paths: application/json: schema: type: array - items: *487 + items: *488 examples: - default: *492 + default: *493 headers: Link: *37 '404': *6 - '410': *322 + '410': *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75787,9 +76064,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *311 - *312 - - *491 + - *313 + - *492 requestBody: required: true content: @@ -75811,16 +76088,16 @@ paths: description: Response content: application/json: - schema: *487 + schema: *488 examples: - default: *488 + default: *489 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *27 - '410': *322 + '410': *323 '422': *15 '404': *6 x-github: @@ -75840,9 +76117,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *311 - *312 - - *491 + - *313 + - *492 - *17 - *18 responses: @@ -75856,7 +76133,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &496 + - &497 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -75905,7 +76182,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &497 + - &498 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -76033,7 +76310,7 @@ paths: - performed_via_github_app - assignee - assigner - - &498 + - &499 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -76079,7 +76356,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &499 + - &500 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -76125,7 +76402,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &500 + - &501 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -76174,7 +76451,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &501 + - &502 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -76203,7 +76480,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *229 + requested_team: *234 requested_reviewer: *4 required: - review_requester @@ -76216,7 +76493,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &502 + - &503 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -76245,7 +76522,7 @@ paths: - type: 'null' - *5 review_requester: *4 - requested_team: *229 + requested_team: *234 requested_reviewer: *4 required: - review_requester @@ -76258,7 +76535,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &503 + - &504 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -76314,7 +76591,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &504 + - &505 title: Locked Issue Event description: Locked Issue Event type: object @@ -76359,7 +76636,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &505 + - &506 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -76420,7 +76697,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &506 + - &507 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -76481,7 +76758,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &507 + - &508 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -76542,7 +76819,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &508 + - &509 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -76635,7 +76912,7 @@ paths: color: red headers: Link: *37 - '410': *322 + '410': *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76652,9 +76929,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *311 - *312 - - *491 + - *313 + - *492 - *17 - *18 responses: @@ -76664,7 +76941,7 @@ paths: application/json: schema: type: array - items: &493 + items: &494 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -76719,7 +76996,7 @@ paths: - color - default examples: - default: &494 + default: &495 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -76737,9 +77014,9 @@ paths: default: false headers: Link: *37 - '301': *325 + '301': *326 '404': *6 - '410': *322 + '410': *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76756,9 +77033,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *311 - *312 - - *491 + - *313 + - *492 requestBody: required: false content: @@ -76817,12 +77094,12 @@ paths: application/json: schema: type: array - items: *493 + items: *494 examples: - default: *494 - '301': *325 + default: *495 + '301': *326 '404': *6 - '410': *322 + '410': *323 '422': *15 x-github: githubCloudOnly: false @@ -76839,9 +77116,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *311 - *312 - - *491 + - *313 + - *492 requestBody: required: false content: @@ -76901,12 +77178,12 @@ paths: application/json: schema: type: array - items: *493 + items: *494 examples: - default: *494 - '301': *325 + default: *495 + '301': *326 '404': *6 - '410': *322 + '410': *323 '422': *15 x-github: githubCloudOnly: false @@ -76923,15 +77200,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *311 - *312 - - *491 + - *313 + - *492 responses: '204': description: Response - '301': *325 + '301': *326 '404': *6 - '410': *322 + '410': *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76950,9 +77227,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *311 - *312 - - *491 + - *313 + - *492 - name: name in: path required: true @@ -76965,7 +77242,7 @@ paths: application/json: schema: type: array - items: *493 + items: *494 examples: default: value: @@ -76976,9 +77253,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *325 + '301': *326 '404': *6 - '410': *322 + '410': *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76998,9 +77275,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *311 - *312 - - *491 + - *313 + - *492 requestBody: required: false content: @@ -77029,7 +77306,7 @@ paths: '204': description: Response '403': *27 - '410': *322 + '410': *323 '404': *6 '422': *15 x-github: @@ -77047,9 +77324,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *311 - *312 - - *491 + - *313 + - *492 responses: '204': description: Response @@ -77071,9 +77348,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *311 - *312 - - *491 + - *313 + - *492 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to an issue. @@ -77099,13 +77376,13 @@ paths: application/json: schema: type: array - items: *300 + items: *301 examples: - default: *302 + default: *303 headers: Link: *37 '404': *6 - '410': *322 + '410': *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77123,9 +77400,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *311 - *312 - - *491 + - *313 + - *492 requestBody: required: true content: @@ -77157,16 +77434,16 @@ paths: description: Response content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '201': description: Response content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '422': *15 x-github: githubCloudOnly: false @@ -77188,10 +77465,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *311 - *312 - - *491 - - *303 + - *313 + - *492 + - *304 responses: '204': description: Response @@ -77220,9 +77497,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *311 - *312 - - *491 + - *313 + - *492 requestBody: required: true content: @@ -77244,9 +77521,9 @@ paths: description: Response content: application/json: - schema: *112 + schema: *116 examples: - default: *490 + default: *491 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -77279,9 +77556,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *311 - *312 - - *491 + - *313 + - *492 - *17 - *18 responses: @@ -77291,13 +77568,13 @@ paths: application/json: schema: type: array - items: *112 + items: *116 examples: - default: *495 + default: *496 headers: Link: *37 '404': *6 - '410': *322 + '410': *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77325,9 +77602,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *311 - *312 - - *491 + - *313 + - *492 requestBody: required: true content: @@ -77353,16 +77630,16 @@ paths: description: Response content: application/json: - schema: *112 + schema: *116 examples: - default: *490 + default: *491 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *27 - '410': *322 + '410': *323 '422': *15 '404': *6 x-github: @@ -77382,9 +77659,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *311 - *312 - - *491 + - *313 + - *492 requestBody: required: true content: @@ -77415,13 +77692,13 @@ paths: description: Response content: application/json: - schema: *112 + schema: *116 examples: - default: *490 + default: *491 '403': *27 '404': *6 '422': *7 - '503': *92 + '503': *96 x-github: triggersNotification: true githubCloudOnly: false @@ -77439,9 +77716,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *311 - *312 - - *491 + - *313 + - *492 - *17 - *18 responses: @@ -77456,7 +77733,6 @@ paths: description: Timeline Event type: object anyOf: - - *496 - *497 - *498 - *499 @@ -77469,6 +77745,7 @@ paths: - *506 - *507 - *508 + - *509 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -77516,12 +77793,12 @@ paths: issue_url: type: string format: uri - author_association: *99 + author_association: *103 performed_via_github_app: anyOf: - type: 'null' - *5 - reactions: *100 + reactions: *104 required: - event - actor @@ -77552,7 +77829,7 @@ paths: properties: type: type: string - issue: *112 + issue: *116 required: - event - created_at @@ -77768,7 +78045,7 @@ paths: type: string body_text: type: string - author_association: *99 + author_association: *103 required: - event - id @@ -77791,7 +78068,7 @@ paths: type: string comments: type: array - items: &528 + items: &529 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -77896,7 +78173,7 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *99 + author_association: *103 _links: type: object properties: @@ -77991,7 +78268,7 @@ paths: enum: - line - file - reactions: *100 + reactions: *104 body_html: type: string examples: @@ -78029,7 +78306,7 @@ paths: type: string comments: type: array - items: *423 + items: *424 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -78304,7 +78581,7 @@ paths: headers: Link: *37 '404': *6 - '410': *322 + '410': *323 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78321,8 +78598,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -78332,7 +78609,7 @@ paths: application/json: schema: type: array - items: &509 + items: &510 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -78399,8 +78676,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -78436,9 +78713,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *510 examples: - default: &510 + default: &511 value: id: 1 key: ssh-rsa AAA... @@ -78472,9 +78749,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *311 - *312 - - &511 + - *313 + - &512 name: key_id description: The unique identifier of the key. in: path @@ -78486,9 +78763,9 @@ paths: description: Response content: application/json: - schema: *509 + schema: *510 examples: - default: *510 + default: *511 '404': *6 x-github: githubCloudOnly: false @@ -78506,9 +78783,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *311 - *312 - - *511 + - *313 + - *512 responses: '204': description: Response @@ -78528,8 +78805,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -78539,9 +78816,9 @@ paths: application/json: schema: type: array - items: *493 + items: *494 examples: - default: *494 + default: *495 headers: Link: *37 '404': *6 @@ -78562,8 +78839,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -78599,9 +78876,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *494 examples: - default: &512 + default: &513 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -78633,8 +78910,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *311 - *312 + - *313 - name: name in: path required: true @@ -78645,9 +78922,9 @@ paths: description: Response content: application/json: - schema: *493 + schema: *494 examples: - default: *512 + default: *513 '404': *6 x-github: githubCloudOnly: false @@ -78664,8 +78941,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *311 - *312 + - *313 - name: name in: path required: true @@ -78704,7 +78981,7 @@ paths: description: Response content: application/json: - schema: *493 + schema: *494 examples: default: value: @@ -78730,8 +79007,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *311 - *312 + - *313 - name: name in: path required: true @@ -78757,8 +79034,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -78794,10 +79071,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *311 - *312 + - *313 responses: - '202': *140 + '202': *144 '403': description: |- We will return a 403 with one of the following messages: @@ -78823,8 +79100,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *311 - *312 + - *313 responses: '204': description: Response @@ -78850,9 +79127,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *311 - *312 - - *400 + - *313 + - *401 responses: '200': description: Response @@ -78918,7 +79195,7 @@ paths: license: anyOf: - type: 'null' - - *113 + - *117 required: - _links - git_url @@ -78999,8 +79276,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -79065,8 +79342,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -79100,9 +79377,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *424 + schema: *425 examples: - default: *513 + default: *514 '204': description: Response when already merged '404': @@ -79127,8 +79404,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *311 - *312 + - *313 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -79169,7 +79446,7 @@ paths: application/json: schema: type: array - items: *428 + items: *429 examples: default: value: @@ -79225,8 +79502,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -79266,9 +79543,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *429 examples: - default: &514 + default: &515 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -79327,9 +79604,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *311 - *312 - - &515 + - *313 + - &516 name: milestone_number description: The number that identifies the milestone. in: path @@ -79341,9 +79618,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *429 examples: - default: *514 + default: *515 '404': *6 x-github: githubCloudOnly: false @@ -79360,9 +79637,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *311 - *312 - - *515 + - *313 + - *516 requestBody: required: false content: @@ -79400,9 +79677,9 @@ paths: description: Response content: application/json: - schema: *428 + schema: *429 examples: - default: *514 + default: *515 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79418,9 +79695,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *311 - *312 - - *515 + - *313 + - *516 responses: '204': description: Response @@ -79441,9 +79718,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *311 - *312 - - *515 + - *313 + - *516 - *17 - *18 responses: @@ -79453,9 +79730,9 @@ paths: application/json: schema: type: array - items: *493 + items: *494 examples: - default: *494 + default: *495 headers: Link: *37 x-github: @@ -79474,12 +79751,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *311 - *312 - - *516 + - *313 - *517 - - *102 - *518 + - *106 + - *519 - *17 - *18 responses: @@ -79489,9 +79766,9 @@ paths: application/json: schema: type: array - items: *124 + items: *128 examples: - default: *519 + default: *520 headers: Link: *37 x-github: @@ -79515,8 +79792,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *311 - *312 + - *313 requestBody: required: false content: @@ -79574,14 +79851,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *311 - *312 + - *313 responses: '200': description: Response content: application/json: - schema: &520 + schema: &521 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -79725,7 +80002,7 @@ paths: - custom_404 - public examples: - default: &521 + default: &522 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -79766,8 +80043,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -79822,11 +80099,11 @@ paths: description: Response content: application/json: - schema: *520 + schema: *521 examples: - default: *521 + default: *522 '422': *15 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79847,8 +80124,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -79935,7 +80212,7 @@ paths: description: Response '422': *15 '400': *14 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79956,14 +80233,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *311 - *312 + - *313 responses: '204': description: Response '422': *15 '404': *6 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -79983,8 +80260,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -79994,7 +80271,7 @@ paths: application/json: schema: type: array - items: &522 + items: &523 title: Page Build description: Page Build type: object @@ -80086,8 +80363,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *311 - *312 + - *313 responses: '201': description: Response @@ -80134,16 +80411,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *311 - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *522 + schema: *523 examples: - default: &523 + default: &524 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -80191,8 +80468,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *311 - *312 + - *313 - name: build_id in: path required: true @@ -80203,9 +80480,9 @@ paths: description: Response content: application/json: - schema: *522 + schema: *523 examples: - default: *523 + default: *524 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80225,8 +80502,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -80335,9 +80612,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *311 - *312 - - &524 + - *313 + - &525 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -80395,11 +80672,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *311 - *312 - - *524 + - *313 + - *525 responses: - '204': *183 + '204': *185 '404': *6 x-github: githubCloudOnly: false @@ -80424,8 +80701,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -80693,7 +80970,7 @@ paths: description: Empty response content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -80720,8 +80997,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-private-vulnerability-reporting-is-enabled-for-a-repository parameters: - - *311 - *312 + - *313 responses: '200': description: Private vulnerability reporting status @@ -80758,10 +81035,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *311 - *312 + - *313 responses: - '204': *183 + '204': *185 '422': *14 x-github: githubCloudOnly: false @@ -80780,10 +81057,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *311 - *312 + - *313 responses: - '204': *183 + '204': *185 '422': *14 x-github: githubCloudOnly: false @@ -80804,8 +81081,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *311 - *312 + - *313 - name: state description: Indicates the state of the projects to return. in: query @@ -80826,7 +81103,7 @@ paths: application/json: schema: type: array - items: *257 + items: *262 examples: default: value: @@ -80866,7 +81143,7 @@ paths: '401': *23 '403': *27 '404': *6 - '410': *322 + '410': *323 '422': *7 x-github: githubCloudOnly: false @@ -80886,8 +81163,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -80913,13 +81190,13 @@ paths: description: Response content: application/json: - schema: *257 + schema: *262 examples: - default: *321 + default: *322 '401': *23 '403': *27 '404': *6 - '410': *322 + '410': *323 '422': *7 x-github: githubCloudOnly: false @@ -80939,8 +81216,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -80948,7 +81225,7 @@ paths: application/json: schema: type: array - items: *262 + items: *263 examples: default: value: @@ -80979,8 +81256,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/custom-properties#create-or-update-custom-property-values-for-a-repository parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -80992,7 +81269,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *262 + items: *263 required: - properties examples: @@ -81042,8 +81319,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *311 - *312 + - *313 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -81103,9 +81380,9 @@ paths: application/json: schema: type: array - items: *525 + items: *526 examples: - default: *526 + default: *527 headers: Link: *37 '304': *35 @@ -81137,8 +81414,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -81205,7 +81482,7 @@ paths: description: Response content: application/json: - schema: &530 + schema: &531 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -81334,7 +81611,7 @@ paths: milestone: anyOf: - type: 'null' - - *428 + - *429 active_lock_reason: type: - string @@ -81389,7 +81666,7 @@ paths: type: - array - 'null' - items: *242 + items: *247 head: type: object properties: @@ -81427,14 +81704,14 @@ paths: _links: type: object properties: - comments: *429 - commits: *429 - statuses: *429 - html: *429 - issue: *429 - review_comments: *429 - review_comment: *429 - self: *429 + comments: *430 + commits: *430 + statuses: *430 + html: *430 + issue: *430 + review_comments: *430 + review_comment: *430 + self: *430 required: - comments - commits @@ -81444,8 +81721,8 @@ paths: - review_comments - review_comment - self - author_association: *99 - auto_merge: *527 + author_association: *103 + auto_merge: *528 draft: description: Indicates whether or not the pull request is a draft. type: boolean @@ -81547,7 +81824,7 @@ paths: - merged_by - review_comments examples: - default: &531 + default: &532 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -82074,8 +82351,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *311 - *312 + - *313 - name: sort in: query required: false @@ -82094,7 +82371,7 @@ paths: enum: - asc - desc - - *102 + - *106 - *17 - *18 responses: @@ -82104,9 +82381,9 @@ paths: application/json: schema: type: array - items: *528 + items: *529 examples: - default: &533 + default: &534 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -82183,17 +82460,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *311 - *312 - - *111 + - *313 + - *115 responses: '200': description: Response content: application/json: - schema: *528 + schema: *529 examples: - default: &529 + default: &530 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -82268,9 +82545,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *311 - *312 - - *111 + - *313 + - *115 requestBody: required: true content: @@ -82292,9 +82569,9 @@ paths: description: Response content: application/json: - schema: *528 + schema: *529 examples: - default: *529 + default: *530 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82310,9 +82587,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *311 - *312 - - *111 + - *313 + - *115 responses: '204': description: Response @@ -82333,9 +82610,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *311 - *312 - - *111 + - *313 + - *115 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a pull request review comment. @@ -82361,9 +82638,9 @@ paths: application/json: schema: type: array - items: *300 + items: *301 examples: - default: *302 + default: *303 headers: Link: *37 '404': *6 @@ -82384,9 +82661,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *311 - *312 - - *111 + - *313 + - *115 requestBody: required: true content: @@ -82418,16 +82695,16 @@ paths: description: Reaction exists content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '201': description: Reaction created content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '422': *15 x-github: githubCloudOnly: false @@ -82449,10 +82726,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *311 - *312 - - *111 - - *303 + - *313 + - *115 + - *304 responses: '204': description: Response @@ -82495,9 +82772,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *311 - *312 - - &532 + - *313 + - &533 name: pull_number description: The number that identifies the pull request. in: path @@ -82510,9 +82787,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *530 + schema: *531 examples: - default: *531 + default: *532 '304': *35 '404': *6 '406': @@ -82521,7 +82798,7 @@ paths: application/json: schema: *3 '500': *80 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82547,9 +82824,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *311 - *312 - - *532 + - *313 + - *533 requestBody: required: false content: @@ -82591,9 +82868,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *531 examples: - default: *531 + default: *532 '422': *15 '403': *27 x-github: @@ -82615,9 +82892,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *311 - *312 - - *532 + - *313 + - *533 requestBody: required: true content: @@ -82678,21 +82955,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *233 + schema: *238 examples: - default: *415 + default: *416 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *233 + schema: *238 examples: - default: *415 + default: *416 '401': *23 '403': *27 '404': *6 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -82718,10 +82995,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *311 - *312 - - *532 - - *121 + - *313 + - *533 + - *125 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -82731,7 +83008,7 @@ paths: enum: - asc - desc - - *102 + - *106 - *17 - *18 responses: @@ -82741,9 +83018,9 @@ paths: application/json: schema: type: array - items: *528 + items: *529 examples: - default: *533 + default: *534 headers: Link: *37 x-github: @@ -82776,9 +83053,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *311 - *312 - - *532 + - *313 + - *533 requestBody: required: true content: @@ -82884,7 +83161,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *529 examples: example-for-a-multi-line-comment: value: @@ -82972,10 +83249,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *311 - *312 - - *532 - - *111 + - *313 + - *533 + - *115 requestBody: required: true content: @@ -82997,7 +83274,7 @@ paths: description: Response content: application/json: - schema: *528 + schema: *529 examples: default: value: @@ -83083,9 +83360,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *311 - *312 - - *532 + - *313 + - *533 - *17 - *18 responses: @@ -83095,9 +83372,9 @@ paths: application/json: schema: type: array - items: *424 + items: *425 examples: - default: *534 + default: *535 headers: Link: *37 x-github: @@ -83127,9 +83404,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *311 - *312 - - *532 + - *313 + - *533 - *17 - *18 responses: @@ -83139,7 +83416,7 @@ paths: application/json: schema: type: array - items: *436 + items: *437 examples: default: value: @@ -83158,7 +83435,7 @@ paths: Link: *37 '422': *15 '500': *80 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -83177,9 +83454,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *311 - *312 - - *532 + - *313 + - *533 responses: '204': description: Response if pull request has been merged @@ -83202,9 +83479,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *311 - *312 - - *532 + - *313 + - *533 requestBody: required: false content: @@ -83316,9 +83593,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *311 - *312 - - *532 + - *313 + - *533 responses: '200': description: Response @@ -83334,7 +83611,7 @@ paths: items: *4 teams: type: array - items: *229 + items: *234 required: - users - teams @@ -83393,9 +83670,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *311 - *312 - - *532 + - *313 + - *533 requestBody: required: false content: @@ -83432,7 +83709,7 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: default: value: @@ -83968,9 +84245,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *311 - *312 - - *532 + - *313 + - *533 requestBody: required: true content: @@ -84004,7 +84281,7 @@ paths: description: Response content: application/json: - schema: *525 + schema: *526 examples: default: value: @@ -84509,9 +84786,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *311 - *312 - - *532 + - *313 + - *533 - *17 - *18 responses: @@ -84521,7 +84798,7 @@ paths: application/json: schema: type: array - items: &535 + items: &536 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -84595,7 +84872,7 @@ paths: type: string body_text: type: string - author_association: *99 + author_association: *103 required: - id - node_id @@ -84677,9 +84954,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *311 - *312 - - *532 + - *313 + - *533 requestBody: required: false content: @@ -84769,9 +85046,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *536 examples: - default: &537 + default: &538 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -84834,10 +85111,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *311 - *312 - - *532 - - &536 + - *313 + - *533 + - &537 name: review_id description: The unique identifier of the review. in: path @@ -84849,9 +85126,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *536 examples: - default: &538 + default: &539 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -84910,10 +85187,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *311 - *312 - - *532 - - *536 + - *313 + - *533 + - *537 requestBody: required: true content: @@ -84936,7 +85213,7 @@ paths: description: Response content: application/json: - schema: *535 + schema: *536 examples: default: value: @@ -84998,18 +85275,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *311 - *312 - - *532 - - *536 + - *313 + - *533 + - *537 responses: '200': description: Response content: application/json: - schema: *535 + schema: *536 examples: - default: *537 + default: *538 '422': *7 '404': *6 x-github: @@ -85036,10 +85313,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *311 - *312 - - *532 - - *536 + - *313 + - *533 + - *537 - *17 - *18 responses: @@ -85133,13 +85410,13 @@ paths: format: uri examples: - https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *99 + author_association: *103 _links: type: object properties: - self: *429 - html: *429 - pull_request: *429 + self: *430 + html: *430 + pull_request: *430 required: - self - html @@ -85148,7 +85425,7 @@ paths: type: string body_html: type: string - reactions: *100 + reactions: *104 side: description: The side of the first line of the range for a multi-line comment. @@ -85290,10 +85567,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *311 - *312 - - *532 - - *536 + - *313 + - *533 + - *537 requestBody: required: true content: @@ -85322,7 +85599,7 @@ paths: description: Response content: application/json: - schema: *535 + schema: *536 examples: default: value: @@ -85385,10 +85662,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *311 - *312 - - *532 - - *536 + - *313 + - *533 + - *537 requestBody: required: true content: @@ -85423,9 +85700,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *536 examples: - default: *538 + default: *539 '404': *6 '422': *7 '403': *27 @@ -85447,9 +85724,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *311 - *312 - - *532 + - *313 + - *533 requestBody: required: false content: @@ -85513,8 +85790,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *311 - *312 + - *313 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -85527,9 +85804,9 @@ paths: description: Response content: application/json: - schema: *539 + schema: *540 examples: - default: &540 + default: &541 value: type: file encoding: base64 @@ -85571,8 +85848,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *311 - *312 + - *313 - name: dir description: The alternate path to look for a README file in: path @@ -85592,9 +85869,9 @@ paths: description: Response content: application/json: - schema: *539 + schema: *540 examples: - default: *540 + default: *541 '404': *6 '422': *15 x-github: @@ -85616,8 +85893,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -85627,7 +85904,7 @@ paths: application/json: schema: type: array - items: &541 + items: &542 title: Release description: A release. type: object @@ -85699,7 +85976,7 @@ paths: author: *4 assets: type: array - items: &542 + items: &543 title: Release Asset description: Data related to a release. type: object @@ -85769,7 +86046,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *100 + reactions: *104 required: - assets_url - upload_url @@ -85879,8 +86156,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -85956,9 +86233,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *542 examples: - default: &545 + default: &546 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -86061,9 +86338,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *311 - *312 - - &543 + - *313 + - &544 name: asset_id description: The unique identifier of the asset. in: path @@ -86075,9 +86352,9 @@ paths: description: Response content: application/json: - schema: *542 + schema: *543 examples: - default: &544 + default: &545 value: url: https://api.github.com/repos/octocat/Hello-World/releases/assets/1 browser_download_url: https://github.com/octocat/Hello-World/releases/download/v1.0.0/example.zip @@ -86111,7 +86388,7 @@ paths: type: User site_admin: false '404': *6 - '302': *438 + '302': *439 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86127,9 +86404,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *311 - *312 - - *543 + - *313 + - *544 requestBody: required: false content: @@ -86158,9 +86435,9 @@ paths: description: Response content: application/json: - schema: *542 + schema: *543 examples: - default: *544 + default: *545 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86176,9 +86453,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *311 - *312 - - *543 + - *313 + - *544 responses: '204': description: Response @@ -86202,8 +86479,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -86289,16 +86566,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *311 - *312 + - *313 responses: '200': description: Response content: application/json: - schema: *541 + schema: *542 examples: - default: *545 + default: *546 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86315,8 +86592,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *311 - *312 + - *313 - name: tag description: tag parameter in: path @@ -86329,9 +86606,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *542 examples: - default: *545 + default: *546 '404': *6 x-github: githubCloudOnly: false @@ -86353,9 +86630,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *311 - *312 - - &546 + - *313 + - &547 name: release_id description: The unique identifier of the release. in: path @@ -86369,9 +86646,9 @@ paths: For more information, see "[Getting started with the REST API](https://docs.github.com/enterprise-cloud@latest//rest/using-the-rest-api/getting-started-with-the-rest-api#hypermedia)."' content: application/json: - schema: *541 + schema: *542 examples: - default: *545 + default: *546 '401': description: Unauthorized x-github: @@ -86389,9 +86666,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *311 - *312 - - *546 + - *313 + - *547 requestBody: required: false content: @@ -86455,9 +86732,9 @@ paths: description: Response content: application/json: - schema: *541 + schema: *542 examples: - default: *545 + default: *546 '404': description: Not Found if the discussion category name is invalid content: @@ -86478,9 +86755,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *311 - *312 - - *546 + - *313 + - *547 responses: '204': description: Response @@ -86500,9 +86777,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *311 - *312 - - *546 + - *313 + - *547 - *17 - *18 responses: @@ -86512,7 +86789,7 @@ paths: application/json: schema: type: array - items: *542 + items: *543 examples: default: value: @@ -86593,9 +86870,9 @@ paths: description: The URL origin (protocol + host name + port) is included in `upload_url` returned in the response of the "Create a release" endpoint parameters: - - *311 - *312 - - *546 + - *313 + - *547 - name: name in: query required: true @@ -86621,7 +86898,7 @@ paths: description: Response for successful upload content: application/json: - schema: *542 + schema: *543 examples: response-for-successful-upload: value: @@ -86675,9 +86952,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *311 - *312 - - *546 + - *313 + - *547 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a release. @@ -86701,9 +86978,9 @@ paths: application/json: schema: type: array - items: *300 + items: *301 examples: - default: *302 + default: *303 headers: Link: *37 '404': *6 @@ -86724,9 +87001,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *311 - *312 - - *546 + - *313 + - *547 requestBody: required: true content: @@ -86756,16 +87033,16 @@ paths: description: Reaction exists content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '201': description: Reaction created content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 '422': *15 x-github: githubCloudOnly: false @@ -86787,10 +87064,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *311 - *312 - - *546 - - *303 + - *313 + - *547 + - *304 responses: '204': description: Response @@ -86814,9 +87091,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *311 - *312 - - *370 + - *313 + - *371 - *17 - *18 responses: @@ -86832,8 +87109,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *547 - - &549 + - *548 + - &550 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -86853,53 +87130,53 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *548 - *549 - - allOf: - *550 - - *549 - allOf: - *551 - - *549 + - *550 - allOf: - *552 - - *549 + - *550 - allOf: - *553 - - *549 + - *550 - allOf: - *554 - - *549 + - *550 - allOf: - *555 - - *549 + - *550 - allOf: - *556 - - *549 + - *550 - allOf: - *557 - - *549 + - *550 - allOf: - *558 - - *549 + - *550 - allOf: - *559 - - *549 + - *550 - allOf: - *560 - - *549 + - *550 - allOf: - *561 - - *549 + - *550 - allOf: - *562 - - *549 + - *550 - allOf: - *563 - - *549 + - *550 - allOf: - *564 - - *549 + - *550 + - allOf: + - *565 + - *550 examples: default: value: @@ -86938,8 +87215,8 @@ paths: category: repos subcategory: rules parameters: - - *311 - *312 + - *313 - *17 - *18 - name: includes_parents @@ -86950,7 +87227,7 @@ paths: schema: type: boolean default: true - - *565 + - *566 responses: '200': description: Response @@ -86958,7 +87235,7 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: default: value: @@ -87005,8 +87282,8 @@ paths: category: repos subcategory: rules parameters: - - *311 - *312 + - *313 requestBody: description: Request body required: true @@ -87026,16 +87303,16 @@ paths: - tag - push default: branch - enforcement: *268 + enforcement: *269 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *266 + items: *270 + conditions: *267 rules: type: array description: An array of rules within the ruleset. - items: *271 + items: *272 required: - name - enforcement @@ -87066,9 +87343,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: - default: &575 + default: &576 value: id: 42 name: super cool ruleset @@ -87115,12 +87392,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *311 - *312 - - *566 + - *313 - *567 - *568 - *569 + - *570 - *17 - *18 responses: @@ -87128,9 +87405,9 @@ paths: description: Response content: application/json: - schema: *570 + schema: *571 examples: - default: *571 + default: *572 '404': *6 '500': *80 x-github: @@ -87151,17 +87428,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *311 - *312 - - *572 + - *313 + - *573 responses: '200': description: Response content: application/json: - schema: *573 + schema: *574 examples: - default: *574 + default: *575 '404': *6 '500': *80 x-github: @@ -87189,8 +87466,8 @@ paths: category: repos subcategory: rules parameters: - - *311 - *312 + - *313 - name: ruleset_id description: The ID of the ruleset. in: path @@ -87210,9 +87487,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: - default: *575 + default: *576 '404': *6 '500': *80 put: @@ -87230,8 +87507,8 @@ paths: category: repos subcategory: rules parameters: - - *311 - *312 + - *313 - name: ruleset_id description: The ID of the ruleset. in: path @@ -87256,16 +87533,16 @@ paths: - branch - tag - push - enforcement: *268 + enforcement: *269 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *269 - conditions: *266 + items: *270 + conditions: *267 rules: description: An array of rules within the ruleset. type: array - items: *271 + items: *272 examples: default: value: @@ -87293,9 +87570,9 @@ paths: description: Response content: application/json: - schema: *272 + schema: *273 examples: - default: *575 + default: *576 '404': *6 '500': *80 delete: @@ -87313,8 +87590,8 @@ paths: category: repos subcategory: rules parameters: - - *311 - *312 + - *313 - name: ruleset_id description: The ID of the ruleset. in: path @@ -87342,20 +87619,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *311 - *312 - - *274 + - *313 - *275 - *276 - *277 + - *278 - *76 - *18 - *17 - - *576 - *577 - - *278 + - *578 - *279 - *280 + - *281 responses: '200': description: Response @@ -87363,7 +87640,7 @@ paths: application/json: schema: type: array - items: &580 + items: &581 type: object properties: number: *81 @@ -87379,8 +87656,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *578 - resolution: *579 + state: *579 + resolution: *580 resolved_at: type: - string @@ -87563,7 +87840,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87585,15 +87862,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *311 - *312 - - *398 + - *313 + - *399 responses: '200': description: Response content: application/json: - schema: *580 + schema: *581 examples: default: value: @@ -87623,7 +87900,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87644,9 +87921,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *311 - *312 - - *398 + - *313 + - *399 requestBody: required: true content: @@ -87654,8 +87931,8 @@ paths: schema: type: object properties: - state: *578 - resolution: *579 + state: *579 + resolution: *580 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -87674,7 +87951,7 @@ paths: description: Response content: application/json: - schema: *580 + schema: *581 examples: default: value: @@ -87726,7 +88003,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *92 + '503': *96 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -87748,9 +88025,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *311 - *312 - - *398 + - *313 + - *399 - *18 - *17 responses: @@ -87761,7 +88038,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &736 + items: &737 type: object properties: type: @@ -88118,7 +88395,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -88140,8 +88417,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -88149,14 +88426,14 @@ paths: schema: type: object properties: - reason: &582 + reason: &583 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *581 + placeholder_id: *582 required: - reason - placeholder_id @@ -88173,7 +88450,7 @@ paths: schema: type: object properties: - reason: *582 + reason: *583 expire_at: type: - string @@ -88197,7 +88474,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *92 + '503': *96 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -88217,13 +88494,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#get-secret-scanning-scan-history-for-a-repository parameters: - - *311 - *312 + - *313 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *92 + '503': *96 '200': description: Response content: @@ -88233,7 +88510,7 @@ paths: properties: incremental_scans: type: array - items: &583 + items: &584 description: Information on a single scan performed by secret scanning on the repository type: object @@ -88243,30 +88520,33 @@ paths: description: The type of scan status: type: string - description: The state of the scan. Either "completed" or - "running" + description: The state of the scan. Either "completed", + "running", or "pending" completed_at: type: - string - 'null' format: date-time description: The time that the scan was completed. Empty - if the scan is active + if the scan is running started_at: - type: string + type: + - string + - 'null' format: date-time - description: The time that the scan was started + description: The time that the scan was started. Empty if + the scan is pending pattern_update_scans: type: array - items: *583 + items: *584 backfill_scans: type: array - items: *583 + items: *584 custom_pattern_backfill_scans: type: array items: allOf: - - *583 + - *584 - type: object properties: pattern_name: @@ -88336,8 +88616,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *311 - *312 + - *313 - *76 - name: sort description: The property to sort the results by. @@ -88381,9 +88661,9 @@ paths: application/json: schema: type: array - items: *584 + items: *585 examples: - default: *585 + default: *586 '400': *14 '404': *6 x-github: @@ -88406,8 +88686,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -88487,7 +88767,7 @@ paths: login: type: string description: The username of the user credited. - type: *283 + type: *284 required: - login - type @@ -88577,9 +88857,9 @@ paths: description: Response content: application/json: - schema: *584 + schema: *585 examples: - default: &587 + default: &588 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -88812,8 +89092,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -88926,7 +89206,7 @@ paths: description: Response content: application/json: - schema: *584 + schema: *585 examples: default: value: @@ -89073,17 +89353,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *311 - *312 - - *586 + - *313 + - *587 responses: '200': description: Response content: application/json: - schema: *584 + schema: *585 examples: - default: *587 + default: *588 '403': *27 '404': *6 x-github: @@ -89107,9 +89387,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *311 - *312 - - *586 + - *313 + - *587 requestBody: required: true content: @@ -89189,7 +89469,7 @@ paths: login: type: string description: The username of the user credited. - type: *283 + type: *284 required: - login - type @@ -89280,17 +89560,17 @@ paths: description: Response content: application/json: - schema: *584 + schema: *585 examples: - default: *587 - add_credit: *587 + default: *588 + add_credit: *588 '403': *27 '404': *6 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *137 + schema: *141 examples: invalid_state_transition: value: @@ -89321,11 +89601,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#request-a-cve-for-a-repository-security-advisory parameters: - - *311 - *312 - - *586 + - *313 + - *587 responses: - '202': *140 + '202': *144 '400': *14 '403': *27 '404': *6 @@ -89350,17 +89630,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *311 - *312 - - *586 + - *313 + - *587 responses: '202': description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *326 + default: *327 '400': *14 '422': *15 '403': *27 @@ -89386,8 +89666,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -89483,8 +89763,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *311 - *312 + - *313 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -89493,7 +89773,7 @@ paths: application/json: schema: type: array - items: &588 + items: &589 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -89505,8 +89785,8 @@ paths: - - 1302998400 - 1124 - -435 - '202': *140 - '204': *183 + '202': *144 + '204': *185 '422': description: Repository contains more than 10,000 commits x-github: @@ -89526,8 +89806,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -89577,8 +89857,8 @@ paths: - 0 total: 89 week: 1336280400 - '202': *140 - '204': *183 + '202': *144 + '204': *185 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89605,8 +89885,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -89677,8 +89957,8 @@ paths: a: 6898 d: 77 c: 10 - '202': *140 - '204': *183 + '202': *144 + '204': *185 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89700,8 +89980,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *311 - *312 + - *313 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -89855,8 +90135,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *311 - *312 + - *313 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -89866,7 +90146,7 @@ paths: application/json: schema: type: array - items: *588 + items: *589 examples: default: value: @@ -89879,7 +90159,7 @@ paths: - - 0 - 2 - 21 - '204': *183 + '204': *185 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -89899,8 +90179,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *311 - *312 + - *313 - name: sha in: path required: true @@ -89956,7 +90236,7 @@ paths: description: Response content: application/json: - schema: *589 + schema: *590 examples: default: value: @@ -90010,8 +90290,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -90023,7 +90303,7 @@ paths: type: array items: *4 examples: - default: *232 + default: *237 headers: Link: *37 x-github: @@ -90043,14 +90323,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *311 - *312 + - *313 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &590 + schema: &591 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -90123,8 +90403,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *311 - *312 + - *313 requestBody: required: false content: @@ -90150,7 +90430,7 @@ paths: description: Response content: application/json: - schema: *590 + schema: *591 examples: default: value: @@ -90177,8 +90457,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *311 - *312 + - *313 responses: '204': description: Response @@ -90198,8 +90478,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -90281,8 +90561,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -90290,7 +90570,7 @@ paths: application/json: schema: type: array - items: &591 + items: &592 title: Tag protection description: Tag protection type: object @@ -90347,8 +90627,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---create-a-tag-protection-state-for-a-repository parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -90371,7 +90651,7 @@ paths: description: Response content: application/json: - schema: *591 + schema: *592 examples: default: value: @@ -90402,8 +90682,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/tags#closing-down---delete-a-tag-protection-state-for-a-repository parameters: - - *311 - *312 + - *313 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -90440,8 +90720,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *311 - *312 + - *313 - name: ref in: path required: true @@ -90477,8 +90757,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *311 - *312 + - *313 - *17 - *18 responses: @@ -90488,9 +90768,9 @@ paths: application/json: schema: type: array - items: *229 + items: *234 examples: - default: *243 + default: *248 headers: Link: *37 '404': *6 @@ -90510,8 +90790,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *311 - *312 + - *313 - *18 - *17 responses: @@ -90519,7 +90799,7 @@ paths: description: Response content: application/json: - schema: &592 + schema: &593 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -90531,7 +90811,7 @@ paths: required: - names examples: - default: &593 + default: &594 value: names: - octocat @@ -90554,8 +90834,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -90586,9 +90866,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *593 examples: - default: *593 + default: *594 '404': *6 '422': *7 x-github: @@ -90609,9 +90889,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *311 - *312 - - &594 + - *313 + - &595 name: per description: The time frame to display results for. in: query @@ -90642,7 +90922,7 @@ paths: - 128 clones: type: array - items: &595 + items: &596 title: Traffic type: object properties: @@ -90729,8 +91009,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -90824,8 +91104,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *311 - *312 + - *313 responses: '200': description: Response @@ -90888,9 +91168,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *311 - *312 - - *594 + - *313 + - *595 responses: '200': description: Response @@ -90911,7 +91191,7 @@ paths: - 3782 views: type: array - items: *595 + items: *596 required: - uniques - count @@ -90988,8 +91268,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *311 - *312 + - *313 requestBody: required: true content: @@ -91025,7 +91305,7 @@ paths: description: Response content: application/json: - schema: *152 + schema: *156 examples: default: value: @@ -91263,8 +91543,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *311 - *312 + - *313 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -91287,8 +91567,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *311 - *312 + - *313 responses: '204': description: Response @@ -91310,8 +91590,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *311 - *312 + - *313 responses: '204': description: Response @@ -91337,8 +91617,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *311 - *312 + - *313 - name: ref in: path required: true @@ -91430,9 +91710,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *326 + default: *327 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -91473,7 +91753,7 @@ paths: application/json: schema: type: array - items: *152 + items: *156 examples: default: value: @@ -91583,7 +91863,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &603 + - &604 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -91593,7 +91873,7 @@ paths: type: string examples: - members - - &608 + - &609 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -91605,7 +91885,7 @@ paths: format: int32 examples: - 1 - - &609 + - &610 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -91649,7 +91929,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &597 + items: &598 allOf: - type: object required: @@ -91731,7 +92011,7 @@ paths: - value: 0db508eb-91e2-46e4-809c-30dcbda0c685 "$+ref": https://api.github.localhost/scim/v2/Users/0db508eb-91e2-46e4-809c-30dcbda0c685 displayName: User 2 - meta: &610 + meta: &611 type: object description: The metadata associated with the creation/updates to the user. @@ -91796,31 +92076,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &598 + '400': &599 description: Bad request content: application/json: - schema: *596 + schema: *597 application/scim+json: - schema: *596 - '401': &599 + schema: *597 + '401': &600 description: Authorization failure - '403': &600 + '403': &601 description: Permission denied - '429': &601 + '429': &602 description: Too many requests content: application/json: - schema: *596 + schema: *597 application/scim+json: - schema: *596 - '500': &602 + schema: *597 + '500': &603 description: Internal server error content: application/json: - schema: *596 + schema: *597 application/scim+json: - schema: *596 + schema: *597 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91844,7 +92124,7 @@ paths: required: true content: application/json: - schema: &606 + schema: &607 type: object required: - schemas @@ -91904,9 +92184,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *597 + schema: *598 examples: - group: &604 + group: &605 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -91925,13 +92205,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 - '400': *598 - '401': *599 - '403': *600 - '409': &607 + '400': *599 + '401': *600 + '403': *601 + '409': &608 description: Duplicate record detected - '429': *601 - '500': *602 + '429': *602 + '500': *603 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91948,7 +92228,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-group parameters: - - &605 + - &606 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -91957,22 +92237,22 @@ paths: type: string examples: - 7fce0092-d52e-4f76-b727-3955bd72c939 - - *603 + - *604 - *38 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *597 + schema: *598 examples: - default: *604 - '400': *598 - '401': *599 - '403': *600 + default: *605 + '400': *599 + '401': *600 + '403': *601 '404': *6 - '429': *601 - '500': *602 + '429': *602 + '500': *603 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -91991,13 +92271,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-group parameters: - - *605 + - *606 - *38 requestBody: required: true content: application/json: - schema: *606 + schema: *607 examples: group: summary: Group @@ -92023,17 +92303,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *597 + schema: *598 examples: - group: *604 - groupWithMembers: *604 - '400': *598 - '401': *599 - '403': *600 + group: *605 + groupWithMembers: *605 + '400': *599 + '401': *600 + '403': *601 '404': *6 - '409': *607 - '429': *601 - '500': *602 + '409': *608 + '429': *602 + '500': *603 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92057,13 +92337,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-group parameters: - - *605 + - *606 - *38 requestBody: required: true content: application/json: - schema: &617 + schema: &618 type: object required: - Operations @@ -92123,17 +92403,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *597 + schema: *598 examples: - updateGroup: *604 - addMembers: *604 - '400': *598 - '401': *599 - '403': *600 + updateGroup: *605 + addMembers: *605 + '400': *599 + '401': *600 + '403': *601 '404': *6 - '409': *607 - '429': *601 - '500': *602 + '409': *608 + '429': *602 + '500': *603 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92149,17 +92429,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-group-from-an-enterprise parameters: - - *605 + - *606 - *38 responses: '204': description: Group was deleted, no content - '400': *598 - '401': *599 - '403': *600 + '400': *599 + '401': *600 + '403': *601 '404': *6 - '429': *601 - '500': *602 + '429': *602 + '500': *603 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92193,8 +92473,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *608 - *609 + - *610 - *38 responses: '200': @@ -92228,7 +92508,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &612 + items: &613 allOf: - type: object required: @@ -92320,7 +92600,7 @@ paths: address. examples: - true - roles: &611 + roles: &612 type: array description: The roles assigned to the user. items: @@ -92379,7 +92659,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *610 + meta: *611 startIndex: type: integer description: A starting index for the returned page @@ -92418,11 +92698,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *598 - '401': *599 - '403': *600 - '429': *601 - '500': *602 + '400': *599 + '401': *600 + '403': *601 + '429': *602 + '500': *603 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92446,7 +92726,7 @@ paths: required: true content: application/json: - schema: &615 + schema: &616 type: object required: - schemas @@ -92539,9 +92819,9 @@ paths: description: Whether this email address is the primary address. examples: - true - roles: *611 + roles: *612 examples: - user: &616 + user: &617 summary: User value: schemas: @@ -92588,9 +92868,9 @@ paths: description: User has been created content: application/scim+json: - schema: *612 + schema: *613 examples: - user: &613 + user: &614 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -92616,13 +92896,13 @@ paths: created: '2012-03-27T19:59:26.000Z' lastModified: '2018-03-27T19:59:26.000Z' location: https://api.github.localhost/scim/v2/Users/7fce0092-d52e-4f76-b727-3955bd72c939 - enterpriseOwner: *613 - '400': *598 - '401': *599 - '403': *600 - '409': *607 - '429': *601 - '500': *602 + enterpriseOwner: *614 + '400': *599 + '401': *600 + '403': *601 + '409': *608 + '429': *602 + '500': *603 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92639,7 +92919,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#get-scim-provisioning-information-for-an-enterprise-user parameters: - - &614 + - &615 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -92652,15 +92932,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *612 + schema: *613 examples: - default: *613 - '400': *598 - '401': *599 - '403': *600 + default: *614 + '400': *599 + '401': *600 + '403': *601 '404': *6 - '429': *601 - '500': *602 + '429': *602 + '500': *603 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92682,30 +92962,30 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#set-scim-information-for-a-provisioned-enterprise-user parameters: - - *614 + - *615 - *38 requestBody: required: true content: application/json: - schema: *615 + schema: *616 examples: - user: *616 + user: *617 responses: '200': description: User was updated content: application/scim+json: - schema: *612 + schema: *613 examples: - user: *613 - '400': *598 - '401': *599 - '403': *600 + user: *614 + '400': *599 + '401': *600 + '403': *601 '404': *6 - '409': *607 - '429': *601 - '500': *602 + '409': *608 + '429': *602 + '500': *603 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92740,13 +93020,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#update-an-attribute-for-a-scim-enterprise-user parameters: - - *614 + - *615 - *38 requestBody: required: true content: application/json: - schema: *617 + schema: *618 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -92786,18 +93066,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *612 - examples: - userMultiValuedProperties: *613 - userSingleValuedProperties: *613 - disableUser: *613 - '400': *598 - '401': *599 - '403': *600 + schema: *613 + examples: + userMultiValuedProperties: *614 + userSingleValuedProperties: *614 + disableUser: *614 + '400': *599 + '401': *600 + '403': *601 '404': *6 - '409': *607 - '429': *601 - '500': *602 + '409': *608 + '429': *602 + '500': *603 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92817,17 +93097,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/scim#delete-a-scim-user-from-an-enterprise parameters: - - *614 + - *615 - *38 responses: '204': description: User was deleted, no content - '400': *598 - '401': *599 - '403': *600 + '400': *599 + '401': *600 + '403': *601 '404': *6 - '429': *601 - '500': *602 + '429': *602 + '500': *603 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -92860,7 +93140,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#list-scim-provisioned-identities parameters: - - *134 + - *138 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -92918,7 +93198,7 @@ paths: - 1 Resources: type: array - items: &618 + items: &619 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -93165,22 +93445,22 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/77563764-eb6-24-0598234-958243 '304': *35 - '404': &619 + '404': &620 description: Resource not found content: application/json: - schema: *596 + schema: *597 application/scim+json: - schema: *596 - '403': &620 + schema: *597 + '403': &621 description: Forbidden content: application/json: - schema: *596 + schema: *597 application/scim+json: - schema: *596 - '400': *598 - '429': *601 + schema: *597 + '400': *599 + '429': *602 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -93200,15 +93480,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *134 + - *138 responses: '201': description: Response content: application/scim+json: - schema: *618 + schema: *619 examples: - default: &621 + default: &622 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -93231,17 +93511,17 @@ paths: lastModified: '2017-03-09T16:11:13-05:00' location: https://api.github.com/scim/v2/organizations/octo-org/Users/edefdfedf-050c-11e7-8d32 '304': *35 - '404': *619 - '403': *620 - '500': *602 + '404': *620 + '403': *621 + '500': *603 '409': description: Conflict content: application/json: - schema: *596 + schema: *597 application/scim+json: - schema: *596 - '400': *598 + schema: *597 + '400': *599 requestBody: required: true content: @@ -93335,18 +93615,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#get-scim-provisioning-information-for-a-user parameters: - - *134 - - *614 + - *138 + - *615 responses: '200': description: Response content: application/scim+json: - schema: *618 + schema: *619 examples: - default: *621 - '404': *619 - '403': *620 + default: *622 + '404': *620 + '403': *621 '304': *35 x-github: githubCloudOnly: true @@ -93369,19 +93649,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *134 - - *614 + - *138 + - *615 responses: '200': description: Response content: application/scim+json: - schema: *618 + schema: *619 examples: - default: *621 + default: *622 '304': *35 - '404': *619 - '403': *620 + '404': *620 + '403': *621 requestBody: required: true content: @@ -93491,20 +93771,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-an-attribute-for-a-scim-user parameters: - - *134 - - *614 + - *138 + - *615 responses: '200': description: Response content: application/scim+json: - schema: *618 + schema: *619 examples: - default: *621 + default: *622 '304': *35 - '404': *619 - '403': *620 - '400': *598 + '404': *620 + '403': *621 + '400': *599 '429': description: Response content: @@ -93599,13 +93879,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#delete-a-scim-user-from-an-organization parameters: - - *134 - - *614 + - *138 + - *615 responses: '204': description: Response - '404': *619 - '403': *620 + '404': *620 + '403': *621 '304': *35 x-github: githubCloudOnly: true @@ -93720,7 +94000,7 @@ paths: html_url: type: string format: uri - repository: *152 + repository: *156 score: type: number file_size: @@ -93739,7 +94019,7 @@ paths: examples: - 73..77 - 77..78 - text_matches: &622 + text_matches: &623 title: Search Result Text Matches type: array items: @@ -93854,7 +94134,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *35 - '503': *92 + '503': *96 '422': *15 '403': *27 x-github: @@ -93903,7 +94183,7 @@ paths: enum: - author-date - committer-date - - &623 + - &624 name: order description: Determines whether the first search result returned is the highest number of matches (`desc`) or lowest number of matches (`asc`). This parameter @@ -93972,7 +94252,7 @@ paths: committer: anyOf: - type: 'null' - - *368 + - *369 comment_count: type: integer message: @@ -93991,7 +94271,7 @@ paths: url: type: string format: uri - verification: *473 + verification: *474 required: - author - committer @@ -94006,7 +94286,7 @@ paths: committer: anyOf: - type: 'null' - - *368 + - *369 parents: type: array items: @@ -94018,12 +94298,12 @@ paths: type: string sha: type: string - repository: *152 + repository: *156 score: type: number node_id: type: string - text_matches: *622 + text_matches: *623 required: - sha - node_id @@ -94216,7 +94496,7 @@ paths: - interactions - created - updated - - *623 + - *624 - *17 - *18 responses: @@ -94332,7 +94612,7 @@ paths: milestone: anyOf: - type: 'null' - - *428 + - *429 comments: type: integer created_at: @@ -94346,7 +94626,7 @@ paths: - string - 'null' format: date-time - text_matches: *622 + text_matches: *623 pull_request: type: object properties: @@ -94384,7 +94664,7 @@ paths: type: string score: type: number - author_association: *99 + author_association: *103 draft: type: boolean repository: *55 @@ -94399,7 +94679,7 @@ paths: anyOf: - type: 'null' - *5 - reactions: *100 + reactions: *104 required: - assignee - closed_at @@ -94515,7 +94795,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *92 + '503': *96 '422': *15 '304': *35 '403': *27 @@ -94568,7 +94848,7 @@ paths: enum: - created - updated - - *623 + - *624 - *17 - *18 responses: @@ -94613,7 +94893,7 @@ paths: - 'null' score: type: number - text_matches: *622 + text_matches: *623 required: - id - node_id @@ -94699,7 +94979,7 @@ paths: - forks - help-wanted-issues - updated - - *623 + - *624 - *17 - *18 responses: @@ -94918,7 +95198,7 @@ paths: license: anyOf: - type: 'null' - - *113 + - *117 permissions: type: object properties: @@ -94936,7 +95216,7 @@ paths: - admin - pull - push - text_matches: *622 + text_matches: *623 temp_clone_token: type: string allow_merge_commit: @@ -95139,7 +95419,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *92 + '503': *96 '422': *15 '304': *35 x-github: @@ -95245,7 +95525,7 @@ paths: - string - 'null' format: uri - text_matches: *622 + text_matches: *623 related: type: - array @@ -95440,7 +95720,7 @@ paths: - followers - repositories - joined - - *623 + - *624 - *17 - *18 responses: @@ -95550,7 +95830,7 @@ paths: type: - boolean - 'null' - text_matches: *622 + text_matches: *623 blog: type: - string @@ -95612,7 +95892,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *35 - '503': *92 + '503': *96 '422': *15 x-github: githubCloudOnly: false @@ -95632,7 +95912,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &624 + - &625 name: team_id description: The unique identifier of the team. in: path @@ -95644,9 +95924,9 @@ paths: description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 '404': *6 x-github: githubCloudOnly: false @@ -95673,7 +95953,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *624 + - *625 requestBody: required: true content: @@ -95737,16 +96017,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 '201': description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *293 + default: *294 '404': *6 '422': *15 '403': *27 @@ -95774,7 +96054,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *624 + - *625 responses: '204': description: Response @@ -95805,7 +96085,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *624 + - *625 - *76 - *17 - *18 @@ -95816,9 +96096,9 @@ paths: application/json: schema: type: array - items: *294 + items: *295 examples: - default: *625 + default: *626 headers: Link: *37 x-github: @@ -95847,7 +96127,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *624 + - *625 requestBody: required: true content: @@ -95881,9 +96161,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: *295 + default: *296 x-github: triggersNotification: true githubCloudOnly: false @@ -95910,16 +96190,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *624 - - *296 + - *625 + - *297 responses: '200': description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: *295 + default: *296 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95944,8 +96224,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *624 - - *296 + - *625 + - *297 requestBody: required: false content: @@ -95968,9 +96248,9 @@ paths: description: Response content: application/json: - schema: *294 + schema: *295 examples: - default: *626 + default: *627 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -95995,8 +96275,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *624 - - *296 + - *625 + - *297 responses: '204': description: Response @@ -96025,8 +96305,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *624 - - *296 + - *625 + - *297 - *76 - *17 - *18 @@ -96037,9 +96317,9 @@ paths: application/json: schema: type: array - items: *297 + items: *298 examples: - default: *627 + default: *628 headers: Link: *37 x-github: @@ -96068,8 +96348,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *624 - - *296 + - *625 + - *297 requestBody: required: true content: @@ -96091,9 +96371,9 @@ paths: description: Response content: application/json: - schema: *297 + schema: *298 examples: - default: *298 + default: *299 x-github: triggersNotification: true githubCloudOnly: false @@ -96120,17 +96400,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *624 - - *296 - - *299 + - *625 + - *297 + - *300 responses: '200': description: Response content: application/json: - schema: *297 + schema: *298 examples: - default: *298 + default: *299 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96155,9 +96435,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *624 - - *296 - - *299 + - *625 + - *297 + - *300 requestBody: required: true content: @@ -96179,9 +96459,9 @@ paths: description: Response content: application/json: - schema: *297 + schema: *298 examples: - default: *628 + default: *629 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96206,9 +96486,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *624 - - *296 - - *299 + - *625 + - *297 + - *300 responses: '204': description: Response @@ -96237,9 +96517,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *624 - - *296 - - *299 + - *625 + - *297 + - *300 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion comment. @@ -96265,9 +96545,9 @@ paths: application/json: schema: type: array - items: *300 + items: *301 examples: - default: *302 + default: *303 headers: Link: *37 x-github: @@ -96296,9 +96576,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *624 - - *296 - - *299 + - *625 + - *297 + - *300 requestBody: required: true content: @@ -96330,9 +96610,9 @@ paths: description: Response content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -96358,8 +96638,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *624 - - *296 + - *625 + - *297 - name: content description: Returns a single [reaction type](https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#about-reactions). Omit this parameter to list all reactions to a team discussion. @@ -96385,9 +96665,9 @@ paths: application/json: schema: type: array - items: *300 + items: *301 examples: - default: *302 + default: *303 headers: Link: *37 x-github: @@ -96416,8 +96696,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *624 - - *296 + - *625 + - *297 requestBody: required: true content: @@ -96449,9 +96729,9 @@ paths: description: Response content: application/json: - schema: *300 + schema: *301 examples: - default: *301 + default: *302 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96475,7 +96755,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *624 + - *625 - *17 - *18 responses: @@ -96485,9 +96765,9 @@ paths: application/json: schema: type: array - items: *226 + items: *231 examples: - default: *227 + default: *232 headers: Link: *37 x-github: @@ -96513,7 +96793,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *624 + - *625 - name: role description: Filters members returned by their role in the team. in: query @@ -96536,7 +96816,7 @@ paths: type: array items: *4 examples: - default: *232 + default: *237 headers: Link: *37 '404': *6 @@ -96564,8 +96844,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *624 - - *174 + - *625 + - *178 responses: '204': description: if user is a member @@ -96601,8 +96881,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *624 - - *174 + - *625 + - *178 responses: '204': description: Response @@ -96641,8 +96921,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *624 - - *174 + - *625 + - *178 responses: '204': description: Response @@ -96678,16 +96958,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *624 - - *174 + - *625 + - *178 responses: '200': description: Response content: application/json: - schema: *308 + schema: *309 examples: - response-if-user-is-a-team-maintainer: *629 + response-if-user-is-a-team-maintainer: *630 '404': *6 x-github: githubCloudOnly: false @@ -96720,8 +97000,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *624 - - *174 + - *625 + - *178 requestBody: required: false content: @@ -96746,9 +97026,9 @@ paths: description: Response content: application/json: - schema: *308 + schema: *309 examples: - response-if-users-membership-with-team-is-now-pending: *630 + response-if-users-membership-with-team-is-now-pending: *631 '403': description: Forbidden if team synchronization is set up '422': @@ -96782,8 +97062,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *624 - - *174 + - *625 + - *178 responses: '204': description: Response @@ -96812,7 +97092,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *624 + - *625 - *17 - *18 responses: @@ -96822,9 +97102,9 @@ paths: application/json: schema: type: array - items: *309 + items: *310 examples: - default: *631 + default: *632 headers: Link: *37 '404': *6 @@ -96851,16 +97131,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *624 - - *310 + - *625 + - *311 responses: '200': description: Response content: application/json: - schema: *309 + schema: *310 examples: - default: *632 + default: *633 '404': description: Not Found if project is not managed by this team x-github: @@ -96885,8 +97165,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *624 - - *310 + - *625 + - *311 requestBody: required: false content: @@ -96954,8 +97234,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *624 - - *310 + - *625 + - *311 responses: '204': description: Response @@ -96982,7 +97262,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *624 + - *625 - *17 - *18 responses: @@ -96992,9 +97272,9 @@ paths: application/json: schema: type: array - items: *152 + items: *156 examples: - default: *250 + default: *255 headers: Link: *37 '404': *6 @@ -97024,15 +97304,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *624 - - *311 + - *625 - *312 + - *313 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *633 + schema: *634 examples: alternative-response-with-extra-repository-information: value: @@ -97183,9 +97463,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *624 - - *311 + - *625 - *312 + - *313 requestBody: required: false content: @@ -97235,9 +97515,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *624 - - *311 + - *625 - *312 + - *313 responses: '204': description: Response @@ -97266,15 +97546,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#list-idp-groups-for-a-team-legacy parameters: - - *624 + - *625 responses: '200': description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 '403': *27 '404': *6 x-github: @@ -97301,7 +97581,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/team-sync#create-or-update-idp-group-connections-legacy parameters: - - *624 + - *625 requestBody: required: true content: @@ -97362,7 +97642,7 @@ paths: description: Response content: application/json: - schema: *313 + schema: *314 examples: default: value: @@ -97393,7 +97673,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *624 + - *625 - *17 - *18 responses: @@ -97403,9 +97683,9 @@ paths: application/json: schema: type: array - items: *229 + items: *234 examples: - response-if-child-teams-exist: *634 + response-if-child-teams-exist: *635 headers: Link: *37 '404': *6 @@ -97438,7 +97718,7 @@ paths: application/json: schema: oneOf: - - &636 + - &637 title: Private User description: Private User type: object @@ -97688,7 +97968,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *635 + - *636 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -97848,7 +98128,7 @@ paths: description: Response content: application/json: - schema: *636 + schema: *637 examples: default: value: @@ -97927,7 +98207,7 @@ paths: type: array items: *4 examples: - default: *232 + default: *237 '304': *35 '404': *6 '403': *27 @@ -97950,7 +98230,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#check-if-a-user-is-blocked-by-the-authenticated-user parameters: - - *174 + - *178 responses: '204': description: If the user is blocked @@ -97978,7 +98258,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *174 + - *178 responses: '204': description: Response @@ -98002,7 +98282,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *174 + - *178 responses: '204': description: Response @@ -98051,9 +98331,9 @@ paths: type: integer codespaces: type: array - items: *233 + items: *238 examples: - default: *234 + default: *239 '304': *35 '500': *80 '401': *23 @@ -98192,21 +98472,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *233 + schema: *238 examples: - default: *415 + default: *416 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *233 + schema: *238 examples: - default: *415 + default: *416 '401': *23 '403': *27 '404': *6 - '503': *92 + '503': *96 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -98246,7 +98526,7 @@ paths: type: integer secrets: type: array - items: &637 + items: &638 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -98288,7 +98568,7 @@ paths: - visibility - selected_repositories_url examples: - default: *417 + default: *418 headers: Link: *37 x-github: @@ -98360,13 +98640,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#get-a-secret-for-the-authenticated-user parameters: - - *162 + - *166 responses: '200': description: Response content: application/json: - schema: *637 + schema: *638 examples: default: value: @@ -98396,7 +98676,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#create-or-update-a-secret-for-the-authenticated-user parameters: - - *162 + - *166 requestBody: required: true content: @@ -98441,7 +98721,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -98469,7 +98749,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#delete-a-secret-for-the-authenticated-user parameters: - - *162 + - *166 responses: '204': description: Response @@ -98494,7 +98774,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#list-selected-repositories-for-a-user-secret parameters: - - *162 + - *166 responses: '200': description: Response @@ -98510,9 +98790,9 @@ paths: type: integer repositories: type: array - items: *152 + items: *156 examples: - default: *638 + default: *639 '401': *23 '403': *27 '404': *6 @@ -98537,7 +98817,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#set-selected-repositories-for-a-user-secret parameters: - - *162 + - *166 requestBody: required: true content: @@ -98591,7 +98871,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#add-a-selected-repository-to-a-user-secret parameters: - - *162 + - *166 - name: repository_id in: path required: true @@ -98624,7 +98904,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/secrets#remove-a-selected-repository-from-a-user-secret parameters: - - *162 + - *166 - name: repository_id in: path required: true @@ -98656,15 +98936,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *235 + - *240 responses: '200': description: Response content: application/json: - schema: *233 + schema: *238 examples: - default: *415 + default: *416 '304': *35 '500': *80 '401': *23 @@ -98690,7 +98970,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *235 + - *240 requestBody: required: false content: @@ -98720,9 +99000,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *238 examples: - default: *415 + default: *416 '401': *23 '403': *27 '404': *6 @@ -98744,9 +99024,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *235 + - *240 responses: - '202': *140 + '202': *144 '304': *35 '500': *80 '401': *23 @@ -98773,13 +99053,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *235 + - *240 responses: '202': description: Response content: application/json: - schema: &639 + schema: &640 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -98832,7 +99112,7 @@ paths: examples: - https://github.com/octocat/hello-world/tree/:branch examples: - default: &640 + default: &641 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -98864,7 +99144,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *235 + - *240 - name: export_id in: path required: true @@ -98877,9 +99157,9 @@ paths: description: Response content: application/json: - schema: *639 + schema: *640 examples: - default: *640 + default: *641 '404': *6 x-github: githubCloudOnly: false @@ -98900,7 +99180,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *235 + - *240 responses: '200': description: Response @@ -98916,9 +99196,9 @@ paths: type: integer machines: type: array - items: *416 + items: *417 examples: - default: *641 + default: *642 '304': *35 '500': *80 '401': *23 @@ -98947,7 +99227,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *235 + - *240 requestBody: required: true content: @@ -99003,11 +99283,11 @@ paths: - 26a7c758-7299-4a73-b978-5a92a7ae98a0 owner: *4 billable_owner: *4 - repository: *324 + repository: *325 machine: anyOf: - type: 'null' - - *416 + - *417 devcontainer_path: description: Path to devcontainer.json from repo root used to create Codespace. @@ -99804,15 +100084,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *235 + - *240 responses: '200': description: Response content: application/json: - schema: *233 + schema: *238 examples: - default: *415 + default: *416 '304': *35 '500': *80 '400': *14 @@ -99824,7 +100104,7 @@ paths: schema: *3 '403': *27 '404': *6 - '409': *139 + '409': *143 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -99844,15 +100124,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *235 + - *240 responses: '200': description: Response content: application/json: - schema: *233 + schema: *238 examples: - default: *415 + default: *416 '500': *80 '401': *23 '403': *27 @@ -99882,9 +100162,9 @@ paths: application/json: schema: type: array - items: *244 + items: *249 examples: - default: &654 + default: &655 value: - id: 197 name: hello_docker @@ -99985,7 +100265,7 @@ paths: application/json: schema: type: array - items: &642 + items: &643 title: Email description: Email type: object @@ -100055,9 +100335,9 @@ paths: application/json: schema: type: array - items: *642 + items: *643 examples: - default: &656 + default: &657 value: - email: octocat@github.com verified: true @@ -100134,7 +100414,7 @@ paths: application/json: schema: type: array - items: *642 + items: *643 examples: default: value: @@ -100246,7 +100526,7 @@ paths: type: array items: *4 examples: - default: *232 + default: *237 headers: Link: *37 '304': *35 @@ -100279,7 +100559,7 @@ paths: type: array items: *4 examples: - default: *232 + default: *237 headers: Link: *37 '304': *35 @@ -100301,7 +100581,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-person-is-followed-by-the-authenticated-user parameters: - - *174 + - *178 responses: '204': description: if the person is followed by the authenticated user @@ -100331,7 +100611,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *174 + - *178 responses: '204': description: Response @@ -100356,7 +100636,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *174 + - *178 responses: '204': description: Response @@ -100392,7 +100672,7 @@ paths: application/json: schema: type: array - items: &643 + items: &644 title: GPG Key description: A unique encryption key type: object @@ -100537,7 +100817,7 @@ paths: - subkeys - revoked examples: - default: &667 + default: &668 value: - id: 3 name: Octocat's GPG Key @@ -100622,9 +100902,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *644 examples: - default: &644 + default: &645 value: id: 3 name: Octocat's GPG Key @@ -100681,7 +100961,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &645 + - &646 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -100693,9 +100973,9 @@ paths: description: Response content: application/json: - schema: *643 + schema: *644 examples: - default: *644 + default: *645 '404': *6 '304': *35 '403': *27 @@ -100718,7 +100998,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *645 + - *646 responses: '204': description: Response @@ -100909,7 +101189,7 @@ paths: type: array items: *55 examples: - default: *646 + default: *647 headers: Link: *37 '404': *6 @@ -100934,7 +101214,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *21 - - *147 + - *151 responses: '204': description: Response @@ -100960,7 +101240,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *21 - - *147 + - *151 responses: '204': description: Response @@ -100994,12 +101274,12 @@ paths: application/json: schema: anyOf: - - *224 + - *229 - type: object properties: {} additionalProperties: false examples: - default: *225 + default: *230 '204': description: Response when there are no restrictions x-github: @@ -101023,7 +101303,7 @@ paths: required: true content: application/json: - schema: *484 + schema: *485 examples: default: value: @@ -101034,7 +101314,7 @@ paths: description: Response content: application/json: - schema: *224 + schema: *229 examples: default: value: @@ -101115,7 +101395,7 @@ paths: - closed - all default: open - - *230 + - *235 - name: sort description: What to sort results by. in: query @@ -101128,7 +101408,7 @@ paths: - comments default: created - *76 - - *102 + - *106 - *17 - *18 responses: @@ -101138,9 +101418,9 @@ paths: application/json: schema: type: array - items: *112 + items: *116 examples: - default: *231 + default: *236 headers: Link: *37 '404': *6 @@ -101173,7 +101453,7 @@ paths: application/json: schema: type: array - items: &647 + items: &648 title: Key description: Key type: object @@ -101271,9 +101551,9 @@ paths: description: Response content: application/json: - schema: *647 + schema: *648 examples: - default: &648 + default: &649 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -101306,15 +101586,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *511 + - *512 responses: '200': description: Response content: application/json: - schema: *647 + schema: *648 examples: - default: *648 + default: *649 '404': *6 '304': *35 '403': *27 @@ -101337,7 +101617,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *511 + - *512 responses: '204': description: Response @@ -101370,7 +101650,7 @@ paths: application/json: schema: type: array - items: &649 + items: &650 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -101438,7 +101718,7 @@ paths: - id - type - login - plan: *115 + plan: *119 required: - billing_cycle - next_billing_date @@ -101449,7 +101729,7 @@ paths: - account - plan examples: - default: &650 + default: &651 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -101511,9 +101791,9 @@ paths: application/json: schema: type: array - items: *649 + items: *650 examples: - default: *650 + default: *651 headers: Link: *37 '304': *35 @@ -101553,7 +101833,7 @@ paths: application/json: schema: type: array - items: *236 + items: *241 examples: default: value: @@ -101655,13 +101935,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-an-organization-membership-for-the-authenticated-user parameters: - - *134 + - *138 responses: '200': description: Response content: application/json: - schema: *236 + schema: *241 examples: default: value: @@ -101719,7 +101999,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#update-an-organization-membership-for-the-authenticated-user parameters: - - *134 + - *138 requestBody: required: true content: @@ -101744,7 +102024,7 @@ paths: description: Response content: application/json: - schema: *236 + schema: *241 examples: default: value: @@ -101812,7 +102092,7 @@ paths: application/json: schema: type: array - items: *238 + items: *243 examples: default: value: @@ -102074,7 +102354,7 @@ paths: description: Response content: application/json: - schema: *238 + schema: *243 examples: default: value: @@ -102254,7 +102534,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *239 + - *244 - name: exclude in: query required: false @@ -102267,7 +102547,7 @@ paths: description: Response content: application/json: - schema: *238 + schema: *243 examples: default: value: @@ -102461,7 +102741,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *239 + - *244 responses: '302': description: Response @@ -102487,7 +102767,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *239 + - *244 responses: '204': description: Response @@ -102516,8 +102796,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *239 - - *651 + - *244 + - *652 responses: '204': description: Response @@ -102541,7 +102821,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *239 + - *244 - *17 - *18 responses: @@ -102551,9 +102831,9 @@ paths: application/json: schema: type: array - items: *152 + items: *156 examples: - default: *250 + default: *255 headers: Link: *37 '404': *6 @@ -102590,7 +102870,7 @@ paths: type: array items: *50 examples: - default: *652 + default: *653 headers: Link: *37 '304': *35 @@ -102632,7 +102912,7 @@ paths: - docker - nuget - container - - *653 + - *654 - *18 - *17 responses: @@ -102642,10 +102922,10 @@ paths: application/json: schema: type: array - items: *244 + items: *249 examples: - default: *654 - '400': *655 + default: *655 + '400': *656 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102665,16 +102945,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *246 - - *247 + - *251 + - *252 responses: '200': description: Response content: application/json: - schema: *244 + schema: *249 examples: - default: &668 + default: &669 value: id: 40201 name: octo-name @@ -102787,8 +103067,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *246 - - *247 + - *251 + - *252 responses: '204': description: Response @@ -102818,8 +103098,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *246 - - *247 + - *251 + - *252 - name: token description: package token schema: @@ -102851,8 +103131,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user parameters: - - *246 - - *247 + - *251 + - *252 - *18 - *17 - name: state @@ -102872,7 +103152,7 @@ paths: application/json: schema: type: array - items: *248 + items: *253 examples: default: value: @@ -102921,15 +103201,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *246 - - *247 - - *249 + - *251 + - *252 + - *254 responses: '200': description: Response content: application/json: - schema: *248 + schema: *253 examples: default: value: @@ -102965,9 +103245,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *246 - - *247 - - *249 + - *251 + - *252 + - *254 responses: '204': description: Response @@ -102997,9 +103277,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *246 - - *247 - - *249 + - *251 + - *252 + - *254 responses: '204': description: Response @@ -103057,7 +103337,7 @@ paths: description: Response content: application/json: - schema: *257 + schema: *262 examples: default: value: @@ -103126,9 +103406,9 @@ paths: application/json: schema: type: array - items: *642 + items: *643 examples: - default: *656 + default: *657 headers: Link: *37 '304': *35 @@ -103241,7 +103521,7 @@ paths: type: array items: *55 examples: - default: &663 + default: &664 summary: Default response value: - id: 1296269 @@ -103557,9 +103837,9 @@ paths: description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *326 + default: *327 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -103597,9 +103877,9 @@ paths: application/json: schema: type: array - items: *486 + items: *487 examples: - default: *657 + default: *658 headers: Link: *37 '304': *35 @@ -103622,12 +103902,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *228 + - *233 responses: '204': description: Response '403': *27 - '409': *139 + '409': *143 '404': *6 '304': *35 x-github: @@ -103645,11 +103925,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *228 + - *233 responses: '204': description: Response - '409': *139 + '409': *143 '304': *35 '404': *6 '403': *27 @@ -103678,7 +103958,7 @@ paths: application/json: schema: type: array - items: &658 + items: &659 title: Social account description: Social media account type: object @@ -103695,7 +103975,7 @@ paths: - provider - url examples: - default: &659 + default: &660 value: - provider: twitter url: https://twitter.com/github @@ -103758,9 +104038,9 @@ paths: application/json: schema: type: array - items: *658 + items: *659 examples: - default: *659 + default: *660 '422': *15 '304': *35 '404': *6 @@ -103848,7 +104128,7 @@ paths: application/json: schema: type: array - items: &660 + items: &661 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -103868,7 +104148,7 @@ paths: - title - created_at examples: - default: &669 + default: &670 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103935,9 +104215,9 @@ paths: description: Response content: application/json: - schema: *660 + schema: *661 examples: - default: &661 + default: &662 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -103968,7 +104248,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#get-an-ssh-signing-key-for-the-authenticated-user parameters: - - &662 + - &663 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -103980,9 +104260,9 @@ paths: description: Response content: application/json: - schema: *660 + schema: *661 examples: - default: *661 + default: *662 '404': *6 '304': *35 '403': *27 @@ -104005,7 +104285,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#delete-an-ssh-signing-key-for-the-authenticated-user parameters: - - *662 + - *663 responses: '204': description: Response @@ -104034,7 +104314,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &670 + - &671 name: sort description: The property to sort the results by. `created` means when the repository was starred. `updated` means when the repository was last pushed @@ -104059,11 +104339,11 @@ paths: type: array items: *55 examples: - default-response: *663 + default-response: *664 application/vnd.github.v3.star+json: schema: type: array - items: &671 + items: &672 title: Starred Repository description: Starred Repository type: object @@ -104219,8 +104499,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#check-if-a-repository-is-starred-by-the-authenticated-user parameters: - - *311 - *312 + - *313 responses: '204': description: Response if this repository is starred by you @@ -104248,8 +104528,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *311 - *312 + - *313 responses: '204': description: Response @@ -104273,8 +104553,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *311 - *312 + - *313 responses: '204': description: Response @@ -104307,9 +104587,9 @@ paths: application/json: schema: type: array - items: *152 + items: *156 examples: - default: *250 + default: *255 headers: Link: *37 '304': *35 @@ -104346,7 +104626,7 @@ paths: application/json: schema: type: array - items: *292 + items: *293 examples: default: value: @@ -104422,7 +104702,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *117 + - *121 responses: '200': description: Response @@ -104430,10 +104710,10 @@ paths: application/json: schema: oneOf: + - *637 - *636 - - *635 examples: - default-response: &665 + default-response: &666 summary: Default response value: login: octocat @@ -104468,7 +104748,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &666 + response-with-git-hub-plan-information: &667 summary: Response with GitHub plan information value: login: octocat @@ -104528,7 +104808,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *664 + - *665 - *17 responses: '200': @@ -104539,7 +104819,7 @@ paths: type: array items: *4 examples: - default: *232 + default: *237 headers: Link: example: ; rel="next" @@ -104567,7 +104847,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *174 + - *178 responses: '200': description: Response @@ -104575,11 +104855,11 @@ paths: application/json: schema: oneOf: + - *637 - *636 - - *635 examples: - default-response: *665 - response-with-git-hub-plan-information: *666 + default-response: *666 + response-with-git-hub-plan-information: *667 '404': *6 x-github: githubCloudOnly: false @@ -104605,7 +104885,7 @@ paths: - *17 - *74 - *75 - - *174 + - *178 - name: subject_digest description: Subject Digest in: path @@ -104707,7 +104987,7 @@ paths: description: Response content: application/json: - schema: *163 + schema: *167 examples: default: value: @@ -104733,7 +105013,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-list-of-conflicting-packages-during-docker-migration-for-user parameters: - - *174 + - *178 responses: '200': description: Response @@ -104741,9 +105021,9 @@ paths: application/json: schema: type: array - items: *244 + items: *249 examples: - default: *654 + default: *655 '403': *27 '401': *23 x-github: @@ -104766,7 +105046,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *174 + - *178 - *17 - *18 responses: @@ -104776,7 +105056,7 @@ paths: application/json: schema: type: array - items: *123 + items: *127 examples: default: value: @@ -104847,8 +105127,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-organization-events-for-the-authenticated-user parameters: - - *174 - - *134 + - *178 + - *138 - *17 - *18 responses: @@ -104858,7 +105138,7 @@ paths: application/json: schema: type: array - items: *123 + items: *127 examples: default: value: @@ -104937,7 +105217,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *174 + - *178 - *17 - *18 responses: @@ -104947,7 +105227,7 @@ paths: application/json: schema: type: array - items: *123 + items: *127 examples: default: value: @@ -105014,7 +105294,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *174 + - *178 - *17 - *18 responses: @@ -105026,7 +105306,7 @@ paths: type: array items: *4 examples: - default: *232 + default: *237 headers: Link: *37 x-github: @@ -105045,7 +105325,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *174 + - *178 - *17 - *18 responses: @@ -105057,7 +105337,7 @@ paths: type: array items: *4 examples: - default: *232 + default: *237 headers: Link: *37 x-github: @@ -105076,7 +105356,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#check-if-a-user-follows-another-user parameters: - - *174 + - *178 - name: target_user in: path required: true @@ -105103,8 +105383,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *174 - - *102 + - *178 + - *106 - *17 - *18 responses: @@ -105114,9 +105394,9 @@ paths: application/json: schema: type: array - items: *103 + items: *107 examples: - default: *104 + default: *108 headers: Link: *37 '422': *15 @@ -105137,7 +105417,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/gpg-keys#list-gpg-keys-for-a-user parameters: - - *174 + - *178 - *17 - *18 responses: @@ -105147,9 +105427,9 @@ paths: application/json: schema: type: array - items: *643 + items: *644 examples: - default: *667 + default: *668 headers: Link: *37 x-github: @@ -105173,7 +105453,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *174 + - *178 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -105245,7 +105525,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/apps#get-a-user-installation-for-the-authenticated-app parameters: - - *174 + - *178 responses: '200': description: Response @@ -105253,7 +105533,7 @@ paths: application/json: schema: *20 examples: - default: *483 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105271,7 +105551,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *174 + - *178 - *17 - *18 responses: @@ -105319,7 +105599,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *174 + - *178 - *17 - *18 responses: @@ -105331,7 +105611,7 @@ paths: type: array items: *50 examples: - default: *652 + default: *653 headers: Link: *37 x-github: @@ -105370,8 +105650,8 @@ paths: - docker - nuget - container - - *653 - - *174 + - *654 + - *178 - *18 - *17 responses: @@ -105381,12 +105661,12 @@ paths: application/json: schema: type: array - items: *244 + items: *249 examples: - default: *654 + default: *655 '403': *27 '401': *23 - '400': *655 + '400': *656 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105406,17 +105686,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *246 - - *247 - - *174 + - *251 + - *252 + - *178 responses: '200': description: Response content: application/json: - schema: *244 + schema: *249 examples: - default: *668 + default: *669 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -105437,9 +105717,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *246 - - *247 - - *174 + - *251 + - *252 + - *178 responses: '204': description: Response @@ -105471,9 +105751,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *246 - - *247 - - *174 + - *251 + - *252 + - *178 - name: token description: package token schema: @@ -105505,9 +105785,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user parameters: - - *246 - - *247 - - *174 + - *251 + - *252 + - *178 responses: '200': description: Response @@ -105515,7 +105795,7 @@ paths: application/json: schema: type: array - items: *248 + items: *253 examples: default: value: @@ -105573,16 +105853,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-version-for-a-user parameters: - - *246 - - *247 - - *249 - - *174 + - *251 + - *252 + - *254 + - *178 responses: '200': description: Response content: application/json: - schema: *248 + schema: *253 examples: default: value: @@ -105617,10 +105897,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *246 - - *247 - - *174 - - *249 + - *251 + - *252 + - *178 + - *254 responses: '204': description: Response @@ -105652,10 +105932,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *246 - - *247 - - *174 - - *249 + - *251 + - *252 + - *178 + - *254 responses: '204': description: Response @@ -105678,7 +105958,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-user-projects parameters: - - *174 + - *178 - name: state description: Indicates the state of the projects to return. in: query @@ -105699,7 +105979,7 @@ paths: application/json: schema: type: array - items: *257 + items: *262 examples: default: value: @@ -105758,7 +106038,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-received-by-the-authenticated-user parameters: - - *174 + - *178 - *17 - *18 responses: @@ -105768,7 +106048,7 @@ paths: application/json: schema: type: array - items: *123 + items: *127 examples: default: value: @@ -105847,7 +106127,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-received-by-a-user parameters: - - *174 + - *178 - *17 - *18 responses: @@ -105857,7 +106137,7 @@ paths: application/json: schema: type: array - items: *123 + items: *127 examples: default: value: @@ -105934,7 +106214,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *174 + - *178 - name: type description: Limit results to repositories of the specified type. in: query @@ -105977,9 +106257,9 @@ paths: application/json: schema: type: array - items: *152 + items: *156 examples: - default: *250 + default: *255 headers: Link: *37 x-github: @@ -106003,15 +106283,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-actions-billing-for-a-user parameters: - - *174 + - *178 responses: '200': description: Response content: application/json: - schema: *284 + schema: *285 examples: - default: *285 + default: *286 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106033,15 +106313,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-github-packages-billing-for-a-user parameters: - - *174 + - *178 responses: '200': description: Response content: application/json: - schema: *288 + schema: *289 examples: - default: *289 + default: *290 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106063,15 +106343,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/billing/billing#get-shared-storage-billing-for-a-user parameters: - - *174 + - *178 responses: '200': description: Response content: application/json: - schema: *290 + schema: *291 examples: - default: *291 + default: *292 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -106089,7 +106369,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/social-accounts#list-social-accounts-for-a-user parameters: - - *174 + - *178 - *17 - *18 responses: @@ -106099,9 +106379,9 @@ paths: application/json: schema: type: array - items: *658 + items: *659 examples: - default: *659 + default: *660 headers: Link: *37 x-github: @@ -106121,7 +106401,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/ssh-signing-keys#list-ssh-signing-keys-for-a-user parameters: - - *174 + - *178 - *17 - *18 responses: @@ -106131,9 +106411,9 @@ paths: application/json: schema: type: array - items: *660 + items: *661 examples: - default: *669 + default: *670 headers: Link: *37 x-github: @@ -106157,8 +106437,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *174 - - *670 + - *178 + - *671 - *76 - *17 - *18 @@ -106170,11 +106450,11 @@ paths: schema: anyOf: - type: array - items: *671 + items: *672 - type: array items: *55 examples: - default-response: *663 + default-response: *664 headers: Link: *37 x-github: @@ -106193,7 +106473,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *174 + - *178 - *17 - *18 responses: @@ -106203,9 +106483,9 @@ paths: application/json: schema: type: array - items: *152 + items: *156 examples: - default: *250 + default: *255 headers: Link: *37 x-github: @@ -106334,7 +106614,7 @@ webhooks: type: string enum: - disabled - enterprise: &672 + enterprise: &673 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -106403,7 +106683,7 @@ webhooks: - created_at - updated_at - avatar_url - installation: &673 + installation: &674 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -106424,7 +106704,7 @@ webhooks: required: - id - node_id - organization: &674 + organization: &675 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -106497,7 +106777,7 @@ webhooks: - public_members_url - avatar_url - description - repository: &675 + repository: &676 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property @@ -106526,7 +106806,7 @@ webhooks: license: anyOf: - type: 'null' - - *113 + - *117 organization: anyOf: - type: 'null' @@ -107410,10 +107690,10 @@ webhooks: type: string enum: - enabled - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -107489,11 +107769,11 @@ webhooks: type: string enum: - created - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 - rule: &676 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + rule: &677 title: branch protection rule description: The branch protection rule. Includes a `name` and all the [branch protection settings](https://docs.github.com/enterprise-cloud@latest//github/administering-a-repository/defining-the-mergeability-of-pull-requests/about-protected-branches#about-branch-protection-settings) @@ -107716,11 +107996,11 @@ webhooks: type: string enum: - deleted - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 - rule: *676 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + rule: *677 sender: *4 required: - action @@ -107908,11 +108188,11 @@ webhooks: - everyone required: - from - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 - rule: *676 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + rule: *677 sender: *4 required: - action @@ -107985,7 +108265,7 @@ webhooks: required: true content: application/json: - schema: &679 + schema: &680 title: Exemption request cancellation event type: object properties: @@ -107993,11 +108273,11 @@ webhooks: type: string enum: - cancelled - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 - exemption_request: &677 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + exemption_request: &678 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -108151,7 +108431,7 @@ webhooks: - array - 'null' description: The responses to the exemption request. - items: &678 + items: &679 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -108257,7 +108537,7 @@ webhooks: required: true content: application/json: - schema: &680 + schema: &681 title: Exemption request completed event type: object properties: @@ -108265,11 +108545,11 @@ webhooks: type: string enum: - completed - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 - exemption_request: *677 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + exemption_request: *678 sender: *4 required: - action @@ -108341,7 +108621,7 @@ webhooks: required: true content: application/json: - schema: &681 + schema: &682 title: Exemption request created event type: object properties: @@ -108349,11 +108629,11 @@ webhooks: type: string enum: - created - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 - exemption_request: *677 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + exemption_request: *678 sender: *4 required: - action @@ -108425,7 +108705,7 @@ webhooks: required: true content: application/json: - schema: &682 + schema: &683 title: Exemption response dismissed event type: object properties: @@ -108433,12 +108713,12 @@ webhooks: type: string enum: - response_dismissed - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 - exemption_request: *677 - exemption_response: *678 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + exemption_request: *678 + exemption_response: *679 sender: *4 required: - action @@ -108512,7 +108792,7 @@ webhooks: required: true content: application/json: - schema: &683 + schema: &684 title: Exemption response submitted event type: object properties: @@ -108520,12 +108800,12 @@ webhooks: type: string enum: - response_submitted - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 - exemption_request: *677 - exemption_response: *678 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + exemption_request: *678 + exemption_response: *679 sender: *4 required: - action @@ -108598,7 +108878,7 @@ webhooks: required: true content: application/json: - schema: *679 + schema: *680 responses: '200': description: Return a 200 status to indicate that the data was received @@ -108665,7 +108945,7 @@ webhooks: required: true content: application/json: - schema: *680 + schema: *681 responses: '200': description: Return a 200 status to indicate that the data was received @@ -108732,7 +109012,7 @@ webhooks: required: true content: application/json: - schema: *681 + schema: *682 responses: '200': description: Return a 200 status to indicate that the data was received @@ -108799,7 +109079,7 @@ webhooks: required: true content: application/json: - schema: *682 + schema: *683 responses: '200': description: Return a 200 status to indicate that the data was received @@ -108867,7 +109147,7 @@ webhooks: required: true content: application/json: - schema: *683 + schema: *684 responses: '200': description: Return a 200 status to indicate that the data was received @@ -108945,7 +109225,7 @@ webhooks: type: string enum: - completed - check_run: &685 + check_run: &686 title: CheckRun description: A check performed on the code of a given code change type: object @@ -109013,8 +109293,8 @@ webhooks: - MDEwOkNoZWNrU3VpdGU1 pull_requests: type: array - items: *381 - repository: *152 + items: *382 + repository: *156 status: type: string enum: @@ -109058,7 +109338,7 @@ webhooks: - examples: - neutral - deployment: *684 + deployment: *685 details_url: type: string examples: @@ -109118,7 +109398,7 @@ webhooks: - annotations_url pull_requests: type: array - items: *381 + items: *382 started_at: type: string format: date-time @@ -109156,9 +109436,9 @@ webhooks: - output - app - pull_requests - installation: *673 - organization: *674 - repository: *675 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - check_run @@ -109551,10 +109831,10 @@ webhooks: type: string enum: - created - check_run: *685 - installation: *673 - organization: *674 - repository: *675 + check_run: *686 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - check_run @@ -109950,10 +110230,10 @@ webhooks: type: string enum: - requested_action - check_run: *685 - installation: *673 - organization: *674 - repository: *675 + check_run: *686 + installation: *674 + organization: *675 + repository: *676 requested_action: description: The action requested by the user. type: object @@ -110358,10 +110638,10 @@ webhooks: type: string enum: - rerequested - check_run: *685 - installation: *673 - organization: *674 - repository: *675 + check_run: *686 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - check_run @@ -111353,10 +111633,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -112041,10 +112321,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -112723,10 +113003,10 @@ webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -113033,20 +113313,20 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: &686 + commit_oid: &687 description: The commit SHA of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - enterprise: *672 - installation: *673 - organization: *674 - ref: &687 + enterprise: *673 + installation: *674 + organization: *675 + ref: &688 description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event was triggered by the `sender` and this value will be empty. type: string - repository: *675 + repository: *676 sender: *4 required: - action @@ -113374,12 +113654,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *686 - enterprise: *672 - installation: *673 - organization: *674 - ref: *687 - repository: *675 + commit_oid: *687 + enterprise: *673 + installation: *674 + organization: *675 + ref: *688 + repository: *676 sender: *4 required: - action @@ -113477,7 +113757,7 @@ webhooks: dismissed_by: type: - 'null' - dismissed_comment: *393 + dismissed_comment: *394 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -113652,12 +113932,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *686 - enterprise: *672 - installation: *673 - organization: *674 - ref: *687 - repository: *675 + commit_oid: *687 + enterprise: *673 + installation: *674 + organization: *675 + ref: *688 + repository: *676 sender: *4 required: - action @@ -113989,12 +114269,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *686 - enterprise: *672 - installation: *673 - organization: *674 - ref: *687 - repository: *675 + commit_oid: *687 + enterprise: *673 + installation: *674 + organization: *675 + ref: *688 + repository: *676 sender: *4 required: - action @@ -114263,9 +114543,9 @@ webhooks: type: - string - 'null' - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 ref: description: The Git reference of the code scanning alert. When the action is `reopened_by_user` or `closed_by_user`, the event @@ -114273,7 +114553,7 @@ webhooks: type: - string - 'null' - repository: *675 + repository: *676 sender: *4 required: - action @@ -114505,12 +114785,12 @@ webhooks: - dismissed_reason - rule - tool - commit_oid: *686 - enterprise: *672 - installation: *673 - organization: *674 - ref: *687 - repository: *675 + commit_oid: *687 + enterprise: *673 + installation: *674 + organization: *675 + ref: *688 + repository: *676 sender: *4 required: - action @@ -114772,10 +115052,10 @@ webhooks: - updated_at - author_association - body - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -114856,18 +115136,18 @@ webhooks: type: - string - 'null' - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *674 - pusher_type: &688 + organization: *675 + pusher_type: &689 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &689 + ref: &690 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -114877,7 +115157,7 @@ webhooks: enum: - tag - branch - repository: *675 + repository: *676 sender: *4 required: - ref @@ -114959,10 +115239,10 @@ webhooks: type: string enum: - created - definition: *258 - enterprise: *672 - installation: *673 - organization: *674 + definition: *92 + enterprise: *673 + installation: *674 + organization: *675 sender: *4 required: - action @@ -115047,9 +115327,9 @@ webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 sender: *4 required: - action @@ -115126,10 +115406,10 @@ webhooks: type: string enum: - updated - definition: *258 - enterprise: *672 - installation: *673 - organization: *674 + definition: *92 + enterprise: *673 + installation: *674 + organization: *675 sender: *4 required: - action @@ -115206,19 +115486,19 @@ webhooks: type: string enum: - updated - enterprise: *672 - installation: *673 - repository: *675 - organization: *674 + enterprise: *673 + installation: *674 + repository: *676 + organization: *675 sender: *4 new_property_values: type: array description: The new custom property values for the repository. - items: *262 + items: *263 old_property_values: type: array description: The old custom property values for the repository. - items: *262 + items: *263 required: - action - repository @@ -115294,18 +115574,18 @@ webhooks: title: delete event type: object properties: - enterprise: *672 - installation: *673 - organization: *674 - pusher_type: *688 - ref: *689 + enterprise: *673 + installation: *674 + organization: *675 + pusher_type: *689 + ref: *690 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *675 + repository: *676 sender: *4 required: - ref @@ -115389,11 +115669,11 @@ webhooks: type: string enum: - auto_dismissed - alert: *442 - installation: *673 - organization: *674 - enterprise: *672 - repository: *675 + alert: *443 + installation: *674 + organization: *675 + enterprise: *673 + repository: *676 sender: *4 required: - action @@ -115477,11 +115757,11 @@ webhooks: type: string enum: - auto_reopened - alert: *442 - installation: *673 - organization: *674 - enterprise: *672 - repository: *675 + alert: *443 + installation: *674 + organization: *675 + enterprise: *673 + repository: *676 sender: *4 required: - action @@ -115565,11 +115845,11 @@ webhooks: type: string enum: - created - alert: *442 - installation: *673 - organization: *674 - enterprise: *672 - repository: *675 + alert: *443 + installation: *674 + organization: *675 + enterprise: *673 + repository: *676 sender: *4 required: - action @@ -115651,11 +115931,11 @@ webhooks: type: string enum: - dismissed - alert: *442 - installation: *673 - organization: *674 - enterprise: *672 - repository: *675 + alert: *443 + installation: *674 + organization: *675 + enterprise: *673 + repository: *676 sender: *4 required: - action @@ -115737,11 +116017,11 @@ webhooks: type: string enum: - fixed - alert: *442 - installation: *673 - organization: *674 - enterprise: *672 - repository: *675 + alert: *443 + installation: *674 + organization: *675 + enterprise: *673 + repository: *676 sender: *4 required: - action @@ -115824,11 +116104,11 @@ webhooks: type: string enum: - reintroduced - alert: *442 - installation: *673 - organization: *674 - enterprise: *672 - repository: *675 + alert: *443 + installation: *674 + organization: *675 + enterprise: *673 + repository: *676 sender: *4 required: - action @@ -115910,11 +116190,11 @@ webhooks: type: string enum: - reopened - alert: *442 - installation: *673 - organization: *674 - enterprise: *672 - repository: *675 + alert: *443 + installation: *674 + organization: *675 + enterprise: *673 + repository: *676 sender: *4 required: - action @@ -115991,9 +116271,9 @@ webhooks: type: string enum: - created - enterprise: *672 - installation: *673 - key: &690 + enterprise: *673 + installation: *674 + key: &691 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -116031,8 +116311,8 @@ webhooks: - verified - created_at - read_only - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 required: - action @@ -116109,11 +116389,11 @@ webhooks: type: string enum: - deleted - enterprise: *672 - installation: *673 - key: *690 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + key: *691 + organization: *675 + repository: *676 sender: *4 required: - action @@ -116685,12 +116965,12 @@ webhooks: - updated_at - statuses_url - repository_url - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - workflow: &694 + workflow: &695 title: Workflow type: - object @@ -117428,13 +117708,13 @@ webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *448 + deployment: *449 pull_requests: type: array - items: *530 - repository: *675 - organization: *674 - installation: *673 + items: *531 + repository: *676 + organization: *675 + installation: *674 sender: *4 responses: '200': @@ -117505,7 +117785,7 @@ webhooks: type: string enum: - approved - approver: &691 + approver: &692 type: object properties: avatar_url: @@ -117548,11 +117828,11 @@ webhooks: type: string comment: type: string - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 - reviewers: &692 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + reviewers: &693 type: array items: type: object @@ -117633,7 +117913,7 @@ webhooks: sender: *4 since: type: string - workflow_job_run: &693 + workflow_job_run: &694 type: object properties: conclusion: @@ -118379,18 +118659,18 @@ webhooks: type: string enum: - rejected - approver: *691 + approver: *692 comment: type: string - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 - reviewers: *692 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + reviewers: *693 sender: *4 since: type: string - workflow_job_run: *693 + workflow_job_run: *694 workflow_job_runs: type: array items: @@ -119107,13 +119387,13 @@ webhooks: type: string enum: - requested - enterprise: *672 + enterprise: *673 environment: type: string - installation: *673 - organization: *674 - repository: *675 - requestor: &699 + installation: *674 + organization: *675 + repository: *676 + requestor: &700 title: User type: - object @@ -121056,12 +121336,12 @@ webhooks: - updated_at - deployment_url - repository_url - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - workflow: *694 + workflow: *695 workflow_run: title: Deployment Workflow Run type: @@ -121752,7 +122032,7 @@ webhooks: type: string enum: - answered - answer: &697 + answer: &698 type: object properties: author_association: @@ -121912,7 +122192,7 @@ webhooks: - created_at - updated_at - body - discussion: &695 + discussion: &696 title: Discussion description: A Discussion in a repository. type: object @@ -122208,7 +122488,7 @@ webhooks: - id labels: type: array - items: *493 + items: *494 required: - repository_url - category @@ -122230,10 +122510,10 @@ webhooks: - author_association - active_lock_reason - body - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -122360,11 +122640,11 @@ webhooks: - from required: - category - discussion: *695 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + discussion: *696 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -122447,11 +122727,11 @@ webhooks: type: string enum: - closed - discussion: *695 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + discussion: *696 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -122533,7 +122813,7 @@ webhooks: type: string enum: - created - comment: &696 + comment: &697 type: object properties: author_association: @@ -122693,11 +122973,11 @@ webhooks: - updated_at - body - reactions - discussion: *695 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + discussion: *696 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -122780,12 +123060,12 @@ webhooks: type: string enum: - deleted - comment: *696 - discussion: *695 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + comment: *697 + discussion: *696 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -122880,12 +123160,12 @@ webhooks: - from required: - body - comment: *696 - discussion: *695 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + comment: *697 + discussion: *696 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -122969,11 +123249,11 @@ webhooks: type: string enum: - created - discussion: *695 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + discussion: *696 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -123055,11 +123335,11 @@ webhooks: type: string enum: - deleted - discussion: *695 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + discussion: *696 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -123159,11 +123439,11 @@ webhooks: type: string required: - from - discussion: *695 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + discussion: *696 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -123245,10 +123525,10 @@ webhooks: type: string enum: - labeled - discussion: *695 - enterprise: *672 - installation: *673 - label: &698 + discussion: *696 + enterprise: *673 + installation: *674 + label: &699 title: Label type: object properties: @@ -123281,8 +123561,8 @@ webhooks: - color - default - description - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 required: - action @@ -123365,11 +123645,11 @@ webhooks: type: string enum: - locked - discussion: *695 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + discussion: *696 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -123451,11 +123731,11 @@ webhooks: type: string enum: - pinned - discussion: *695 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + discussion: *696 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -123537,11 +123817,11 @@ webhooks: type: string enum: - reopened - discussion: *695 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + discussion: *696 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -123626,16 +123906,16 @@ webhooks: changes: type: object properties: - new_discussion: *695 - new_repository: *675 + new_discussion: *696 + new_repository: *676 required: - new_discussion - new_repository - discussion: *695 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + discussion: *696 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -123718,10 +123998,10 @@ webhooks: type: string enum: - unanswered - discussion: *695 - old_answer: *697 - organization: *674 - repository: *675 + discussion: *696 + old_answer: *698 + organization: *675 + repository: *676 sender: *4 required: - action @@ -123803,12 +124083,12 @@ webhooks: type: string enum: - unlabeled - discussion: *695 - enterprise: *672 - installation: *673 - label: *698 - organization: *674 - repository: *675 + discussion: *696 + enterprise: *673 + installation: *674 + label: *699 + organization: *675 + repository: *676 sender: *4 required: - action @@ -123891,11 +124171,11 @@ webhooks: type: string enum: - unlocked - discussion: *695 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + discussion: *696 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -123977,11 +124257,11 @@ webhooks: type: string enum: - unpinned - discussion: *695 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + discussion: *696 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -124054,7 +124334,7 @@ webhooks: description: A user forks a repository. type: object properties: - enterprise: *672 + enterprise: *673 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -124732,9 +125012,9 @@ webhooks: type: integer watchers_count: type: integer - installation: *673 - organization: *674 - repository: *675 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - forkee @@ -124880,9 +125160,9 @@ webhooks: title: gollum event type: object properties: - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 pages: description: The pages that were updated. type: array @@ -124920,7 +125200,7 @@ webhooks: - action - sha - html_url - repository: *675 + repository: *676 sender: *4 required: - pages @@ -124996,10 +125276,10 @@ webhooks: type: string enum: - created - enterprise: *672 + enterprise: *673 installation: *20 - organization: *674 - repositories: &700 + organization: *675 + repositories: &701 description: An array of repository objects that the installation can access. type: array @@ -125025,8 +125305,8 @@ webhooks: - name - full_name - private - repository: *675 - requester: *699 + repository: *676 + requester: *700 sender: *4 required: - action @@ -125101,11 +125381,11 @@ webhooks: type: string enum: - deleted - enterprise: *672 + enterprise: *673 installation: *20 - organization: *674 - repositories: *700 - repository: *675 + organization: *675 + repositories: *701 + repository: *676 requester: type: - 'null' @@ -125182,11 +125462,11 @@ webhooks: type: string enum: - new_permissions_accepted - enterprise: *672 + enterprise: *673 installation: *20 - organization: *674 - repositories: *700 - repository: *675 + organization: *675 + repositories: *701 + repository: *676 requester: type: - 'null' @@ -125263,10 +125543,10 @@ webhooks: type: string enum: - added - enterprise: *672 + enterprise: *673 installation: *20 - organization: *674 - repositories_added: &701 + organization: *675 + repositories_added: &702 description: An array of repository objects, which were added to the installation. type: array @@ -125312,15 +125592,15 @@ webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *675 - repository_selection: &702 + repository: *676 + repository_selection: &703 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *699 + requester: *700 sender: *4 required: - action @@ -125399,10 +125679,10 @@ webhooks: type: string enum: - removed - enterprise: *672 + enterprise: *673 installation: *20 - organization: *674 - repositories_added: *701 + organization: *675 + repositories_added: *702 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -125429,9 +125709,9 @@ webhooks: - name - full_name - private - repository: *675 - repository_selection: *702 - requester: *699 + repository: *676 + repository_selection: *703 + requester: *700 sender: *4 required: - action @@ -125510,11 +125790,11 @@ webhooks: type: string enum: - suspend - enterprise: *672 + enterprise: *673 installation: *20 - organization: *674 - repositories: *700 - repository: *675 + organization: *675 + repositories: *701 + repository: *676 requester: type: - 'null' @@ -125697,10 +125977,10 @@ webhooks: type: string required: - from - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 target_type: type: string @@ -125779,11 +126059,11 @@ webhooks: type: string enum: - unsuspend - enterprise: *672 + enterprise: *673 installation: *20 - organization: *674 - repositories: *700 - repository: *675 + organization: *675 + repositories: *701 + repository: *676 requester: type: - 'null' @@ -126031,8 +126311,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -127222,8 +127502,8 @@ webhooks: - state - locked - assignee - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 required: - action @@ -127303,7 +127583,7 @@ webhooks: type: string enum: - deleted - comment: &703 + comment: &704 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -127470,8 +127750,8 @@ webhooks: - performed_via_github_app - body - reactions - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -128659,8 +128939,8 @@ webhooks: - state - locked - assignee - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 required: - action @@ -128740,7 +129020,7 @@ webhooks: type: string enum: - edited - changes: &728 + changes: &729 description: The changes to the comment. type: object properties: @@ -128752,9 +129032,9 @@ webhooks: type: string required: - from - comment: *703 - enterprise: *672 - installation: *673 + comment: *704 + enterprise: *673 + installation: *674 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -129943,8 +130223,8 @@ webhooks: - state - locked - assignee - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 required: - action @@ -130026,10 +130306,10 @@ webhooks: type: string enum: - assigned - assignee: *699 - enterprise: *672 - installation: *673 - issue: &706 + assignee: *700 + enterprise: *673 + installation: *674 + issue: &707 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -130973,8 +131253,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 required: - action @@ -131054,8 +131334,8 @@ webhooks: type: string enum: - closed - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -132147,8 +132427,8 @@ webhooks: required: - state - closed_at - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 required: - action @@ -132227,8 +132507,8 @@ webhooks: type: string enum: - deleted - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -133165,8 +133445,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 required: - action @@ -133245,8 +133525,8 @@ webhooks: type: string enum: - demilestoned - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -134187,7 +134467,7 @@ webhooks: format: uri user_view_type: type: string - milestone: &704 + milestone: &705 title: Milestone description: A collection of related issues and pull requests. type: object @@ -134330,8 +134610,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 required: - action @@ -134430,8 +134710,8 @@ webhooks: type: string required: - from - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -135375,9 +135655,9 @@ webhooks: - active_lock_reason - body - reactions - label: *698 - organization: *674 - repository: *675 + label: *699 + organization: *675 + repository: *676 sender: *4 required: - action @@ -135457,8 +135737,8 @@ webhooks: type: string enum: - labeled - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -136401,9 +136681,9 @@ webhooks: - active_lock_reason - body - reactions - label: *698 - organization: *674 - repository: *675 + label: *699 + organization: *675 + repository: *676 sender: *4 required: - action @@ -136483,8 +136763,8 @@ webhooks: type: string enum: - locked - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -137429,8 +137709,8 @@ webhooks: format: uri user_view_type: type: string - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 required: - action @@ -137509,8 +137789,8 @@ webhooks: type: string enum: - milestoned - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -138449,9 +138729,9 @@ webhooks: format: uri user_view_type: type: string - milestone: *704 - organization: *674 - repository: *675 + milestone: *705 + organization: *675 + repository: *676 sender: *4 required: - action @@ -139951,8 +140231,8 @@ webhooks: required: - old_issue - old_repository - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -140895,8 +141175,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 required: - action @@ -140976,9 +141256,9 @@ webhooks: type: string enum: - pinned - enterprise: *672 - installation: *673 - issue: &705 + enterprise: *673 + installation: *674 + issue: &706 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -141915,8 +142195,8 @@ webhooks: - active_lock_reason - body - reactions - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 required: - action @@ -141995,8 +142275,8 @@ webhooks: type: string enum: - reopened - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142940,8 +143220,8 @@ webhooks: format: uri user_view_type: type: string - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 required: - action @@ -144441,11 +144721,11 @@ webhooks: required: - new_issue - new_repository - enterprise: *672 - installation: *673 - issue: *705 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + issue: *706 + organization: *675 + repository: *676 sender: *4 required: - action @@ -144526,7 +144806,7 @@ webhooks: type: string enum: - unassigned - assignee: &731 + assignee: &732 title: User type: - object @@ -144598,11 +144878,11 @@ webhooks: required: - login - id - enterprise: *672 - installation: *673 - issue: *706 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + issue: *707 + organization: *675 + repository: *676 sender: *4 required: - action @@ -144681,12 +144961,12 @@ webhooks: type: string enum: - unlabeled - enterprise: *672 - installation: *673 - issue: *706 - label: *698 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + issue: *707 + label: *699 + organization: *675 + repository: *676 sender: *4 required: - action @@ -144766,8 +145046,8 @@ webhooks: type: string enum: - unlocked - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -145710,8 +145990,8 @@ webhooks: format: uri user_view_type: type: string - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 required: - action @@ -145791,11 +146071,11 @@ webhooks: type: string enum: - unpinned - enterprise: *672 - installation: *673 - issue: *705 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + issue: *706 + organization: *675 + repository: *676 sender: *4 required: - action @@ -145874,11 +146154,11 @@ webhooks: type: string enum: - created - enterprise: *672 - installation: *673 - label: *698 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + label: *699 + organization: *675 + repository: *676 sender: *4 required: - action @@ -145956,11 +146236,11 @@ webhooks: type: string enum: - deleted - enterprise: *672 - installation: *673 - label: *698 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + label: *699 + organization: *675 + repository: *676 sender: *4 required: - action @@ -146070,11 +146350,11 @@ webhooks: type: string required: - from - enterprise: *672 - installation: *673 - label: *698 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + label: *699 + organization: *675 + repository: *676 sender: *4 required: - action @@ -146156,9 +146436,9 @@ webhooks: - cancelled effective_date: type: string - enterprise: *672 - installation: *673 - marketplace_purchase: &707 + enterprise: *673 + installation: *674 + marketplace_purchase: &708 title: Marketplace Purchase type: object required: @@ -146246,8 +146526,8 @@ webhooks: type: integer unit_count: type: integer - organization: *674 - previous_marketplace_purchase: &708 + organization: *675 + previous_marketplace_purchase: &709 title: Marketplace Purchase type: object properties: @@ -146331,7 +146611,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *675 + repository: *676 sender: *4 required: - action @@ -146411,10 +146691,10 @@ webhooks: - changed effective_date: type: string - enterprise: *672 - installation: *673 - marketplace_purchase: *707 - organization: *674 + enterprise: *673 + installation: *674 + marketplace_purchase: *708 + organization: *675 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -146502,7 +146782,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *675 + repository: *676 sender: *4 required: - action @@ -146584,10 +146864,10 @@ webhooks: - pending_change effective_date: type: string - enterprise: *672 - installation: *673 - marketplace_purchase: *707 - organization: *674 + enterprise: *673 + installation: *674 + marketplace_purchase: *708 + organization: *675 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -146673,7 +146953,7 @@ webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *675 + repository: *676 sender: *4 required: - action @@ -146754,8 +147034,8 @@ webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 marketplace_purchase: title: Marketplace Purchase type: object @@ -146841,9 +147121,9 @@ webhooks: type: integer unit_count: type: integer - organization: *674 - previous_marketplace_purchase: *708 - repository: *675 + organization: *675 + previous_marketplace_purchase: *709 + repository: *676 sender: *4 required: - action @@ -146923,12 +147203,12 @@ webhooks: - purchased effective_date: type: string - enterprise: *672 - installation: *673 - marketplace_purchase: *707 - organization: *674 - previous_marketplace_purchase: *708 - repository: *675 + enterprise: *673 + installation: *674 + marketplace_purchase: *708 + organization: *675 + previous_marketplace_purchase: *709 + repository: *676 sender: *4 required: - action @@ -147030,11 +147310,11 @@ webhooks: type: string required: - to - enterprise: *672 - installation: *673 - member: *699 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + member: *700 + organization: *675 + repository: *676 sender: *4 required: - action @@ -147136,11 +147416,11 @@ webhooks: type: - string - 'null' - enterprise: *672 - installation: *673 - member: *699 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + member: *700 + organization: *675 + repository: *676 sender: *4 required: - action @@ -147219,11 +147499,11 @@ webhooks: type: string enum: - removed - enterprise: *672 - installation: *673 - member: *699 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + member: *700 + organization: *675 + repository: *676 sender: *4 required: - action @@ -147301,11 +147581,11 @@ webhooks: type: string enum: - added - enterprise: *672 - installation: *673 - member: *699 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + member: *700 + organization: *675 + repository: *676 scope: description: The scope of the membership. Currently, can only be `team`. @@ -147383,7 +147663,7 @@ webhooks: required: - login - id - team: &709 + team: &710 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -147576,11 +147856,11 @@ webhooks: type: string enum: - removed - enterprise: *672 - installation: *673 - member: *699 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + member: *700 + organization: *675 + repository: *676 scope: description: The scope of the membership. Currently, can only be `team`. @@ -147659,7 +147939,7 @@ webhooks: required: - login - id - team: *709 + team: *710 required: - action - scope @@ -147741,8 +148021,8 @@ webhooks: type: string enum: - checks_requested - installation: *673 - merge_group: &710 + installation: *674 + merge_group: &711 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -147761,15 +148041,15 @@ webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *385 + head_commit: *386 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 required: - action @@ -147855,10 +148135,10 @@ webhooks: - merged - invalidated - dequeued - installation: *673 - merge_group: *710 - organization: *674 - repository: *675 + installation: *674 + merge_group: *711 + organization: *675 + repository: *676 sender: *4 required: - action @@ -147931,7 +148211,7 @@ webhooks: type: string enum: - deleted - enterprise: *672 + enterprise: *673 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -148039,12 +148319,12 @@ webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *673 - organization: *674 + installation: *674 + organization: *675 repository: anyOf: - type: 'null' - - *675 + - *676 sender: *4 required: - action @@ -148124,11 +148404,11 @@ webhooks: type: string enum: - closed - enterprise: *672 - installation: *673 - milestone: *704 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + milestone: *705 + organization: *675 + repository: *676 sender: *4 required: - action @@ -148207,9 +148487,9 @@ webhooks: type: string enum: - created - enterprise: *672 - installation: *673 - milestone: &711 + enterprise: *673 + installation: *674 + milestone: &712 title: Milestone description: A collection of related issues and pull requests. type: object @@ -148351,8 +148631,8 @@ webhooks: - updated_at - due_on - closed_at - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 required: - action @@ -148431,11 +148711,11 @@ webhooks: type: string enum: - deleted - enterprise: *672 - installation: *673 - milestone: *704 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + milestone: *705 + organization: *675 + repository: *676 sender: *4 required: - action @@ -148545,11 +148825,11 @@ webhooks: type: string required: - from - enterprise: *672 - installation: *673 - milestone: *704 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + milestone: *705 + organization: *675 + repository: *676 sender: *4 required: - action @@ -148629,11 +148909,11 @@ webhooks: type: string enum: - opened - enterprise: *672 - installation: *673 - milestone: *711 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + milestone: *712 + organization: *675 + repository: *676 sender: *4 required: - action @@ -148712,11 +148992,11 @@ webhooks: type: string enum: - blocked - blocked_user: *699 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + blocked_user: *700 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -148795,11 +149075,11 @@ webhooks: type: string enum: - unblocked - blocked_user: *699 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + blocked_user: *700 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -148878,9 +149158,9 @@ webhooks: type: string enum: - deleted - enterprise: *672 - installation: *673 - membership: &712 + enterprise: *673 + installation: *674 + membership: &713 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -148974,8 +149254,8 @@ webhooks: - role - organization_url - user - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 required: - action @@ -149053,11 +149333,11 @@ webhooks: type: string enum: - member_added - enterprise: *672 - installation: *673 - membership: *712 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + membership: *713 + organization: *675 + repository: *676 sender: *4 required: - action @@ -149136,8 +149416,8 @@ webhooks: type: string enum: - member_invited - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -149259,10 +149539,10 @@ webhooks: - inviter - team_count - invitation_teams_url - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 - user: *699 + user: *700 required: - action - invitation @@ -149340,11 +149620,11 @@ webhooks: type: string enum: - member_removed - enterprise: *672 - installation: *673 - membership: *712 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + membership: *713 + organization: *675 + repository: *676 sender: *4 required: - action @@ -149431,11 +149711,11 @@ webhooks: properties: from: type: string - enterprise: *672 - installation: *673 - membership: *712 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + membership: *713 + organization: *675 + repository: *676 sender: *4 required: - action @@ -149511,9 +149791,9 @@ webhooks: type: string enum: - published - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 package: description: Information about the package. type: object @@ -150036,7 +150316,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: &713 + items: &714 title: Ruby Gems metadata type: object properties: @@ -150133,7 +150413,7 @@ webhooks: - owner - package_version - registry - repository: *675 + repository: *676 sender: *4 required: - action @@ -150209,9 +150489,9 @@ webhooks: type: string enum: - updated - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 package: description: Information about the package. type: object @@ -150573,7 +150853,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *713 + items: *714 source_url: type: string format: uri @@ -150644,7 +150924,7 @@ webhooks: - owner - package_version - registry - repository: *675 + repository: *676 sender: *4 required: - action @@ -150825,12 +151105,12 @@ webhooks: - duration - created_at - updated_at - enterprise: *672 + enterprise: *673 id: type: integer - installation: *673 - organization: *674 - repository: *675 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - id @@ -150910,7 +151190,7 @@ webhooks: type: string enum: - approved - personal_access_token_request: &714 + personal_access_token_request: &715 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -151060,10 +151340,10 @@ webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *672 - organization: *674 + enterprise: *673 + organization: *675 sender: *4 - installation: *673 + installation: *674 required: - action - personal_access_token_request @@ -151142,11 +151422,11 @@ webhooks: type: string enum: - cancelled - personal_access_token_request: *714 - enterprise: *672 - organization: *674 + personal_access_token_request: *715 + enterprise: *673 + organization: *675 sender: *4 - installation: *673 + installation: *674 required: - action - personal_access_token_request @@ -151224,11 +151504,11 @@ webhooks: type: string enum: - created - personal_access_token_request: *714 - enterprise: *672 - organization: *674 + personal_access_token_request: *715 + enterprise: *673 + organization: *675 sender: *4 - installation: *673 + installation: *674 required: - action - personal_access_token_request @@ -151305,11 +151585,11 @@ webhooks: type: string enum: - denied - personal_access_token_request: *714 - organization: *674 - enterprise: *672 + personal_access_token_request: *715 + organization: *675 + enterprise: *673 sender: *4 - installation: *673 + installation: *674 required: - action - personal_access_token_request @@ -151413,7 +151693,7 @@ webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *715 + last_response: *716 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -151445,8 +151725,8 @@ webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 zen: description: Random string of GitHub zen. @@ -151691,10 +151971,10 @@ webhooks: - from required: - note - enterprise: *672 - installation: *673 - organization: *674 - project_card: &716 + enterprise: *673 + installation: *674 + organization: *675 + project_card: &717 title: Project Card type: object properties: @@ -151817,7 +152097,7 @@ webhooks: - creator - created_at - updated_at - repository: *675 + repository: *676 sender: *4 required: - action @@ -151898,11 +152178,11 @@ webhooks: type: string enum: - created - enterprise: *672 - installation: *673 - organization: *674 - project_card: *716 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + project_card: *717 + repository: *676 sender: *4 required: - action @@ -151982,9 +152262,9 @@ webhooks: type: string enum: - deleted - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 project_card: title: Project Card type: object @@ -152114,7 +152394,7 @@ webhooks: repository: anyOf: - type: 'null' - - *675 + - *676 sender: *4 required: - action @@ -152208,11 +152488,11 @@ webhooks: - from required: - note - enterprise: *672 - installation: *673 - organization: *674 - project_card: *716 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + project_card: *717 + repository: *676 sender: *4 required: - action @@ -152306,9 +152586,9 @@ webhooks: - from required: - column_id - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 project_card: allOf: - title: Project Card @@ -152505,7 +152785,7 @@ webhooks: type: string required: - after_id - repository: *675 + repository: *676 sender: *4 required: - action @@ -152585,10 +152865,10 @@ webhooks: type: string enum: - closed - enterprise: *672 - installation: *673 - organization: *674 - project: &718 + enterprise: *673 + installation: *674 + organization: *675 + project: &719 title: Project type: object properties: @@ -152715,7 +152995,7 @@ webhooks: - creator - created_at - updated_at - repository: *675 + repository: *676 sender: *4 required: - action @@ -152795,10 +153075,10 @@ webhooks: type: string enum: - created - enterprise: *672 - installation: *673 - organization: *674 - project_column: &717 + enterprise: *673 + installation: *674 + organization: *675 + project_column: &718 title: Project Column type: object properties: @@ -152838,7 +153118,7 @@ webhooks: - name - created_at - updated_at - repository: *675 + repository: *676 sender: *4 required: - action @@ -152917,14 +153197,14 @@ webhooks: type: string enum: - deleted - enterprise: *672 - installation: *673 - organization: *674 - project_column: *717 + enterprise: *673 + installation: *674 + organization: *675 + project_column: *718 repository: anyOf: - type: 'null' - - *675 + - *676 sender: *4 required: - action @@ -153013,11 +153293,11 @@ webhooks: type: string required: - from - enterprise: *672 - installation: *673 - organization: *674 - project_column: *717 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + project_column: *718 + repository: *676 sender: *4 required: - action @@ -153097,11 +153377,11 @@ webhooks: type: string enum: - moved - enterprise: *672 - installation: *673 - organization: *674 - project_column: *717 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + project_column: *718 + repository: *676 sender: *4 required: - action @@ -153181,11 +153461,11 @@ webhooks: type: string enum: - created - enterprise: *672 - installation: *673 - organization: *674 - project: *718 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + project: *719 + repository: *676 sender: *4 required: - action @@ -153265,14 +153545,14 @@ webhooks: type: string enum: - deleted - enterprise: *672 - installation: *673 - organization: *674 - project: *718 + enterprise: *673 + installation: *674 + organization: *675 + project: *719 repository: anyOf: - type: 'null' - - *675 + - *676 sender: *4 required: - action @@ -153373,11 +153653,11 @@ webhooks: type: string required: - from - enterprise: *672 - installation: *673 - organization: *674 - project: *718 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + project: *719 + repository: *676 sender: *4 required: - action @@ -153456,11 +153736,11 @@ webhooks: type: string enum: - reopened - enterprise: *672 - installation: *673 - organization: *674 - project: *718 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + project: *719 + repository: *676 sender: *4 required: - action @@ -153541,9 +153821,9 @@ webhooks: type: string enum: - closed - installation: *673 - organization: *674 - projects_v2: &719 + installation: *674 + organization: *675 + projects_v2: &720 title: Projects v2 Project description: A projects v2 project type: object @@ -153691,9 +153971,9 @@ webhooks: type: string enum: - created - installation: *673 - organization: *674 - projects_v2: *719 + installation: *674 + organization: *675 + projects_v2: *720 sender: *4 required: - action @@ -153774,9 +154054,9 @@ webhooks: type: string enum: - deleted - installation: *673 - organization: *674 - projects_v2: *719 + installation: *674 + organization: *675 + projects_v2: *720 sender: *4 required: - action @@ -153897,9 +154177,9 @@ webhooks: type: string to: type: string - installation: *673 - organization: *674 - projects_v2: *719 + installation: *674 + organization: *675 + projects_v2: *720 sender: *4 required: - action @@ -153982,7 +154262,7 @@ webhooks: type: string enum: - archived - changes: &723 + changes: &724 type: object properties: archived_at: @@ -153998,9 +154278,9 @@ webhooks: - string - 'null' format: date-time - installation: *673 - organization: *674 - projects_v2_item: &720 + installation: *674 + organization: *675 + projects_v2_item: &721 title: Projects v2 Item description: An item belonging to a project type: object @@ -154139,9 +154419,9 @@ webhooks: - 'null' to: type: string - installation: *673 - organization: *674 - projects_v2_item: *720 + installation: *674 + organization: *675 + projects_v2_item: *721 sender: *4 required: - action @@ -154223,9 +154503,9 @@ webhooks: type: string enum: - created - installation: *673 - organization: *674 - projects_v2_item: *720 + installation: *674 + organization: *675 + projects_v2_item: *721 sender: *4 required: - action @@ -154306,9 +154586,9 @@ webhooks: type: string enum: - deleted - installation: *673 - organization: *674 - projects_v2_item: *720 + installation: *674 + organization: *675 + projects_v2_item: *721 sender: *4 required: - action @@ -154413,7 +154693,7 @@ webhooks: oneOf: - type: string - type: integer - - &721 + - &722 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -154433,7 +154713,7 @@ webhooks: required: - id - name - - &722 + - &723 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -154462,8 +154742,8 @@ webhooks: oneOf: - type: string - type: integer - - *721 - *722 + - *723 type: - 'null' - string @@ -154486,9 +154766,9 @@ webhooks: - 'null' required: - body - installation: *673 - organization: *674 - projects_v2_item: *720 + installation: *674 + organization: *675 + projects_v2_item: *721 sender: *4 required: - action @@ -154585,9 +154865,9 @@ webhooks: type: - string - 'null' - installation: *673 - organization: *674 - projects_v2_item: *720 + installation: *674 + organization: *675 + projects_v2_item: *721 sender: *4 required: - action @@ -154670,10 +154950,10 @@ webhooks: type: string enum: - restored - changes: *723 - installation: *673 - organization: *674 - projects_v2_item: *720 + changes: *724 + installation: *674 + organization: *675 + projects_v2_item: *721 sender: *4 required: - action @@ -154755,9 +155035,9 @@ webhooks: type: string enum: - reopened - installation: *673 - organization: *674 - projects_v2: *719 + installation: *674 + organization: *675 + projects_v2: *720 sender: *4 required: - action @@ -154838,9 +155118,9 @@ webhooks: type: string enum: - created - installation: *673 - organization: *674 - projects_v2_status_update: &724 + installation: *674 + organization: *675 + projects_v2_status_update: &725 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -154975,9 +155255,9 @@ webhooks: type: string enum: - deleted - installation: *673 - organization: *674 - projects_v2_status_update: *724 + installation: *674 + organization: *675 + projects_v2_status_update: *725 sender: *4 required: - action @@ -155123,9 +155403,9 @@ webhooks: - string - 'null' format: date - installation: *673 - organization: *674 - projects_v2_status_update: *724 + installation: *674 + organization: *675 + projects_v2_status_update: *725 sender: *4 required: - action @@ -155196,10 +155476,10 @@ webhooks: title: public event type: object properties: - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - repository @@ -155276,13 +155556,13 @@ webhooks: type: string enum: - assigned - assignee: *699 - enterprise: *672 - installation: *673 - number: &725 + assignee: *700 + enterprise: *673 + installation: *674 + number: &726 description: The pull request number. type: integer - organization: *674 + organization: *675 pull_request: title: Pull Request type: object @@ -157631,7 +157911,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *675 + repository: *676 sender: *4 required: - action @@ -157713,11 +157993,11 @@ webhooks: type: string enum: - auto_merge_disabled - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 number: type: integer - organization: *674 + organization: *675 pull_request: title: Pull Request type: object @@ -160059,7 +160339,7 @@ webhooks: - draft reason: type: string - repository: *675 + repository: *676 sender: *4 required: - action @@ -160141,11 +160421,11 @@ webhooks: type: string enum: - auto_merge_enabled - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 number: type: integer - organization: *674 + organization: *675 pull_request: title: Pull Request type: object @@ -162487,7 +162767,7 @@ webhooks: - draft reason: type: string - repository: *675 + repository: *676 sender: *4 required: - action @@ -162569,13 +162849,13 @@ webhooks: type: string enum: - closed - enterprise: *672 - installation: *673 - number: *725 - organization: *674 - pull_request: &726 + enterprise: *673 + installation: *674 + number: *726 + organization: *675 + pull_request: &727 allOf: - - *530 + - *531 - type: object properties: allow_auto_merge: @@ -162637,7 +162917,7 @@ webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *675 + repository: *676 sender: *4 required: - action @@ -162718,12 +162998,12 @@ webhooks: type: string enum: - converted_to_draft - enterprise: *672 - installation: *673 - number: *725 - organization: *674 - pull_request: *726 - repository: *675 + enterprise: *673 + installation: *674 + number: *726 + organization: *675 + pull_request: *727 + repository: *676 sender: *4 required: - action @@ -162803,11 +163083,11 @@ webhooks: type: string enum: - demilestoned - enterprise: *672 - milestone: *428 - number: *725 - organization: *674 - pull_request: &727 + enterprise: *673 + milestone: *429 + number: *726 + organization: *675 + pull_request: &728 title: Pull Request type: object properties: @@ -165134,7 +165414,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *675 + repository: *676 sender: *4 required: - action @@ -165213,11 +165493,11 @@ webhooks: type: string enum: - dequeued - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 number: type: integer - organization: *674 + organization: *675 pull_request: title: Pull Request type: object @@ -167563,7 +167843,7 @@ webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *675 + repository: *676 sender: *4 required: - action @@ -167687,12 +167967,12 @@ webhooks: type: string required: - from - enterprise: *672 - installation: *673 - number: *725 - organization: *674 - pull_request: *726 - repository: *675 + enterprise: *673 + installation: *674 + number: *726 + organization: *675 + pull_request: *727 + repository: *676 sender: *4 required: - action @@ -167772,11 +168052,11 @@ webhooks: type: string enum: - enqueued - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 number: type: integer - organization: *674 + organization: *675 pull_request: title: Pull Request type: object @@ -170107,7 +170387,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *675 + repository: *676 sender: *4 required: - action @@ -170187,11 +170467,11 @@ webhooks: type: string enum: - labeled - enterprise: *672 - installation: *673 - label: *698 - number: *725 - organization: *674 + enterprise: *673 + installation: *674 + label: *699 + number: *726 + organization: *675 pull_request: title: Pull Request type: object @@ -172539,7 +172819,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *675 + repository: *676 sender: *4 required: - action @@ -172620,10 +172900,10 @@ webhooks: type: string enum: - locked - enterprise: *672 - installation: *673 - number: *725 - organization: *674 + enterprise: *673 + installation: *674 + number: *726 + organization: *675 pull_request: title: Pull Request type: object @@ -174969,7 +175249,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *675 + repository: *676 sender: *4 required: - action @@ -175049,12 +175329,12 @@ webhooks: type: string enum: - milestoned - enterprise: *672 - milestone: *428 - number: *725 - organization: *674 - pull_request: *727 - repository: *675 + enterprise: *673 + milestone: *429 + number: *726 + organization: *675 + pull_request: *728 + repository: *676 sender: *4 required: - action @@ -175133,12 +175413,12 @@ webhooks: type: string enum: - opened - enterprise: *672 - installation: *673 - number: *725 - organization: *674 - pull_request: *726 - repository: *675 + enterprise: *673 + installation: *674 + number: *726 + organization: *675 + pull_request: *727 + repository: *676 sender: *4 required: - action @@ -175219,12 +175499,12 @@ webhooks: type: string enum: - ready_for_review - enterprise: *672 - installation: *673 - number: *725 - organization: *674 - pull_request: *726 - repository: *675 + enterprise: *673 + installation: *674 + number: *726 + organization: *675 + pull_request: *727 + repository: *676 sender: *4 required: - action @@ -175304,12 +175584,12 @@ webhooks: type: string enum: - reopened - enterprise: *672 - installation: *673 - number: *725 - organization: *674 - pull_request: *726 - repository: *675 + enterprise: *673 + installation: *674 + number: *726 + organization: *675 + pull_request: *727 + repository: *676 sender: *4 required: - action @@ -175684,9 +175964,9 @@ webhooks: - start_side - side - reactions - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 pull_request: type: object properties: @@ -177916,7 +178196,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *675 + repository: *676 sender: *4 required: - action @@ -177996,7 +178276,7 @@ webhooks: type: string enum: - deleted - comment: &729 + comment: &730 title: Pull Request Review Comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -178289,9 +178569,9 @@ webhooks: - start_side - side - reactions - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 pull_request: type: object properties: @@ -180509,7 +180789,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *675 + repository: *676 sender: *4 required: - action @@ -180589,11 +180869,11 @@ webhooks: type: string enum: - edited - changes: *728 - comment: *729 - enterprise: *672 - installation: *673 - organization: *674 + changes: *729 + comment: *730 + enterprise: *673 + installation: *674 + organization: *675 pull_request: type: object properties: @@ -182814,7 +183094,7 @@ webhooks: - _links - author_association - active_lock_reason - repository: *675 + repository: *676 sender: *4 required: - action @@ -182895,9 +183175,9 @@ webhooks: type: string enum: - dismissed - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 pull_request: title: Simple Pull Request type: object @@ -185130,7 +185410,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *675 + repository: *676 review: description: The review that was affected. type: object @@ -185376,9 +185656,9 @@ webhooks: type: string required: - from - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 pull_request: title: Simple Pull Request type: object @@ -187492,8 +187772,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *675 - review: &730 + repository: *676 + review: &731 description: The review that was affected. type: object properties: @@ -187726,12 +188006,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 number: description: The pull request number. type: integer - organization: *674 + organization: *675 pull_request: title: Pull Request type: object @@ -190078,7 +190358,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *675 + repository: *676 requested_reviewer: title: User type: @@ -190164,12 +190444,12 @@ webhooks: type: string enum: - review_request_removed - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 number: description: The pull request number. type: integer - organization: *674 + organization: *675 pull_request: title: Pull Request type: object @@ -192523,7 +192803,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *675 + repository: *676 requested_team: title: Team description: Groups of organization members that gives permissions @@ -192718,12 +192998,12 @@ webhooks: type: string enum: - review_requested - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 number: description: The pull request number. type: integer - organization: *674 + organization: *675 pull_request: title: Pull Request type: object @@ -195072,7 +195352,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *675 + repository: *676 requested_reviewer: title: User type: @@ -195159,12 +195439,12 @@ webhooks: type: string enum: - review_requested - enterprise: *672 - installation: *673 + enterprise: *673 + installation: *674 number: description: The pull request number. type: integer - organization: *674 + organization: *675 pull_request: title: Pull Request type: object @@ -197504,7 +197784,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *675 + repository: *676 requested_team: title: Team description: Groups of organization members that gives permissions @@ -197688,9 +197968,9 @@ webhooks: type: string enum: - submitted - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 pull_request: title: Simple Pull Request type: object @@ -199926,8 +200206,8 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *675 - review: *730 + repository: *676 + review: *731 sender: *4 required: - action @@ -200007,9 +200287,9 @@ webhooks: type: string enum: - resolved - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 pull_request: title: Simple Pull Request type: object @@ -202140,7 +202420,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *675 + repository: *676 sender: *4 thread: type: object @@ -202532,9 +202812,9 @@ webhooks: type: string enum: - unresolved - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 pull_request: title: Simple Pull Request type: object @@ -204648,7 +204928,7 @@ webhooks: - author_association - auto_merge - active_lock_reason - repository: *675 + repository: *676 sender: *4 thread: type: object @@ -205042,10 +205322,10 @@ webhooks: type: string before: type: string - enterprise: *672 - installation: *673 - number: *725 - organization: *674 + enterprise: *673 + installation: *674 + number: *726 + organization: *675 pull_request: title: Pull Request type: object @@ -207380,7 +207660,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *675 + repository: *676 sender: *4 required: - action @@ -207462,11 +207742,11 @@ webhooks: type: string enum: - unassigned - assignee: *731 - enterprise: *672 - installation: *673 - number: *725 - organization: *674 + assignee: *732 + enterprise: *673 + installation: *674 + number: *726 + organization: *675 pull_request: title: Pull Request type: object @@ -209816,7 +210096,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *675 + repository: *676 sender: *4 required: - action @@ -209895,11 +210175,11 @@ webhooks: type: string enum: - unlabeled - enterprise: *672 - installation: *673 - label: *698 - number: *725 - organization: *674 + enterprise: *673 + installation: *674 + label: *699 + number: *726 + organization: *675 pull_request: title: Pull Request type: object @@ -212238,7 +212518,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *675 + repository: *676 sender: *4 required: - action @@ -212319,10 +212599,10 @@ webhooks: type: string enum: - unlocked - enterprise: *672 - installation: *673 - number: *725 - organization: *674 + enterprise: *673 + installation: *674 + number: *726 + organization: *675 pull_request: title: Pull Request type: object @@ -214651,7 +214931,7 @@ webhooks: - auto_merge - active_lock_reason - draft - repository: *675 + repository: *676 sender: *4 required: - action @@ -214854,7 +215134,7 @@ webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *672 + enterprise: *673 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -214949,8 +215229,8 @@ webhooks: - url - author - committer - installation: *673 - organization: *674 + installation: *674 + organization: *675 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -215538,9 +215818,9 @@ webhooks: type: string enum: - published - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 registry_package: type: object properties: @@ -216017,7 +216297,7 @@ webhooks: type: string rubygems_metadata: type: array - items: *713 + items: *714 summary: type: string tag_name: @@ -216073,7 +216353,7 @@ webhooks: - owner - package_version - registry - repository: *675 + repository: *676 sender: *4 required: - action @@ -216151,9 +216431,9 @@ webhooks: type: string enum: - updated - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 registry_package: type: object properties: @@ -216465,7 +216745,7 @@ webhooks: - published_at rubygems_metadata: type: array - items: *713 + items: *714 summary: type: string tag_name: @@ -216515,7 +216795,7 @@ webhooks: - owner - package_version - registry - repository: *675 + repository: *676 sender: *4 required: - action @@ -216592,10 +216872,10 @@ webhooks: type: string enum: - created - enterprise: *672 - installation: *673 - organization: *674 - release: &732 + enterprise: *673 + installation: *674 + organization: *675 + release: &733 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -216911,7 +217191,7 @@ webhooks: - tarball_url - zipball_url - body - repository: *675 + repository: *676 sender: *4 required: - action @@ -216988,11 +217268,11 @@ webhooks: type: string enum: - deleted - enterprise: *672 - installation: *673 - organization: *674 - release: *732 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + release: *733 + repository: *676 sender: *4 required: - action @@ -217100,11 +217380,11 @@ webhooks: type: boolean required: - to - enterprise: *672 - installation: *673 - organization: *674 - release: *732 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + release: *733 + repository: *676 sender: *4 required: - action @@ -217182,9 +217462,9 @@ webhooks: type: string enum: - prereleased - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -217505,7 +217785,7 @@ webhooks: - string - 'null' format: uri - repository: *675 + repository: *676 sender: *4 required: - action @@ -217581,10 +217861,10 @@ webhooks: type: string enum: - published - enterprise: *672 - installation: *673 - organization: *674 - release: &733 + enterprise: *673 + installation: *674 + organization: *675 + release: &734 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -217902,7 +218182,7 @@ webhooks: - string - 'null' format: uri - repository: *675 + repository: *676 sender: *4 required: - action @@ -217978,11 +218258,11 @@ webhooks: type: string enum: - released - enterprise: *672 - installation: *673 - organization: *674 - release: *732 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + release: *733 + repository: *676 sender: *4 required: - action @@ -218058,11 +218338,11 @@ webhooks: type: string enum: - unpublished - enterprise: *672 - installation: *673 - organization: *674 - release: *733 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + release: *734 + repository: *676 sender: *4 required: - action @@ -218138,11 +218418,11 @@ webhooks: type: string enum: - published - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 - repository_advisory: *584 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + repository_advisory: *585 sender: *4 required: - action @@ -218218,11 +218498,11 @@ webhooks: type: string enum: - reported - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 - repository_advisory: *584 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + repository_advisory: *585 sender: *4 required: - action @@ -218298,10 +218578,10 @@ webhooks: type: string enum: - archived - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -218378,10 +218658,10 @@ webhooks: type: string enum: - created - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -218459,10 +218739,10 @@ webhooks: type: string enum: - deleted - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -218547,10 +218827,10 @@ webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -218665,10 +218945,10 @@ webhooks: - 'null' items: type: string - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -218740,10 +219020,10 @@ webhooks: title: repository_import event type: object properties: - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 status: type: string @@ -218824,10 +219104,10 @@ webhooks: type: string enum: - privatized - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -218904,10 +219184,10 @@ webhooks: type: string enum: - publicized - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -219001,10 +219281,10 @@ webhooks: - name required: - repository - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -219084,11 +219364,11 @@ webhooks: type: string enum: - created - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 - repository_ruleset: *272 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + repository_ruleset: *273 sender: *4 required: - action @@ -219166,11 +219446,11 @@ webhooks: type: string enum: - deleted - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 - repository_ruleset: *272 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + repository_ruleset: *273 sender: *4 required: - action @@ -219248,11 +219528,11 @@ webhooks: type: string enum: - edited - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 - repository_ruleset: *272 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + repository_ruleset: *273 changes: type: object properties: @@ -219271,16 +219551,16 @@ webhooks: properties: added: type: array - items: *266 + items: *267 deleted: type: array - items: *266 + items: *267 updated: type: array items: type: object properties: - condition: *266 + condition: *267 changes: type: object properties: @@ -219313,16 +219593,16 @@ webhooks: properties: added: type: array - items: *271 + items: *272 deleted: type: array - items: *271 + items: *272 updated: type: array items: type: object properties: - rule: *271 + rule: *272 changes: type: object properties: @@ -219559,10 +219839,10 @@ webhooks: - from required: - owner - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -219640,10 +219920,10 @@ webhooks: type: string enum: - unarchived - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -219721,7 +220001,7 @@ webhooks: type: string enum: - create - alert: &734 + alert: &735 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -219845,10 +220125,10 @@ webhooks: type: string enum: - open - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -220058,10 +220338,10 @@ webhooks: type: string enum: - dismissed - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -220139,11 +220419,11 @@ webhooks: type: string enum: - reopen - alert: *734 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + alert: *735 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -220345,10 +220625,10 @@ webhooks: enum: - fixed - open - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -220426,7 +220706,7 @@ webhooks: type: string enum: - created - alert: &735 + alert: &736 type: object properties: number: *81 @@ -220530,10 +220810,10 @@ webhooks: - 'null' description: Whether the detected secret was found in multiple repositories in the same organization or business. - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -220614,11 +220894,11 @@ webhooks: type: string enum: - created - alert: *735 - installation: *673 - location: *736 - organization: *674 - repository: *675 + alert: *736 + installation: *674 + location: *737 + organization: *675 + repository: *676 sender: *4 required: - location @@ -220856,11 +221136,11 @@ webhooks: type: string enum: - publicly_leaked - alert: *735 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + alert: *736 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -220938,11 +221218,11 @@ webhooks: type: string enum: - reopened - alert: *735 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + alert: *736 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -221020,11 +221300,11 @@ webhooks: type: string enum: - resolved - alert: *735 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + alert: *736 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -221102,11 +221382,11 @@ webhooks: type: string enum: - validated - alert: *735 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + alert: *736 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -221182,11 +221462,11 @@ webhooks: type: string enum: - published - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 - security_advisory: &737 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + security_advisory: &738 description: The details of the security advisory, including summary, description, and severity. type: object @@ -221372,11 +221652,11 @@ webhooks: type: string enum: - updated - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 - security_advisory: *737 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 + security_advisory: *738 sender: *4 required: - action @@ -221449,10 +221729,10 @@ webhooks: type: string enum: - withdrawn - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -221638,11 +221918,11 @@ webhooks: from: type: object properties: - security_and_analysis: *263 - enterprise: *672 - installation: *673 - organization: *674 - repository: *324 + security_and_analysis: *264 + enterprise: *673 + installation: *674 + organization: *675 + repository: *325 sender: *4 required: - changes @@ -221720,12 +222000,12 @@ webhooks: type: string enum: - cancelled - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - sponsorship: &738 + sponsorship: &739 type: object properties: created_at: @@ -222030,12 +222310,12 @@ webhooks: type: string enum: - created - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - sponsorship: *738 + sponsorship: *739 required: - action - sponsorship @@ -222123,12 +222403,12 @@ webhooks: type: string required: - from - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - sponsorship: *738 + sponsorship: *739 required: - action - changes @@ -222205,17 +222485,17 @@ webhooks: type: string enum: - pending_cancellation - effective_date: &739 + effective_date: &740 description: The `pending_cancellation` and `pending_tier_change` event types will include the date the cancellation or tier change will take effect. type: string - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - sponsorship: *738 + sponsorship: *739 required: - action - sponsorship @@ -222289,7 +222569,7 @@ webhooks: type: string enum: - pending_tier_change - changes: &740 + changes: &741 type: object properties: tier: @@ -222333,13 +222613,13 @@ webhooks: - from required: - tier - effective_date: *739 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + effective_date: *740 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - sponsorship: *738 + sponsorship: *739 required: - action - changes @@ -222416,13 +222696,13 @@ webhooks: type: string enum: - tier_changed - changes: *740 - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + changes: *741 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - sponsorship: *738 + sponsorship: *739 required: - action - changes @@ -222496,10 +222776,10 @@ webhooks: type: string enum: - created - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -222583,10 +222863,10 @@ webhooks: type: string enum: - deleted - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 starred_at: description: 'The time the star was created. This is a timestamp @@ -223019,15 +223299,15 @@ webhooks: type: - string - 'null' - enterprise: *672 + enterprise: *673 id: description: The unique identifier of the status. type: integer - installation: *673 + installation: *674 name: type: string - organization: *674 - repository: *675 + organization: *675 + repository: *676 sender: *4 sha: description: The Commit SHA. @@ -223137,15 +223417,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *112 + parent_issue: *116 parent_issue_repo: *55 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *112 - installation: *673 - organization: *674 - repository: *675 + sub_issue: *116 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -223229,15 +223509,15 @@ webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *112 + parent_issue: *116 parent_issue_repo: *55 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *112 - installation: *673 - organization: *674 - repository: *675 + sub_issue: *116 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -223321,15 +223601,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *112 + sub_issue: *116 sub_issue_repo: *55 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *112 - installation: *673 - organization: *674 - repository: *675 + parent_issue: *116 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -223413,15 +223693,15 @@ webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *112 + sub_issue: *116 sub_issue_repo: *55 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *112 - installation: *673 - organization: *674 - repository: *675 + parent_issue: *116 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -223498,12 +223778,12 @@ webhooks: title: team_add event type: object properties: - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - team: &741 + team: &742 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -223696,9 +223976,9 @@ webhooks: type: string enum: - added_to_repository - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 repository: title: Repository description: A git repository @@ -224168,7 +224448,7 @@ webhooks: - topics - visibility sender: *4 - team: *741 + team: *742 required: - action - team @@ -224244,9 +224524,9 @@ webhooks: type: string enum: - created - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 repository: title: Repository description: A git repository @@ -224716,7 +224996,7 @@ webhooks: - topics - visibility sender: *4 - team: *741 + team: *742 required: - action - team @@ -224793,9 +225073,9 @@ webhooks: type: string enum: - deleted - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 repository: title: Repository description: A git repository @@ -225265,7 +225545,7 @@ webhooks: - topics - visibility sender: *4 - team: *741 + team: *742 required: - action - team @@ -225409,9 +225689,9 @@ webhooks: - from required: - permissions - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 repository: title: Repository description: A git repository @@ -225881,7 +226161,7 @@ webhooks: - topics - visibility sender: *4 - team: *741 + team: *742 required: - action - changes @@ -225959,9 +226239,9 @@ webhooks: type: string enum: - removed_from_repository - enterprise: *672 - installation: *673 - organization: *674 + enterprise: *673 + installation: *674 + organization: *675 repository: title: Repository description: A git repository @@ -226431,7 +226711,7 @@ webhooks: - topics - visibility sender: *4 - team: *741 + team: *742 required: - action - team @@ -226507,10 +226787,10 @@ webhooks: type: string enum: - started - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 required: - action @@ -226583,17 +226863,17 @@ webhooks: title: workflow_dispatch event type: object properties: - enterprise: *672 + enterprise: *673 inputs: type: - object - 'null' additionalProperties: true - installation: *673 - organization: *674 + installation: *674 + organization: *675 ref: type: string - repository: *675 + repository: *676 sender: *4 workflow: type: string @@ -226675,10 +226955,10 @@ webhooks: type: string enum: - completed - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 workflow_job: allOf: @@ -226934,7 +227214,7 @@ webhooks: type: string required: - conclusion - deployment: *448 + deployment: *449 required: - action - repository @@ -227013,10 +227293,10 @@ webhooks: type: string enum: - in_progress - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 workflow_job: allOf: @@ -227298,7 +227578,7 @@ webhooks: required: - status - steps - deployment: *448 + deployment: *449 required: - action - repository @@ -227377,10 +227657,10 @@ webhooks: type: string enum: - queued - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 workflow_job: type: object @@ -227526,7 +227806,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *448 + deployment: *449 required: - action - repository @@ -227605,10 +227885,10 @@ webhooks: type: string enum: - waiting - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 workflow_job: type: object @@ -227755,7 +228035,7 @@ webhooks: - workflow_name - head_branch - created_at - deployment: *448 + deployment: *449 required: - action - repository @@ -227835,12 +228115,12 @@ webhooks: type: string enum: - completed - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - workflow: *694 + workflow: *695 workflow_run: title: Workflow Run type: object @@ -228859,12 +229139,12 @@ webhooks: type: string enum: - in_progress - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - workflow: *694 + workflow: *695 workflow_run: title: Workflow Run type: object @@ -229868,12 +230148,12 @@ webhooks: type: string enum: - requested - enterprise: *672 - installation: *673 - organization: *674 - repository: *675 + enterprise: *673 + installation: *674 + organization: *675 + repository: *676 sender: *4 - workflow: *694 + workflow: *695 workflow_run: title: Workflow Run type: object diff --git a/descriptions-next/ghec/ghec.2022-11-28.json b/descriptions-next/ghec/ghec.2022-11-28.json index ee9407718..8d19ed9b8 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/ghec/ghec.2022-11-28.json @@ -5383,6 +5383,296 @@ } } }, + "/enterprises/{enterprise}/properties/schema": { + "get": { + "summary": "Get custom properties for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets all custom properties defined for an enterprise.\nEnterprise members can read these properties.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-enterprise-custom-properties", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-custom-properties-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/custom-property" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/custom-properties" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "custom-properties" + } + }, + "patch": { + "summary": "Create or update custom properties for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nCreates new or updates existing custom properties defined for an enterprise in a batch.\n\nTo use this endpoint, the authenticated user must be an administrator for the enterprise.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/create-or-update-enterprise-custom-properties", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-custom-properties-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "properties": { + "type": "array", + "description": "The array of custom properties to create or update.", + "items": { + "$ref": "#/components/schemas/custom-property" + }, + "minItems": 1, + "maxItems": 100 + } + }, + "required": [ + "properties" + ] + }, + "examples": { + "default": { + "value": { + "properties": [ + { + "property_name": "environment", + "value_type": "single_select", + "required": true, + "default_value": "production", + "description": "Prod or dev environment", + "allowed_values": [ + "production", + "development" + ], + "values_editable_by": "org_actors" + }, + { + "property_name": "service", + "value_type": "string" + }, + { + "property_name": "team", + "value_type": "string", + "description": "Team owning the repository" + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/custom-property" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/custom-properties" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "custom-properties" + } + } + }, + "/enterprises/{enterprise}/properties/schema/{custom_property_name}": { + "get": { + "summary": "Get a custom property for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a custom property that is defined for an enterprise.\nEnterprise members can read these properties.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-enterprise-custom-property", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/custom-property-name" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/custom-property" + }, + "examples": { + "default": { + "$ref": "#/components/examples/custom-property" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "custom-properties" + } + }, + "put": { + "summary": "Create or update a custom property for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nCreates a new or updates an existing custom property that is defined for an enterprise.\n\nTo use this endpoint, the authenticated user must be an administrator for the enterprise.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/create-or-update-enterprise-custom-property", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/custom-property-name" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/custom-property" + }, + "examples": { + "default": { + "$ref": "#/components/examples/custom-property" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "custom-properties" + } + }, + "delete": { + "summary": "Remove a custom property for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nRemove a custom property that is defined for an enterprise.\n\nTo use this endpoint, the authenticated user must be an administrator for the enterprise.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/remove-enterprise-custom-property", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/custom-property-name" + } + ], + "responses": { + "204": { + "$ref": "#/components/responses/no_content" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "custom-properties" + } + } + }, "/enterprises/{enterprise}/secret-scanning/alerts": { "get": { "summary": "List secret scanning alerts for an enterprise", @@ -5907,7 +6197,7 @@ "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": { "get": { "summary": "Get Copilot metrics for an enterprise team", - "description": "Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.\n\nTo access this endpoint, the Copilot Metrics API access policy must be enabled or set to \"no policy\" for the enterprise within GitHub settings.\nOnly owners and billing managers for the enterprise that contains the enterprise team can view Copilot metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See \"[About enterprise accounts for Copilot Business](https://docs.github.com/enterprise-cloud@latest//admin/copilot-business-only/about-enterprise-accounts-for-copilot-business).\"\n\nUse this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.\n\nTo access this endpoint, the Copilot Metrics API access policy must be enabled or set to \"no policy\" for the enterprise within GitHub settings.\nOnly owners and billing managers for the enterprise that contains the enterprise team can view Copilot metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -5997,7 +6287,7 @@ "/enterprises/{enterprise}/team/{team_slug}/copilot/usage": { "get": { "summary": "Get a summary of Copilot usage for an enterprise team", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had five or more members with active Copilot licenses, as evaluated at the end of that day.\n\nOwners and billing managers for the enterprise that contains the enterprise team can view Copilot usage metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change. This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See \"[About enterprise accounts for Copilot Business](https://docs.github.com/enterprise-cloud@latest//admin/copilot-business-only/about-enterprise-accounts-for-copilot-business).\"\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had five or more members with active Copilot licenses, as evaluated at the end of that day.\n\nOwners and billing managers for the enterprise that contains the enterprise team can view Copilot usage metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -13453,6 +13743,9 @@ ], "default": "disabled" }, + "code_scanning_default_setup_options": { + "$ref": "#/components/schemas/code-scanning-default-setup-options" + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -13877,6 +14170,9 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "$ref": "#/components/schemas/code-scanning-default-setup-options" + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -15326,7 +15622,7 @@ "/orgs/{org}/copilot/billing/selected_teams": { "post": { "summary": "Add teams to the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for all users within each specified team.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can add Copilot seats for their organization members.\n\nIn order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response will contain the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for all users within each specified team.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -15426,7 +15722,7 @@ }, "delete": { "summary": "Remove teams from the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all members of each team specified to \"pending cancellation\".\nThis will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team.\n\nFor more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nFor more information about disabling access to Copilot Business or Enterprise, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response will contain the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all members of each team specified to \"pending cancellation\".\nThis will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -15528,7 +15824,7 @@ "/orgs/{org}/copilot/billing/selected_users": { "post": { "summary": "Add users to the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for each user specified.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can add Copilot seats for their organization members.\n\nIn order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response will contain the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for each user specified.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -15628,7 +15924,7 @@ }, "delete": { "summary": "Remove users from the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\n\nFor more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nFor more information about disabling access to Copilot Business or Enterprise, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response will contain the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -18185,6 +18481,9 @@ }, { "$ref": "#/components/parameters/api-insights-route-stats-sort" + }, + { + "$ref": "#/components/parameters/api-insights-api-route-substring" } ], "responses": { @@ -18244,6 +18543,9 @@ }, { "$ref": "#/components/parameters/api-insights-sort" + }, + { + "$ref": "#/components/parameters/api-insights-subject-name-substring" } ], "responses": { @@ -18615,6 +18917,9 @@ }, { "$ref": "#/components/parameters/api-insights-sort" + }, + { + "$ref": "#/components/parameters/api-insights-actor-name-substring" } ], "responses": { @@ -106894,6 +107199,107 @@ } } }, + "custom-property": { + "title": "Organization Custom Property", + "description": "Custom property defined on an organization", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + }, + "value_type": { + "type": "string", + "enum": [ + "string", + "single_select", + "multi_select", + "true_false" + ], + "description": "The type of the value for the property", + "examples": [ + "single_select" + ] + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "Default value of the property", + "type": [ + "null", + "string", + "array" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "Short description of the property" + }, + "allowed_values": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string", + "maxLength": 75 + }, + "maxItems": 200, + "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + }, + "values_editable_by": { + "type": [ + "string", + "null" + ], + "enum": [ + "org_actors", + "org_and_repo_actors", + null + ], + "description": "Who can edit the values of the property", + "examples": [ + "org_actors" + ] + } + }, + "required": [ + "property_name", + "value_type" + ] + }, "secret-scanning-alert-state": { "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.", "type": "string", @@ -111443,6 +111849,35 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "standard", + "labeled", + "not_set", + null + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning when runner_type is 'labeled'." + } + } + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -111556,6 +111991,31 @@ } } }, + "code-scanning-default-setup-options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning default setup when runner_type is 'labeled'." + } + } + }, "code-security-default-configurations": { "type": "array", "description": "A list of default code security configurations", @@ -114298,107 +114758,6 @@ "updated_at" ] }, - "custom-property": { - "title": "Organization Custom Property", - "description": "Custom property defined on an organization", - "type": "object", - "properties": { - "property_name": { - "type": "string", - "description": "The name of the property" - }, - "url": { - "type": "string", - "format": "uri", - "description": "The URL that can be used to fetch, update, or delete info about this property via the API." - }, - "source_type": { - "type": "string", - "description": "The source type of the property", - "enum": [ - "organization", - "enterprise" - ], - "examples": [ - "organization" - ] - }, - "value_type": { - "type": "string", - "enum": [ - "string", - "single_select", - "multi_select", - "true_false" - ], - "description": "The type of the value for the property", - "examples": [ - "single_select" - ] - }, - "required": { - "type": "boolean", - "description": "Whether the property is required." - }, - "default_value": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "description": "Default value of the property", - "type": [ - "null", - "string", - "array" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "description": "Short description of the property" - }, - "allowed_values": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string", - "maxLength": 75 - }, - "maxItems": 200, - "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." - }, - "values_editable_by": { - "type": [ - "string", - "null" - ], - "enum": [ - "org_actors", - "org_and_repo_actors", - null - ], - "description": "Who can edit the values of the property", - "examples": [ - "org_actors" - ] - } - }, - "required": [ - "property_name", - "value_type" - ] - }, "custom-property-value": { "title": "Custom Property Value", "description": "Custom property name and associated value", @@ -123915,6 +124274,24 @@ "not-configured" ] }, + "runner_type": { + "description": "Runner type to be used.", + "type": "string", + "enum": [ + "standard", + "labeled" + ] + }, + "runner_label": { + "description": "Runner label to be used if the runner type is labeled.", + "type": [ + "string", + "null" + ], + "examples": [ + "code-scanning" + ] + }, "query_suite": { "description": "CodeQL query suite to be used.", "type": "string", @@ -133818,7 +134195,7 @@ }, "status": { "type": "string", - "description": "The state of the scan. Either \"completed\" or \"running\"" + "description": "The state of the scan. Either \"completed\", \"running\", or \"pending\"" }, "completed_at": { "type": [ @@ -133826,12 +134203,15 @@ "null" ], "format": "date-time", - "description": "The time that the scan was completed. Empty if the scan is active" + "description": "The time that the scan was completed. Empty if the scan is running" }, "started_at": { - "type": "string", + "type": [ + "string", + "null" + ], "format": "date-time", - "description": "The time that the scan was started" + "description": "The time that the scan was started. Empty if the scan is pending" } } }, @@ -287425,6 +287805,52 @@ ] } }, + "custom-properties": { + "value": [ + { + "property_name": "environment", + "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", + "value_type": "single_select", + "required": true, + "default_value": "production", + "description": "Prod or dev environment", + "allowed_values": [ + "production", + "development" + ], + "values_editable_by": "org_actors" + }, + { + "property_name": "service", + "url": "https://api.github.com/orgs/github/properties/schema/service", + "source_type": "organization", + "value_type": "string" + }, + { + "property_name": "team", + "url": "https://api.github.com/orgs/github/properties/schema/team", + "source_type": "organization", + "value_type": "string", + "description": "Team owning the repository" + } + ] + }, + "custom-property": { + "value": { + "property_name": "environment", + "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", + "value_type": "single_select", + "required": true, + "default_value": "production", + "description": "Prod or dev environment", + "allowed_values": [ + "production", + "development" + ] + } + }, "organization-secret-scanning-alert-list": { "value": [ { @@ -290403,6 +290829,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "enabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -290434,6 +290864,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "enabled", "secret_scanning_push_protection": "enabled", "secret_scanning_delegated_bypass": "enabled", @@ -290472,6 +290906,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "enabled", "secret_scanning_push_protection": "enabled", "secret_scanning_delegated_bypass": "disabled", @@ -290501,6 +290939,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "disabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -292964,52 +293406,6 @@ "updated_at": "2014-03-04T18:58:10Z" } }, - "custom-properties": { - "value": [ - { - "property_name": "environment", - "url": "https://api.github.com/orgs/github/properties/schema/environment", - "source_type": "organization", - "value_type": "single_select", - "required": true, - "default_value": "production", - "description": "Prod or dev environment", - "allowed_values": [ - "production", - "development" - ], - "values_editable_by": "org_actors" - }, - { - "property_name": "service", - "url": "https://api.github.com/orgs/github/properties/schema/service", - "source_type": "organization", - "value_type": "string" - }, - { - "property_name": "team", - "url": "https://api.github.com/orgs/github/properties/schema/team", - "source_type": "organization", - "value_type": "string", - "description": "Team owning the repository" - } - ] - }, - "custom-property": { - "value": { - "property_name": "environment", - "url": "https://api.github.com/orgs/github/properties/schema/environment", - "source_type": "organization", - "value_type": "single_select", - "required": true, - "default_value": "production", - "description": "Prod or dev environment", - "allowed_values": [ - "production", - "development" - ] - } - }, "org-repo-custom-property-values": { "value": [ { @@ -315353,6 +315749,15 @@ "maximum": 100 } }, + "custom-property-name": { + "name": "custom_property_name", + "description": "The custom property name", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, "secret-scanning-alert-state": { "name": "state", "in": "query", @@ -315836,6 +316241,15 @@ } } }, + "api-insights-api-route-substring": { + "name": "api_route_substring", + "in": "query", + "description": "Providing a substring will filter results where the API route contains the substring. This is a case-insensitive search.", + "required": false, + "schema": { + "type": "string" + } + }, "api-insights-sort": { "name": "sort", "description": "The property to sort the results by.", @@ -315856,6 +316270,15 @@ } } }, + "api-insights-subject-name-substring": { + "name": "subject_name_substring", + "in": "query", + "description": "Providing a substring will filter results where the subject name contains the substring. This is a case-insensitive search.", + "required": false, + "schema": { + "type": "string" + } + }, "api-insights-user-id": { "name": "user_id", "in": "path", @@ -315874,6 +316297,15 @@ "type": "string" } }, + "api-insights-actor-name-substring": { + "name": "actor_name_substring", + "in": "query", + "description": "Providing a substring will filter results where the actor name contains the substring. This is a case-insensitive search.", + "required": false, + "schema": { + "type": "string" + } + }, "invitation-id": { "name": "invitation_id", "description": "The unique identifier of the invitation.", @@ -316041,15 +316473,6 @@ "type": "integer" } }, - "custom-property-name": { - "name": "custom_property_name", - "description": "The custom property name", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, "ruleset-targets": { "name": "targets", "description": "A comma-separated list of rule targets to filter by.\nIf provided, only rulesets that apply to the specified targets will be returned.\nFor example, `branch,tag,push`.\n", @@ -317098,6 +317521,9 @@ } } }, + "no_content": { + "description": "A header with no content is returned." + }, "get_all_cost_centers": { "description": "Response when getting cost centers", "content": { @@ -317242,9 +317668,6 @@ } } }, - "no_content": { - "description": "A header with no content is returned." - }, "package_es_list_error": { "description": "The value of `per_page` multiplied by `page` cannot be greater than 10000." }, diff --git a/descriptions-next/ghec/ghec.2022-11-28.yaml b/descriptions-next/ghec/ghec.2022-11-28.yaml index 06628cde3..510cdb8fd 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.yaml +++ b/descriptions-next/ghec/ghec.2022-11-28.yaml @@ -3817,6 +3817,220 @@ paths: previews: [] category: enterprise-admin subcategory: license + "/enterprises/{enterprise}/properties/schema": + get: + summary: Get custom properties for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets all custom properties defined for an enterprise. + Enterprise members can read these properties. + tags: + - enterprise-admin + operationId: enterprise-admin/get-enterprise-custom-properties + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-custom-properties-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/custom-property" + examples: + default: + "$ref": "#/components/examples/custom-properties" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: custom-properties + patch: + summary: Create or update custom properties for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Creates new or updates existing custom properties defined for an enterprise in a batch. + + To use this endpoint, the authenticated user must be an administrator for the enterprise. + tags: + - enterprise-admin + operationId: enterprise-admin/create-or-update-enterprise-custom-properties + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-custom-properties-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + properties: + type: array + description: The array of custom properties to create or update. + items: + "$ref": "#/components/schemas/custom-property" + minItems: 1 + maxItems: 100 + required: + - properties + examples: + default: + value: + properties: + - property_name: environment + value_type: single_select + required: true + default_value: production + description: Prod or dev environment + allowed_values: + - production + - development + values_editable_by: org_actors + - property_name: service + value_type: string + - property_name: team + value_type: string + description: Team owning the repository + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/custom-property" + examples: + default: + "$ref": "#/components/examples/custom-properties" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: custom-properties + "/enterprises/{enterprise}/properties/schema/{custom_property_name}": + get: + summary: Get a custom property for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets a custom property that is defined for an enterprise. + Enterprise members can read these properties. + tags: + - enterprise-admin + operationId: enterprise-admin/get-enterprise-custom-property + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/custom-property-name" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/custom-property" + examples: + default: + "$ref": "#/components/examples/custom-property" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: custom-properties + put: + summary: Create or update a custom property for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Creates a new or updates an existing custom property that is defined for an enterprise. + + To use this endpoint, the authenticated user must be an administrator for the enterprise. + tags: + - enterprise-admin + operationId: enterprise-admin/create-or-update-enterprise-custom-property + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/custom-property-name" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/custom-property" + examples: + default: + "$ref": "#/components/examples/custom-property" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: custom-properties + delete: + summary: Remove a custom property for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Remove a custom property that is defined for an enterprise. + + To use this endpoint, the authenticated user must be an administrator for the enterprise. + tags: + - enterprise-admin + operationId: enterprise-admin/remove-enterprise-custom-property + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/custom-property-name" + responses: + '204': + "$ref": "#/components/responses/no_content" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: custom-properties "/enterprises/{enterprise}/secret-scanning/alerts": get: summary: List secret scanning alerts for an enterprise @@ -4174,6 +4388,9 @@ paths: get: summary: Get Copilot metrics for an enterprise team description: |- + > [!NOTE] + > This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See "[About enterprise accounts for Copilot Business](https://docs.github.com/enterprise-cloud@latest//admin/copilot-business-only/about-enterprise-accounts-for-copilot-business)." + Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day, @@ -4250,7 +4467,7 @@ paths: summary: Get a summary of Copilot usage for an enterprise team description: |- > [!NOTE] - > This endpoint is in public preview and is subject to change. + > This endpoint is in public preview and is subject to change. This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See "[About enterprise accounts for Copilot Business](https://docs.github.com/enterprise-cloud@latest//admin/copilot-business-only/about-enterprise-accounts-for-copilot-business)." You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE for users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. @@ -9734,6 +9951,8 @@ paths: - disabled - not_set default: disabled + code_scanning_default_setup_options: + "$ref": "#/components/schemas/code-scanning-default-setup-options" secret_scanning: type: string description: The enablement status of secret scanning @@ -10057,6 +10276,8 @@ paths: - enabled - disabled - not_set + code_scanning_default_setup_options: + "$ref": "#/components/schemas/code-scanning-default-setup-options" secret_scanning: type: string description: The enablement status of secret scanning @@ -11142,13 +11363,11 @@ paths: Purchases a GitHub Copilot seat for all users within each specified team. The organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)." - Only organization owners can add Copilot seats for their organization members. - - In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy. + Only organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy. For more information about setting up a Copilot subscription, see "[Subscribing to Copilot for your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization)." For more information about setting a suggestion matching policy, see "[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching)." - The response will contain the total number of new seats that were created and existing seats that were refreshed. + The response contains the total number of new seats that were created and existing seats that were refreshed. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: @@ -11226,14 +11445,11 @@ paths: Sets seats for all members of each team specified to "pending cancellation". This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team. - - For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)." - - For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)." + For more information about disabling access to Copilot, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)." Only organization owners can cancel Copilot seats for their organization members. - The response will contain the total number of seats set to "pending cancellation". + The response contains the total number of seats set to "pending cancellation". OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: @@ -11313,13 +11529,11 @@ paths: Purchases a GitHub Copilot seat for each user specified. The organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)." - Only organization owners can add Copilot seats for their organization members. - - In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy. + Only organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy. For more information about setting up a Copilot subscription, see "[Subscribing to Copilot for your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization)." For more information about setting a suggestion matching policy, see "[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching)." - The response will contain the total number of new seats that were created and existing seats that were refreshed. + The response contains the total number of new seats that were created and existing seats that were refreshed. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: @@ -11396,14 +11610,11 @@ paths: Sets seats for all users specified to "pending cancellation". This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership. - - For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)." - - For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)." + For more information about disabling access to Copilot, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)." Only organization owners can cancel Copilot seats for their organization members. - The response will contain the total number of seats set to "pending cancellation". + The response contains the total number of seats set to "pending cancellation". OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: @@ -13265,6 +13476,7 @@ paths: - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/api-insights-route-stats-sort" + - "$ref": "#/components/parameters/api-insights-api-route-substring" responses: '200': description: Response @@ -13298,6 +13510,7 @@ paths: - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/api-insights-sort" + - "$ref": "#/components/parameters/api-insights-subject-name-substring" responses: '200': description: Response @@ -13516,6 +13729,7 @@ paths: - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/api-insights-sort" + - "$ref": "#/components/parameters/api-insights-actor-name-substring" responses: '200': description: Response @@ -77519,6 +77733,81 @@ components: type: string error: type: string + custom-property: + title: Organization Custom Property + description: Custom property defined on an organization + type: object + properties: + property_name: + type: string + description: The name of the property + url: + type: string + format: uri + description: The URL that can be used to fetch, update, or delete info about + this property via the API. + source_type: + type: string + description: The source type of the property + enum: + - organization + - enterprise + examples: + - organization + value_type: + type: string + enum: + - string + - single_select + - multi_select + - true_false + description: The type of the value for the property + examples: + - single_select + required: + type: boolean + description: Whether the property is required. + default_value: + oneOf: + - type: string + - type: array + items: + type: string + description: Default value of the property + type: + - 'null' + - string + - array + description: + type: + - string + - 'null' + description: Short description of the property + allowed_values: + type: + - array + - 'null' + items: + type: string + maxLength: 75 + maxItems: 200 + description: |- + An ordered list of the allowed values of the property. + The property can have up to 200 allowed values. + values_editable_by: + type: + - string + - 'null' + enum: + - org_actors + - org_and_repo_actors + - + description: Who can edit the values of the property + examples: + - org_actors + required: + - property_name + - value_type secret-scanning-alert-state: description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. @@ -80831,6 +81120,28 @@ components: - enabled - disabled - not_set + code_scanning_default_setup_options: + type: + - object + - 'null' + description: Feature options for code scanning default setup + properties: + runner_type: + type: + - string + - 'null' + enum: + - standard + - labeled + - not_set + - + description: Whether to use labeled runners or standard GitHub runners. + runner_label: + type: + - string + - 'null' + description: The label of the runner to use for code scanning when runner_type + is 'labeled'. secret_scanning: type: string description: The enablement status of secret scanning @@ -80915,6 +81226,25 @@ components: updated_at: type: string format: date-time + code-scanning-default-setup-options: + type: + - object + - 'null' + description: Feature options for code scanning default setup + properties: + runner_type: + type: string + enum: + - standard + - labeled + - not_set + description: Whether to use labeled runners or standard GitHub runners. + runner_label: + type: + - string + - 'null' + description: The label of the runner to use for code scanning default setup + when runner_type is 'labeled'. code-security-default-configurations: type: array description: A list of default code security configurations @@ -82978,81 +83308,6 @@ components: - columns_url - created_at - updated_at - custom-property: - title: Organization Custom Property - description: Custom property defined on an organization - type: object - properties: - property_name: - type: string - description: The name of the property - url: - type: string - format: uri - description: The URL that can be used to fetch, update, or delete info about - this property via the API. - source_type: - type: string - description: The source type of the property - enum: - - organization - - enterprise - examples: - - organization - value_type: - type: string - enum: - - string - - single_select - - multi_select - - true_false - description: The type of the value for the property - examples: - - single_select - required: - type: boolean - description: Whether the property is required. - default_value: - oneOf: - - type: string - - type: array - items: - type: string - description: Default value of the property - type: - - 'null' - - string - - array - description: - type: - - string - - 'null' - description: Short description of the property - allowed_values: - type: - - array - - 'null' - items: - type: string - maxLength: 75 - maxItems: 200 - description: |- - An ordered list of the allowed values of the property. - The property can have up to 200 allowed values. - values_editable_by: - type: - - string - - 'null' - enum: - - org_actors - - org_and_repo_actors - - - description: Who can edit the values of the property - examples: - - org_actors - required: - - property_name - - value_type custom-property-value: title: Custom Property Value description: Custom property name and associated value @@ -89982,6 +90237,19 @@ components: enum: - configured - not-configured + runner_type: + description: Runner type to be used. + type: string + enum: + - standard + - labeled + runner_label: + description: Runner label to be used if the runner type is labeled. + type: + - string + - 'null' + examples: + - code-scanning query_suite: description: CodeQL query suite to be used. type: string @@ -96955,18 +97223,20 @@ components: description: The type of scan status: type: string - description: The state of the scan. Either "completed" or "running" + description: The state of the scan. Either "completed", "running", or "pending" completed_at: type: - string - 'null' format: date-time description: The time that the scan was completed. Empty if the scan is - active + running started_at: - type: string + type: + - string + - 'null' format: date-time - description: The time that the scan was started + description: The time that the scan was started. Empty if the scan is pending secret-scanning-scan-history: type: object properties: @@ -211707,6 +211977,40 @@ components: date: '2020-01-01T00:00:00Z' status: success error: '' + custom-properties: + value: + - property_name: environment + url: https://api.github.com/orgs/github/properties/schema/environment + source_type: organization + value_type: single_select + required: true + default_value: production + description: Prod or dev environment + allowed_values: + - production + - development + values_editable_by: org_actors + - property_name: service + url: https://api.github.com/orgs/github/properties/schema/service + source_type: organization + value_type: string + - property_name: team + url: https://api.github.com/orgs/github/properties/schema/team + source_type: organization + value_type: string + description: Team owning the repository + custom-property: + value: + property_name: environment + url: https://api.github.com/orgs/github/properties/schema/environment + source_type: organization + value_type: single_select + required: true + default_value: production + description: Prod or dev environment + allowed_values: + - production + - development organization-secret-scanning-alert-list: value: - number: 2 @@ -214309,6 +214613,9 @@ components: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: disabled + code_scanning_default_setup_options: + runner_type: not_set + runner_label: secret_scanning: enabled secret_scanning_push_protection: disabled secret_scanning_delegated_bypass: disabled @@ -214336,6 +214643,9 @@ components: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: enabled + code_scanning_default_setup_options: + runner_type: not_set + runner_label: secret_scanning: enabled secret_scanning_push_protection: enabled secret_scanning_delegated_bypass: enabled @@ -214367,6 +214677,9 @@ components: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: enabled + code_scanning_default_setup_options: + runner_type: not_set + runner_label: secret_scanning: enabled secret_scanning_push_protection: enabled secret_scanning_delegated_bypass: disabled @@ -214391,6 +214704,9 @@ components: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: enabled + code_scanning_default_setup_options: + runner_type: not_set + runner_label: secret_scanning: disabled secret_scanning_push_protection: disabled secret_scanning_delegated_bypass: disabled @@ -216526,40 +216842,6 @@ components: site_admin: false created_at: '2011-04-11T20:09:31Z' updated_at: '2014-03-04T18:58:10Z' - custom-properties: - value: - - property_name: environment - url: https://api.github.com/orgs/github/properties/schema/environment - source_type: organization - value_type: single_select - required: true - default_value: production - description: Prod or dev environment - allowed_values: - - production - - development - values_editable_by: org_actors - - property_name: service - url: https://api.github.com/orgs/github/properties/schema/service - source_type: organization - value_type: string - - property_name: team - url: https://api.github.com/orgs/github/properties/schema/team - source_type: organization - value_type: string - description: Team owning the repository - custom-property: - value: - property_name: environment - url: https://api.github.com/orgs/github/properties/schema/environment - source_type: organization - value_type: single_select - required: true - default_value: production - description: Prod or dev environment - allowed_values: - - production - - development org-repo-custom-property-values: value: - repository_id: 1296269 @@ -235773,6 +236055,13 @@ components: type: integer minimum: 1 maximum: 100 + custom-property-name: + name: custom_property_name + description: The custom property name + in: path + required: true + schema: + type: string secret-scanning-alert-state: name: state in: query @@ -236187,6 +236476,14 @@ components: - api_route - total_request_count default: total_request_count + api-insights-api-route-substring: + name: api_route_substring + in: query + description: Providing a substring will filter results where the API route contains + the substring. This is a case-insensitive search. + required: false + schema: + type: string api-insights-sort: name: sort description: The property to sort the results by. @@ -236203,6 +236500,14 @@ components: - subject_name - total_request_count default: total_request_count + api-insights-subject-name-substring: + name: subject_name_substring + in: query + description: Providing a substring will filter results where the subject name + contains the substring. This is a case-insensitive search. + required: false + schema: + type: string api-insights-user-id: name: user_id in: path @@ -236218,6 +236523,14 @@ components: required: true schema: type: string + api-insights-actor-name-substring: + name: actor_name_substring + in: query + description: Providing a substring will filter results where the actor name + contains the substring. This is a case-insensitive search. + required: false + schema: + type: string invitation-id: name: invitation_id description: The unique identifier of the invitation. @@ -236360,13 +236673,6 @@ components: required: true schema: type: integer - custom-property-name: - name: custom_property_name - description: The custom property name - in: path - required: true - schema: - type: string ruleset-targets: name: targets description: | @@ -237212,6 +237518,8 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" + no_content: + description: A header with no content is returned. get_all_cost_centers: description: Response when getting cost centers content: @@ -237299,8 +237607,6 @@ components: examples: default: "$ref": "#/components/examples/billing-usage-report" - no_content: - description: A header with no content is returned. package_es_list_error: description: The value of `per_page` multiplied by `page` cannot be greater than 10000. diff --git a/descriptions-next/ghec/ghec.json b/descriptions-next/ghec/ghec.json index ee9407718..8d19ed9b8 100644 --- a/descriptions-next/ghec/ghec.json +++ b/descriptions-next/ghec/ghec.json @@ -5383,6 +5383,296 @@ } } }, + "/enterprises/{enterprise}/properties/schema": { + "get": { + "summary": "Get custom properties for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets all custom properties defined for an enterprise.\nEnterprise members can read these properties.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-enterprise-custom-properties", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-custom-properties-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/custom-property" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/custom-properties" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "custom-properties" + } + }, + "patch": { + "summary": "Create or update custom properties for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nCreates new or updates existing custom properties defined for an enterprise in a batch.\n\nTo use this endpoint, the authenticated user must be an administrator for the enterprise.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/create-or-update-enterprise-custom-properties", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-custom-properties-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + } + ], + "requestBody": { + "required": true, + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "properties": { + "type": "array", + "description": "The array of custom properties to create or update.", + "items": { + "$ref": "#/components/schemas/custom-property" + }, + "minItems": 1, + "maxItems": 100 + } + }, + "required": [ + "properties" + ] + }, + "examples": { + "default": { + "value": { + "properties": [ + { + "property_name": "environment", + "value_type": "single_select", + "required": true, + "default_value": "production", + "description": "Prod or dev environment", + "allowed_values": [ + "production", + "development" + ], + "values_editable_by": "org_actors" + }, + { + "property_name": "service", + "value_type": "string" + }, + { + "property_name": "team", + "value_type": "string", + "description": "Team owning the repository" + } + ] + } + } + } + } + } + }, + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "$ref": "#/components/schemas/custom-property" + } + }, + "examples": { + "default": { + "$ref": "#/components/examples/custom-properties" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "custom-properties" + } + } + }, + "/enterprises/{enterprise}/properties/schema/{custom_property_name}": { + "get": { + "summary": "Get a custom property for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nGets a custom property that is defined for an enterprise.\nEnterprise members can read these properties.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/get-enterprise-custom-property", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/custom-property-name" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/custom-property" + }, + "examples": { + "default": { + "$ref": "#/components/examples/custom-property" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "custom-properties" + } + }, + "put": { + "summary": "Create or update a custom property for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nCreates a new or updates an existing custom property that is defined for an enterprise.\n\nTo use this endpoint, the authenticated user must be an administrator for the enterprise.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/create-or-update-enterprise-custom-property", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/custom-property-name" + } + ], + "responses": { + "200": { + "description": "Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/custom-property" + }, + "examples": { + "default": { + "$ref": "#/components/examples/custom-property" + } + } + } + } + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "custom-properties" + } + }, + "delete": { + "summary": "Remove a custom property for an enterprise", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nRemove a custom property that is defined for an enterprise.\n\nTo use this endpoint, the authenticated user must be an administrator for the enterprise.", + "tags": [ + "enterprise-admin" + ], + "operationId": "enterprise-admin/remove-enterprise-custom-property", + "externalDocs": { + "description": "API method documentation", + "url": "https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise" + }, + "parameters": [ + { + "$ref": "#/components/parameters/enterprise" + }, + { + "$ref": "#/components/parameters/custom-property-name" + } + ], + "responses": { + "204": { + "$ref": "#/components/responses/no_content" + }, + "403": { + "$ref": "#/components/responses/forbidden" + }, + "404": { + "$ref": "#/components/responses/not_found" + } + }, + "x-github": { + "githubCloudOnly": true, + "enabledForGitHubApps": true, + "category": "enterprise-admin", + "subcategory": "custom-properties" + } + } + }, "/enterprises/{enterprise}/secret-scanning/alerts": { "get": { "summary": "List secret scanning alerts for an enterprise", @@ -5907,7 +6197,7 @@ "/enterprises/{enterprise}/team/{team_slug}/copilot/metrics": { "get": { "summary": "Get Copilot metrics for an enterprise team", - "description": "Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.\n\nTo access this endpoint, the Copilot Metrics API access policy must be enabled or set to \"no policy\" for the enterprise within GitHub settings.\nOnly owners and billing managers for the enterprise that contains the enterprise team can view Copilot metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See \"[About enterprise accounts for Copilot Business](https://docs.github.com/enterprise-cloud@latest//admin/copilot-business-only/about-enterprise-accounts-for-copilot-business).\"\n\nUse this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had **five or more members with active Copilot licenses** on that day, as evaluated at the end of that day.\n\nTo access this endpoint, the Copilot Metrics API access policy must be enabled or set to \"no policy\" for the enterprise within GitHub settings.\nOnly owners and billing managers for the enterprise that contains the enterprise team can view Copilot metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -5997,7 +6287,7 @@ "/enterprises/{enterprise}/team/{team_slug}/copilot/usage": { "get": { "summary": "Get a summary of Copilot usage for an enterprise team", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had five or more members with active Copilot licenses, as evaluated at the end of that day.\n\nOwners and billing managers for the enterprise that contains the enterprise team can view Copilot usage metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change. This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See \"[About enterprise accounts for Copilot Business](https://docs.github.com/enterprise-cloud@latest//admin/copilot-business-only/about-enterprise-accounts-for-copilot-business).\"\n\nYou can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE\nfor users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day.\nSee the response schema tab for detailed metrics definitions.\n\nThe response contains metrics for up to 28 days prior. Usage metrics are processed once per day for the previous day,\nand the response will only include data up until yesterday. In order for an end user to be counted towards these metrics,\nthey must have telemetry enabled in their IDE.\n\n> [!NOTE]\n> This endpoint will only return results for a given day if the enterprise team had five or more members with active Copilot licenses, as evaluated at the end of that day.\n\nOwners and billing managers for the enterprise that contains the enterprise team can view Copilot usage metrics for the enterprise team.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `read:enterprise` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -13453,6 +13743,9 @@ ], "default": "disabled" }, + "code_scanning_default_setup_options": { + "$ref": "#/components/schemas/code-scanning-default-setup-options" + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -13877,6 +14170,9 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "$ref": "#/components/schemas/code-scanning-default-setup-options" + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -15326,7 +15622,7 @@ "/orgs/{org}/copilot/billing/selected_teams": { "post": { "summary": "Add teams to the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for all users within each specified team.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can add Copilot seats for their organization members.\n\nIn order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response will contain the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for all users within each specified team.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -15426,7 +15722,7 @@ }, "delete": { "summary": "Remove teams from the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all members of each team specified to \"pending cancellation\".\nThis will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team.\n\nFor more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nFor more information about disabling access to Copilot Business or Enterprise, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response will contain the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all members of each team specified to \"pending cancellation\".\nThis will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -15528,7 +15824,7 @@ "/orgs/{org}/copilot/billing/selected_users": { "post": { "summary": "Add users to the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for each user specified.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can add Copilot seats for their organization members.\n\nIn order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response will contain the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nPurchases a GitHub Copilot seat for each user specified.\nThe organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nOnly organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy.\nFor more information about setting up a Copilot subscription, see \"[Subscribing to Copilot for your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization).\"\nFor more information about setting a suggestion matching policy, see \"[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching).\"\n\nThe response contains the total number of new seats that were created and existing seats that were refreshed.\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -15628,7 +15924,7 @@ }, "delete": { "summary": "Remove users from the Copilot subscription for an organization", - "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\n\nFor more information about Copilot pricing, see \"[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization).\"\n\nFor more information about disabling access to Copilot Business or Enterprise, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response will contain the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", + "description": "> [!NOTE]\n> This endpoint is in public preview and is subject to change.\n\nSets seats for all users specified to \"pending cancellation\".\nThis will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership.\nFor more information about disabling access to Copilot, see \"[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization).\"\n\nOnly organization owners can cancel Copilot seats for their organization members.\n\nThe response contains the total number of seats set to \"pending cancellation\".\n\nOAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint.", "tags": [ "copilot" ], @@ -18185,6 +18481,9 @@ }, { "$ref": "#/components/parameters/api-insights-route-stats-sort" + }, + { + "$ref": "#/components/parameters/api-insights-api-route-substring" } ], "responses": { @@ -18244,6 +18543,9 @@ }, { "$ref": "#/components/parameters/api-insights-sort" + }, + { + "$ref": "#/components/parameters/api-insights-subject-name-substring" } ], "responses": { @@ -18615,6 +18917,9 @@ }, { "$ref": "#/components/parameters/api-insights-sort" + }, + { + "$ref": "#/components/parameters/api-insights-actor-name-substring" } ], "responses": { @@ -106894,6 +107199,107 @@ } } }, + "custom-property": { + "title": "Organization Custom Property", + "description": "Custom property defined on an organization", + "type": "object", + "properties": { + "property_name": { + "type": "string", + "description": "The name of the property" + }, + "url": { + "type": "string", + "format": "uri", + "description": "The URL that can be used to fetch, update, or delete info about this property via the API." + }, + "source_type": { + "type": "string", + "description": "The source type of the property", + "enum": [ + "organization", + "enterprise" + ], + "examples": [ + "organization" + ] + }, + "value_type": { + "type": "string", + "enum": [ + "string", + "single_select", + "multi_select", + "true_false" + ], + "description": "The type of the value for the property", + "examples": [ + "single_select" + ] + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "description": "Default value of the property", + "type": [ + "null", + "string", + "array" + ] + }, + "description": { + "type": [ + "string", + "null" + ], + "description": "Short description of the property" + }, + "allowed_values": { + "type": [ + "array", + "null" + ], + "items": { + "type": "string", + "maxLength": 75 + }, + "maxItems": 200, + "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." + }, + "values_editable_by": { + "type": [ + "string", + "null" + ], + "enum": [ + "org_actors", + "org_and_repo_actors", + null + ], + "description": "Who can edit the values of the property", + "examples": [ + "org_actors" + ] + } + }, + "required": [ + "property_name", + "value_type" + ] + }, "secret-scanning-alert-state": { "description": "Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`.", "type": "string", @@ -111443,6 +111849,35 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": [ + "string", + "null" + ], + "enum": [ + "standard", + "labeled", + "not_set", + null + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning when runner_type is 'labeled'." + } + } + }, "secret_scanning": { "type": "string", "description": "The enablement status of secret scanning", @@ -111556,6 +111991,31 @@ } } }, + "code-scanning-default-setup-options": { + "type": [ + "object", + "null" + ], + "description": "Feature options for code scanning default setup", + "properties": { + "runner_type": { + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "type": [ + "string", + "null" + ], + "description": "The label of the runner to use for code scanning default setup when runner_type is 'labeled'." + } + } + }, "code-security-default-configurations": { "type": "array", "description": "A list of default code security configurations", @@ -114298,107 +114758,6 @@ "updated_at" ] }, - "custom-property": { - "title": "Organization Custom Property", - "description": "Custom property defined on an organization", - "type": "object", - "properties": { - "property_name": { - "type": "string", - "description": "The name of the property" - }, - "url": { - "type": "string", - "format": "uri", - "description": "The URL that can be used to fetch, update, or delete info about this property via the API." - }, - "source_type": { - "type": "string", - "description": "The source type of the property", - "enum": [ - "organization", - "enterprise" - ], - "examples": [ - "organization" - ] - }, - "value_type": { - "type": "string", - "enum": [ - "string", - "single_select", - "multi_select", - "true_false" - ], - "description": "The type of the value for the property", - "examples": [ - "single_select" - ] - }, - "required": { - "type": "boolean", - "description": "Whether the property is required." - }, - "default_value": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "description": "Default value of the property", - "type": [ - "null", - "string", - "array" - ] - }, - "description": { - "type": [ - "string", - "null" - ], - "description": "Short description of the property" - }, - "allowed_values": { - "type": [ - "array", - "null" - ], - "items": { - "type": "string", - "maxLength": 75 - }, - "maxItems": 200, - "description": "An ordered list of the allowed values of the property.\nThe property can have up to 200 allowed values." - }, - "values_editable_by": { - "type": [ - "string", - "null" - ], - "enum": [ - "org_actors", - "org_and_repo_actors", - null - ], - "description": "Who can edit the values of the property", - "examples": [ - "org_actors" - ] - } - }, - "required": [ - "property_name", - "value_type" - ] - }, "custom-property-value": { "title": "Custom Property Value", "description": "Custom property name and associated value", @@ -123915,6 +124274,24 @@ "not-configured" ] }, + "runner_type": { + "description": "Runner type to be used.", + "type": "string", + "enum": [ + "standard", + "labeled" + ] + }, + "runner_label": { + "description": "Runner label to be used if the runner type is labeled.", + "type": [ + "string", + "null" + ], + "examples": [ + "code-scanning" + ] + }, "query_suite": { "description": "CodeQL query suite to be used.", "type": "string", @@ -133818,7 +134195,7 @@ }, "status": { "type": "string", - "description": "The state of the scan. Either \"completed\" or \"running\"" + "description": "The state of the scan. Either \"completed\", \"running\", or \"pending\"" }, "completed_at": { "type": [ @@ -133826,12 +134203,15 @@ "null" ], "format": "date-time", - "description": "The time that the scan was completed. Empty if the scan is active" + "description": "The time that the scan was completed. Empty if the scan is running" }, "started_at": { - "type": "string", + "type": [ + "string", + "null" + ], "format": "date-time", - "description": "The time that the scan was started" + "description": "The time that the scan was started. Empty if the scan is pending" } } }, @@ -287425,6 +287805,52 @@ ] } }, + "custom-properties": { + "value": [ + { + "property_name": "environment", + "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", + "value_type": "single_select", + "required": true, + "default_value": "production", + "description": "Prod or dev environment", + "allowed_values": [ + "production", + "development" + ], + "values_editable_by": "org_actors" + }, + { + "property_name": "service", + "url": "https://api.github.com/orgs/github/properties/schema/service", + "source_type": "organization", + "value_type": "string" + }, + { + "property_name": "team", + "url": "https://api.github.com/orgs/github/properties/schema/team", + "source_type": "organization", + "value_type": "string", + "description": "Team owning the repository" + } + ] + }, + "custom-property": { + "value": { + "property_name": "environment", + "url": "https://api.github.com/orgs/github/properties/schema/environment", + "source_type": "organization", + "value_type": "single_select", + "required": true, + "default_value": "production", + "description": "Prod or dev environment", + "allowed_values": [ + "production", + "development" + ] + } + }, "organization-secret-scanning-alert-list": { "value": [ { @@ -290403,6 +290829,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "enabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -290434,6 +290864,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "enabled", "secret_scanning_push_protection": "enabled", "secret_scanning_delegated_bypass": "enabled", @@ -290472,6 +290906,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "enabled", "secret_scanning_push_protection": "enabled", "secret_scanning_delegated_bypass": "disabled", @@ -290501,6 +290939,10 @@ "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", + "code_scanning_default_setup_options": { + "runner_type": "not_set", + "runner_label": null + }, "secret_scanning": "disabled", "secret_scanning_push_protection": "disabled", "secret_scanning_delegated_bypass": "disabled", @@ -292964,52 +293406,6 @@ "updated_at": "2014-03-04T18:58:10Z" } }, - "custom-properties": { - "value": [ - { - "property_name": "environment", - "url": "https://api.github.com/orgs/github/properties/schema/environment", - "source_type": "organization", - "value_type": "single_select", - "required": true, - "default_value": "production", - "description": "Prod or dev environment", - "allowed_values": [ - "production", - "development" - ], - "values_editable_by": "org_actors" - }, - { - "property_name": "service", - "url": "https://api.github.com/orgs/github/properties/schema/service", - "source_type": "organization", - "value_type": "string" - }, - { - "property_name": "team", - "url": "https://api.github.com/orgs/github/properties/schema/team", - "source_type": "organization", - "value_type": "string", - "description": "Team owning the repository" - } - ] - }, - "custom-property": { - "value": { - "property_name": "environment", - "url": "https://api.github.com/orgs/github/properties/schema/environment", - "source_type": "organization", - "value_type": "single_select", - "required": true, - "default_value": "production", - "description": "Prod or dev environment", - "allowed_values": [ - "production", - "development" - ] - } - }, "org-repo-custom-property-values": { "value": [ { @@ -315353,6 +315749,15 @@ "maximum": 100 } }, + "custom-property-name": { + "name": "custom_property_name", + "description": "The custom property name", + "in": "path", + "required": true, + "schema": { + "type": "string" + } + }, "secret-scanning-alert-state": { "name": "state", "in": "query", @@ -315836,6 +316241,15 @@ } } }, + "api-insights-api-route-substring": { + "name": "api_route_substring", + "in": "query", + "description": "Providing a substring will filter results where the API route contains the substring. This is a case-insensitive search.", + "required": false, + "schema": { + "type": "string" + } + }, "api-insights-sort": { "name": "sort", "description": "The property to sort the results by.", @@ -315856,6 +316270,15 @@ } } }, + "api-insights-subject-name-substring": { + "name": "subject_name_substring", + "in": "query", + "description": "Providing a substring will filter results where the subject name contains the substring. This is a case-insensitive search.", + "required": false, + "schema": { + "type": "string" + } + }, "api-insights-user-id": { "name": "user_id", "in": "path", @@ -315874,6 +316297,15 @@ "type": "string" } }, + "api-insights-actor-name-substring": { + "name": "actor_name_substring", + "in": "query", + "description": "Providing a substring will filter results where the actor name contains the substring. This is a case-insensitive search.", + "required": false, + "schema": { + "type": "string" + } + }, "invitation-id": { "name": "invitation_id", "description": "The unique identifier of the invitation.", @@ -316041,15 +316473,6 @@ "type": "integer" } }, - "custom-property-name": { - "name": "custom_property_name", - "description": "The custom property name", - "in": "path", - "required": true, - "schema": { - "type": "string" - } - }, "ruleset-targets": { "name": "targets", "description": "A comma-separated list of rule targets to filter by.\nIf provided, only rulesets that apply to the specified targets will be returned.\nFor example, `branch,tag,push`.\n", @@ -317098,6 +317521,9 @@ } } }, + "no_content": { + "description": "A header with no content is returned." + }, "get_all_cost_centers": { "description": "Response when getting cost centers", "content": { @@ -317242,9 +317668,6 @@ } } }, - "no_content": { - "description": "A header with no content is returned." - }, "package_es_list_error": { "description": "The value of `per_page` multiplied by `page` cannot be greater than 10000." }, diff --git a/descriptions-next/ghec/ghec.yaml b/descriptions-next/ghec/ghec.yaml index 06628cde3..510cdb8fd 100644 --- a/descriptions-next/ghec/ghec.yaml +++ b/descriptions-next/ghec/ghec.yaml @@ -3817,6 +3817,220 @@ paths: previews: [] category: enterprise-admin subcategory: license + "/enterprises/{enterprise}/properties/schema": + get: + summary: Get custom properties for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets all custom properties defined for an enterprise. + Enterprise members can read these properties. + tags: + - enterprise-admin + operationId: enterprise-admin/get-enterprise-custom-properties + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-custom-properties-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/custom-property" + examples: + default: + "$ref": "#/components/examples/custom-properties" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: custom-properties + patch: + summary: Create or update custom properties for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Creates new or updates existing custom properties defined for an enterprise in a batch. + + To use this endpoint, the authenticated user must be an administrator for the enterprise. + tags: + - enterprise-admin + operationId: enterprise-admin/create-or-update-enterprise-custom-properties + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-custom-properties-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + properties: + type: array + description: The array of custom properties to create or update. + items: + "$ref": "#/components/schemas/custom-property" + minItems: 1 + maxItems: 100 + required: + - properties + examples: + default: + value: + properties: + - property_name: environment + value_type: single_select + required: true + default_value: production + description: Prod or dev environment + allowed_values: + - production + - development + values_editable_by: org_actors + - property_name: service + value_type: string + - property_name: team + value_type: string + description: Team owning the repository + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: + "$ref": "#/components/schemas/custom-property" + examples: + default: + "$ref": "#/components/examples/custom-properties" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: custom-properties + "/enterprises/{enterprise}/properties/schema/{custom_property_name}": + get: + summary: Get a custom property for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Gets a custom property that is defined for an enterprise. + Enterprise members can read these properties. + tags: + - enterprise-admin + operationId: enterprise-admin/get-enterprise-custom-property + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#get-a-custom-property-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/custom-property-name" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/custom-property" + examples: + default: + "$ref": "#/components/examples/custom-property" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: custom-properties + put: + summary: Create or update a custom property for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Creates a new or updates an existing custom property that is defined for an enterprise. + + To use this endpoint, the authenticated user must be an administrator for the enterprise. + tags: + - enterprise-admin + operationId: enterprise-admin/create-or-update-enterprise-custom-property + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#create-or-update-a-custom-property-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/custom-property-name" + responses: + '200': + description: Response + content: + application/json: + schema: + "$ref": "#/components/schemas/custom-property" + examples: + default: + "$ref": "#/components/examples/custom-property" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: custom-properties + delete: + summary: Remove a custom property for an enterprise + description: |- + > [!NOTE] + > This endpoint is in public preview and is subject to change. + + Remove a custom property that is defined for an enterprise. + + To use this endpoint, the authenticated user must be an administrator for the enterprise. + tags: + - enterprise-admin + operationId: enterprise-admin/remove-enterprise-custom-property + externalDocs: + description: API method documentation + url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/custom-properties#remove-a-custom-property-for-an-enterprise + parameters: + - "$ref": "#/components/parameters/enterprise" + - "$ref": "#/components/parameters/custom-property-name" + responses: + '204': + "$ref": "#/components/responses/no_content" + '403': + "$ref": "#/components/responses/forbidden" + '404': + "$ref": "#/components/responses/not_found" + x-github: + githubCloudOnly: true + enabledForGitHubApps: true + category: enterprise-admin + subcategory: custom-properties "/enterprises/{enterprise}/secret-scanning/alerts": get: summary: List secret scanning alerts for an enterprise @@ -4174,6 +4388,9 @@ paths: get: summary: Get Copilot metrics for an enterprise team description: |- + > [!NOTE] + > This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See "[About enterprise accounts for Copilot Business](https://docs.github.com/enterprise-cloud@latest//admin/copilot-business-only/about-enterprise-accounts-for-copilot-business)." + Use this endpoint to see a breakdown of aggregated metrics for various GitHub Copilot features. See the response schema tab for detailed metrics definitions. The response contains metrics for up to 28 days prior. Metrics are processed once per day for the previous day, @@ -4250,7 +4467,7 @@ paths: summary: Get a summary of Copilot usage for an enterprise team description: |- > [!NOTE] - > This endpoint is in public preview and is subject to change. + > This endpoint is in public preview and is subject to change. This endpoint is only applicable to dedicated enterprise accounts for Copilot Business. See "[About enterprise accounts for Copilot Business](https://docs.github.com/enterprise-cloud@latest//admin/copilot-business-only/about-enterprise-accounts-for-copilot-business)." You can use this endpoint to see a daily breakdown of aggregated usage metrics for Copilot completions and Copilot Chat in the IDE for users within an enterprise team, with a further breakdown of suggestions, acceptances, and number of active users by editor and language for each day. @@ -9734,6 +9951,8 @@ paths: - disabled - not_set default: disabled + code_scanning_default_setup_options: + "$ref": "#/components/schemas/code-scanning-default-setup-options" secret_scanning: type: string description: The enablement status of secret scanning @@ -10057,6 +10276,8 @@ paths: - enabled - disabled - not_set + code_scanning_default_setup_options: + "$ref": "#/components/schemas/code-scanning-default-setup-options" secret_scanning: type: string description: The enablement status of secret scanning @@ -11142,13 +11363,11 @@ paths: Purchases a GitHub Copilot seat for all users within each specified team. The organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)." - Only organization owners can add Copilot seats for their organization members. - - In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy. + Only organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy. For more information about setting up a Copilot subscription, see "[Subscribing to Copilot for your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization)." For more information about setting a suggestion matching policy, see "[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching)." - The response will contain the total number of new seats that were created and existing seats that were refreshed. + The response contains the total number of new seats that were created and existing seats that were refreshed. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: @@ -11226,14 +11445,11 @@ paths: Sets seats for all members of each team specified to "pending cancellation". This will cause the members of the specified team(s) to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through another team. - - For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)." - - For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)." + For more information about disabling access to Copilot, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)." Only organization owners can cancel Copilot seats for their organization members. - The response will contain the total number of seats set to "pending cancellation". + The response contains the total number of seats set to "pending cancellation". OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: @@ -11313,13 +11529,11 @@ paths: Purchases a GitHub Copilot seat for each user specified. The organization will be billed for each seat based on the organization's Copilot plan. For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)." - Only organization owners can add Copilot seats for their organization members. - - In order for an admin to use this endpoint, the organization must have a Copilot Business or Enterprise subscription and a configured suggestion matching policy. + Only organization owners can purchase Copilot seats for their organization members. The organization must have a Copilot Business or Copilot Enterprise subscription and a configured suggestion matching policy. For more information about setting up a Copilot subscription, see "[Subscribing to Copilot for your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/subscribing-to-copilot-for-your-organization)." For more information about setting a suggestion matching policy, see "[Managing policies for Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/setting-policies-for-copilot-in-your-organization/managing-policies-for-copilot-in-your-organization#policies-for-suggestion-matching)." - The response will contain the total number of new seats that were created and existing seats that were refreshed. + The response contains the total number of new seats that were created and existing seats that were refreshed. OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: @@ -11396,14 +11610,11 @@ paths: Sets seats for all users specified to "pending cancellation". This will cause the specified users to lose access to GitHub Copilot at the end of the current billing cycle unless they retain access through team membership. - - For more information about Copilot pricing, see "[About billing for GitHub Copilot in your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-the-copilot-subscription-for-your-organization/about-billing-for-github-copilot-in-your-organization)." - - For more information about disabling access to Copilot Business or Enterprise, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)." + For more information about disabling access to Copilot, see "[Revoking access to Copilot for members of your organization](https://docs.github.com/enterprise-cloud@latest//copilot/managing-copilot/managing-github-copilot-in-your-organization/managing-access-to-github-copilot-in-your-organization/revoking-access-to-copilot-for-members-of-your-organization)." Only organization owners can cancel Copilot seats for their organization members. - The response will contain the total number of seats set to "pending cancellation". + The response contains the total number of seats set to "pending cancellation". OAuth app tokens and personal access tokens (classic) need either the `manage_billing:copilot` or `admin:org` scopes to use this endpoint. tags: @@ -13265,6 +13476,7 @@ paths: - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/api-insights-route-stats-sort" + - "$ref": "#/components/parameters/api-insights-api-route-substring" responses: '200': description: Response @@ -13298,6 +13510,7 @@ paths: - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/api-insights-sort" + - "$ref": "#/components/parameters/api-insights-subject-name-substring" responses: '200': description: Response @@ -13516,6 +13729,7 @@ paths: - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/direction" - "$ref": "#/components/parameters/api-insights-sort" + - "$ref": "#/components/parameters/api-insights-actor-name-substring" responses: '200': description: Response @@ -77519,6 +77733,81 @@ components: type: string error: type: string + custom-property: + title: Organization Custom Property + description: Custom property defined on an organization + type: object + properties: + property_name: + type: string + description: The name of the property + url: + type: string + format: uri + description: The URL that can be used to fetch, update, or delete info about + this property via the API. + source_type: + type: string + description: The source type of the property + enum: + - organization + - enterprise + examples: + - organization + value_type: + type: string + enum: + - string + - single_select + - multi_select + - true_false + description: The type of the value for the property + examples: + - single_select + required: + type: boolean + description: Whether the property is required. + default_value: + oneOf: + - type: string + - type: array + items: + type: string + description: Default value of the property + type: + - 'null' + - string + - array + description: + type: + - string + - 'null' + description: Short description of the property + allowed_values: + type: + - array + - 'null' + items: + type: string + maxLength: 75 + maxItems: 200 + description: |- + An ordered list of the allowed values of the property. + The property can have up to 200 allowed values. + values_editable_by: + type: + - string + - 'null' + enum: + - org_actors + - org_and_repo_actors + - + description: Who can edit the values of the property + examples: + - org_actors + required: + - property_name + - value_type secret-scanning-alert-state: description: Sets the state of the secret scanning alert. You must provide `resolution` when you set the state to `resolved`. @@ -80831,6 +81120,28 @@ components: - enabled - disabled - not_set + code_scanning_default_setup_options: + type: + - object + - 'null' + description: Feature options for code scanning default setup + properties: + runner_type: + type: + - string + - 'null' + enum: + - standard + - labeled + - not_set + - + description: Whether to use labeled runners or standard GitHub runners. + runner_label: + type: + - string + - 'null' + description: The label of the runner to use for code scanning when runner_type + is 'labeled'. secret_scanning: type: string description: The enablement status of secret scanning @@ -80915,6 +81226,25 @@ components: updated_at: type: string format: date-time + code-scanning-default-setup-options: + type: + - object + - 'null' + description: Feature options for code scanning default setup + properties: + runner_type: + type: string + enum: + - standard + - labeled + - not_set + description: Whether to use labeled runners or standard GitHub runners. + runner_label: + type: + - string + - 'null' + description: The label of the runner to use for code scanning default setup + when runner_type is 'labeled'. code-security-default-configurations: type: array description: A list of default code security configurations @@ -82978,81 +83308,6 @@ components: - columns_url - created_at - updated_at - custom-property: - title: Organization Custom Property - description: Custom property defined on an organization - type: object - properties: - property_name: - type: string - description: The name of the property - url: - type: string - format: uri - description: The URL that can be used to fetch, update, or delete info about - this property via the API. - source_type: - type: string - description: The source type of the property - enum: - - organization - - enterprise - examples: - - organization - value_type: - type: string - enum: - - string - - single_select - - multi_select - - true_false - description: The type of the value for the property - examples: - - single_select - required: - type: boolean - description: Whether the property is required. - default_value: - oneOf: - - type: string - - type: array - items: - type: string - description: Default value of the property - type: - - 'null' - - string - - array - description: - type: - - string - - 'null' - description: Short description of the property - allowed_values: - type: - - array - - 'null' - items: - type: string - maxLength: 75 - maxItems: 200 - description: |- - An ordered list of the allowed values of the property. - The property can have up to 200 allowed values. - values_editable_by: - type: - - string - - 'null' - enum: - - org_actors - - org_and_repo_actors - - - description: Who can edit the values of the property - examples: - - org_actors - required: - - property_name - - value_type custom-property-value: title: Custom Property Value description: Custom property name and associated value @@ -89982,6 +90237,19 @@ components: enum: - configured - not-configured + runner_type: + description: Runner type to be used. + type: string + enum: + - standard + - labeled + runner_label: + description: Runner label to be used if the runner type is labeled. + type: + - string + - 'null' + examples: + - code-scanning query_suite: description: CodeQL query suite to be used. type: string @@ -96955,18 +97223,20 @@ components: description: The type of scan status: type: string - description: The state of the scan. Either "completed" or "running" + description: The state of the scan. Either "completed", "running", or "pending" completed_at: type: - string - 'null' format: date-time description: The time that the scan was completed. Empty if the scan is - active + running started_at: - type: string + type: + - string + - 'null' format: date-time - description: The time that the scan was started + description: The time that the scan was started. Empty if the scan is pending secret-scanning-scan-history: type: object properties: @@ -211707,6 +211977,40 @@ components: date: '2020-01-01T00:00:00Z' status: success error: '' + custom-properties: + value: + - property_name: environment + url: https://api.github.com/orgs/github/properties/schema/environment + source_type: organization + value_type: single_select + required: true + default_value: production + description: Prod or dev environment + allowed_values: + - production + - development + values_editable_by: org_actors + - property_name: service + url: https://api.github.com/orgs/github/properties/schema/service + source_type: organization + value_type: string + - property_name: team + url: https://api.github.com/orgs/github/properties/schema/team + source_type: organization + value_type: string + description: Team owning the repository + custom-property: + value: + property_name: environment + url: https://api.github.com/orgs/github/properties/schema/environment + source_type: organization + value_type: single_select + required: true + default_value: production + description: Prod or dev environment + allowed_values: + - production + - development organization-secret-scanning-alert-list: value: - number: 2 @@ -214309,6 +214613,9 @@ components: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: disabled + code_scanning_default_setup_options: + runner_type: not_set + runner_label: secret_scanning: enabled secret_scanning_push_protection: disabled secret_scanning_delegated_bypass: disabled @@ -214336,6 +214643,9 @@ components: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: enabled + code_scanning_default_setup_options: + runner_type: not_set + runner_label: secret_scanning: enabled secret_scanning_push_protection: enabled secret_scanning_delegated_bypass: enabled @@ -214367,6 +214677,9 @@ components: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: enabled + code_scanning_default_setup_options: + runner_type: not_set + runner_label: secret_scanning: enabled secret_scanning_push_protection: enabled secret_scanning_delegated_bypass: disabled @@ -214391,6 +214704,9 @@ components: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: enabled + code_scanning_default_setup_options: + runner_type: not_set + runner_label: secret_scanning: disabled secret_scanning_push_protection: disabled secret_scanning_delegated_bypass: disabled @@ -216526,40 +216842,6 @@ components: site_admin: false created_at: '2011-04-11T20:09:31Z' updated_at: '2014-03-04T18:58:10Z' - custom-properties: - value: - - property_name: environment - url: https://api.github.com/orgs/github/properties/schema/environment - source_type: organization - value_type: single_select - required: true - default_value: production - description: Prod or dev environment - allowed_values: - - production - - development - values_editable_by: org_actors - - property_name: service - url: https://api.github.com/orgs/github/properties/schema/service - source_type: organization - value_type: string - - property_name: team - url: https://api.github.com/orgs/github/properties/schema/team - source_type: organization - value_type: string - description: Team owning the repository - custom-property: - value: - property_name: environment - url: https://api.github.com/orgs/github/properties/schema/environment - source_type: organization - value_type: single_select - required: true - default_value: production - description: Prod or dev environment - allowed_values: - - production - - development org-repo-custom-property-values: value: - repository_id: 1296269 @@ -235773,6 +236055,13 @@ components: type: integer minimum: 1 maximum: 100 + custom-property-name: + name: custom_property_name + description: The custom property name + in: path + required: true + schema: + type: string secret-scanning-alert-state: name: state in: query @@ -236187,6 +236476,14 @@ components: - api_route - total_request_count default: total_request_count + api-insights-api-route-substring: + name: api_route_substring + in: query + description: Providing a substring will filter results where the API route contains + the substring. This is a case-insensitive search. + required: false + schema: + type: string api-insights-sort: name: sort description: The property to sort the results by. @@ -236203,6 +236500,14 @@ components: - subject_name - total_request_count default: total_request_count + api-insights-subject-name-substring: + name: subject_name_substring + in: query + description: Providing a substring will filter results where the subject name + contains the substring. This is a case-insensitive search. + required: false + schema: + type: string api-insights-user-id: name: user_id in: path @@ -236218,6 +236523,14 @@ components: required: true schema: type: string + api-insights-actor-name-substring: + name: actor_name_substring + in: query + description: Providing a substring will filter results where the actor name + contains the substring. This is a case-insensitive search. + required: false + schema: + type: string invitation-id: name: invitation_id description: The unique identifier of the invitation. @@ -236360,13 +236673,6 @@ components: required: true schema: type: integer - custom-property-name: - name: custom_property_name - description: The custom property name - in: path - required: true - schema: - type: string ruleset-targets: name: targets description: | @@ -237212,6 +237518,8 @@ components: application/json: schema: "$ref": "#/components/schemas/basic-error" + no_content: + description: A header with no content is returned. get_all_cost_centers: description: Response when getting cost centers content: @@ -237299,8 +237607,6 @@ components: examples: default: "$ref": "#/components/examples/billing-usage-report" - no_content: - description: A header with no content is returned. package_es_list_error: description: The value of `per_page` multiplied by `page` cannot be greater than 10000. diff --git a/descriptions-next/ghes-3.15/dereferenced/ghes-3.15.2022-11-28.deref.json b/descriptions-next/ghes-3.15/dereferenced/ghes-3.15.2022-11-28.deref.json index 19fa339d7..61c9552b1 100644 --- a/descriptions-next/ghes-3.15/dereferenced/ghes-3.15.2022-11-28.deref.json +++ b/descriptions-next/ghes-3.15/dereferenced/ghes-3.15.2022-11-28.deref.json @@ -94121,10 +94121,6 @@ "description": "Suggested settings for Dependabot, secret scanning, and code scanning.", "advanced_security": "enabled", "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": "not_set", - "dependency_graph_autosubmit_action_options": { - "labeled_runners": false - }, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", @@ -94141,8 +94137,6 @@ ] }, "secret_scanning_validity_checks": "enabled", - "secret_scanning_non_provider_patterns": "enabled", - "private_vulnerability_reporting": "enabled", "enforcement": "enforced", "url": "https://api.github.com/orgs/octo-org/code-security/configurations/17", "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/view", @@ -94156,10 +94150,6 @@ "description": "This is a code security configuration for octo-org high risk repositories", "advanced_security": "enabled", "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": "enabled", - "dependency_graph_autosubmit_action_options": { - "labeled_runners": false - }, "dependabot_alerts": "enabled", "dependabot_security_updates": "enabled", "code_scanning_default_setup": "enabled", @@ -94167,68 +94157,11 @@ "secret_scanning_push_protection": "enabled", "secret_scanning_delegated_bypass": "disabled", "secret_scanning_validity_checks": "disabled", - "secret_scanning_non_provider_patterns": "disabled", - "private_vulnerability_reporting": "enabled", "enforcement": "enforced", "url": "https://api.github.com/orgs/octo-org/code-security/configurations/1326", "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1326", "created_at": "2024-05-10T00:00:00Z", - "updated_at": "2024-05-10T00:00:00Z", - "value": [ - { - "id": 17, - "target_type": "global", - "name": "GitHub recommended", - "description": "Suggested settings for Dependabot, secret scanning, and code scanning.", - "advanced_security": "enabled", - "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": null, - "dependency_graph_autosubmit_action_options": null, - "dependabot_alerts": "enabled", - "dependabot_security_updates": "not_set", - "code_scanning_default_setup": "enabled", - "secret_scanning": "enabled", - "secret_scanning_push_protection": "enabled", - "secret_scanning_delegated_bypass": "enabled", - "secret_scanning_delegated_bypass_options": { - "reviewers": [ - { - "security_configuration_id": 17, - "reviewer_id": 5678, - "reviewer_type": "TEAM" - } - ] - }, - "secret_scanning_validity_checks": "enabled", - "enforcement": "enforced", - "url": "https://api.github.com/orgs/octo-org/code-security/configurations/17", - "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/view", - "created_at": "2023-12-04T15:58:07Z", - "updated_at": "2023-12-04T15:58:07Z" - }, - { - "id": 1326, - "target_type": "organization", - "name": "High risk settings", - "description": "This is a code security configuration for octo-org high risk repositories", - "advanced_security": "enabled", - "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": null, - "dependency_graph_autosubmit_action_options": null, - "dependabot_alerts": "enabled", - "dependabot_security_updates": "enabled", - "code_scanning_default_setup": "enabled", - "secret_scanning": "enabled", - "secret_scanning_push_protection": "enabled", - "secret_scanning_delegated_bypass": "disabled", - "secret_scanning_validity_checks": "disabled", - "enforcement": "enforced", - "url": "https://api.github.com/orgs/octo-org/code-security/configurations/1326", - "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1326", - "created_at": "2024-05-10T00:00:00Z", - "updated_at": "2024-05-10T00:00:00Z" - } - ] + "updated_at": "2024-05-10T00:00:00Z" } ] } @@ -94693,10 +94626,6 @@ "description": "This is a code security configuration for octo-org", "advanced_security": "enabled", "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": "enabled", - "dependency_graph_autosubmit_action_options": { - "labeled_runners": false - }, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", @@ -94705,14 +94634,11 @@ "secret_scanning_delegated_bypass": "disabled", "secret_scanning_validity_checks": "disabled", "secret_scanning_non_provider_patterns": "disabled", - "private_vulnerability_reporting": "disabled", "enforcement": "enforced", "url": "https://api.github.com/orgs/octo-org/code-security/configurations/1325", "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325", "created_at": "2024-05-01T00:00:00Z", - "updated_at": "2024-05-01T00:00:00Z", - "value": { - } + "updated_at": "2024-05-01T00:00:00Z" } } } @@ -94958,8 +94884,6 @@ "description": "This is a code security configuration for octo-org", "advanced_security": "enabled", "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": null, - "dependency_graph_autosubmit_action_options": null, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", @@ -94992,8 +94916,6 @@ "description": "Suggested settings for Dependabot, secret scanning, and code scanning.", "advanced_security": "enabled", "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": null, - "dependency_graph_autosubmit_action_options": null, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", @@ -95511,10 +95433,6 @@ "description": "This is a code security configuration for octo-org", "advanced_security": "enabled", "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": "enabled", - "dependency_graph_autosubmit_action_options": { - "labeled_runners": false - }, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", @@ -95523,14 +95441,11 @@ "secret_scanning_delegated_bypass": "disabled", "secret_scanning_validity_checks": "disabled", "secret_scanning_non_provider_patterns": "disabled", - "private_vulnerability_reporting": "disabled", "enforcement": "enforced", "url": "https://api.github.com/orgs/octo-org/code-security/configurations/1325", "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325", "created_at": "2024-05-01T00:00:00Z", - "updated_at": "2024-05-01T00:00:00Z", - "value": { - } + "updated_at": "2024-05-01T00:00:00Z" } } } @@ -96578,10 +96493,6 @@ "description": "This is a code security configuration for octo-org", "advanced_security": "enabled", "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": "enabled", - "dependency_graph_autosubmit_action_options": { - "labeled_runners": false - }, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", @@ -96590,14 +96501,11 @@ "secret_scanning_delegated_bypass": "disabled", "secret_scanning_validity_checks": "disabled", "secret_scanning_non_provider_patterns": "disabled", - "private_vulnerability_reporting": "disabled", "enforcement": "enforced", "url": "https://api.github.com/orgs/octo-org/code-security/configurations/1325", "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325", "created_at": "2024-05-01T00:00:00Z", - "updated_at": "2024-05-01T00:00:00Z", - "value": { - } + "updated_at": "2024-05-01T00:00:00Z" } } } @@ -251815,10 +251723,6 @@ "description": "This is a code security configuration for octo-org", "advanced_security": "enabled", "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": "enabled", - "dependency_graph_autosubmit_action_options": { - "labeled_runners": false - }, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", @@ -251827,19 +251731,11 @@ "secret_scanning_delegated_bypass": "disabled", "secret_scanning_validity_checks": "disabled", "secret_scanning_non_provider_patterns": "disabled", - "private_vulnerability_reporting": "disabled", "enforcement": "enforced", "url": "https://api.github.com/orgs/octo-org/code-security/configurations/1325", "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325", "created_at": "2024-05-01T00:00:00Z", "updated_at": "2024-05-01T00:00:00Z" - }, - "value": { - "configuration": { - "dependency_graph_autosubmit_action": null, - "dependency_graph_autosubmit_action_options": null, - "private_vulnerability_reporting": null - } } } } diff --git a/descriptions-next/ghes-3.15/dereferenced/ghes-3.15.2022-11-28.deref.yaml b/descriptions-next/ghes-3.15/dereferenced/ghes-3.15.2022-11-28.deref.yaml index 2bd8f7b6e..310f3efa8 100644 --- a/descriptions-next/ghes-3.15/dereferenced/ghes-3.15.2022-11-28.deref.yaml +++ b/descriptions-next/ghes-3.15/dereferenced/ghes-3.15.2022-11-28.deref.yaml @@ -26135,9 +26135,6 @@ paths: and code scanning. advanced_security: enabled dependency_graph: enabled - dependency_graph_autosubmit_action: not_set - dependency_graph_autosubmit_action_options: - labeled_runners: false dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: enabled @@ -26150,8 +26147,6 @@ paths: reviewer_id: 5678 reviewer_type: TEAM secret_scanning_validity_checks: enabled - secret_scanning_non_provider_patterns: enabled - private_vulnerability_reporting: enabled enforcement: enforced url: https://api.github.com/orgs/octo-org/code-security/configurations/17 html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/view @@ -26164,9 +26159,6 @@ paths: high risk repositories advanced_security: enabled dependency_graph: enabled - dependency_graph_autosubmit_action: enabled - dependency_graph_autosubmit_action_options: - labeled_runners: false dependabot_alerts: enabled dependabot_security_updates: enabled code_scanning_default_setup: enabled @@ -26174,61 +26166,11 @@ paths: secret_scanning_push_protection: enabled secret_scanning_delegated_bypass: disabled secret_scanning_validity_checks: disabled - secret_scanning_non_provider_patterns: disabled - private_vulnerability_reporting: enabled enforcement: enforced url: https://api.github.com/orgs/octo-org/code-security/configurations/1326 html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1326 created_at: '2024-05-10T00:00:00Z' updated_at: '2024-05-10T00:00:00Z' - value: - - id: 17 - target_type: global - name: GitHub recommended - description: Suggested settings for Dependabot, secret scanning, - and code scanning. - advanced_security: enabled - dependency_graph: enabled - dependency_graph_autosubmit_action: - dependency_graph_autosubmit_action_options: - dependabot_alerts: enabled - dependabot_security_updates: not_set - code_scanning_default_setup: enabled - secret_scanning: enabled - secret_scanning_push_protection: enabled - secret_scanning_delegated_bypass: enabled - secret_scanning_delegated_bypass_options: - reviewers: - - security_configuration_id: 17 - reviewer_id: 5678 - reviewer_type: TEAM - secret_scanning_validity_checks: enabled - enforcement: enforced - url: https://api.github.com/orgs/octo-org/code-security/configurations/17 - html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/view - created_at: '2023-12-04T15:58:07Z' - updated_at: '2023-12-04T15:58:07Z' - - id: 1326 - target_type: organization - name: High risk settings - description: This is a code security configuration for octo-org - high risk repositories - advanced_security: enabled - dependency_graph: enabled - dependency_graph_autosubmit_action: - dependency_graph_autosubmit_action_options: - dependabot_alerts: enabled - dependabot_security_updates: enabled - code_scanning_default_setup: enabled - secret_scanning: enabled - secret_scanning_push_protection: enabled - secret_scanning_delegated_bypass: disabled - secret_scanning_validity_checks: disabled - enforcement: enforced - url: https://api.github.com/orgs/octo-org/code-security/configurations/1326 - html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1326 - created_at: '2024-05-10T00:00:00Z' - updated_at: '2024-05-10T00:00:00Z' '403': *41 '404': *24 x-github: @@ -26420,9 +26362,6 @@ paths: description: This is a code security configuration for octo-org advanced_security: enabled dependency_graph: enabled - dependency_graph_autosubmit_action: enabled - dependency_graph_autosubmit_action_options: - labeled_runners: false dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: disabled @@ -26431,13 +26370,11 @@ paths: secret_scanning_delegated_bypass: disabled secret_scanning_validity_checks: disabled secret_scanning_non_provider_patterns: disabled - private_vulnerability_reporting: disabled enforcement: enforced url: https://api.github.com/orgs/octo-org/code-security/configurations/1325 html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - value: {} x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26492,8 +26429,6 @@ paths: description: This is a code security configuration for octo-org advanced_security: enabled dependency_graph: enabled - dependency_graph_autosubmit_action: - dependency_graph_autosubmit_action_options: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: enabled @@ -26520,8 +26455,6 @@ paths: and code scanning. advanced_security: enabled dependency_graph: enabled - dependency_graph_autosubmit_action: - dependency_graph_autosubmit_action_options: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: enabled @@ -55563,9 +55496,6 @@ paths: description: This is a code security configuration for octo-org advanced_security: enabled dependency_graph: enabled - dependency_graph_autosubmit_action: enabled - dependency_graph_autosubmit_action_options: - labeled_runners: false dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: disabled @@ -55574,17 +55504,11 @@ paths: secret_scanning_delegated_bypass: disabled secret_scanning_validity_checks: disabled secret_scanning_non_provider_patterns: disabled - private_vulnerability_reporting: disabled enforcement: enforced url: https://api.github.com/orgs/octo-org/code-security/configurations/1325 html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - value: - configuration: - dependency_graph_autosubmit_action: - dependency_graph_autosubmit_action_options: - private_vulnerability_reporting: '204': *180 '304': *40 '403': *41 diff --git a/descriptions-next/ghes-3.15/dereferenced/ghes-3.15.deref.json b/descriptions-next/ghes-3.15/dereferenced/ghes-3.15.deref.json index 19fa339d7..61c9552b1 100644 --- a/descriptions-next/ghes-3.15/dereferenced/ghes-3.15.deref.json +++ b/descriptions-next/ghes-3.15/dereferenced/ghes-3.15.deref.json @@ -94121,10 +94121,6 @@ "description": "Suggested settings for Dependabot, secret scanning, and code scanning.", "advanced_security": "enabled", "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": "not_set", - "dependency_graph_autosubmit_action_options": { - "labeled_runners": false - }, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", @@ -94141,8 +94137,6 @@ ] }, "secret_scanning_validity_checks": "enabled", - "secret_scanning_non_provider_patterns": "enabled", - "private_vulnerability_reporting": "enabled", "enforcement": "enforced", "url": "https://api.github.com/orgs/octo-org/code-security/configurations/17", "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/view", @@ -94156,10 +94150,6 @@ "description": "This is a code security configuration for octo-org high risk repositories", "advanced_security": "enabled", "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": "enabled", - "dependency_graph_autosubmit_action_options": { - "labeled_runners": false - }, "dependabot_alerts": "enabled", "dependabot_security_updates": "enabled", "code_scanning_default_setup": "enabled", @@ -94167,68 +94157,11 @@ "secret_scanning_push_protection": "enabled", "secret_scanning_delegated_bypass": "disabled", "secret_scanning_validity_checks": "disabled", - "secret_scanning_non_provider_patterns": "disabled", - "private_vulnerability_reporting": "enabled", "enforcement": "enforced", "url": "https://api.github.com/orgs/octo-org/code-security/configurations/1326", "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1326", "created_at": "2024-05-10T00:00:00Z", - "updated_at": "2024-05-10T00:00:00Z", - "value": [ - { - "id": 17, - "target_type": "global", - "name": "GitHub recommended", - "description": "Suggested settings for Dependabot, secret scanning, and code scanning.", - "advanced_security": "enabled", - "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": null, - "dependency_graph_autosubmit_action_options": null, - "dependabot_alerts": "enabled", - "dependabot_security_updates": "not_set", - "code_scanning_default_setup": "enabled", - "secret_scanning": "enabled", - "secret_scanning_push_protection": "enabled", - "secret_scanning_delegated_bypass": "enabled", - "secret_scanning_delegated_bypass_options": { - "reviewers": [ - { - "security_configuration_id": 17, - "reviewer_id": 5678, - "reviewer_type": "TEAM" - } - ] - }, - "secret_scanning_validity_checks": "enabled", - "enforcement": "enforced", - "url": "https://api.github.com/orgs/octo-org/code-security/configurations/17", - "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/view", - "created_at": "2023-12-04T15:58:07Z", - "updated_at": "2023-12-04T15:58:07Z" - }, - { - "id": 1326, - "target_type": "organization", - "name": "High risk settings", - "description": "This is a code security configuration for octo-org high risk repositories", - "advanced_security": "enabled", - "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": null, - "dependency_graph_autosubmit_action_options": null, - "dependabot_alerts": "enabled", - "dependabot_security_updates": "enabled", - "code_scanning_default_setup": "enabled", - "secret_scanning": "enabled", - "secret_scanning_push_protection": "enabled", - "secret_scanning_delegated_bypass": "disabled", - "secret_scanning_validity_checks": "disabled", - "enforcement": "enforced", - "url": "https://api.github.com/orgs/octo-org/code-security/configurations/1326", - "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1326", - "created_at": "2024-05-10T00:00:00Z", - "updated_at": "2024-05-10T00:00:00Z" - } - ] + "updated_at": "2024-05-10T00:00:00Z" } ] } @@ -94693,10 +94626,6 @@ "description": "This is a code security configuration for octo-org", "advanced_security": "enabled", "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": "enabled", - "dependency_graph_autosubmit_action_options": { - "labeled_runners": false - }, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", @@ -94705,14 +94634,11 @@ "secret_scanning_delegated_bypass": "disabled", "secret_scanning_validity_checks": "disabled", "secret_scanning_non_provider_patterns": "disabled", - "private_vulnerability_reporting": "disabled", "enforcement": "enforced", "url": "https://api.github.com/orgs/octo-org/code-security/configurations/1325", "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325", "created_at": "2024-05-01T00:00:00Z", - "updated_at": "2024-05-01T00:00:00Z", - "value": { - } + "updated_at": "2024-05-01T00:00:00Z" } } } @@ -94958,8 +94884,6 @@ "description": "This is a code security configuration for octo-org", "advanced_security": "enabled", "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": null, - "dependency_graph_autosubmit_action_options": null, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", @@ -94992,8 +94916,6 @@ "description": "Suggested settings for Dependabot, secret scanning, and code scanning.", "advanced_security": "enabled", "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": null, - "dependency_graph_autosubmit_action_options": null, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", @@ -95511,10 +95433,6 @@ "description": "This is a code security configuration for octo-org", "advanced_security": "enabled", "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": "enabled", - "dependency_graph_autosubmit_action_options": { - "labeled_runners": false - }, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", @@ -95523,14 +95441,11 @@ "secret_scanning_delegated_bypass": "disabled", "secret_scanning_validity_checks": "disabled", "secret_scanning_non_provider_patterns": "disabled", - "private_vulnerability_reporting": "disabled", "enforcement": "enforced", "url": "https://api.github.com/orgs/octo-org/code-security/configurations/1325", "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325", "created_at": "2024-05-01T00:00:00Z", - "updated_at": "2024-05-01T00:00:00Z", - "value": { - } + "updated_at": "2024-05-01T00:00:00Z" } } } @@ -96578,10 +96493,6 @@ "description": "This is a code security configuration for octo-org", "advanced_security": "enabled", "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": "enabled", - "dependency_graph_autosubmit_action_options": { - "labeled_runners": false - }, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", @@ -96590,14 +96501,11 @@ "secret_scanning_delegated_bypass": "disabled", "secret_scanning_validity_checks": "disabled", "secret_scanning_non_provider_patterns": "disabled", - "private_vulnerability_reporting": "disabled", "enforcement": "enforced", "url": "https://api.github.com/orgs/octo-org/code-security/configurations/1325", "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325", "created_at": "2024-05-01T00:00:00Z", - "updated_at": "2024-05-01T00:00:00Z", - "value": { - } + "updated_at": "2024-05-01T00:00:00Z" } } } @@ -251815,10 +251723,6 @@ "description": "This is a code security configuration for octo-org", "advanced_security": "enabled", "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": "enabled", - "dependency_graph_autosubmit_action_options": { - "labeled_runners": false - }, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", @@ -251827,19 +251731,11 @@ "secret_scanning_delegated_bypass": "disabled", "secret_scanning_validity_checks": "disabled", "secret_scanning_non_provider_patterns": "disabled", - "private_vulnerability_reporting": "disabled", "enforcement": "enforced", "url": "https://api.github.com/orgs/octo-org/code-security/configurations/1325", "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325", "created_at": "2024-05-01T00:00:00Z", "updated_at": "2024-05-01T00:00:00Z" - }, - "value": { - "configuration": { - "dependency_graph_autosubmit_action": null, - "dependency_graph_autosubmit_action_options": null, - "private_vulnerability_reporting": null - } } } } diff --git a/descriptions-next/ghes-3.15/dereferenced/ghes-3.15.deref.yaml b/descriptions-next/ghes-3.15/dereferenced/ghes-3.15.deref.yaml index 2bd8f7b6e..310f3efa8 100644 --- a/descriptions-next/ghes-3.15/dereferenced/ghes-3.15.deref.yaml +++ b/descriptions-next/ghes-3.15/dereferenced/ghes-3.15.deref.yaml @@ -26135,9 +26135,6 @@ paths: and code scanning. advanced_security: enabled dependency_graph: enabled - dependency_graph_autosubmit_action: not_set - dependency_graph_autosubmit_action_options: - labeled_runners: false dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: enabled @@ -26150,8 +26147,6 @@ paths: reviewer_id: 5678 reviewer_type: TEAM secret_scanning_validity_checks: enabled - secret_scanning_non_provider_patterns: enabled - private_vulnerability_reporting: enabled enforcement: enforced url: https://api.github.com/orgs/octo-org/code-security/configurations/17 html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/view @@ -26164,9 +26159,6 @@ paths: high risk repositories advanced_security: enabled dependency_graph: enabled - dependency_graph_autosubmit_action: enabled - dependency_graph_autosubmit_action_options: - labeled_runners: false dependabot_alerts: enabled dependabot_security_updates: enabled code_scanning_default_setup: enabled @@ -26174,61 +26166,11 @@ paths: secret_scanning_push_protection: enabled secret_scanning_delegated_bypass: disabled secret_scanning_validity_checks: disabled - secret_scanning_non_provider_patterns: disabled - private_vulnerability_reporting: enabled enforcement: enforced url: https://api.github.com/orgs/octo-org/code-security/configurations/1326 html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1326 created_at: '2024-05-10T00:00:00Z' updated_at: '2024-05-10T00:00:00Z' - value: - - id: 17 - target_type: global - name: GitHub recommended - description: Suggested settings for Dependabot, secret scanning, - and code scanning. - advanced_security: enabled - dependency_graph: enabled - dependency_graph_autosubmit_action: - dependency_graph_autosubmit_action_options: - dependabot_alerts: enabled - dependabot_security_updates: not_set - code_scanning_default_setup: enabled - secret_scanning: enabled - secret_scanning_push_protection: enabled - secret_scanning_delegated_bypass: enabled - secret_scanning_delegated_bypass_options: - reviewers: - - security_configuration_id: 17 - reviewer_id: 5678 - reviewer_type: TEAM - secret_scanning_validity_checks: enabled - enforcement: enforced - url: https://api.github.com/orgs/octo-org/code-security/configurations/17 - html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/view - created_at: '2023-12-04T15:58:07Z' - updated_at: '2023-12-04T15:58:07Z' - - id: 1326 - target_type: organization - name: High risk settings - description: This is a code security configuration for octo-org - high risk repositories - advanced_security: enabled - dependency_graph: enabled - dependency_graph_autosubmit_action: - dependency_graph_autosubmit_action_options: - dependabot_alerts: enabled - dependabot_security_updates: enabled - code_scanning_default_setup: enabled - secret_scanning: enabled - secret_scanning_push_protection: enabled - secret_scanning_delegated_bypass: disabled - secret_scanning_validity_checks: disabled - enforcement: enforced - url: https://api.github.com/orgs/octo-org/code-security/configurations/1326 - html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1326 - created_at: '2024-05-10T00:00:00Z' - updated_at: '2024-05-10T00:00:00Z' '403': *41 '404': *24 x-github: @@ -26420,9 +26362,6 @@ paths: description: This is a code security configuration for octo-org advanced_security: enabled dependency_graph: enabled - dependency_graph_autosubmit_action: enabled - dependency_graph_autosubmit_action_options: - labeled_runners: false dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: disabled @@ -26431,13 +26370,11 @@ paths: secret_scanning_delegated_bypass: disabled secret_scanning_validity_checks: disabled secret_scanning_non_provider_patterns: disabled - private_vulnerability_reporting: disabled enforcement: enforced url: https://api.github.com/orgs/octo-org/code-security/configurations/1325 html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - value: {} x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -26492,8 +26429,6 @@ paths: description: This is a code security configuration for octo-org advanced_security: enabled dependency_graph: enabled - dependency_graph_autosubmit_action: - dependency_graph_autosubmit_action_options: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: enabled @@ -26520,8 +26455,6 @@ paths: and code scanning. advanced_security: enabled dependency_graph: enabled - dependency_graph_autosubmit_action: - dependency_graph_autosubmit_action_options: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: enabled @@ -55563,9 +55496,6 @@ paths: description: This is a code security configuration for octo-org advanced_security: enabled dependency_graph: enabled - dependency_graph_autosubmit_action: enabled - dependency_graph_autosubmit_action_options: - labeled_runners: false dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: disabled @@ -55574,17 +55504,11 @@ paths: secret_scanning_delegated_bypass: disabled secret_scanning_validity_checks: disabled secret_scanning_non_provider_patterns: disabled - private_vulnerability_reporting: disabled enforcement: enforced url: https://api.github.com/orgs/octo-org/code-security/configurations/1325 html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - value: - configuration: - dependency_graph_autosubmit_action: - dependency_graph_autosubmit_action_options: - private_vulnerability_reporting: '204': *180 '304': *40 '403': *41 diff --git a/descriptions-next/ghes-3.15/ghes-3.15.2022-11-28.json b/descriptions-next/ghes-3.15/ghes-3.15.2022-11-28.json index 21e4c85d5..10295eae0 100644 --- a/descriptions-next/ghes-3.15/ghes-3.15.2022-11-28.json +++ b/descriptions-next/ghes-3.15/ghes-3.15.2022-11-28.json @@ -270808,10 +270808,6 @@ "description": "Suggested settings for Dependabot, secret scanning, and code scanning.", "advanced_security": "enabled", "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": "not_set", - "dependency_graph_autosubmit_action_options": { - "labeled_runners": false - }, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", @@ -270828,8 +270824,6 @@ ] }, "secret_scanning_validity_checks": "enabled", - "secret_scanning_non_provider_patterns": "enabled", - "private_vulnerability_reporting": "enabled", "enforcement": "enforced", "url": "https://api.github.com/orgs/octo-org/code-security/configurations/17", "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/view", @@ -270843,10 +270837,6 @@ "description": "This is a code security configuration for octo-org high risk repositories", "advanced_security": "enabled", "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": "enabled", - "dependency_graph_autosubmit_action_options": { - "labeled_runners": false - }, "dependabot_alerts": "enabled", "dependabot_security_updates": "enabled", "code_scanning_default_setup": "enabled", @@ -270854,68 +270844,11 @@ "secret_scanning_push_protection": "enabled", "secret_scanning_delegated_bypass": "disabled", "secret_scanning_validity_checks": "disabled", - "secret_scanning_non_provider_patterns": "disabled", - "private_vulnerability_reporting": "enabled", "enforcement": "enforced", "url": "https://api.github.com/orgs/octo-org/code-security/configurations/1326", "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1326", "created_at": "2024-05-10T00:00:00Z", - "updated_at": "2024-05-10T00:00:00Z", - "value": [ - { - "id": 17, - "target_type": "global", - "name": "GitHub recommended", - "description": "Suggested settings for Dependabot, secret scanning, and code scanning.", - "advanced_security": "enabled", - "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": null, - "dependency_graph_autosubmit_action_options": null, - "dependabot_alerts": "enabled", - "dependabot_security_updates": "not_set", - "code_scanning_default_setup": "enabled", - "secret_scanning": "enabled", - "secret_scanning_push_protection": "enabled", - "secret_scanning_delegated_bypass": "enabled", - "secret_scanning_delegated_bypass_options": { - "reviewers": [ - { - "security_configuration_id": 17, - "reviewer_id": 5678, - "reviewer_type": "TEAM" - } - ] - }, - "secret_scanning_validity_checks": "enabled", - "enforcement": "enforced", - "url": "https://api.github.com/orgs/octo-org/code-security/configurations/17", - "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/view", - "created_at": "2023-12-04T15:58:07Z", - "updated_at": "2023-12-04T15:58:07Z" - }, - { - "id": 1326, - "target_type": "organization", - "name": "High risk settings", - "description": "This is a code security configuration for octo-org high risk repositories", - "advanced_security": "enabled", - "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": null, - "dependency_graph_autosubmit_action_options": null, - "dependabot_alerts": "enabled", - "dependabot_security_updates": "enabled", - "code_scanning_default_setup": "enabled", - "secret_scanning": "enabled", - "secret_scanning_push_protection": "enabled", - "secret_scanning_delegated_bypass": "disabled", - "secret_scanning_validity_checks": "disabled", - "enforcement": "enforced", - "url": "https://api.github.com/orgs/octo-org/code-security/configurations/1326", - "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1326", - "created_at": "2024-05-10T00:00:00Z", - "updated_at": "2024-05-10T00:00:00Z" - } - ] + "updated_at": "2024-05-10T00:00:00Z" } ] }, @@ -270927,10 +270860,6 @@ "description": "This is a code security configuration for octo-org", "advanced_security": "enabled", "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": "enabled", - "dependency_graph_autosubmit_action_options": { - "labeled_runners": false - }, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", @@ -270939,14 +270868,11 @@ "secret_scanning_delegated_bypass": "disabled", "secret_scanning_validity_checks": "disabled", "secret_scanning_non_provider_patterns": "disabled", - "private_vulnerability_reporting": "disabled", "enforcement": "enforced", "url": "https://api.github.com/orgs/octo-org/code-security/configurations/1325", "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325", "created_at": "2024-05-01T00:00:00Z", - "updated_at": "2024-05-01T00:00:00Z", - "value": { - } + "updated_at": "2024-05-01T00:00:00Z" } }, "code-security-default-configurations": { @@ -270960,8 +270886,6 @@ "description": "This is a code security configuration for octo-org", "advanced_security": "enabled", "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": null, - "dependency_graph_autosubmit_action_options": null, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", @@ -270994,8 +270918,6 @@ "description": "Suggested settings for Dependabot, secret scanning, and code scanning.", "advanced_security": "enabled", "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": null, - "dependency_graph_autosubmit_action_options": null, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", @@ -278147,10 +278069,6 @@ "description": "This is a code security configuration for octo-org", "advanced_security": "enabled", "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": "enabled", - "dependency_graph_autosubmit_action_options": { - "labeled_runners": false - }, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", @@ -278159,19 +278077,11 @@ "secret_scanning_delegated_bypass": "disabled", "secret_scanning_validity_checks": "disabled", "secret_scanning_non_provider_patterns": "disabled", - "private_vulnerability_reporting": "disabled", "enforcement": "enforced", "url": "https://api.github.com/orgs/octo-org/code-security/configurations/1325", "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325", "created_at": "2024-05-01T00:00:00Z", "updated_at": "2024-05-01T00:00:00Z" - }, - "value": { - "configuration": { - "dependency_graph_autosubmit_action": null, - "dependency_graph_autosubmit_action_options": null, - "private_vulnerability_reporting": null - } } } }, diff --git a/descriptions-next/ghes-3.15/ghes-3.15.2022-11-28.yaml b/descriptions-next/ghes-3.15/ghes-3.15.2022-11-28.yaml index 237e017e0..4400c8215 100644 --- a/descriptions-next/ghes-3.15/ghes-3.15.2022-11-28.yaml +++ b/descriptions-next/ghes-3.15/ghes-3.15.2022-11-28.yaml @@ -199265,9 +199265,6 @@ components: scanning. advanced_security: enabled dependency_graph: enabled - dependency_graph_autosubmit_action: not_set - dependency_graph_autosubmit_action_options: - labeled_runners: false dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: enabled @@ -199280,8 +199277,6 @@ components: reviewer_id: 5678 reviewer_type: TEAM secret_scanning_validity_checks: enabled - secret_scanning_non_provider_patterns: enabled - private_vulnerability_reporting: enabled enforcement: enforced url: https://api.github.com/orgs/octo-org/code-security/configurations/17 html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/view @@ -199294,9 +199289,6 @@ components: repositories advanced_security: enabled dependency_graph: enabled - dependency_graph_autosubmit_action: enabled - dependency_graph_autosubmit_action_options: - labeled_runners: false dependabot_alerts: enabled dependabot_security_updates: enabled code_scanning_default_setup: enabled @@ -199304,61 +199296,11 @@ components: secret_scanning_push_protection: enabled secret_scanning_delegated_bypass: disabled secret_scanning_validity_checks: disabled - secret_scanning_non_provider_patterns: disabled - private_vulnerability_reporting: enabled enforcement: enforced url: https://api.github.com/orgs/octo-org/code-security/configurations/1326 html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1326 created_at: '2024-05-10T00:00:00Z' updated_at: '2024-05-10T00:00:00Z' - value: - - id: 17 - target_type: global - name: GitHub recommended - description: Suggested settings for Dependabot, secret scanning, and code - scanning. - advanced_security: enabled - dependency_graph: enabled - dependency_graph_autosubmit_action: - dependency_graph_autosubmit_action_options: - dependabot_alerts: enabled - dependabot_security_updates: not_set - code_scanning_default_setup: enabled - secret_scanning: enabled - secret_scanning_push_protection: enabled - secret_scanning_delegated_bypass: enabled - secret_scanning_delegated_bypass_options: - reviewers: - - security_configuration_id: 17 - reviewer_id: 5678 - reviewer_type: TEAM - secret_scanning_validity_checks: enabled - enforcement: enforced - url: https://api.github.com/orgs/octo-org/code-security/configurations/17 - html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/view - created_at: '2023-12-04T15:58:07Z' - updated_at: '2023-12-04T15:58:07Z' - - id: 1326 - target_type: organization - name: High risk settings - description: This is a code security configuration for octo-org high risk - repositories - advanced_security: enabled - dependency_graph: enabled - dependency_graph_autosubmit_action: - dependency_graph_autosubmit_action_options: - dependabot_alerts: enabled - dependabot_security_updates: enabled - code_scanning_default_setup: enabled - secret_scanning: enabled - secret_scanning_push_protection: enabled - secret_scanning_delegated_bypass: disabled - secret_scanning_validity_checks: disabled - enforcement: enforced - url: https://api.github.com/orgs/octo-org/code-security/configurations/1326 - html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1326 - created_at: '2024-05-10T00:00:00Z' - updated_at: '2024-05-10T00:00:00Z' code-security-configuration: value: id: 1325 @@ -199367,9 +199309,6 @@ components: description: This is a code security configuration for octo-org advanced_security: enabled dependency_graph: enabled - dependency_graph_autosubmit_action: enabled - dependency_graph_autosubmit_action_options: - labeled_runners: false dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: disabled @@ -199378,13 +199317,11 @@ components: secret_scanning_delegated_bypass: disabled secret_scanning_validity_checks: disabled secret_scanning_non_provider_patterns: disabled - private_vulnerability_reporting: disabled enforcement: enforced url: https://api.github.com/orgs/octo-org/code-security/configurations/1325 html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - value: {} code-security-default-configurations: value: - default_for_new_repos: public @@ -199395,8 +199332,6 @@ components: description: This is a code security configuration for octo-org advanced_security: enabled dependency_graph: enabled - dependency_graph_autosubmit_action: - dependency_graph_autosubmit_action_options: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: enabled @@ -199423,8 +199358,6 @@ components: scanning. advanced_security: enabled dependency_graph: enabled - dependency_graph_autosubmit_action: - dependency_graph_autosubmit_action_options: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: enabled @@ -205590,9 +205523,6 @@ components: description: This is a code security configuration for octo-org advanced_security: enabled dependency_graph: enabled - dependency_graph_autosubmit_action: enabled - dependency_graph_autosubmit_action_options: - labeled_runners: false dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: disabled @@ -205601,17 +205531,11 @@ components: secret_scanning_delegated_bypass: disabled secret_scanning_validity_checks: disabled secret_scanning_non_provider_patterns: disabled - private_vulnerability_reporting: disabled enforcement: enforced url: https://api.github.com/orgs/octo-org/code-security/configurations/1325 html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - value: - configuration: - dependency_graph_autosubmit_action: - dependency_graph_autosubmit_action_options: - private_vulnerability_reporting: codeowners-errors: value: errors: diff --git a/descriptions-next/ghes-3.15/ghes-3.15.json b/descriptions-next/ghes-3.15/ghes-3.15.json index 21e4c85d5..10295eae0 100644 --- a/descriptions-next/ghes-3.15/ghes-3.15.json +++ b/descriptions-next/ghes-3.15/ghes-3.15.json @@ -270808,10 +270808,6 @@ "description": "Suggested settings for Dependabot, secret scanning, and code scanning.", "advanced_security": "enabled", "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": "not_set", - "dependency_graph_autosubmit_action_options": { - "labeled_runners": false - }, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", @@ -270828,8 +270824,6 @@ ] }, "secret_scanning_validity_checks": "enabled", - "secret_scanning_non_provider_patterns": "enabled", - "private_vulnerability_reporting": "enabled", "enforcement": "enforced", "url": "https://api.github.com/orgs/octo-org/code-security/configurations/17", "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/view", @@ -270843,10 +270837,6 @@ "description": "This is a code security configuration for octo-org high risk repositories", "advanced_security": "enabled", "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": "enabled", - "dependency_graph_autosubmit_action_options": { - "labeled_runners": false - }, "dependabot_alerts": "enabled", "dependabot_security_updates": "enabled", "code_scanning_default_setup": "enabled", @@ -270854,68 +270844,11 @@ "secret_scanning_push_protection": "enabled", "secret_scanning_delegated_bypass": "disabled", "secret_scanning_validity_checks": "disabled", - "secret_scanning_non_provider_patterns": "disabled", - "private_vulnerability_reporting": "enabled", "enforcement": "enforced", "url": "https://api.github.com/orgs/octo-org/code-security/configurations/1326", "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1326", "created_at": "2024-05-10T00:00:00Z", - "updated_at": "2024-05-10T00:00:00Z", - "value": [ - { - "id": 17, - "target_type": "global", - "name": "GitHub recommended", - "description": "Suggested settings for Dependabot, secret scanning, and code scanning.", - "advanced_security": "enabled", - "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": null, - "dependency_graph_autosubmit_action_options": null, - "dependabot_alerts": "enabled", - "dependabot_security_updates": "not_set", - "code_scanning_default_setup": "enabled", - "secret_scanning": "enabled", - "secret_scanning_push_protection": "enabled", - "secret_scanning_delegated_bypass": "enabled", - "secret_scanning_delegated_bypass_options": { - "reviewers": [ - { - "security_configuration_id": 17, - "reviewer_id": 5678, - "reviewer_type": "TEAM" - } - ] - }, - "secret_scanning_validity_checks": "enabled", - "enforcement": "enforced", - "url": "https://api.github.com/orgs/octo-org/code-security/configurations/17", - "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/view", - "created_at": "2023-12-04T15:58:07Z", - "updated_at": "2023-12-04T15:58:07Z" - }, - { - "id": 1326, - "target_type": "organization", - "name": "High risk settings", - "description": "This is a code security configuration for octo-org high risk repositories", - "advanced_security": "enabled", - "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": null, - "dependency_graph_autosubmit_action_options": null, - "dependabot_alerts": "enabled", - "dependabot_security_updates": "enabled", - "code_scanning_default_setup": "enabled", - "secret_scanning": "enabled", - "secret_scanning_push_protection": "enabled", - "secret_scanning_delegated_bypass": "disabled", - "secret_scanning_validity_checks": "disabled", - "enforcement": "enforced", - "url": "https://api.github.com/orgs/octo-org/code-security/configurations/1326", - "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1326", - "created_at": "2024-05-10T00:00:00Z", - "updated_at": "2024-05-10T00:00:00Z" - } - ] + "updated_at": "2024-05-10T00:00:00Z" } ] }, @@ -270927,10 +270860,6 @@ "description": "This is a code security configuration for octo-org", "advanced_security": "enabled", "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": "enabled", - "dependency_graph_autosubmit_action_options": { - "labeled_runners": false - }, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", @@ -270939,14 +270868,11 @@ "secret_scanning_delegated_bypass": "disabled", "secret_scanning_validity_checks": "disabled", "secret_scanning_non_provider_patterns": "disabled", - "private_vulnerability_reporting": "disabled", "enforcement": "enforced", "url": "https://api.github.com/orgs/octo-org/code-security/configurations/1325", "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325", "created_at": "2024-05-01T00:00:00Z", - "updated_at": "2024-05-01T00:00:00Z", - "value": { - } + "updated_at": "2024-05-01T00:00:00Z" } }, "code-security-default-configurations": { @@ -270960,8 +270886,6 @@ "description": "This is a code security configuration for octo-org", "advanced_security": "enabled", "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": null, - "dependency_graph_autosubmit_action_options": null, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", @@ -270994,8 +270918,6 @@ "description": "Suggested settings for Dependabot, secret scanning, and code scanning.", "advanced_security": "enabled", "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": null, - "dependency_graph_autosubmit_action_options": null, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "enabled", @@ -278147,10 +278069,6 @@ "description": "This is a code security configuration for octo-org", "advanced_security": "enabled", "dependency_graph": "enabled", - "dependency_graph_autosubmit_action": "enabled", - "dependency_graph_autosubmit_action_options": { - "labeled_runners": false - }, "dependabot_alerts": "enabled", "dependabot_security_updates": "not_set", "code_scanning_default_setup": "disabled", @@ -278159,19 +278077,11 @@ "secret_scanning_delegated_bypass": "disabled", "secret_scanning_validity_checks": "disabled", "secret_scanning_non_provider_patterns": "disabled", - "private_vulnerability_reporting": "disabled", "enforcement": "enforced", "url": "https://api.github.com/orgs/octo-org/code-security/configurations/1325", "html_url": "https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325", "created_at": "2024-05-01T00:00:00Z", "updated_at": "2024-05-01T00:00:00Z" - }, - "value": { - "configuration": { - "dependency_graph_autosubmit_action": null, - "dependency_graph_autosubmit_action_options": null, - "private_vulnerability_reporting": null - } } } }, diff --git a/descriptions-next/ghes-3.15/ghes-3.15.yaml b/descriptions-next/ghes-3.15/ghes-3.15.yaml index 237e017e0..4400c8215 100644 --- a/descriptions-next/ghes-3.15/ghes-3.15.yaml +++ b/descriptions-next/ghes-3.15/ghes-3.15.yaml @@ -199265,9 +199265,6 @@ components: scanning. advanced_security: enabled dependency_graph: enabled - dependency_graph_autosubmit_action: not_set - dependency_graph_autosubmit_action_options: - labeled_runners: false dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: enabled @@ -199280,8 +199277,6 @@ components: reviewer_id: 5678 reviewer_type: TEAM secret_scanning_validity_checks: enabled - secret_scanning_non_provider_patterns: enabled - private_vulnerability_reporting: enabled enforcement: enforced url: https://api.github.com/orgs/octo-org/code-security/configurations/17 html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/view @@ -199294,9 +199289,6 @@ components: repositories advanced_security: enabled dependency_graph: enabled - dependency_graph_autosubmit_action: enabled - dependency_graph_autosubmit_action_options: - labeled_runners: false dependabot_alerts: enabled dependabot_security_updates: enabled code_scanning_default_setup: enabled @@ -199304,61 +199296,11 @@ components: secret_scanning_push_protection: enabled secret_scanning_delegated_bypass: disabled secret_scanning_validity_checks: disabled - secret_scanning_non_provider_patterns: disabled - private_vulnerability_reporting: enabled enforcement: enforced url: https://api.github.com/orgs/octo-org/code-security/configurations/1326 html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1326 created_at: '2024-05-10T00:00:00Z' updated_at: '2024-05-10T00:00:00Z' - value: - - id: 17 - target_type: global - name: GitHub recommended - description: Suggested settings for Dependabot, secret scanning, and code - scanning. - advanced_security: enabled - dependency_graph: enabled - dependency_graph_autosubmit_action: - dependency_graph_autosubmit_action_options: - dependabot_alerts: enabled - dependabot_security_updates: not_set - code_scanning_default_setup: enabled - secret_scanning: enabled - secret_scanning_push_protection: enabled - secret_scanning_delegated_bypass: enabled - secret_scanning_delegated_bypass_options: - reviewers: - - security_configuration_id: 17 - reviewer_id: 5678 - reviewer_type: TEAM - secret_scanning_validity_checks: enabled - enforcement: enforced - url: https://api.github.com/orgs/octo-org/code-security/configurations/17 - html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/view - created_at: '2023-12-04T15:58:07Z' - updated_at: '2023-12-04T15:58:07Z' - - id: 1326 - target_type: organization - name: High risk settings - description: This is a code security configuration for octo-org high risk - repositories - advanced_security: enabled - dependency_graph: enabled - dependency_graph_autosubmit_action: - dependency_graph_autosubmit_action_options: - dependabot_alerts: enabled - dependabot_security_updates: enabled - code_scanning_default_setup: enabled - secret_scanning: enabled - secret_scanning_push_protection: enabled - secret_scanning_delegated_bypass: disabled - secret_scanning_validity_checks: disabled - enforcement: enforced - url: https://api.github.com/orgs/octo-org/code-security/configurations/1326 - html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1326 - created_at: '2024-05-10T00:00:00Z' - updated_at: '2024-05-10T00:00:00Z' code-security-configuration: value: id: 1325 @@ -199367,9 +199309,6 @@ components: description: This is a code security configuration for octo-org advanced_security: enabled dependency_graph: enabled - dependency_graph_autosubmit_action: enabled - dependency_graph_autosubmit_action_options: - labeled_runners: false dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: disabled @@ -199378,13 +199317,11 @@ components: secret_scanning_delegated_bypass: disabled secret_scanning_validity_checks: disabled secret_scanning_non_provider_patterns: disabled - private_vulnerability_reporting: disabled enforcement: enforced url: https://api.github.com/orgs/octo-org/code-security/configurations/1325 html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - value: {} code-security-default-configurations: value: - default_for_new_repos: public @@ -199395,8 +199332,6 @@ components: description: This is a code security configuration for octo-org advanced_security: enabled dependency_graph: enabled - dependency_graph_autosubmit_action: - dependency_graph_autosubmit_action_options: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: enabled @@ -199423,8 +199358,6 @@ components: scanning. advanced_security: enabled dependency_graph: enabled - dependency_graph_autosubmit_action: - dependency_graph_autosubmit_action_options: dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: enabled @@ -205590,9 +205523,6 @@ components: description: This is a code security configuration for octo-org advanced_security: enabled dependency_graph: enabled - dependency_graph_autosubmit_action: enabled - dependency_graph_autosubmit_action_options: - labeled_runners: false dependabot_alerts: enabled dependabot_security_updates: not_set code_scanning_default_setup: disabled @@ -205601,17 +205531,11 @@ components: secret_scanning_delegated_bypass: disabled secret_scanning_validity_checks: disabled secret_scanning_non_provider_patterns: disabled - private_vulnerability_reporting: disabled enforcement: enforced url: https://api.github.com/orgs/octo-org/code-security/configurations/1325 html_url: https://github.com/organizations/octo-org/settings/security_products/configurations/edit/1325 created_at: '2024-05-01T00:00:00Z' updated_at: '2024-05-01T00:00:00Z' - value: - configuration: - dependency_graph_autosubmit_action: - dependency_graph_autosubmit_action_options: - private_vulnerability_reporting: codeowners-errors: value: errors: