diff --git a/descriptions/api.github.com/api.github.com.2022-11-28.json b/descriptions/api.github.com/api.github.com.2022-11-28.json index 8b8da73464..7f62dafd18 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions/api.github.com/api.github.com.2022-11-28.json @@ -2519,7 +2519,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" ], @@ -2609,7 +2609,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" ], @@ -9726,6 +9726,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", @@ -10150,6 +10153,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", @@ -11599,7 +11605,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" ], @@ -11699,7 +11705,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" ], @@ -11801,7 +11807,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" ], @@ -11901,7 +11907,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" ], @@ -13670,6 +13676,9 @@ }, { "$ref": "#/components/parameters/api-insights-route-stats-sort" + }, + { + "$ref": "#/components/parameters/api-insights-api-route-substring" } ], "responses": { @@ -13729,6 +13738,9 @@ }, { "$ref": "#/components/parameters/api-insights-sort" + }, + { + "$ref": "#/components/parameters/api-insights-subject-name-substring" } ], "responses": { @@ -14100,6 +14112,9 @@ }, { "$ref": "#/components/parameters/api-insights-sort" + }, + { + "$ref": "#/components/parameters/api-insights-actor-name-substring" } ], "responses": { @@ -100226,6 +100241,28 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "nullable": true, + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -100339,6 +100376,27 @@ } } }, + "code-scanning-default-setup-options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -111554,6 +111612,20 @@ "not-configured" ] }, + "runner_type": { + "description": "Runner type to be used.", + "type": "string", + "enum": [ + "standard", + "labeled" + ] + }, + "runner_label": { + "nullable": true, + "description": "Runner label to be used if the runner type is labeled.", + "type": "string", + "example": "code-scanning" + }, "query_suite": { "description": "CodeQL query suite to be used.", "type": "string", @@ -120471,18 +120543,19 @@ }, "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", "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", "nullable": true }, "started_at": { "type": "string", "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", + "nullable": true } } }, @@ -269594,6 +269667,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", @@ -269625,6 +269702,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", @@ -269663,6 +269744,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", @@ -269692,6 +269777,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", @@ -294308,6 +294397,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.", @@ -294328,6 +294426,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", @@ -294346,6 +294453,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/api.github.com/api.github.com.2022-11-28.yaml b/descriptions/api.github.com/api.github.com.2022-11-28.yaml index 338c572437..5b8b194839 100644 --- a/descriptions/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions/api.github.com/api.github.com.2022-11-28.yaml @@ -1761,6 +1761,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, @@ -1837,7 +1840,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. @@ -7068,6 +7071,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 @@ -7391,6 +7396,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 @@ -8476,13 +8483,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: @@ -8560,14 +8565,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: @@ -8647,13 +8649,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: @@ -8730,14 +8730,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: @@ -10036,6 +10033,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 @@ -10069,6 +10067,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 @@ -10287,6 +10286,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 @@ -73162,6 +73162,24 @@ components: - enabled - disabled - not_set + code_scanning_default_setup_options: + type: object + description: Feature options for code scanning default setup + nullable: true + properties: + runner_type: + nullable: true + type: string + enum: + - standard + - labeled + - not_set + description: Whether to use labeled runners or standard GitHub runners. + runner_label: + nullable: true + type: string + 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 @@ -73246,6 +73264,23 @@ components: updated_at: type: string format: date-time + code-scanning-default-setup-options: + type: object + description: Feature options for code scanning default setup + nullable: true + properties: + runner_type: + type: string + enum: + - standard + - labeled + - not_set + description: Whether to use labeled runners or standard GitHub runners. + runner_label: + nullable: true + type: string + 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 @@ -82036,6 +82071,17 @@ components: enum: - configured - not-configured + runner_type: + description: Runner type to be used. + type: string + enum: + - standard + - labeled + runner_label: + nullable: true + description: Runner label to be used if the runner type is labeled. + type: string + example: code-scanning query_suite: description: CodeQL query suite to be used. type: string @@ -88772,17 +88818,18 @@ 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 format: date-time description: The time that the scan was completed. Empty if the scan is - active + running nullable: true started_at: type: string 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 + nullable: true secret-scanning-scan-history: type: object properties: @@ -202226,6 +202273,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 @@ -202253,6 +202303,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 @@ -202284,6 +202337,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 @@ -202308,6 +202364,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 @@ -223576,6 +223635,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. @@ -223592,6 +223659,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 @@ -223607,6 +223682,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/api.github.com/api.github.com.json b/descriptions/api.github.com/api.github.com.json index 8b8da73464..7f62dafd18 100644 --- a/descriptions/api.github.com/api.github.com.json +++ b/descriptions/api.github.com/api.github.com.json @@ -2519,7 +2519,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" ], @@ -2609,7 +2609,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" ], @@ -9726,6 +9726,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", @@ -10150,6 +10153,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", @@ -11599,7 +11605,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" ], @@ -11699,7 +11705,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" ], @@ -11801,7 +11807,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" ], @@ -11901,7 +11907,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" ], @@ -13670,6 +13676,9 @@ }, { "$ref": "#/components/parameters/api-insights-route-stats-sort" + }, + { + "$ref": "#/components/parameters/api-insights-api-route-substring" } ], "responses": { @@ -13729,6 +13738,9 @@ }, { "$ref": "#/components/parameters/api-insights-sort" + }, + { + "$ref": "#/components/parameters/api-insights-subject-name-substring" } ], "responses": { @@ -14100,6 +14112,9 @@ }, { "$ref": "#/components/parameters/api-insights-sort" + }, + { + "$ref": "#/components/parameters/api-insights-actor-name-substring" } ], "responses": { @@ -100226,6 +100241,28 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "nullable": true, + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -100339,6 +100376,27 @@ } } }, + "code-scanning-default-setup-options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -111554,6 +111612,20 @@ "not-configured" ] }, + "runner_type": { + "description": "Runner type to be used.", + "type": "string", + "enum": [ + "standard", + "labeled" + ] + }, + "runner_label": { + "nullable": true, + "description": "Runner label to be used if the runner type is labeled.", + "type": "string", + "example": "code-scanning" + }, "query_suite": { "description": "CodeQL query suite to be used.", "type": "string", @@ -120471,18 +120543,19 @@ }, "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", "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", "nullable": true }, "started_at": { "type": "string", "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", + "nullable": true } } }, @@ -269594,6 +269667,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", @@ -269625,6 +269702,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", @@ -269663,6 +269744,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", @@ -269692,6 +269777,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", @@ -294308,6 +294397,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.", @@ -294328,6 +294426,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", @@ -294346,6 +294453,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/api.github.com/api.github.com.yaml b/descriptions/api.github.com/api.github.com.yaml index 338c572437..5b8b194839 100644 --- a/descriptions/api.github.com/api.github.com.yaml +++ b/descriptions/api.github.com/api.github.com.yaml @@ -1761,6 +1761,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, @@ -1837,7 +1840,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. @@ -7068,6 +7071,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 @@ -7391,6 +7396,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 @@ -8476,13 +8483,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: @@ -8560,14 +8565,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: @@ -8647,13 +8649,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: @@ -8730,14 +8730,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: @@ -10036,6 +10033,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 @@ -10069,6 +10067,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 @@ -10287,6 +10286,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 @@ -73162,6 +73162,24 @@ components: - enabled - disabled - not_set + code_scanning_default_setup_options: + type: object + description: Feature options for code scanning default setup + nullable: true + properties: + runner_type: + nullable: true + type: string + enum: + - standard + - labeled + - not_set + description: Whether to use labeled runners or standard GitHub runners. + runner_label: + nullable: true + type: string + 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 @@ -73246,6 +73264,23 @@ components: updated_at: type: string format: date-time + code-scanning-default-setup-options: + type: object + description: Feature options for code scanning default setup + nullable: true + properties: + runner_type: + type: string + enum: + - standard + - labeled + - not_set + description: Whether to use labeled runners or standard GitHub runners. + runner_label: + nullable: true + type: string + 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 @@ -82036,6 +82071,17 @@ components: enum: - configured - not-configured + runner_type: + description: Runner type to be used. + type: string + enum: + - standard + - labeled + runner_label: + nullable: true + description: Runner label to be used if the runner type is labeled. + type: string + example: code-scanning query_suite: description: CodeQL query suite to be used. type: string @@ -88772,17 +88818,18 @@ 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 format: date-time description: The time that the scan was completed. Empty if the scan is - active + running nullable: true started_at: type: string 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 + nullable: true secret-scanning-scan-history: type: object properties: @@ -202226,6 +202273,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 @@ -202253,6 +202303,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 @@ -202284,6 +202337,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 @@ -202308,6 +202364,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 @@ -223576,6 +223635,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. @@ -223592,6 +223659,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 @@ -223607,6 +223682,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/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index 97d07f5857..7df7d70bc3 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -20752,7 +20752,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" ], @@ -21401,7 +21401,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" ], @@ -62267,6 +62267,28 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "nullable": true, + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -62620,6 +62642,27 @@ ], "default": "disabled" }, + "code_scanning_default_setup_options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -62835,6 +62878,28 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "nullable": true, + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -62964,6 +63029,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", @@ -63120,6 +63189,28 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "nullable": true, + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -63255,6 +63346,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", @@ -63293,6 +63388,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", @@ -63706,6 +63805,28 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "nullable": true, + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -63835,6 +63956,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", @@ -64026,6 +64151,27 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -64227,6 +64373,28 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "nullable": true, + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -64356,6 +64524,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", @@ -64838,6 +65010,28 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "nullable": true, + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -64972,6 +65166,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", @@ -71030,7 +71228,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" ], @@ -71228,7 +71426,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" ], @@ -71428,7 +71626,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" ], @@ -71626,7 +71824,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" ], @@ -82645,6 +82843,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": { @@ -82803,6 +83010,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": { @@ -83653,6 +83869,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": { @@ -217960,6 +218185,20 @@ "not-configured" ] }, + "runner_type": { + "description": "Runner type to be used.", + "type": "string", + "enum": [ + "standard", + "labeled" + ] + }, + "runner_label": { + "nullable": true, + "description": "Runner label to be used if the runner type is labeled.", + "type": "string", + "example": "code-scanning" + }, "query_suite": { "description": "CodeQL query suite to be used.", "type": "string", @@ -218662,6 +218901,28 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "nullable": true, + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -401744,18 +402005,19 @@ }, "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", "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", "nullable": true }, "started_at": { "type": "string", "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", + "nullable": true } } } @@ -401772,18 +402034,19 @@ }, "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", "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", "nullable": true }, "started_at": { "type": "string", "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", + "nullable": true } } } @@ -401800,18 +402063,19 @@ }, "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", "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", "nullable": true }, "started_at": { "type": "string", "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", + "nullable": true } } } @@ -401830,18 +402094,19 @@ }, "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", "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", "nullable": true }, "started_at": { "type": "string", "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", + "nullable": true } } }, diff --git a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 7f7fa309a2..008103f5b2 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -838,7 +838,7 @@ paths: - subscriptions_url - type - url - type: &237 + type: &238 type: string description: The type of credit the user is receiving. enum: @@ -1004,7 +1004,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &550 + - &551 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1516,7 +1516,7 @@ paths: schema: type: integer default: 30 - - &158 + - &159 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 @@ -1532,7 +1532,7 @@ paths: application/json: schema: type: array - items: &159 + items: &160 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1609,7 +1609,7 @@ paths: - installation_id - repository_id examples: - default: &160 + default: &161 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1737,7 +1737,7 @@ paths: description: Response content: application/json: - schema: &161 + schema: &162 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1851,7 +1851,7 @@ paths: - request - response examples: - default: &162 + default: &163 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2832,7 +2832,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &217 + properties: &218 id: description: Unique identifier of the repository example: 42 @@ -3261,7 +3261,7 @@ paths: type: boolean description: Whether anonymous git access is enabled for this repository - required: &218 + required: &219 - archive_url - assignees_url - blobs_url @@ -6960,7 +6960,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &139 + items: &140 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -7030,7 +7030,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &180 + - &181 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -7089,7 +7089,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &195 + properties: &196 id: description: Unique identifier of the team type: integer @@ -7145,7 +7145,7 @@ paths: maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &196 + required: &197 - id - node_id - url @@ -7256,7 +7256,7 @@ paths: - created_at additionalProperties: false examples: - default: &140 + default: &141 value: total_seats: 2 seats: @@ -8050,7 +8050,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &142 + - &143 name: state in: query description: |- @@ -8059,7 +8059,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &143 + - &144 name: severity in: query description: |- @@ -8068,7 +8068,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &144 + - &145 name: ecosystem in: query description: |- @@ -8077,14 +8077,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &145 + - &146 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 - - &146 + - &147 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8094,7 +8094,7 @@ paths: enum: - development - runtime - - &147 + - &148 name: sort in: query description: |- @@ -8110,7 +8110,7 @@ paths: - *42 - *43 - *44 - - &148 + - &149 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -8123,7 +8123,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &149 + - &150 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -8143,7 +8143,7 @@ paths: application/json: schema: type: array - items: &150 + items: &151 type: object description: A Dependabot alert. properties: @@ -8196,7 +8196,7 @@ paths: enum: - development - runtime - security_advisory: &401 + security_advisory: &402 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8457,7 +8457,7 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &402 + auto_dismissed_at: &403 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -8760,7 +8760,7 @@ paths: - repository additionalProperties: false examples: - default: &151 + default: &152 value: - number: 2 state: dismissed @@ -9104,7 +9104,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *40 - - &228 + - &229 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9115,7 +9115,7 @@ paths: enum: - open - resolved - - &229 + - &230 name: secret_type in: query description: |- @@ -9125,7 +9125,7 @@ paths: required: false schema: type: string - - &230 + - &231 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9134,7 +9134,7 @@ paths: required: false schema: type: string - - &231 + - &232 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. @@ -9150,7 +9150,7 @@ paths: - *18 - *43 - *44 - - &232 + - &233 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9159,7 +9159,7 @@ paths: required: false schema: type: string - - &233 + - &234 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9168,7 +9168,7 @@ paths: schema: type: boolean default: false - - &234 + - &235 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9184,7 +9184,7 @@ paths: application/json: schema: type: array - items: &235 + items: &236 type: object properties: number: *48 @@ -9203,14 +9203,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &542 + state: &543 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: &543 + resolution: &544 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -9302,7 +9302,7 @@ paths: repositories in the same organization or enterprise. nullable: true examples: - default: &236 + default: &237 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -9557,6 +9557,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, @@ -9632,7 +9635,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. @@ -9656,7 +9659,7 @@ paths: url: https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-an-enterprise-team parameters: - *40 - - &192 + - &193 name: team_slug description: The slug of the team name. in: path @@ -9696,7 +9699,7 @@ paths: type: array items: *56 examples: - default: &141 + default: &142 value: - day: '2023-10-15' total_suggestions_count: 1000 @@ -9852,7 +9855,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &450 + properties: &451 id: type: integer format: int64 @@ -9963,7 +9966,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &386 + properties: &387 url: type: string format: uri @@ -10033,7 +10036,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &387 + required: &388 - closed_issues - creator - description @@ -10188,7 +10191,7 @@ paths: - total - completed - percent_completed - required: &451 + required: &452 - assignee - closed_at - comments @@ -10210,7 +10213,7 @@ paths: - author_association - created_at - updated_at - comment: &448 + comment: &449 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -10775,7 +10778,7 @@ paths: url: type: string format: uri - user: &573 + user: &574 title: Public User description: Public User type: object @@ -12640,7 +12643,7 @@ paths: - closed - all default: open - - &181 + - &182 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -12691,7 +12694,7 @@ paths: type: array items: *75 examples: - default: &182 + default: &183 value: - id: 1 node_id: MDU6SXNzdWUx @@ -14060,14 +14063,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &254 + - &255 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &255 + - &256 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -14138,7 +14141,7 @@ paths: '404': *7 '403': *29 '304': *37 - '301': &266 + '301': &267 description: Moved permanently content: application/json: @@ -14160,7 +14163,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &480 + - &481 name: all description: If `true`, show notifications marked as read. in: query @@ -14168,7 +14171,7 @@ paths: schema: type: boolean default: false - - &481 + - &482 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14178,7 +14181,7 @@ paths: type: boolean default: false - *65 - - &482 + - &483 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: @@ -14214,7 +14217,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &153 + properties: &154 id: type: integer format: int64 @@ -14490,7 +14493,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &219 + security_and_analysis: &220 nullable: true type: object properties: @@ -14546,7 +14549,7 @@ paths: enum: - enabled - disabled - required: &154 + required: &155 - archive_url - assignees_url - blobs_url @@ -14634,7 +14637,7 @@ paths: - url - subscription_url examples: - default: &483 + default: &484 value: - id: '1' repository: @@ -15176,14 +15179,14 @@ paths: application/json: schema: type: array - items: &187 + items: &188 title: Organization Simple description: A GitHub organization. type: object properties: *92 required: *93 examples: - default: &591 + default: &592 value: - login: github id: 1 @@ -16089,7 +16092,7 @@ paths: type: integer repository_cache_usages: type: array - items: &271 + items: &272 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -16259,7 +16262,7 @@ paths: - all - local_only - selected - selected_actions_url: &277 + selected_actions_url: &278 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` @@ -16349,7 +16352,7 @@ paths: type: array items: *58 examples: - default: &585 + default: &586 value: total_count: 1 repositories: @@ -16677,7 +16680,7 @@ paths: description: Response content: application/json: - schema: &281 + schema: &282 type: object properties: default_workflow_permissions: &107 @@ -16728,7 +16731,7 @@ paths: required: false content: application/json: - schema: &282 + schema: &283 type: object properties: default_workflow_permissions: *107 @@ -17163,7 +17166,7 @@ paths: type: array items: *113 examples: - default: &576 + default: &577 value: total_count: 1 repositories: @@ -17801,7 +17804,7 @@ paths: application/json: schema: type: array - items: &283 + items: &284 title: Runner Application description: Runner Application type: object @@ -17826,7 +17829,7 @@ paths: - download_url - filename examples: - default: &284 + default: &285 value: - os: osx architecture: x64 @@ -17912,7 +17915,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &285 + '201': &286 description: Response content: application/json: @@ -18022,7 +18025,7 @@ paths: - token - expires_at examples: - default: &286 + default: &287 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -18061,7 +18064,7 @@ paths: application/json: schema: *117 examples: - default: &287 + default: &288 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -18095,7 +18098,7 @@ paths: application/json: schema: *115 examples: - default: &288 + default: &289 value: id: 23 name: MBP @@ -18319,7 +18322,7 @@ paths: - *94 - *114 responses: - '200': &289 + '200': &290 description: Response content: application/json: @@ -18376,7 +18379,7 @@ paths: parameters: - *94 - *114 - - &290 + - &291 name: name description: The name of a self-hosted runner's custom label. in: path @@ -18506,7 +18509,7 @@ paths: description: Response content: application/json: - schema: &302 + schema: &303 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -18535,7 +18538,7 @@ paths: - key_id - key examples: - default: &303 + default: &304 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -18946,7 +18949,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *94 - - &276 + - &277 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)." @@ -19471,7 +19474,7 @@ paths: repository_id: type: integer examples: - default: &316 + default: &317 value: attestations: - bundle: @@ -19590,7 +19593,7 @@ paths: type: array items: *19 examples: - default: &183 + default: &184 value: - login: octocat id: 1 @@ -19708,7 +19711,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *94 - - &342 + - &343 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`, @@ -19718,7 +19721,7 @@ paths: schema: &130 type: string description: The name of the tool used to generate the code scanning analysis. - - &343 + - &344 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 @@ -19741,7 +19744,7 @@ paths: be returned. in: query required: false - schema: &345 + schema: &346 type: string description: State of a code scanning alert. enum: @@ -19764,7 +19767,7 @@ paths: be returned. in: query required: false - schema: &346 + schema: &347 type: string description: Severity of a code scanning alert. enum: @@ -19790,7 +19793,7 @@ paths: updated_at: *127 url: *50 html_url: *51 - instances_url: &347 + instances_url: &348 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -19813,7 +19816,7 @@ paths: required: *5 nullable: true dismissed_at: *129 - dismissed_reason: &348 + dismissed_reason: &349 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -19822,13 +19825,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &349 + dismissed_comment: &350 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &350 + rule: &351 type: object properties: id: @@ -19881,7 +19884,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &351 + tool: &352 type: object properties: name: *130 @@ -19891,15 +19894,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *131 - most_recent_instance: &352 + most_recent_instance: &353 type: object properties: - ref: &344 + ref: &345 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &358 + analysis_key: &359 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -19910,7 +19913,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &359 + category: &360 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -20323,6 +20326,25 @@ paths: - enabled - disabled - not_set + code_scanning_default_setup_options: + type: object + description: Feature options for code scanning default setup + nullable: true + properties: + runner_type: + nullable: true + type: string + enum: + - standard + - labeled + - not_set + description: Whether to use labeled runners or standard + GitHub runners. + runner_label: + nullable: true + type: string + 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 @@ -20564,6 +20586,24 @@ paths: - disabled - not_set default: disabled + code_scanning_default_setup_options: &137 + type: object + description: Feature options for code scanning default setup + nullable: true + properties: + runner_type: + type: string + enum: + - standard + - labeled + - not_set + description: Whether to use labeled runners or standard GitHub + runners. + runner_label: + nullable: true + type: string + 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 @@ -20679,6 +20719,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 @@ -20749,6 +20792,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 @@ -20780,6 +20826,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 @@ -20838,7 +20887,7 @@ paths: - 32 - 91 responses: - '204': &137 + '204': &138 description: A header with no content is returned. '400': *15 '403': *29 @@ -20971,6 +21020,7 @@ paths: - enabled - disabled - not_set + code_scanning_default_setup_options: *137 secret_scanning: type: string description: The enablement status of secret scanning @@ -21073,6 +21123,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 @@ -21111,7 +21164,7 @@ paths: - *94 - *136 responses: - '204': *137 + '204': *138 '400': *15 '403': *29 '404': *7 @@ -21433,7 +21486,7 @@ paths: type: integer codespaces: type: array - items: &184 + items: &185 type: object title: Codespace description: A codespace. @@ -21463,7 +21516,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &372 + properties: &373 name: type: string description: The name of the machine. @@ -21505,7 +21558,7 @@ paths: - ready - in_progress nullable: true - required: &373 + required: &374 - name - display_name - operating_system @@ -21710,7 +21763,7 @@ paths: - pulls_url - recent_folders examples: - default: &185 + default: &186 value: total_count: 3 codespaces: @@ -22334,7 +22387,7 @@ paths: type: integer secrets: type: array - items: &138 + items: &139 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -22373,7 +22426,7 @@ paths: - updated_at - visibility examples: - default: &374 + default: &375 value: total_count: 2 secrets: @@ -22411,7 +22464,7 @@ paths: description: Response content: application/json: - schema: &375 + schema: &376 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -22440,7 +22493,7 @@ paths: - key_id - key examples: - default: &376 + default: &377 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22470,9 +22523,9 @@ paths: description: Response content: application/json: - schema: *138 + schema: *139 examples: - default: &378 + default: &379 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -22941,9 +22994,9 @@ paths: currently being billed. seats: type: array - items: *139 + items: *140 examples: - default: *140 + default: *141 headers: Link: *39 '500': *41 @@ -22965,13 +23018,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: @@ -23045,14 +23096,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: @@ -23128,13 +23176,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: @@ -23207,14 +23253,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: @@ -23408,7 +23451,7 @@ paths: type: array items: *56 examples: - default: *141 + default: *142 '500': *41 '401': *25 '403': *29 @@ -23435,17 +23478,17 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *94 - - *142 - *143 - *144 - *145 - *146 - *147 + - *148 - *42 - *43 - *44 - - *148 - *149 + - *150 - *18 responses: '200': @@ -23454,9 +23497,9 @@ paths: application/json: schema: type: array - items: *150 + items: *151 examples: - default: *151 + default: *152 '304': *37 '400': *15 '403': *29 @@ -23500,7 +23543,7 @@ paths: type: integer secrets: type: array - items: &152 + items: &153 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -23577,7 +23620,7 @@ paths: description: Response content: application/json: - schema: &405 + schema: &406 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -23594,7 +23637,7 @@ paths: - key_id - key examples: - default: &406 + default: &407 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23624,7 +23667,7 @@ paths: description: Response content: application/json: - schema: *152 + schema: *153 examples: default: value: @@ -23921,7 +23964,7 @@ paths: application/json: schema: type: array - items: &198 + items: &199 title: Package description: A software package type: object @@ -23971,8 +24014,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *153 - required: *154 + properties: *154 + required: *155 nullable: true created_at: type: string @@ -23991,7 +24034,7 @@ paths: - created_at - updated_at examples: - default: &199 + default: &200 value: - id: 197 name: hello_docker @@ -24158,7 +24201,7 @@ paths: application/json: schema: type: array - items: &177 + items: &178 title: Organization Invitation description: Organization Invitation type: object @@ -24205,7 +24248,7 @@ paths: - invitation_teams_url - node_id examples: - default: &178 + default: &179 value: - id: 1 login: monalisa @@ -24272,7 +24315,7 @@ paths: application/json: schema: type: array - items: &155 + items: &156 title: Org Hook description: Org Hook type: object @@ -24443,9 +24486,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *156 examples: - default: &156 + default: &157 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -24493,7 +24536,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *94 - - &157 + - &158 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. @@ -24506,9 +24549,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *156 examples: - default: *156 + default: *157 '404': *7 x-github: githubCloudOnly: false @@ -24536,7 +24579,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *94 - - *157 + - *158 requestBody: required: false content: @@ -24581,7 +24624,7 @@ paths: description: Response content: application/json: - schema: *155 + schema: *156 examples: default: value: @@ -24623,7 +24666,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *94 - - *157 + - *158 responses: '204': description: Response @@ -24651,7 +24694,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *94 - - *157 + - *158 responses: '200': description: Response @@ -24682,7 +24725,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *94 - - *157 + - *158 requestBody: required: false content: @@ -24733,9 +24776,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *94 - - *157 - - *18 - *158 + - *18 + - *159 responses: '200': description: Response @@ -24743,9 +24786,9 @@ paths: application/json: schema: type: array - items: *159 + items: *160 examples: - default: *160 + default: *161 '400': *15 '422': *16 x-github: @@ -24771,16 +24814,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *94 - - *157 + - *158 - *17 responses: '200': description: Response content: application/json: - schema: *161 + schema: *162 examples: - default: *162 + default: *163 '400': *15 '422': *16 x-github: @@ -24806,7 +24849,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *94 - - *157 + - *158 - *17 responses: '202': *99 @@ -24836,7 +24879,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *94 - - *157 + - *158 responses: '204': description: Response @@ -24859,7 +24902,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *94 - - &167 + - &168 name: actor_type in: path description: The type of the actor @@ -24872,14 +24915,14 @@ paths: - fine_grained_pats - oauth_apps - github_apps_user_to_server - - &168 + - &169 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &163 + - &164 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`.' @@ -24887,7 +24930,7 @@ paths: required: true schema: type: string - - &164 + - &165 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) @@ -24915,6 +24958,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 @@ -24974,12 +25024,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *94 - - *163 - *164 + - *165 - *20 - *18 - *42 - - &173 + - &174 name: sort description: The property to sort the results by. in: query @@ -24995,6 +25045,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 @@ -25051,14 +25108,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *94 - - *163 - *164 + - *165 responses: '200': description: Response content: application/json: - schema: &165 + schema: &166 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -25074,7 +25131,7 @@ paths: type: integer format: int64 examples: - default: &166 + default: &167 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -25095,23 +25152,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *94 - - &169 + - &170 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *163 - *164 + - *165 responses: '200': description: Response content: application/json: - schema: *165 + schema: *166 examples: - default: *166 + default: *167 x-github: enabledForGitHubApps: true category: orgs @@ -25130,18 +25187,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *94 - - *163 - *164 - - *167 + - *165 - *168 + - *169 responses: '200': description: Response content: application/json: - schema: *165 + schema: *166 examples: - default: *166 + default: *167 x-github: enabledForGitHubApps: true category: orgs @@ -25159,9 +25216,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *94 - - *163 - *164 - - &170 + - *165 + - &171 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -25174,7 +25231,7 @@ paths: description: Response content: application/json: - schema: &171 + schema: &172 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -25190,7 +25247,7 @@ paths: type: integer format: int64 examples: - default: &172 + default: &173 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -25227,18 +25284,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *94 - - *169 - - *163 - - *164 - *170 + - *164 + - *165 + - *171 responses: '200': description: Response content: application/json: - schema: *171 + schema: *172 examples: - default: *172 + default: *173 x-github: enabledForGitHubApps: true category: orgs @@ -25256,19 +25313,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *94 - - *167 - *168 - - *163 + - *169 - *164 - - *170 + - *165 + - *171 responses: '200': description: Response content: application/json: - schema: *171 + schema: *172 examples: - default: *172 + default: *173 x-github: enabledForGitHubApps: true category: orgs @@ -25286,13 +25343,20 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *94 - - *169 - - *163 + - *170 - *164 + - *165 - *20 - *18 - *42 - - *173 + - *174 + - 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 @@ -25366,7 +25430,7 @@ paths: application/json: schema: *22 examples: - default: &444 + default: &445 value: id: 1 account: @@ -25532,12 +25596,12 @@ paths: application/json: schema: anyOf: - - &175 + - &176 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &174 + limit: &175 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -25562,7 +25626,7 @@ paths: properties: {} additionalProperties: false examples: - default: &176 + default: &177 value: limit: collaborators_only origin: organization @@ -25591,13 +25655,13 @@ paths: required: true content: application/json: - schema: &445 + schema: &446 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *174 + limit: *175 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -25621,9 +25685,9 @@ paths: description: Response content: application/json: - schema: *175 + schema: *176 examples: - default: *176 + default: *177 '422': *16 x-github: githubCloudOnly: false @@ -25699,9 +25763,9 @@ paths: application/json: schema: type: array - items: *177 + items: *178 examples: - default: *178 + default: *179 headers: Link: *39 '404': *7 @@ -25778,7 +25842,7 @@ paths: description: Response content: application/json: - schema: *177 + schema: *178 examples: default: value: @@ -25833,7 +25897,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *94 - - &179 + - &180 name: invitation_id description: The unique identifier of the invitation. in: path @@ -25864,7 +25928,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *94 - - *179 + - *180 - *18 - *20 responses: @@ -25874,9 +25938,9 @@ paths: application/json: schema: type: array - items: *180 + items: *181 examples: - default: &197 + default: &198 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -25951,7 +26015,7 @@ paths: - closed - all default: open - - *181 + - *182 - name: sort description: What to sort results by. in: query @@ -25976,7 +26040,7 @@ paths: type: array items: *75 examples: - default: *182 + default: *183 headers: Link: *39 '404': *7 @@ -26034,7 +26098,7 @@ paths: type: array items: *19 examples: - default: *183 + default: *184 headers: Link: *39 '422': *16 @@ -26130,9 +26194,9 @@ paths: type: integer codespaces: type: array - items: *184 + items: *185 examples: - default: *185 + default: *186 '304': *37 '500': *41 '401': *25 @@ -26159,7 +26223,7 @@ paths: parameters: - *94 - *126 - - &186 + - &187 name: codespace_name in: path required: true @@ -26194,15 +26258,15 @@ paths: parameters: - *94 - *126 - - *186 + - *187 responses: '200': description: Response content: application/json: - schema: *184 + schema: *185 examples: - default: &371 + default: &372 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -26382,7 +26446,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *139 + schema: *140 examples: default: value: @@ -26457,7 +26521,7 @@ paths: description: Response content: application/json: - schema: &188 + schema: &189 title: Org Membership description: Org Membership type: object @@ -26486,7 +26550,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *187 + organization: *188 user: title: Simple User description: A GitHub user. @@ -26509,7 +26573,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &189 + response-if-user-has-an-active-admin-membership-with-organization: &190 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -26606,9 +26670,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *189 examples: - response-if-user-already-had-membership-with-organization: *189 + response-if-user-already-had-membership-with-organization: *190 '422': *16 '403': *29 x-github: @@ -26676,7 +26740,7 @@ paths: application/json: schema: type: array - items: &190 + items: &191 title: Migration description: A migration. type: object @@ -27005,7 +27069,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *191 examples: default: value: @@ -27184,7 +27248,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *94 - - &191 + - &192 name: migration_id description: The unique identifier of the migration. in: path @@ -27211,7 +27275,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *190 + schema: *191 examples: default: value: @@ -27381,7 +27445,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *94 - - *191 + - *192 responses: '302': description: Response @@ -27403,7 +27467,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *94 - - *191 + - *192 responses: '204': description: Response @@ -27427,8 +27491,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *94 - - *191 - - &590 + - *192 + - &591 name: repo_name description: repo_name parameter in: path @@ -27456,7 +27520,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *94 - - *191 + - *192 - *18 - *20 responses: @@ -27468,7 +27532,7 @@ paths: type: array items: *113 examples: - default: &204 + default: &205 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -27621,7 +27685,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &194 + items: &195 title: Organization Role description: Organization roles type: object @@ -27769,7 +27833,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *94 - - *192 + - *193 responses: '204': description: Response @@ -27795,8 +27859,8 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *94 - - *192 - - &193 + - *193 + - &194 name: role_id description: The unique identifier of the role. in: path @@ -27832,8 +27896,8 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *94 - - *192 - *193 + - *194 responses: '204': description: Response @@ -27886,7 +27950,7 @@ paths: parameters: - *94 - *126 - - *193 + - *194 responses: '204': description: Response @@ -27918,7 +27982,7 @@ paths: parameters: - *94 - *126 - - *193 + - *194 responses: '204': description: Response @@ -27947,13 +28011,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *94 - - *193 + - *194 responses: '200': description: Response content: application/json: - schema: *194 + schema: *195 examples: default: value: @@ -28004,7 +28068,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *94 - - *193 + - *194 - *18 - *20 responses: @@ -28082,8 +28146,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *195 - required: *196 + properties: *196 + required: *197 nullable: true required: - id @@ -28098,7 +28162,7 @@ paths: - slug - parent examples: - default: *197 + default: *198 headers: Link: *39 '404': @@ -28128,7 +28192,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *94 - - *193 + - *194 - *18 - *20 responses: @@ -28156,13 +28220,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &238 + items: &239 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *195 - required: *196 + properties: *196 + required: *197 name: nullable: true type: string @@ -28257,7 +28321,7 @@ paths: - type - url examples: - default: *183 + default: *184 headers: Link: *39 '404': @@ -28305,7 +28369,7 @@ paths: type: array items: *19 examples: - default: *183 + default: *184 headers: Link: *39 x-github: @@ -28447,7 +28511,7 @@ paths: - nuget - container - *94 - - &592 + - &593 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -28483,12 +28547,12 @@ paths: application/json: schema: type: array - items: *198 + items: *199 examples: - default: *199 + default: *200 '403': *29 '401': *25 - '400': &594 + '400': &595 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -28510,7 +28574,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &200 + - &201 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 @@ -28528,7 +28592,7 @@ paths: - docker - nuget - container - - &201 + - &202 name: package_name description: The name of the package. in: path @@ -28541,7 +28605,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *199 examples: default: value: @@ -28593,8 +28657,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *200 - *201 + - *202 - *94 responses: '204': @@ -28627,8 +28691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *200 - *201 + - *202 - *94 - name: token description: package token @@ -28661,8 +28725,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: - - *200 - *201 + - *202 - *94 - *20 - *18 @@ -28683,7 +28747,7 @@ paths: application/json: schema: type: array - items: &202 + items: &203 title: Package Version description: A version of a software package type: object @@ -28808,10 +28872,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *200 - *201 + - *202 - *94 - - &203 + - &204 name: package_version_id description: Unique identifier of the package version. in: path @@ -28823,7 +28887,7 @@ paths: description: Response content: application/json: - schema: *202 + schema: *203 examples: default: value: @@ -28859,10 +28923,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *200 - *201 + - *202 - *94 - - *203 + - *204 responses: '204': description: Response @@ -28894,10 +28958,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *200 - *201 + - *202 - *94 - - *203 + - *204 responses: '204': description: Response @@ -28927,7 +28991,7 @@ paths: - *94 - *18 - *20 - - &205 + - &206 name: sort description: The property by which to sort the results. in: query @@ -28938,7 +29002,7 @@ paths: - created_at default: created_at - *42 - - &206 + - &207 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -28949,7 +29013,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &207 + - &208 name: repository description: The name of the repository to use to filter the results. in: query @@ -28957,7 +29021,7 @@ paths: schema: type: string example: Hello-World - - &208 + - &209 name: permission description: The permission to use to filter the results. in: query @@ -28965,7 +29029,7 @@ paths: schema: type: string example: issues_read - - &209 + - &210 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) @@ -28975,7 +29039,7 @@ paths: schema: type: string format: date-time - - &210 + - &211 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) @@ -29244,7 +29308,7 @@ paths: '422': *16 '404': *7 '403': *29 - '204': *137 + '204': *138 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29287,7 +29351,7 @@ paths: type: array items: *113 examples: - default: *204 + default: *205 headers: Link: *39 x-github: @@ -29313,13 +29377,13 @@ paths: - *94 - *18 - *20 - - *205 - - *42 - *206 + - *42 - *207 - *208 - *209 - *210 + - *211 responses: '500': *41 '422': *16 @@ -29558,7 +29622,7 @@ paths: responses: '500': *41 '404': *7 - '204': *137 + '204': *138 '403': *29 '422': *16 x-github: @@ -29601,7 +29665,7 @@ paths: type: array items: *113 examples: - default: *204 + default: *205 headers: Link: *39 x-github: @@ -29644,7 +29708,7 @@ paths: application/json: schema: type: array - items: &211 + items: &212 title: Project description: Projects are a way to organize columns and cards of work. @@ -29814,7 +29878,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *212 examples: default: value: @@ -29852,7 +29916,7 @@ paths: '401': *25 '403': *29 '404': *7 - '410': &263 + '410': &264 description: Gone content: application/json: @@ -29884,7 +29948,7 @@ paths: application/json: schema: type: array - items: &212 + items: &213 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -29950,7 +30014,7 @@ paths: - property_name - value_type examples: - default: &213 + default: &214 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -30005,7 +30069,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *212 + items: *213 minItems: 1 maxItems: 100 required: @@ -30035,9 +30099,9 @@ paths: application/json: schema: type: array - items: *212 + items: *213 examples: - default: *213 + default: *214 '403': *29 '404': *7 x-github: @@ -30059,7 +30123,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *94 - - &214 + - &215 name: custom_property_name description: The custom property name in: path @@ -30071,9 +30135,9 @@ paths: description: Response content: application/json: - schema: *212 + schema: *213 examples: - default: &215 + default: &216 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -30108,7 +30172,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *94 - - *214 + - *215 requestBody: required: true content: @@ -30167,9 +30231,9 @@ paths: description: Response content: application/json: - schema: *212 + schema: *213 examples: - default: *215 + default: *216 '403': *29 '404': *7 x-github: @@ -30193,9 +30257,9 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *94 - - *214 + - *215 responses: - '204': *137 + '204': *138 '403': *29 '404': *7 x-github: @@ -30254,7 +30318,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &216 + items: &217 title: Custom Property Value description: Custom property name and associated value type: object @@ -30341,7 +30405,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *216 + items: *217 required: - repository_names - properties @@ -30394,7 +30458,7 @@ paths: type: array items: *19 examples: - default: *183 + default: *184 headers: Link: *39 x-github: @@ -30533,7 +30597,7 @@ paths: type: array items: *113 examples: - default: *204 + default: *205 headers: Link: *39 x-github: @@ -30735,7 +30799,7 @@ paths: description: Response content: application/json: - schema: &265 + schema: &266 title: Full Repository description: Full Repository type: object @@ -31012,8 +31076,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *217 - required: *218 + properties: *218 + required: *219 nullable: true temp_clone_token: type: string @@ -31128,7 +31192,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &393 + properties: &394 url: type: string format: uri @@ -31144,12 +31208,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &394 + required: &395 - url - key - name - html_url - security_and_analysis: *219 + security_and_analysis: *220 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -31233,7 +31297,7 @@ paths: - network_count - subscribers_count examples: - default: &267 + default: &268 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -31754,7 +31818,7 @@ paths: - *94 - *18 - *20 - - &529 + - &530 name: targets description: | A comma-separated list of rule targets to filter by. @@ -31772,7 +31836,7 @@ paths: application/json: schema: type: array - items: &226 + items: &227 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -31805,7 +31869,7 @@ paths: source: type: string description: The name of the source - enforcement: &222 + enforcement: &223 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -31818,7 +31882,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &223 + items: &224 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -31883,7 +31947,7 @@ paths: conditions: nullable: true anyOf: - - &220 + - &221 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -31907,7 +31971,7 @@ paths: match. items: type: string - - &224 + - &225 title: Organization ruleset conditions type: object description: |- @@ -31920,7 +31984,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *220 + - *221 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -31954,7 +32018,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *220 + - *221 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -31976,7 +32040,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *220 + - *221 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -31989,7 +32053,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &221 + items: &222 title: Repository ruleset property targeting definition type: object @@ -32022,17 +32086,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *221 + items: *222 required: - repository_property rules: type: array - items: &225 + items: &226 title: Repository Rule type: object description: A repository rule. oneOf: - - &511 + - &512 title: creation description: Only allow users with bypass permission to create matching refs. @@ -32044,7 +32108,7 @@ paths: type: string enum: - creation - - &512 + - &513 title: update description: Only allow users with bypass permission to update matching refs. @@ -32065,7 +32129,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &514 + - &515 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -32077,7 +32141,7 @@ paths: type: string enum: - deletion - - &515 + - &516 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -32089,7 +32153,7 @@ paths: type: string enum: - required_linear_history - - &516 + - &517 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -32167,7 +32231,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &517 + - &518 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -32191,7 +32255,7 @@ paths: type: string required: - required_deployment_environments - - &518 + - &519 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -32203,7 +32267,7 @@ paths: type: string enum: - required_signatures - - &519 + - &520 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -32249,7 +32313,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &520 + - &521 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -32297,7 +32361,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &521 + - &522 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -32309,7 +32373,7 @@ paths: type: string enum: - non_fast_forward - - &522 + - &523 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -32345,7 +32409,7 @@ paths: required: - operator - pattern - - &523 + - &524 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -32381,7 +32445,7 @@ paths: required: - operator - pattern - - &524 + - &525 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -32417,7 +32481,7 @@ paths: required: - operator - pattern - - &525 + - &526 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -32453,7 +32517,7 @@ paths: required: - operator - pattern - - &526 + - &527 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -32579,7 +32643,7 @@ paths: maximum: 100 required: - max_file_size - - &527 + - &528 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -32629,7 +32693,7 @@ paths: - repository_id required: - workflows - - &528 + - &529 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -32762,16 +32826,16 @@ paths: - tag - push default: branch - enforcement: *222 + enforcement: *223 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *223 - conditions: *224 + items: *224 + conditions: *225 rules: type: array description: An array of rules within the ruleset. - items: *225 + items: *226 required: - name - enforcement @@ -32809,9 +32873,9 @@ paths: description: Response content: application/json: - schema: *226 + schema: *227 examples: - default: &227 + default: &228 value: id: 21 name: super cool ruleset @@ -32866,7 +32930,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *94 - - &530 + - &531 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 @@ -32881,7 +32945,7 @@ paths: in: query schema: type: string - - &531 + - &532 name: time_period description: |- The time period to filter by. @@ -32897,14 +32961,14 @@ paths: - week - month default: day - - &532 + - &533 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 - - &533 + - &534 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -32924,7 +32988,7 @@ paths: description: Response content: application/json: - schema: &534 + schema: &535 title: Rule Suites description: Response type: array @@ -32979,7 +33043,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &535 + default: &536 value: - id: 21 actor_id: 12 @@ -33023,7 +33087,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *94 - - &536 + - &537 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -33039,7 +33103,7 @@ paths: description: Response content: application/json: - schema: &537 + schema: &538 title: Rule Suite description: Response type: object @@ -33138,7 +33202,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &538 + default: &539 value: id: 21 actor_id: 12 @@ -33211,9 +33275,9 @@ paths: description: Response content: application/json: - schema: *226 + schema: *227 examples: - default: *227 + default: *228 '404': *7 '500': *41 put: @@ -33256,16 +33320,16 @@ paths: - branch - tag - push - enforcement: *222 + enforcement: *223 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *223 - conditions: *224 + items: *224 + conditions: *225 rules: description: An array of rules within the ruleset. type: array - items: *225 + items: *226 examples: default: value: @@ -33300,9 +33364,9 @@ paths: description: Response content: application/json: - schema: *226 + schema: *227 examples: - default: *227 + default: *228 '404': *7 '500': *41 delete: @@ -33349,14 +33413,14 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *94 - - *228 - *229 - *230 - *231 + - *232 - *42 - *20 - *18 - - &540 + - &541 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 @@ -33366,7 +33430,7 @@ paths: required: false schema: type: string - - &541 + - &542 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 @@ -33376,9 +33440,9 @@ paths: required: false schema: type: string - - *232 - *233 - *234 + - *235 responses: '200': description: Response @@ -33386,9 +33450,9 @@ paths: application/json: schema: type: array - items: *235 + items: *236 examples: - default: *236 + default: *237 headers: Link: *39 '404': *7 @@ -33458,7 +33522,7 @@ paths: application/json: schema: type: array - items: &548 + items: &549 description: A repository security advisory. type: object properties: @@ -33678,7 +33742,7 @@ paths: login: type: string description: The username of the user credited. - type: *237 + type: *238 credits_detailed: type: array nullable: true @@ -33688,7 +33752,7 @@ paths: type: object properties: user: *19 - type: *237 + type: *238 state: type: string description: The state of the user's acceptance of the @@ -33712,7 +33776,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *180 + items: *181 private_fork: readOnly: true nullable: true @@ -33749,7 +33813,7 @@ paths: - private_fork additionalProperties: false examples: - default: &549 + default: &550 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -34139,9 +34203,9 @@ paths: application/json: schema: type: array - items: *238 + items: *239 examples: - default: *197 + default: *198 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34165,7 +34229,7 @@ paths: url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - *94 - - *192 + - *193 responses: '204': description: Response @@ -34191,7 +34255,7 @@ paths: url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *94 - - *192 + - *193 responses: '204': description: Response @@ -34223,7 +34287,7 @@ paths: description: Response content: application/json: - schema: &608 + schema: &609 type: object properties: total_minutes_used: @@ -34293,7 +34357,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &609 + default: &610 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -34329,7 +34393,7 @@ paths: description: Response content: application/json: - schema: &610 + schema: &611 type: object properties: total_gigabytes_bandwidth_used: @@ -34347,7 +34411,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &611 + default: &612 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -34379,7 +34443,7 @@ paths: description: Response content: application/json: - schema: &612 + schema: &613 type: object properties: days_left_in_billing_cycle: @@ -34397,7 +34461,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &613 + default: &614 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -34432,7 +34496,7 @@ paths: url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *94 - - *192 + - *193 - 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`). @@ -34505,7 +34569,7 @@ paths: url: https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team parameters: - *94 - - *192 + - *193 - 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`). @@ -34539,7 +34603,7 @@ paths: type: array items: *56 examples: - default: *141 + default: *142 '500': *41 '401': *25 '403': *29 @@ -34571,9 +34635,9 @@ paths: application/json: schema: type: array - items: *180 + items: *181 examples: - default: *197 + default: *198 headers: Link: *39 '403': *29 @@ -34667,7 +34731,7 @@ paths: description: Response content: application/json: - schema: &239 + schema: &240 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -34730,8 +34794,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *195 - required: *196 + properties: *196 + required: *197 nullable: true members_count: type: integer @@ -34977,7 +35041,7 @@ paths: - repos_count - organization examples: - default: &240 + default: &241 value: id: 1 node_id: MDQ6VGVhbTE= @@ -35048,15 +35112,15 @@ paths: url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - *94 - - *192 + - *193 responses: '200': description: Response content: application/json: - schema: *239 + schema: *240 examples: - default: *240 + default: *241 '404': *7 x-github: githubCloudOnly: false @@ -35078,7 +35142,7 @@ paths: url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - *94 - - *192 + - *193 requestBody: required: false content: @@ -35140,16 +35204,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *239 + schema: *240 examples: - default: *240 + default: *241 '201': description: Response content: application/json: - schema: *239 + schema: *240 examples: - default: *240 + default: *241 '404': *7 '422': *16 '403': *29 @@ -35175,7 +35239,7 @@ paths: url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - *94 - - *192 + - *193 responses: '204': description: Response @@ -35202,7 +35266,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - *94 - - *192 + - *193 - *42 - *18 - *20 @@ -35219,7 +35283,7 @@ paths: application/json: schema: type: array - items: &241 + items: &242 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -35318,7 +35382,7 @@ paths: - updated_at - url examples: - default: &563 + default: &564 value: - author: login: octocat @@ -35393,7 +35457,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - *94 - - *192 + - *193 requestBody: required: true content: @@ -35427,9 +35491,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *242 examples: - default: &242 + default: &243 value: author: login: octocat @@ -35502,8 +35566,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - *94 - - *192 - - &243 + - *193 + - &244 name: discussion_number description: The number that identifies the discussion. in: path @@ -35515,9 +35579,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *242 examples: - default: *242 + default: *243 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35540,8 +35604,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - *94 - - *192 - - *243 + - *193 + - *244 requestBody: required: false content: @@ -35564,9 +35628,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *242 examples: - default: &564 + default: &565 value: author: login: octocat @@ -35637,8 +35701,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - *94 - - *192 - - *243 + - *193 + - *244 responses: '204': description: Response @@ -35665,8 +35729,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - *94 - - *192 - - *243 + - *193 + - *244 - *42 - *18 - *20 @@ -35677,7 +35741,7 @@ paths: application/json: schema: type: array - items: &244 + items: &245 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -35749,7 +35813,7 @@ paths: - updated_at - url examples: - default: &565 + default: &566 value: - author: login: octocat @@ -35818,8 +35882,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - *94 - - *192 - - *243 + - *193 + - *244 requestBody: required: true content: @@ -35841,9 +35905,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: - default: &245 + default: &246 value: author: login: octocat @@ -35910,9 +35974,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - *94 - - *192 - - *243 - - &246 + - *193 + - *244 + - &247 name: comment_number description: The number that identifies the comment. in: path @@ -35924,9 +35988,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: - default: *245 + default: *246 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35949,9 +36013,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - *94 - - *192 - - *243 - - *246 + - *193 + - *244 + - *247 requestBody: required: true content: @@ -35973,9 +36037,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: - default: &566 + default: &567 value: author: login: octocat @@ -36040,9 +36104,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *94 - - *192 - - *243 - - *246 + - *193 + - *244 + - *247 responses: '204': description: Response @@ -36069,9 +36133,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *94 - - *192 - - *243 - - *246 + - *193 + - *244 + - *247 - 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. @@ -36097,7 +36161,7 @@ paths: application/json: schema: type: array - items: &247 + items: &248 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -36140,7 +36204,7 @@ paths: - content - created_at examples: - default: &249 + default: &250 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -36191,9 +36255,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *94 - - *192 - - *243 - - *246 + - *193 + - *244 + - *247 requestBody: required: true content: @@ -36226,9 +36290,9 @@ paths: team discussion comment content: application/json: - schema: *247 + schema: *248 examples: - default: &248 + default: &249 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -36257,9 +36321,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36283,10 +36347,10 @@ paths: url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *94 - - *192 - - *243 - - *246 - - &250 + - *193 + - *244 + - *247 + - &251 name: reaction_id description: The unique identifier of the reaction. in: path @@ -36319,8 +36383,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *94 - - *192 - - *243 + - *193 + - *244 - 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. @@ -36346,9 +36410,9 @@ paths: application/json: schema: type: array - items: *247 + items: *248 examples: - default: *249 + default: *250 headers: Link: *39 x-github: @@ -36375,8 +36439,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *94 - - *192 - - *243 + - *193 + - *244 requestBody: required: true content: @@ -36408,16 +36472,16 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 '201': description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -36441,9 +36505,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - *94 - - *192 - - *243 - - *250 + - *193 + - *244 + - *251 responses: '204': description: Response @@ -36468,7 +36532,7 @@ paths: url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - *94 - - *192 + - *193 - *18 - *20 responses: @@ -36478,9 +36542,9 @@ paths: application/json: schema: type: array - items: *177 + items: *178 examples: - default: *178 + default: *179 headers: Link: *39 x-github: @@ -36503,7 +36567,7 @@ paths: url: https://docs.github.com/rest/teams/members#list-team-members parameters: - *94 - - *192 + - *193 - name: role description: Filters members returned by their role in the team. in: query @@ -36526,7 +36590,7 @@ paths: type: array items: *19 examples: - default: *183 + default: *184 headers: Link: *39 x-github: @@ -36557,14 +36621,14 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - *94 - - *192 + - *193 - *126 responses: '200': description: Response content: application/json: - schema: &251 + schema: &252 title: Team Membership description: Team Membership type: object @@ -36591,7 +36655,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &567 + response-if-user-is-a-team-maintainer: &568 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -36628,7 +36692,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *94 - - *192 + - *193 - *126 requestBody: required: false @@ -36654,9 +36718,9 @@ paths: description: Response content: application/json: - schema: *251 + schema: *252 examples: - response-if-users-membership-with-team-is-now-pending: &568 + response-if-users-membership-with-team-is-now-pending: &569 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -36692,7 +36756,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - *94 - - *192 + - *193 - *126 responses: '204': @@ -36720,7 +36784,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - *94 - - *192 + - *193 - *18 - *20 responses: @@ -36730,7 +36794,7 @@ paths: application/json: schema: type: array - items: &252 + items: &253 title: Team Project description: A team's access to a project. type: object @@ -36798,7 +36862,7 @@ paths: - updated_at - permissions examples: - default: &569 + default: &570 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -36860,8 +36924,8 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - *94 - - *192 - - &253 + - *193 + - &254 name: project_id description: The unique identifier of the project. in: path @@ -36873,9 +36937,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *253 examples: - default: &570 + default: &571 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -36936,8 +37000,8 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - *94 - - *192 - - *253 + - *193 + - *254 requestBody: required: false content: @@ -37002,8 +37066,8 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - *94 - - *192 - - *253 + - *193 + - *254 responses: '204': description: Response @@ -37028,7 +37092,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - *94 - - *192 + - *193 - *18 - *20 responses: @@ -37040,7 +37104,7 @@ paths: type: array items: *113 examples: - default: *204 + default: *205 headers: Link: *39 x-github: @@ -37070,15 +37134,15 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *94 - - *192 - - *254 + - *193 - *255 + - *256 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &571 + schema: &572 title: Team Repository description: A team's access to a repository. type: object @@ -37648,9 +37712,9 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *94 - - *192 - - *254 + - *193 - *255 + - *256 requestBody: required: false content: @@ -37696,9 +37760,9 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - *94 - - *192 - - *254 + - *193 - *255 + - *256 responses: '204': description: Response @@ -37723,7 +37787,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - *94 - - *192 + - *193 - *18 - *20 responses: @@ -37733,9 +37797,9 @@ paths: application/json: schema: type: array - items: *180 + items: *181 examples: - response-if-child-teams-exist: &572 + response-if-child-teams-exist: &573 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -37859,7 +37923,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#get-a-project-card parameters: - - &256 + - &257 name: card_id description: The unique identifier of the card. in: path @@ -37871,7 +37935,7 @@ paths: description: Response content: application/json: - schema: &257 + schema: &258 title: Project Card description: Project cards represent a scope of work. type: object @@ -37938,7 +38002,7 @@ paths: - created_at - updated_at examples: - default: &258 + default: &259 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -37988,7 +38052,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#update-an-existing-project-card parameters: - - *256 + - *257 requestBody: required: false content: @@ -38015,9 +38079,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *258 examples: - default: *258 + default: *259 '304': *37 '403': *29 '401': *25 @@ -38038,7 +38102,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#delete-a-project-card parameters: - - *256 + - *257 responses: '204': description: Response @@ -38076,7 +38140,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#move-a-project-card parameters: - - *256 + - *257 requestBody: required: true content: @@ -38181,7 +38245,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#get-a-project-column parameters: - - &259 + - &260 name: column_id description: The unique identifier of the column. in: path @@ -38193,7 +38257,7 @@ paths: description: Response content: application/json: - schema: &260 + schema: &261 title: Project Column description: Project columns contain cards of work. type: object @@ -38239,7 +38303,7 @@ paths: - created_at - updated_at examples: - default: &261 + default: &262 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -38268,7 +38332,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#update-an-existing-project-column parameters: - - *259 + - *260 requestBody: required: true content: @@ -38292,9 +38356,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *261 examples: - default: *261 + default: *262 '304': *37 '403': *29 '401': *25 @@ -38313,7 +38377,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#delete-a-project-column parameters: - - *259 + - *260 responses: '204': description: Response @@ -38336,7 +38400,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#list-project-cards parameters: - - *259 + - *260 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -38357,7 +38421,7 @@ paths: application/json: schema: type: array - items: *257 + items: *258 examples: default: value: @@ -38410,7 +38474,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#create-a-project-card parameters: - - *259 + - *260 requestBody: required: true content: @@ -38450,9 +38514,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *258 examples: - default: *258 + default: *259 '304': *37 '403': *29 '401': *25 @@ -38502,7 +38566,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#move-a-project-column parameters: - - *259 + - *260 requestBody: required: true content: @@ -38558,15 +38622,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-a-project parameters: - - *253 + - *254 responses: '200': description: Response content: application/json: - schema: *211 + schema: *212 examples: - default: &262 + default: &263 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -38619,7 +38683,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#update-a-project parameters: - - *253 + - *254 requestBody: required: false content: @@ -38665,9 +38729,9 @@ paths: description: Response content: application/json: - schema: *211 + schema: *212 examples: - default: *262 + default: *263 '404': description: Not Found if the authenticated user does not have access to the project @@ -38688,7 +38752,7 @@ paths: items: type: string '401': *25 - '410': *263 + '410': *264 '422': *8 x-github: githubCloudOnly: false @@ -38706,7 +38770,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#delete-a-project parameters: - - *253 + - *254 responses: '204': description: Delete Success @@ -38727,7 +38791,7 @@ paths: items: type: string '401': *25 - '410': *263 + '410': *264 '404': *7 x-github: githubCloudOnly: false @@ -38750,7 +38814,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#list-project-collaborators parameters: - - *253 + - *254 - 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 @@ -38777,7 +38841,7 @@ paths: type: array items: *19 examples: - default: *183 + default: *184 headers: Link: *39 '404': *7 @@ -38802,7 +38866,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#add-project-collaborator parameters: - - *253 + - *254 - *126 requestBody: required: false @@ -38850,7 +38914,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *253 + - *254 - *126 responses: '204': @@ -38879,7 +38943,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *253 + - *254 - *126 responses: '200': @@ -38947,7 +39011,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#list-project-columns parameters: - - *253 + - *254 - *18 - *20 responses: @@ -38957,7 +39021,7 @@ paths: application/json: schema: type: array - items: *260 + items: *261 examples: default: value: @@ -38989,7 +39053,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#create-a-project-column parameters: - - *253 + - *254 requestBody: required: true content: @@ -39012,7 +39076,7 @@ paths: description: Response content: application/json: - schema: *260 + schema: *261 examples: default: value: @@ -39073,7 +39137,7 @@ paths: resources: type: object properties: - core: &264 + core: &265 title: Rate Limit type: object properties: @@ -39090,19 +39154,19 @@ paths: - remaining - reset - used - graphql: *264 - search: *264 - code_search: *264 - source_import: *264 - integration_manifest: *264 - code_scanning_upload: *264 - actions_runner_registration: *264 - scim: *264 - dependency_snapshots: *264 + graphql: *265 + search: *265 + code_search: *265 + source_import: *265 + integration_manifest: *265 + code_scanning_upload: *265 + actions_runner_registration: *265 + scim: *265 + dependency_snapshots: *265 required: - core - search - rate: *264 + rate: *265 required: - rate - resources @@ -39201,14 +39265,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *254 - *255 + - *256 responses: '200': description: Response content: application/json: - schema: *265 + schema: *266 examples: default-response: summary: Default response @@ -39709,7 +39773,7 @@ paths: status: disabled '403': *29 '404': *7 - '301': *266 + '301': *267 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39727,8 +39791,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *254 - *255 + - *256 requestBody: required: false content: @@ -39964,10 +40028,10 @@ paths: description: Response content: application/json: - schema: *265 + schema: *266 examples: - default: *267 - '307': &268 + default: *268 + '307': &269 description: Temporary Redirect content: application/json: @@ -39996,8 +40060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *254 - *255 + - *256 responses: '204': description: Response @@ -40019,7 +40083,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *268 + '307': *269 '404': *7 x-github: githubCloudOnly: false @@ -40042,11 +40106,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *254 - *255 + - *256 - *18 - *20 - - &294 + - &295 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -40069,7 +40133,7 @@ paths: type: integer artifacts: type: array - items: &269 + items: &270 title: Artifact description: An artifact type: object @@ -40140,7 +40204,7 @@ paths: - expires_at - updated_at examples: - default: &295 + default: &296 value: total_count: 2 artifacts: @@ -40199,9 +40263,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *254 - *255 - - &270 + - *256 + - &271 name: artifact_id description: The unique identifier of the artifact. in: path @@ -40213,7 +40277,7 @@ paths: description: Response content: application/json: - schema: *269 + schema: *270 examples: default: value: @@ -40250,9 +40314,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *254 - *255 - - *270 + - *256 + - *271 responses: '204': description: Response @@ -40276,9 +40340,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *254 - *255 - - *270 + - *256 + - *271 - name: archive_format in: path required: true @@ -40292,7 +40356,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': *263 + '410': *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40315,14 +40379,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *254 - *255 + - *256 responses: '200': description: Response content: application/json: - schema: *271 + schema: *272 examples: default: value: @@ -40348,11 +40412,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *254 - *255 + - *256 - *18 - *20 - - &272 + - &273 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 @@ -40386,7 +40450,7 @@ paths: description: Response content: application/json: - schema: &273 + schema: &274 title: Repository actions caches description: Repository actions caches type: object @@ -40428,7 +40492,7 @@ paths: - total_count - actions_caches examples: - default: &274 + default: &275 value: total_count: 1 actions_caches: @@ -40460,23 +40524,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: - - *254 - *255 + - *256 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *272 + - *273 responses: '200': description: Response content: application/json: - schema: *273 + schema: *274 examples: - default: *274 + default: *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40496,8 +40560,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: - - *254 - *255 + - *256 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -40528,9 +40592,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *254 - *255 - - &275 + - *256 + - &276 name: job_id description: The unique identifier of the job. in: path @@ -40542,7 +40606,7 @@ paths: description: Response content: application/json: - schema: &298 + schema: &299 title: Job description: Information of a job execution in a workflow run type: object @@ -40849,9 +40913,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *254 - *255 - - *275 + - *256 + - *276 responses: '302': description: Response @@ -40879,9 +40943,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *254 - *255 - - *275 + - *256 + - *276 requestBody: required: false content: @@ -40926,8 +40990,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: - - *254 - *255 + - *256 responses: '200': description: Status response @@ -40977,8 +41041,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: - - *254 - *255 + - *256 requestBody: required: true content: @@ -41041,8 +41105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -41060,7 +41124,7 @@ paths: type: integer secrets: type: array - items: &300 + items: &301 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -41080,7 +41144,7 @@ paths: - created_at - updated_at examples: - default: &301 + default: &302 value: total_count: 2 secrets: @@ -41113,9 +41177,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *254 - *255 - - *276 + - *256 + - *277 - *20 responses: '200': @@ -41132,7 +41196,7 @@ paths: type: integer variables: type: array - items: &304 + items: &305 title: Actions Variable type: object properties: @@ -41162,7 +41226,7 @@ paths: - created_at - updated_at examples: - default: &305 + default: &306 value: total_count: 2 variables: @@ -41195,8 +41259,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *254 - *255 + - *256 responses: '200': description: Response @@ -41205,11 +41269,11 @@ paths: schema: type: object properties: - enabled: &278 + enabled: &279 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *103 - selected_actions_url: *277 + selected_actions_url: *278 required: - enabled examples: @@ -41236,8 +41300,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *254 - *255 + - *256 responses: '204': description: Response @@ -41248,7 +41312,7 @@ paths: schema: type: object properties: - enabled: *278 + enabled: *279 allowed_actions: *103 required: - enabled @@ -41278,14 +41342,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: - - *254 - *255 + - *256 responses: '200': description: Response content: application/json: - schema: &279 + schema: &280 type: object properties: access_level: @@ -41302,7 +41366,7 @@ paths: required: - access_level examples: - default: &280 + default: &281 value: access_level: organization x-github: @@ -41326,15 +41390,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: - - *254 - *255 + - *256 requestBody: required: true content: application/json: - schema: *279 + schema: *280 examples: - default: *280 + default: *281 responses: '204': description: Response @@ -41358,8 +41422,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *254 - *255 + - *256 responses: '200': description: Response @@ -41386,8 +41450,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *254 - *255 + - *256 responses: '204': description: Response @@ -41419,14 +41483,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *254 - *255 + - *256 responses: '200': description: Response content: application/json: - schema: *281 + schema: *282 examples: default: *109 x-github: @@ -41449,8 +41513,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *254 - *255 + - *256 responses: '204': description: Success response @@ -41461,7 +41525,7 @@ paths: required: true content: application/json: - schema: *282 + schema: *283 examples: default: *109 x-github: @@ -41490,8 +41554,8 @@ paths: in: query schema: type: string - - *254 - *255 + - *256 - *18 - *20 responses: @@ -41535,8 +41599,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *254 - *255 + - *256 responses: '200': description: Response @@ -41544,9 +41608,9 @@ paths: application/json: schema: type: array - items: *283 + items: *284 examples: - default: *284 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41568,8 +41632,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: - - *254 - *255 + - *256 requestBody: required: true content: @@ -41612,7 +41676,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *285 + '201': *286 '404': *7 '422': *8 x-github: @@ -41642,8 +41706,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *254 - *255 + - *256 responses: '201': description: Response @@ -41651,7 +41715,7 @@ paths: application/json: schema: *117 examples: - default: *286 + default: *287 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41679,8 +41743,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *254 - *255 + - *256 responses: '201': description: Response @@ -41688,7 +41752,7 @@ paths: application/json: schema: *117 examples: - default: *287 + default: *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41710,8 +41774,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: - - *254 - *255 + - *256 - *114 responses: '200': @@ -41720,7 +41784,7 @@ paths: application/json: schema: *115 examples: - default: *288 + default: *289 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41741,8 +41805,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: - - *254 - *255 + - *256 - *114 responses: '204': @@ -41768,8 +41832,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: - - *254 - *255 + - *256 - *114 responses: '200': *119 @@ -41794,8 +41858,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: - - *254 - *255 + - *256 - *114 requestBody: required: true @@ -41844,8 +41908,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: - - *254 - *255 + - *256 - *114 requestBody: required: true @@ -41895,11 +41959,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: - - *254 - *255 + - *256 - *114 responses: - '200': *289 + '200': *290 '404': *7 x-github: githubCloudOnly: false @@ -41926,10 +41990,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: - - *254 - *255 + - *256 - *114 - - *290 + - *291 responses: '200': *119 '404': *7 @@ -41957,9 +42021,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *254 - *255 - - &308 + - *256 + - &309 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. @@ -41967,7 +42031,7 @@ paths: required: false schema: type: string - - &309 + - &310 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -41975,7 +42039,7 @@ paths: required: false schema: type: string - - &310 + - &311 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -41984,7 +42048,7 @@ paths: required: false schema: type: string - - &311 + - &312 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 @@ -42011,7 +42075,7 @@ paths: - pending - *18 - *20 - - &312 + - &313 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)." @@ -42020,7 +42084,7 @@ paths: schema: type: string format: date-time - - &291 + - &292 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -42029,13 +42093,13 @@ paths: schema: type: boolean default: false - - &313 + - &314 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &314 + - &315 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -42058,7 +42122,7 @@ paths: type: integer workflow_runs: type: array - items: &292 + items: &293 title: Workflow Run description: An invocation of a workflow type: object @@ -42153,7 +42217,7 @@ paths: that triggered the run. type: array nullable: true - items: &333 + items: &334 title: Pull Request Minimal type: object properties: @@ -42272,7 +42336,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &337 + properties: &338 id: type: string description: SHA for the commit @@ -42323,7 +42387,7 @@ paths: - name - email nullable: true - required: &338 + required: &339 - id - tree_id - message @@ -42370,7 +42434,7 @@ paths: - workflow_url - pull_requests examples: - default: &315 + default: &316 value: total_count: 1 workflow_runs: @@ -42606,24 +42670,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *254 - *255 - - &293 + - *256 + - &294 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *291 + - *292 responses: '200': description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: &296 + default: &297 value: id: 30433642 name: Build @@ -42864,9 +42928,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *254 - *255 - - *293 + - *256 + - *294 responses: '204': description: Response @@ -42889,9 +42953,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *254 - *255 - - *293 + - *256 + - *294 responses: '200': description: Response @@ -43010,9 +43074,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: - - *254 - *255 - - *293 + - *256 + - *294 responses: '201': description: Response @@ -43045,12 +43109,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *254 - *255 - - *293 + - *256 + - *294 - *18 - *20 - - *294 + - *295 responses: '200': description: Response @@ -43066,9 +43130,9 @@ paths: type: integer artifacts: type: array - items: *269 + items: *270 examples: - default: *295 + default: *296 headers: Link: *39 x-github: @@ -43092,25 +43156,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *254 - *255 - - *293 - - &297 + - *256 + - *294 + - &298 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *291 + - *292 responses: '200': description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *296 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43133,10 +43197,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *254 - *255 - - *293 - - *297 + - *256 + - *294 + - *298 - *18 - *20 responses: @@ -43154,9 +43218,9 @@ paths: type: integer jobs: type: array - items: *298 + items: *299 examples: - default: &299 + default: &300 value: total_count: 1 jobs: @@ -43269,10 +43333,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *254 - *255 - - *293 - - *297 + - *256 + - *294 + - *298 responses: '302': description: Response @@ -43300,9 +43364,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *254 - *255 - - *293 + - *256 + - *294 responses: '202': description: Response @@ -43335,9 +43399,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: - - *254 - *255 - - *293 + - *256 + - *294 requestBody: required: true content: @@ -43404,9 +43468,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *254 - *255 - - *293 + - *256 + - *294 responses: '202': description: Response @@ -43439,9 +43503,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *254 - *255 - - *293 + - *256 + - *294 - 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 @@ -43471,9 +43535,9 @@ paths: type: integer jobs: type: array - items: *298 + items: *299 examples: - default: *299 + default: *300 headers: Link: *39 x-github: @@ -43498,9 +43562,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *254 - *255 - - *293 + - *256 + - *294 responses: '302': description: Response @@ -43527,9 +43591,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *254 - *255 - - *293 + - *256 + - *294 responses: '204': description: Response @@ -43556,9 +43620,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *254 - *255 - - *293 + - *256 + - *294 responses: '200': description: Response @@ -43618,7 +43682,7 @@ paths: items: type: object properties: - type: &414 + type: &415 type: string description: The type of reviewer. enum: @@ -43628,7 +43692,7 @@ paths: reviewer: anyOf: - *19 - - *180 + - *181 required: - environment - wait_timer @@ -43703,9 +43767,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *254 - *255 - - *293 + - *256 + - *294 requestBody: required: true content: @@ -43752,7 +43816,7 @@ paths: application/json: schema: type: array - items: &409 + items: &410 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -43858,7 +43922,7 @@ paths: - created_at - updated_at examples: - default: &410 + default: &411 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -43914,9 +43978,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *254 - *255 - - *293 + - *256 + - *294 requestBody: required: false content: @@ -43960,9 +44024,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *254 - *255 - - *293 + - *256 + - *294 requestBody: required: false content: @@ -44008,9 +44072,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *254 - *255 - - *293 + - *256 + - *294 responses: '200': description: Response @@ -44147,8 +44211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -44166,9 +44230,9 @@ paths: type: integer secrets: type: array - items: *300 + items: *301 examples: - default: *301 + default: *302 headers: Link: *39 x-github: @@ -44193,16 +44257,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *254 - *255 + - *256 responses: '200': description: Response content: application/json: - schema: *302 + schema: *303 examples: - default: *303 + default: *304 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44224,17 +44288,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *254 - *255 + - *256 - *121 responses: '200': description: Response content: application/json: - schema: *300 + schema: *301 examples: - default: &427 + default: &428 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -44260,8 +44324,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *254 - *255 + - *256 - *121 requestBody: required: true @@ -44316,8 +44380,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *254 - *255 + - *256 - *121 responses: '204': @@ -44343,9 +44407,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *254 - *255 - - *276 + - *256 + - *277 - *20 responses: '200': @@ -44362,9 +44426,9 @@ paths: type: integer variables: type: array - items: *304 + items: *305 examples: - default: *305 + default: *306 headers: Link: *39 x-github: @@ -44387,8 +44451,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -44440,17 +44504,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *254 - *255 + - *256 - *124 responses: '200': description: Response content: application/json: - schema: *304 + schema: *305 examples: - default: &428 + default: &429 value: name: USERNAME value: octocat @@ -44476,8 +44540,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *254 - *255 + - *256 - *124 requestBody: required: true @@ -44520,8 +44584,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *254 - *255 + - *256 - *124 responses: '204': @@ -44547,8 +44611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -44566,7 +44630,7 @@ paths: type: integer workflows: type: array - items: &306 + items: &307 title: Workflow description: A GitHub Actions workflow type: object @@ -44673,9 +44737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *254 - *255 - - &307 + - *256 + - &308 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -44690,7 +44754,7 @@ paths: description: Response content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -44723,9 +44787,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *254 - *255 - - *307 + - *256 + - *308 responses: '204': description: Response @@ -44750,9 +44814,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *254 - *255 - - *307 + - *256 + - *308 responses: '204': description: Response @@ -44803,9 +44867,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *254 - *255 - - *307 + - *256 + - *308 responses: '204': description: Response @@ -44832,19 +44896,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *254 - *255 - - *307 + - *256 - *308 - *309 - *310 - *311 + - *312 - *18 - *20 - - *312 - - *291 - *313 + - *292 - *314 + - *315 responses: '200': description: Response @@ -44860,9 +44924,9 @@ paths: type: integer workflow_runs: type: array - items: *292 + items: *293 examples: - default: *315 + default: *316 headers: Link: *39 x-github: @@ -44888,9 +44952,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *254 - *255 - - *307 + - *256 + - *308 responses: '200': description: Response @@ -44951,8 +45015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *254 - *255 + - *256 - *42 - *18 - *43 @@ -45116,8 +45180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -45129,7 +45193,7 @@ paths: type: array items: *19 examples: - default: *183 + default: *184 headers: Link: *39 '404': *7 @@ -45154,8 +45218,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *254 - *255 + - *256 - name: assignee in: path required: true @@ -45191,8 +45255,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -45304,8 +45368,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *254 - *255 + - *256 - *18 - *43 - *44 @@ -45349,7 +45413,7 @@ paths: repository_id: type: integer examples: - default: *316 + default: *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45369,8 +45433,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *254 - *255 + - *256 responses: '200': description: Response @@ -45378,7 +45442,7 @@ paths: application/json: schema: type: array - items: &317 + items: &318 title: Autolink reference description: An autolink reference. type: object @@ -45428,8 +45492,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -45468,9 +45532,9 @@ paths: description: response content: application/json: - schema: *317 + schema: *318 examples: - default: &318 + default: &319 value: id: 1 key_prefix: TICKET- @@ -45501,9 +45565,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *254 - *255 - - &319 + - *256 + - &320 name: autolink_id description: The unique identifier of the autolink. in: path @@ -45515,9 +45579,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 '404': *7 x-github: githubCloudOnly: false @@ -45537,9 +45601,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *254 - *255 - - *319 + - *256 + - *320 responses: '204': description: Response @@ -45563,8 +45627,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: - - *254 - *255 + - *256 responses: '200': description: Response if Dependabot is enabled @@ -45612,8 +45676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-automated-security-fixes parameters: - - *254 - *255 + - *256 responses: '204': description: Response @@ -45634,8 +45698,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-automated-security-fixes parameters: - - *254 - *255 + - *256 responses: '204': description: Response @@ -45655,8 +45719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *254 - *255 + - *256 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -45694,7 +45758,7 @@ paths: - url protected: type: boolean - protection: &321 + protection: &322 title: Branch Protection description: Branch Protection type: object @@ -45736,7 +45800,7 @@ paths: required: - contexts - checks - enforce_admins: &324 + enforce_admins: &325 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -45751,7 +45815,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &326 + required_pull_request_reviews: &327 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -45772,7 +45836,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *180 + items: *181 apps: description: The list of apps with review dismissal access. @@ -45801,7 +45865,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *180 + items: *181 apps: description: The list of apps allowed to bypass pull request requirements. @@ -45827,7 +45891,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &323 + restrictions: &324 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -46134,9 +46198,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *254 - *255 - - &322 + - *256 + - &323 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). @@ -46150,14 +46214,14 @@ paths: description: Response content: application/json: - schema: &332 + schema: &333 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &382 + commit: &383 title: Commit description: Commit type: object @@ -46191,7 +46255,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &320 + properties: &321 name: type: string example: '"Chris Wanstrath"' @@ -46206,7 +46270,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *320 + properties: *321 nullable: true message: type: string @@ -46227,7 +46291,7 @@ paths: required: - sha - url - verification: &434 + verification: &435 title: Verification type: object properties: @@ -46296,7 +46360,7 @@ paths: type: integer files: type: array - items: &397 + items: &398 title: Diff Entry description: Diff Entry type: object @@ -46379,7 +46443,7 @@ paths: - self protected: type: boolean - protection: *321 + protection: *322 protection_url: type: string format: uri @@ -46486,7 +46550,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *266 + '301': *267 '404': *7 x-github: githubCloudOnly: false @@ -46508,15 +46572,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *254 - *255 - - *322 + - *256 + - *323 responses: '200': description: Response content: application/json: - schema: *321 + schema: *322 examples: default: value: @@ -46710,9 +46774,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *254 - *255 - - *322 + - *256 + - *323 requestBody: required: true content: @@ -46967,7 +47031,7 @@ paths: url: type: string format: uri - required_status_checks: &329 + required_status_checks: &330 title: Status Check Policy description: Status Check Policy type: object @@ -47043,7 +47107,7 @@ paths: items: *19 teams: type: array - items: *180 + items: *181 apps: type: array items: *6 @@ -47061,7 +47125,7 @@ paths: items: *19 teams: type: array - items: *180 + items: *181 apps: type: array items: *6 @@ -47119,7 +47183,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *323 + restrictions: *324 required_conversation_resolution: type: object properties: @@ -47231,9 +47295,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *254 - *255 - - *322 + - *256 + - *323 responses: '204': description: Response @@ -47258,17 +47322,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *254 - *255 - - *322 + - *256 + - *323 responses: '200': description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: &325 + default: &326 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -47290,17 +47354,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *254 - *255 - - *322 + - *256 + - *323 responses: '200': description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47319,9 +47383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *254 - *255 - - *322 + - *256 + - *323 responses: '204': description: Response @@ -47346,17 +47410,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *254 - *255 - - *322 + - *256 + - *323 responses: '200': description: Response content: application/json: - schema: *326 + schema: *327 examples: - default: &327 + default: &328 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -47452,9 +47516,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *254 - *255 - - *322 + - *256 + - *323 requestBody: required: false content: @@ -47552,9 +47616,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *327 examples: - default: *327 + default: *328 '422': *16 x-github: githubCloudOnly: false @@ -47575,9 +47639,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *254 - *255 - - *322 + - *256 + - *323 responses: '204': description: Response @@ -47604,17 +47668,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *254 - *255 - - *322 + - *256 + - *323 responses: '200': description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: &328 + default: &329 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -47637,17 +47701,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *254 - *255 - - *322 + - *256 + - *323 responses: '200': description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *328 + default: *329 '404': *7 x-github: githubCloudOnly: false @@ -47667,9 +47731,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *254 - *255 - - *322 + - *256 + - *323 responses: '204': description: Response @@ -47694,17 +47758,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *254 - *255 - - *322 + - *256 + - *323 responses: '200': description: Response content: application/json: - schema: *329 + schema: *330 examples: - default: &330 + default: &331 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -47730,9 +47794,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *254 - *255 - - *322 + - *256 + - *323 requestBody: required: false content: @@ -47784,9 +47848,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *330 examples: - default: *330 + default: *331 '404': *7 '422': *16 x-github: @@ -47808,9 +47872,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *254 - *255 - - *322 + - *256 + - *323 responses: '204': description: Response @@ -47834,9 +47898,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *254 - *255 - - *322 + - *256 + - *323 responses: '200': description: Response @@ -47870,9 +47934,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *254 - *255 - - *322 + - *256 + - *323 requestBody: required: false content: @@ -47939,9 +48003,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *254 - *255 - - *322 + - *256 + - *323 requestBody: required: false content: @@ -48005,9 +48069,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *254 - *255 - - *322 + - *256 + - *323 requestBody: content: application/json: @@ -48073,15 +48137,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *254 - *255 - - *322 + - *256 + - *323 responses: '200': description: Response content: application/json: - schema: *323 + schema: *324 examples: default: value: @@ -48172,9 +48236,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *254 - *255 - - *322 + - *256 + - *323 responses: '204': description: Response @@ -48197,9 +48261,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *254 - *255 - - *322 + - *256 + - *323 responses: '200': description: Response @@ -48209,7 +48273,7 @@ paths: type: array items: *6 examples: - default: &331 + default: &332 value: - id: 1 slug: octoapp @@ -48266,9 +48330,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *254 - *255 - - *322 + - *256 + - *323 requestBody: required: true content: @@ -48302,7 +48366,7 @@ paths: type: array items: *6 examples: - default: *331 + default: *332 '422': *16 x-github: githubCloudOnly: false @@ -48323,9 +48387,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *254 - *255 - - *322 + - *256 + - *323 requestBody: required: true content: @@ -48359,7 +48423,7 @@ paths: type: array items: *6 examples: - default: *331 + default: *332 '422': *16 x-github: githubCloudOnly: false @@ -48380,9 +48444,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *254 - *255 - - *322 + - *256 + - *323 requestBody: required: true content: @@ -48416,7 +48480,7 @@ paths: type: array items: *6 examples: - default: *331 + default: *332 '422': *16 x-github: githubCloudOnly: false @@ -48438,9 +48502,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *254 - *255 - - *322 + - *256 + - *323 responses: '200': description: Response @@ -48448,9 +48512,9 @@ paths: application/json: schema: type: array - items: *180 + items: *181 examples: - default: *197 + default: *198 '404': *7 x-github: githubCloudOnly: false @@ -48470,9 +48534,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *254 - *255 - - *322 + - *256 + - *323 requestBody: required: false content: @@ -48508,9 +48572,9 @@ paths: application/json: schema: type: array - items: *180 + items: *181 examples: - default: *197 + default: *198 '422': *16 x-github: githubCloudOnly: false @@ -48531,9 +48595,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *254 - *255 - - *322 + - *256 + - *323 requestBody: required: false content: @@ -48569,9 +48633,9 @@ paths: application/json: schema: type: array - items: *180 + items: *181 examples: - default: *197 + default: *198 '422': *16 x-github: githubCloudOnly: false @@ -48592,9 +48656,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *254 - *255 - - *322 + - *256 + - *323 requestBody: content: application/json: @@ -48629,9 +48693,9 @@ paths: application/json: schema: type: array - items: *180 + items: *181 examples: - default: *197 + default: *198 '422': *16 x-github: githubCloudOnly: false @@ -48653,9 +48717,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *254 - *255 - - *322 + - *256 + - *323 responses: '200': description: Response @@ -48665,7 +48729,7 @@ paths: type: array items: *19 examples: - default: *183 + default: *184 '404': *7 x-github: githubCloudOnly: false @@ -48689,9 +48753,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *254 - *255 - - *322 + - *256 + - *323 requestBody: required: true content: @@ -48724,7 +48788,7 @@ paths: type: array items: *19 examples: - default: *183 + default: *184 '422': *16 x-github: githubCloudOnly: false @@ -48749,9 +48813,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *254 - *255 - - *322 + - *256 + - *323 requestBody: required: true content: @@ -48784,7 +48848,7 @@ paths: type: array items: *19 examples: - default: *183 + default: *184 '422': *16 x-github: githubCloudOnly: false @@ -48809,9 +48873,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *254 - *255 - - *322 + - *256 + - *323 requestBody: required: true content: @@ -48844,7 +48908,7 @@ paths: type: array items: *19 examples: - default: *183 + default: *184 '422': *16 x-github: githubCloudOnly: false @@ -48871,9 +48935,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *254 - *255 - - *322 + - *256 + - *323 requestBody: required: true content: @@ -48895,7 +48959,7 @@ paths: description: Response content: application/json: - schema: *332 + schema: *333 examples: default: value: @@ -49011,8 +49075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -49291,7 +49355,7 @@ paths: description: Response content: application/json: - schema: &334 + schema: &335 title: CheckRun description: A check performed on the code of a given code change type: object @@ -49410,8 +49474,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *333 - deployment: &622 + items: *334 + deployment: &623 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -49691,9 +49755,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *254 - *255 - - &335 + - *256 + - &336 name: check_run_id description: The unique identifier of the check run. in: path @@ -49705,9 +49769,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *335 examples: - default: &336 + default: &337 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -49807,9 +49871,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *254 - *255 - - *335 + - *256 + - *336 requestBody: required: true content: @@ -50049,9 +50113,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *335 examples: - default: *336 + default: *337 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50071,9 +50135,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *254 - *255 - - *335 + - *256 + - *336 - *18 - *20 responses: @@ -50170,9 +50234,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *254 - *255 - - *335 + - *256 + - *336 responses: '201': description: Response @@ -50216,8 +50280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -50239,7 +50303,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &339 + schema: &340 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -50303,7 +50367,7 @@ paths: nullable: true pull_requests: type: array - items: *333 + items: *334 nullable: true app: title: GitHub app @@ -50325,12 +50389,12 @@ paths: type: string format: date-time nullable: true - head_commit: &648 + head_commit: &649 title: Simple Commit description: A commit. type: object - properties: *337 - required: *338 + properties: *338 + required: *339 latest_check_runs_count: type: integer check_runs_url: @@ -50358,7 +50422,7 @@ paths: - check_runs_url - pull_requests examples: - default: &340 + default: &341 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -50649,9 +50713,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *339 + schema: *340 examples: - default: *340 + default: *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50670,8 +50734,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -50980,9 +51044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *254 - *255 - - &341 + - *256 + - &342 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -50994,9 +51058,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *340 examples: - default: *340 + default: *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51019,17 +51083,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *254 - *255 - - *341 - - &390 + - *256 + - *342 + - &391 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &391 + - &392 name: status description: Returns check runs with the specified `status`. in: query @@ -51068,9 +51132,9 @@ paths: type: integer check_runs: type: array - items: *334 + items: *335 examples: - default: &392 + default: &393 value: total_count: 1 check_runs: @@ -51172,9 +51236,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *254 - *255 - - *341 + - *256 + - *342 responses: '201': description: Response @@ -51207,21 +51271,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *254 - *255 - - *342 + - *256 - *343 + - *344 - *20 - *18 - - &356 + - &357 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: *344 - - &357 + schema: *345 + - &358 name: pr description: The number of the pull request for the results you want to list. in: query @@ -51246,13 +51310,13 @@ paths: be returned. in: query required: false - schema: *345 + schema: *346 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *346 + schema: *347 responses: '200': description: Response @@ -51268,7 +51332,7 @@ paths: updated_at: *127 url: *50 html_url: *51 - instances_url: *347 + instances_url: *348 state: *132 fixed_at: *128 dismissed_by: @@ -51279,11 +51343,11 @@ paths: required: *5 nullable: true dismissed_at: *129 - dismissed_reason: *348 - dismissed_comment: *349 - rule: *350 - tool: *351 - most_recent_instance: *352 + dismissed_reason: *349 + dismissed_comment: *350 + rule: *351 + tool: *352 + most_recent_instance: *353 required: - number - created_at @@ -51399,7 +51463,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &353 + '403': &354 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -51426,9 +51490,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *254 - *255 - - &354 + - *256 + - &355 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -51442,7 +51506,7 @@ paths: description: Response content: application/json: - schema: &355 + schema: &356 type: object properties: number: *48 @@ -51450,7 +51514,7 @@ paths: updated_at: *127 url: *50 html_url: *51 - instances_url: *347 + instances_url: *348 state: *132 fixed_at: *128 dismissed_by: @@ -51461,8 +51525,8 @@ paths: required: *5 nullable: true dismissed_at: *129 - dismissed_reason: *348 - dismissed_comment: *349 + dismissed_reason: *349 + dismissed_comment: *350 rule: type: object properties: @@ -51516,8 +51580,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *351 - most_recent_instance: *352 + tool: *352 + most_recent_instance: *353 required: - number - created_at @@ -51606,7 +51670,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *353 + '403': *354 '404': *7 '503': *63 x-github: @@ -51626,9 +51690,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *254 - *255 - - *354 + - *256 + - *355 requestBody: required: true content: @@ -51643,8 +51707,8 @@ paths: enum: - open - dismissed - dismissed_reason: *348 - dismissed_comment: *349 + dismissed_reason: *349 + dismissed_comment: *350 required: - state examples: @@ -51659,7 +51723,7 @@ paths: description: Response content: application/json: - schema: *355 + schema: *356 examples: default: value: @@ -51734,7 +51798,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &362 + '403': &363 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -51761,13 +51825,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *254 - *255 - - *354 + - *256 + - *355 - *20 - *18 - - *356 - *357 + - *358 responses: '200': description: Response @@ -51775,7 +51839,7 @@ paths: application/json: schema: type: array - items: *352 + items: *353 examples: default: value: @@ -51814,7 +51878,7 @@ paths: end_column: 50 classifications: - source - '403': *353 + '403': *354 '404': *7 '503': *63 x-github: @@ -51848,25 +51912,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *254 - *255 - - *342 + - *256 - *343 + - *344 - *20 - *18 - - *357 + - *358 - 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: *344 + schema: *345 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &360 + schema: &361 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -51887,23 +51951,23 @@ paths: application/json: schema: type: array - items: &361 + items: &362 type: object properties: - ref: *344 - commit_sha: &370 + ref: *345 + commit_sha: &371 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: *358 + analysis_key: *359 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *359 + category: *360 error: type: string example: error reading field xyz @@ -51927,8 +51991,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *360 - tool: *351 + sarif_id: *361 + tool: *352 deletable: type: boolean warning: @@ -51989,7 +52053,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *353 + '403': *354 '404': *7 '503': *63 x-github: @@ -52025,8 +52089,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: - - *254 - *255 + - *256 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -52039,7 +52103,7 @@ paths: description: Response content: application/json: - schema: *361 + schema: *362 examples: response: summary: application/json response @@ -52093,7 +52157,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *353 + '403': *354 '404': *7 '503': *63 x-github: @@ -52175,8 +52239,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: - - *254 - *255 + - *256 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -52229,7 +52293,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': *15 - '403': *362 + '403': *363 '404': *7 '503': *63 x-github: @@ -52251,8 +52315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *254 - *255 + - *256 responses: '200': description: Response @@ -52260,7 +52324,7 @@ paths: application/json: schema: type: array - items: &363 + items: &364 title: CodeQL Database description: A CodeQL database. type: object @@ -52371,7 +52435,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': *353 + '403': *354 '404': *7 '503': *63 x-github: @@ -52400,8 +52464,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *254 - *255 + - *256 - name: language in: path description: The language of the CodeQL database. @@ -52413,7 +52477,7 @@ paths: description: Response content: application/json: - schema: *363 + schema: *364 examples: default: value: @@ -52445,9 +52509,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': &399 + '302': &400 description: Found - '403': *353 + '403': *354 '404': *7 '503': *63 x-github: @@ -52469,8 +52533,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *254 - *255 + - *256 - name: language in: path description: The language of the CodeQL database. @@ -52480,7 +52544,7 @@ paths: responses: '204': description: Response - '403': *362 + '403': *363 '404': *7 '503': *63 x-github: @@ -52508,8 +52572,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -52518,7 +52582,7 @@ paths: type: object additionalProperties: false properties: - language: &364 + language: &365 type: string description: The language targeted by the CodeQL query enum: @@ -52596,7 +52660,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &368 + schema: &369 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -52606,7 +52670,7 @@ paths: description: The ID of the variant analysis. controller_repo: *52 actor: *19 - query_language: *364 + query_language: *365 query_pack_url: type: string description: The download url for the query pack. @@ -52653,7 +52717,7 @@ paths: items: type: object properties: - repository: &365 + repository: &366 title: Repository Identifier description: Repository Identifier type: object @@ -52689,7 +52753,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &369 + analysis_status: &370 type: string description: The new status of the CodeQL variant analysis repository task. @@ -52721,7 +52785,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &366 + access_mismatch_repos: &367 type: object properties: repository_count: @@ -52735,7 +52799,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: *365 + items: *366 required: - repository_count - repositories @@ -52757,8 +52821,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *366 - over_limit_repos: *366 + no_codeql_db_repos: *367 + over_limit_repos: *367 required: - access_mismatch_repos - not_found_repos @@ -52774,7 +52838,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &367 + value: &368 summary: Default response value: id: 1 @@ -52926,10 +52990,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *367 + value: *368 repository_lists: summary: Response for a successful variant analysis submission - value: *367 + value: *368 '404': *7 '422': description: Unable to process variant analysis submission @@ -52957,8 +53021,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: - - *254 - *255 + - *256 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -52970,9 +53034,9 @@ paths: description: Response content: application/json: - schema: *368 + schema: *369 examples: - default: *367 + default: *368 '404': *7 '503': *63 x-github: @@ -52995,7 +53059,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: - - *254 + - *255 - name: repo in: path description: The name of the controller repository. @@ -53030,7 +53094,7 @@ paths: type: object properties: repository: *52 - analysis_status: *369 + analysis_status: *370 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -53155,8 +53219,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *254 - *255 + - *256 responses: '200': description: Response @@ -53217,7 +53281,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *353 + '403': *354 '404': *7 '503': *63 x-github: @@ -53238,8 +53302,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -53254,6 +53318,17 @@ paths: enum: - configured - not-configured + runner_type: + description: Runner type to be used. + type: string + enum: + - standard + - labeled + runner_label: + nullable: true + description: Runner label to be used if the runner type is labeled. + type: string + example: code-scanning query_suite: description: CodeQL query suite to be used. type: string @@ -53309,7 +53384,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *362 + '403': *363 '404': *7 '409': description: Response if there is already a validation run in progress with @@ -53374,8 +53449,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -53383,7 +53458,7 @@ paths: schema: type: object properties: - commit_sha: *370 + commit_sha: *371 ref: type: string description: |- @@ -53441,7 +53516,7 @@ paths: schema: type: object properties: - id: *360 + id: *361 url: type: string description: The REST API URL for checking the status of the upload. @@ -53455,7 +53530,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': *362 + '403': *363 '404': *7 '413': description: Payload Too Large if the sarif field is too large @@ -53478,8 +53553,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *254 - *255 + - *256 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -53525,7 +53600,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': *353 + '403': *354 '404': description: Not Found if the sarif id does not match any upload '503': *63 @@ -53550,8 +53625,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: - - *254 - *255 + - *256 responses: '200': description: Response @@ -53604,7 +53679,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': *137 + '204': *138 '304': *37 '403': *29 '404': *7 @@ -53629,8 +53704,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *254 - *255 + - *256 - 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 @@ -53750,8 +53825,8 @@ paths: parameters: - *18 - *20 - - *254 - *255 + - *256 responses: '200': description: Response @@ -53767,7 +53842,7 @@ paths: type: integer codespaces: type: array - items: *184 + items: *185 examples: default: value: @@ -54065,8 +54140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -54129,17 +54204,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *184 + schema: *185 examples: - default: *371 + default: *372 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *184 + schema: *185 examples: - default: *371 + default: *372 '400': *15 '401': *25 '403': *29 @@ -54168,8 +54243,8 @@ paths: parameters: - *18 - *20 - - *254 - *255 + - *256 responses: '200': description: Response @@ -54233,8 +54308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *254 - *255 + - *256 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -54269,14 +54344,14 @@ paths: type: integer machines: type: array - items: &579 + items: &580 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *372 - required: *373 + properties: *373 + required: *374 examples: - default: &580 + default: &581 value: total_count: 2 machines: @@ -54316,8 +54391,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *254 - *255 + - *256 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -54401,8 +54476,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: - - *254 - *255 + - *256 - 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 @@ -54468,8 +54543,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -54487,7 +54562,7 @@ paths: type: integer secrets: type: array - items: &377 + items: &378 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -54507,7 +54582,7 @@ paths: - created_at - updated_at examples: - default: *374 + default: *375 headers: Link: *39 x-github: @@ -54530,16 +54605,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *254 - *255 + - *256 responses: '200': description: Response content: application/json: - schema: *375 + schema: *376 examples: - default: *376 + default: *377 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54559,17 +54634,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *254 - *255 + - *256 - *121 responses: '200': description: Response content: application/json: - schema: *377 + schema: *378 examples: - default: *378 + default: *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54589,8 +54664,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *254 - *255 + - *256 - *121 requestBody: required: true @@ -54643,8 +54718,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *254 - *255 + - *256 - *121 responses: '204': @@ -54673,8 +54748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *254 - *255 + - *256 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -54716,7 +54791,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &379 + properties: &380 login: type: string example: octocat @@ -54809,7 +54884,7 @@ paths: user_view_type: type: string example: public - required: &380 + required: &381 - avatar_url - events_url - followers_url @@ -54883,8 +54958,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *254 - *255 + - *256 - *126 responses: '204': @@ -54927,8 +55002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *254 - *255 + - *256 - *126 requestBody: required: false @@ -54955,7 +55030,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &447 + schema: &448 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -55177,8 +55252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *254 - *255 + - *256 - *126 responses: '204': @@ -55208,8 +55283,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *254 - *255 + - *256 - *126 responses: '200': @@ -55230,8 +55305,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *379 - required: *380 + properties: *380 + required: *381 nullable: true required: - permission @@ -55286,8 +55361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -55297,7 +55372,7 @@ paths: application/json: schema: type: array - items: &381 + items: &382 title: Commit Comment description: Commit Comment type: object @@ -55355,7 +55430,7 @@ paths: - created_at - updated_at examples: - default: &384 + default: &385 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -55414,17 +55489,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *254 - *255 + - *256 - *74 responses: '200': description: Response content: application/json: - schema: *381 + schema: *382 examples: - default: &385 + default: &386 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -55481,8 +55556,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *254 - *255 + - *256 - *74 requestBody: required: true @@ -55505,7 +55580,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *382 examples: default: value: @@ -55556,8 +55631,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *254 - *255 + - *256 - *74 responses: '204': @@ -55579,8 +55654,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *254 - *255 + - *256 - *74 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -55607,9 +55682,9 @@ paths: application/json: schema: type: array - items: *247 + items: *248 examples: - default: *249 + default: *250 headers: Link: *39 '404': *7 @@ -55630,8 +55705,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *254 - *255 + - *256 - *74 requestBody: required: true @@ -55664,16 +55739,16 @@ paths: description: Reaction exists content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 '201': description: Reaction created content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 '422': *16 x-github: githubCloudOnly: false @@ -55695,10 +55770,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *254 - *255 + - *256 - *74 - - *250 + - *251 responses: '204': description: Response @@ -55747,8 +55822,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *254 - *255 + - *256 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -55804,9 +55879,9 @@ paths: application/json: schema: type: array - items: *382 + items: *383 examples: - default: &498 + default: &499 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -55900,9 +55975,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *254 - *255 - - &383 + - *256 + - &384 name: commit_sha description: The SHA of the commit. in: path @@ -55974,9 +56049,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *254 - *255 - - *383 + - *256 + - *384 - *18 - *20 responses: @@ -55986,9 +56061,9 @@ paths: application/json: schema: type: array - items: *381 + items: *382 examples: - default: *384 + default: *385 headers: Link: *39 x-github: @@ -56016,9 +56091,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *254 - *255 - - *383 + - *256 + - *384 requestBody: required: true content: @@ -56053,9 +56128,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *382 examples: - default: *385 + default: *386 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -56083,9 +56158,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *254 - *255 - - *383 + - *256 + - *384 - *18 - *20 responses: @@ -56095,7 +56170,7 @@ paths: application/json: schema: type: array - items: &489 + items: &490 title: Pull Request Simple description: Pull Request Simple type: object @@ -56201,8 +56276,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *386 - required: *387 + properties: *387 + required: *388 nullable: true active_lock_reason: type: string @@ -56247,7 +56322,7 @@ paths: nullable: true requested_teams: type: array - items: *180 + items: *181 nullable: true head: type: object @@ -56298,7 +56373,7 @@ paths: _links: type: object properties: - comments: &388 + comments: &389 title: Link description: Hypermedia Link type: object @@ -56307,13 +56382,13 @@ paths: type: string required: - href - commits: *388 - statuses: *388 - html: *388 - issue: *388 - review_comments: *388 - review_comment: *388 - self: *388 + commits: *389 + statuses: *389 + html: *389 + issue: *389 + review_comments: *389 + review_comment: *389 + self: *389 required: - comments - commits @@ -56324,7 +56399,7 @@ paths: - review_comment - self author_association: *61 - auto_merge: &491 + auto_merge: &492 title: Auto merge description: The status of auto merging a pull request. type: object @@ -56387,7 +56462,7 @@ paths: - author_association - auto_merge examples: - default: &490 + default: &491 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -56924,11 +56999,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *254 - *255 + - *256 - *20 - *18 - - &389 + - &390 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)" @@ -56943,9 +57018,9 @@ paths: description: Response content: application/json: - schema: *382 + schema: *383 examples: - default: &476 + default: &477 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -57058,11 +57133,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *254 - *255 - - *389 + - *256 - *390 - *391 + - *392 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -57096,9 +57171,9 @@ paths: type: integer check_runs: type: array - items: *334 + items: *335 examples: - default: *392 + default: *393 headers: Link: *39 x-github: @@ -57123,9 +57198,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *254 - *255 - - *389 + - *256 + - *390 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -57133,7 +57208,7 @@ paths: schema: type: integer example: 1 - - *390 + - *391 - *18 - *20 responses: @@ -57151,7 +57226,7 @@ paths: type: integer check_suites: type: array - items: *339 + items: *340 examples: default: value: @@ -57351,9 +57426,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *254 - *255 - - *389 + - *256 + - *390 - *18 - *20 responses: @@ -57551,9 +57626,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *254 - *255 - - *389 + - *256 + - *390 - *18 - *20 responses: @@ -57563,7 +57638,7 @@ paths: application/json: schema: type: array - items: &553 + items: &554 title: Status description: The status of a commit. type: object @@ -57644,7 +57719,7 @@ paths: site_admin: false headers: Link: *39 - '301': *266 + '301': *267 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57672,8 +57747,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *254 - *255 + - *256 responses: '200': description: Response @@ -57702,20 +57777,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *393 - required: *394 + properties: *394 + required: *395 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &395 + properties: &396 url: type: string format: uri html_url: type: string format: uri - required: &396 + required: &397 - url - html_url nullable: true @@ -57729,26 +57804,26 @@ paths: contributing: title: Community Health File type: object - properties: *395 - required: *396 + properties: *396 + required: *397 nullable: true readme: title: Community Health File type: object - properties: *395 - required: *396 + properties: *396 + required: *397 nullable: true issue_template: title: Community Health File type: object - properties: *395 - required: *396 + properties: *396 + required: *397 nullable: true pull_request_template: title: Community Health File type: object - properties: *395 - required: *396 + properties: *396 + required: *397 nullable: true required: - code_of_conduct @@ -57875,8 +57950,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *254 - *255 + - *256 - *20 - *18 - name: basehead @@ -57919,8 +57994,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *382 - merge_base_commit: *382 + base_commit: *383 + merge_base_commit: *383 status: type: string enum: @@ -57940,10 +58015,10 @@ paths: example: 6 commits: type: array - items: *382 + items: *383 files: type: array - items: *397 + items: *398 required: - url - html_url @@ -58229,8 +58304,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *254 - *255 + - *256 - name: path description: path parameter in: path @@ -58371,7 +58446,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &398 + response-if-content-is-a-file: &399 summary: Response if content is a file value: type: file @@ -58503,7 +58578,7 @@ paths: - size - type - url - - &503 + - &504 title: Content File description: Content File type: object @@ -58704,7 +58779,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *398 + response-if-content-is-a-file: *399 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -58773,7 +58848,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *7 '403': *29 - '302': *399 + '302': *400 '304': *37 x-github: githubCloudOnly: false @@ -58796,8 +58871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *254 - *255 + - *256 - name: path description: path parameter in: path @@ -58890,7 +58965,7 @@ paths: description: Response content: application/json: - schema: &400 + schema: &401 title: File Commit description: File Commit type: object @@ -59042,7 +59117,7 @@ paths: description: Response content: application/json: - schema: *400 + schema: *401 examples: example-for-creating-a-file: value: @@ -59096,7 +59171,7 @@ paths: schema: oneOf: - *3 - - &429 + - &430 description: Repository rule violation was detected type: object properties: @@ -59117,7 +59192,7 @@ paths: items: type: object properties: - placeholder_id: &545 + placeholder_id: &546 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -59149,8 +59224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *254 - *255 + - *256 - name: path description: path parameter in: path @@ -59211,7 +59286,7 @@ paths: description: Response content: application/json: - schema: *400 + schema: *401 examples: default: value: @@ -59266,8 +59341,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *254 - *255 + - *256 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -59390,20 +59465,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *254 - *255 - - *142 + - *256 - *143 - *144 - *145 + - *146 - 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 - - *146 - *147 + - *148 - *42 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -59423,8 +59498,8 @@ paths: default: 30 - *43 - *44 - - *148 - *149 + - *150 responses: '200': description: Response @@ -59432,7 +59507,7 @@ paths: application/json: schema: type: array - items: &403 + items: &404 type: object description: A Dependabot alert. properties: @@ -59465,7 +59540,7 @@ paths: enum: - development - runtime - security_advisory: *401 + security_advisory: *402 security_vulnerability: *47 url: *50 html_url: *51 @@ -59496,7 +59571,7 @@ paths: nullable: true maxLength: 280 fixed_at: *128 - auto_dismissed_at: *402 + auto_dismissed_at: *403 required: - number - state @@ -59723,9 +59798,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *254 - *255 - - &404 + - *256 + - &405 name: alert_number in: path description: |- @@ -59740,7 +59815,7 @@ paths: description: Response content: application/json: - schema: *403 + schema: *404 examples: default: value: @@ -59850,9 +59925,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *254 - *255 - - *404 + - *256 + - *405 requestBody: required: true content: @@ -59897,7 +59972,7 @@ paths: description: Response content: application/json: - schema: *403 + schema: *404 examples: default: value: @@ -60026,8 +60101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -60045,7 +60120,7 @@ paths: type: integer secrets: type: array - items: &407 + items: &408 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -60098,16 +60173,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *254 - *255 + - *256 responses: '200': description: Response content: application/json: - schema: *405 + schema: *406 examples: - default: *406 + default: *407 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60127,15 +60202,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *254 - *255 + - *256 - *121 responses: '200': description: Response content: application/json: - schema: *407 + schema: *408 examples: default: value: @@ -60161,8 +60236,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *254 - *255 + - *256 - *121 requestBody: required: true @@ -60215,8 +60290,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *254 - *255 + - *256 - *121 responses: '204': @@ -60239,8 +60314,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: - - *254 - *255 + - *256 - 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 @@ -60400,8 +60475,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: - - *254 - *255 + - *256 responses: '200': description: Response @@ -60640,8 +60715,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: - - *254 - *255 + - *256 requestBody: required: true content: @@ -60716,7 +60791,7 @@ paths: - version - url additionalProperties: false - metadata: &408 + metadata: &409 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -60749,7 +60824,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *408 + metadata: *409 resolved: type: object description: A collection of resolved package dependencies. @@ -60762,7 +60837,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *408 + metadata: *409 relationship: type: string description: A notation of whether a dependency is requested @@ -60891,8 +60966,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *254 - *255 + - *256 - name: sha description: The SHA recorded at creation time. in: query @@ -60932,9 +61007,9 @@ paths: application/json: schema: type: array - items: *409 + items: *410 examples: - default: *410 + default: *411 headers: Link: *39 x-github: @@ -61000,8 +61075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -61082,7 +61157,7 @@ paths: description: Response content: application/json: - schema: *409 + schema: *410 examples: simple-example: summary: Simple example @@ -61155,9 +61230,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *254 - *255 - - &411 + - *256 + - &412 name: deployment_id description: deployment_id parameter in: path @@ -61169,7 +61244,7 @@ paths: description: Response content: application/json: - schema: *409 + schema: *410 examples: default: value: @@ -61234,9 +61309,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *254 - *255 - - *411 + - *256 + - *412 responses: '204': description: Response @@ -61258,9 +61333,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *254 - *255 - - *411 + - *256 + - *412 - *18 - *20 responses: @@ -61270,7 +61345,7 @@ paths: application/json: schema: type: array - items: &412 + items: &413 title: Deployment Status description: The status of a deployment. type: object @@ -61431,9 +61506,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *254 - *255 - - *411 + - *256 + - *412 requestBody: required: true content: @@ -61508,9 +61583,9 @@ paths: description: Response content: application/json: - schema: *412 + schema: *413 examples: - default: &413 + default: &414 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -61566,9 +61641,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *254 - *255 - - *411 + - *256 + - *412 - name: status_id in: path required: true @@ -61579,9 +61654,9 @@ paths: description: Response content: application/json: - schema: *412 + schema: *413 examples: - default: *413 + default: *414 '404': *7 x-github: githubCloudOnly: false @@ -61606,8 +61681,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -61664,8 +61739,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -61682,7 +61757,7 @@ paths: type: integer environments: type: array - items: &415 + items: &416 title: Environment description: Details of a deployment environment type: object @@ -61734,7 +61809,7 @@ paths: type: type: string example: wait_timer - wait_timer: &417 + wait_timer: &418 type: integer example: 30 description: The amount of time to delay a job after @@ -61771,11 +61846,11 @@ paths: items: type: object properties: - type: *414 + type: *415 reviewer: anyOf: - *19 - - *180 + - *181 required: - id - node_id @@ -61795,7 +61870,7 @@ paths: - id - node_id - type - deployment_branch_policy: &418 + deployment_branch_policy: &419 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -61911,9 +61986,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *254 - *255 - - &416 + - *256 + - &417 name: environment_name in: path required: true @@ -61926,9 +62001,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *416 examples: - default: &419 + default: &420 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -62012,9 +62087,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *254 - *255 - - *416 + - *256 + - *417 requestBody: required: false content: @@ -62023,7 +62098,7 @@ paths: type: object nullable: true properties: - wait_timer: *417 + wait_timer: *418 prevent_self_review: type: boolean example: false @@ -62040,13 +62115,13 @@ paths: items: type: object properties: - type: *414 + type: *415 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *418 + deployment_branch_policy: *419 additionalProperties: false examples: default: @@ -62066,9 +62141,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *416 examples: - default: *419 + default: *420 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -62092,9 +62167,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *254 - *255 - - *416 + - *256 + - *417 responses: '204': description: Default response @@ -62119,9 +62194,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *254 - *255 - - *416 + - *256 + - *417 - *18 - *20 responses: @@ -62139,7 +62214,7 @@ paths: example: 2 branch_policies: type: array - items: &420 + items: &421 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -62196,9 +62271,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *254 - *255 - - *416 + - *256 + - *417 requestBody: required: true content: @@ -62244,9 +62319,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *421 examples: - example-wildcard: &421 + example-wildcard: &422 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -62288,10 +62363,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *254 - *255 - - *416 - - &422 + - *256 + - *417 + - &423 name: branch_policy_id in: path required: true @@ -62303,9 +62378,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *421 examples: - default: *421 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62324,10 +62399,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *254 - *255 - - *416 - - *422 + - *256 + - *417 + - *423 requestBody: required: true content: @@ -62355,9 +62430,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *421 examples: - default: *421 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62376,10 +62451,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *254 - *255 - - *416 - - *422 + - *256 + - *417 + - *423 responses: '204': description: Response @@ -62404,9 +62479,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *416 + - *417 + - *256 - *255 - - *254 responses: '200': description: List of deployment protection rules @@ -62422,7 +62497,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &423 + items: &424 title: Deployment protection rule description: Deployment protection rule type: object @@ -62441,7 +62516,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &424 + app: &425 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -62540,9 +62615,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: - - *416 + - *417 + - *256 - *255 - - *254 requestBody: content: application/json: @@ -62563,9 +62638,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *423 + schema: *424 examples: - default: &425 + default: &426 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -62600,9 +62675,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: - - *416 + - *417 + - *256 - *255 - - *254 - *20 - *18 responses: @@ -62621,7 +62696,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *424 + items: *425 examples: default: value: @@ -62656,10 +62731,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *254 - *255 - - *416 - - &426 + - *256 + - *417 + - &427 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -62671,9 +62746,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: - default: *425 + default: *426 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62694,10 +62769,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *416 + - *417 + - *256 - *255 - - *254 - - *426 + - *427 responses: '204': description: Response @@ -62723,9 +62798,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *254 - *255 - - *416 + - *256 + - *417 - *18 - *20 responses: @@ -62743,9 +62818,9 @@ paths: type: integer secrets: type: array - items: *300 + items: *301 examples: - default: *301 + default: *302 headers: Link: *39 x-github: @@ -62770,17 +62845,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *254 - *255 - - *416 + - *256 + - *417 responses: '200': description: Response content: application/json: - schema: *302 + schema: *303 examples: - default: *303 + default: *304 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62802,18 +62877,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *254 - *255 - - *416 + - *256 + - *417 - *121 responses: '200': description: Response content: application/json: - schema: *300 + schema: *301 examples: - default: *427 + default: *428 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62835,9 +62910,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *254 - *255 - - *416 + - *256 + - *417 - *121 requestBody: required: true @@ -62895,9 +62970,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *254 - *255 - - *416 + - *256 + - *417 - *121 responses: '204': @@ -62923,10 +62998,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *254 - *255 - - *416 - - *276 + - *256 + - *417 + - *277 - *20 responses: '200': @@ -62943,9 +63018,9 @@ paths: type: integer variables: type: array - items: *304 + items: *305 examples: - default: *305 + default: *306 headers: Link: *39 x-github: @@ -62968,9 +63043,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *254 - *255 - - *416 + - *256 + - *417 requestBody: required: true content: @@ -63022,18 +63097,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *254 - *255 - - *416 + - *256 + - *417 - *124 responses: '200': description: Response content: application/json: - schema: *304 + schema: *305 examples: - default: *428 + default: *429 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63054,10 +63129,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *254 - *255 + - *256 - *124 - - *416 + - *417 requestBody: required: true content: @@ -63099,10 +63174,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *254 - *255 + - *256 - *124 - - *416 + - *417 responses: '204': description: Response @@ -63124,8 +63199,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -63202,8 +63277,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *254 - *255 + - *256 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -63362,8 +63437,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *254 - *255 + - *256 requestBody: required: false content: @@ -63395,9 +63470,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *266 examples: - default: *267 + default: *268 '400': *15 '422': *16 '403': *29 @@ -63418,8 +63493,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -63479,7 +63554,7 @@ paths: schema: oneOf: - *97 - - *429 + - *430 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63504,8 +63579,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *254 - *255 + - *256 - name: file_sha in: path required: true @@ -63604,8 +63679,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -63714,7 +63789,7 @@ paths: description: Response content: application/json: - schema: &430 + schema: &431 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -63927,15 +64002,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *254 - *255 - - *383 + - *256 + - *384 responses: '200': description: Response content: application/json: - schema: *430 + schema: *431 examples: default: value: @@ -63991,9 +64066,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *254 - *255 - - &431 + - *256 + - &432 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. @@ -64010,7 +64085,7 @@ paths: application/json: schema: type: array - items: &432 + items: &433 title: Git Reference description: Git references within a repository type: object @@ -64085,17 +64160,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *254 - *255 - - *431 + - *256 + - *432 responses: '200': description: Response content: application/json: - schema: *432 + schema: *433 examples: - default: &433 + default: &434 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -64124,8 +64199,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -64154,9 +64229,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *433 examples: - default: *433 + default: *434 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -64182,9 +64257,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *254 - *255 - - *431 + - *256 + - *432 requestBody: required: true content: @@ -64213,9 +64288,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *433 examples: - default: *433 + default: *434 '422': *16 '409': *134 x-github: @@ -64233,9 +64308,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *254 - *255 - - *431 + - *256 + - *432 responses: '204': description: Response @@ -64288,8 +64363,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -64356,7 +64431,7 @@ paths: description: Response content: application/json: - schema: &435 + schema: &436 title: Git Tag description: Metadata for a Git tag type: object @@ -64407,7 +64482,7 @@ paths: - sha - type - url - verification: *434 + verification: *435 required: - sha - url @@ -64417,7 +64492,7 @@ paths: - tag - message examples: - default: &436 + default: &437 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -64490,8 +64565,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *254 - *255 + - *256 - name: tag_sha in: path required: true @@ -64502,9 +64577,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *436 examples: - default: *436 + default: *437 '404': *7 '409': *134 x-github: @@ -64528,8 +64603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -64602,7 +64677,7 @@ paths: description: Response content: application/json: - schema: &437 + schema: &438 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -64714,8 +64789,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *254 - *255 + - *256 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -64738,7 +64813,7 @@ paths: description: Response content: application/json: - schema: *437 + schema: *438 examples: default-response: summary: Default response @@ -64797,8 +64872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -64808,7 +64883,7 @@ paths: application/json: schema: type: array - items: &438 + items: &439 title: Webhook description: Webhooks for repositories. type: object @@ -64862,7 +64937,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &656 + last_response: &657 title: Hook Response type: object properties: @@ -64936,8 +65011,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *254 - *255 + - *256 requestBody: required: false content: @@ -64989,9 +65064,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *439 examples: - default: &439 + default: &440 value: type: Repository id: 12345678 @@ -65039,17 +65114,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *254 - *255 - - *157 + - *256 + - *158 responses: '200': description: Response content: application/json: - schema: *438 + schema: *439 examples: - default: *439 + default: *440 '404': *7 x-github: githubCloudOnly: false @@ -65069,9 +65144,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *254 - *255 - - *157 + - *256 + - *158 requestBody: required: true content: @@ -65116,9 +65191,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *439 examples: - default: *439 + default: *440 '422': *16 '404': *7 x-github: @@ -65139,9 +65214,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *254 - *255 - - *157 + - *256 + - *158 responses: '204': description: Response @@ -65165,9 +65240,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *254 - *255 - - *157 + - *256 + - *158 responses: '200': description: Response @@ -65194,9 +65269,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *254 - *255 - - *157 + - *256 + - *158 requestBody: required: false content: @@ -65240,11 +65315,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *254 - *255 - - *157 - - *18 + - *256 - *158 + - *18 + - *159 responses: '200': description: Response @@ -65252,9 +65327,9 @@ paths: application/json: schema: type: array - items: *159 + items: *160 examples: - default: *160 + default: *161 '400': *15 '422': *16 x-github: @@ -65273,18 +65348,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *254 - *255 - - *157 + - *256 + - *158 - *17 responses: '200': description: Response content: application/json: - schema: *161 + schema: *162 examples: - default: *162 + default: *163 '400': *15 '422': *16 x-github: @@ -65303,9 +65378,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *254 - *255 - - *157 + - *256 + - *158 - *17 responses: '202': *99 @@ -65328,9 +65403,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *254 - *255 - - *157 + - *256 + - *158 responses: '204': description: Response @@ -65355,9 +65430,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *254 - *255 - - *157 + - *256 + - *158 responses: '204': description: Response @@ -65415,14 +65490,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *254 - *255 + - *256 responses: '200': description: Response content: application/json: - schema: &440 + schema: &441 title: Import description: A repository import from an external source. type: object @@ -65521,7 +65596,7 @@ paths: - html_url - authors_url examples: - default: &443 + default: &444 value: vcs: subversion use_lfs: true @@ -65537,7 +65612,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *7 - '503': &441 + '503': &442 description: Unavailable due to service under maintenance. content: application/json: @@ -65566,8 +65641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -65615,7 +65690,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: default: value: @@ -65640,7 +65715,7 @@ paths: type: string '422': *16 '404': *7 - '503': *441 + '503': *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65668,8 +65743,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *254 - *255 + - *256 requestBody: required: false content: @@ -65718,7 +65793,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: example-1: summary: Example 1 @@ -65766,7 +65841,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': *441 + '503': *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65789,12 +65864,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *254 - *255 + - *256 responses: '204': description: Response - '503': *441 + '503': *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65820,9 +65895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *254 - *255 - - &603 + - *256 + - &604 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -65836,7 +65911,7 @@ paths: application/json: schema: type: array - items: &442 + items: &443 title: Porter Author description: Porter Author type: object @@ -65890,7 +65965,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *7 - '503': *441 + '503': *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65915,8 +65990,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *254 - *255 + - *256 - name: author_id in: path required: true @@ -65946,7 +66021,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *443 examples: default: value: @@ -65959,7 +66034,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *16 '404': *7 - '503': *441 + '503': *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65983,8 +66058,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *254 - *255 + - *256 responses: '200': description: Response @@ -66025,7 +66100,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *441 + '503': *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66053,8 +66128,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -66081,11 +66156,11 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: - default: *443 + default: *444 '422': *16 - '503': *441 + '503': *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66108,8 +66183,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *254 - *255 + - *256 responses: '200': description: Response @@ -66117,8 +66192,8 @@ paths: application/json: schema: *22 examples: - default: *444 - '301': *266 + default: *445 + '301': *267 '404': *7 x-github: githubCloudOnly: false @@ -66138,8 +66213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *254 - *255 + - *256 responses: '200': description: Response @@ -66147,12 +66222,12 @@ paths: application/json: schema: anyOf: - - *175 + - *176 - type: object properties: {} additionalProperties: false examples: - default: &446 + default: &447 value: limit: collaborators_only origin: repository @@ -66177,13 +66252,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *254 - *255 + - *256 requestBody: required: true content: application/json: - schema: *445 + schema: *446 examples: default: summary: Example request body @@ -66195,9 +66270,9 @@ paths: description: Response content: application/json: - schema: *175 + schema: *176 examples: - default: *446 + default: *447 '409': description: Response x-github: @@ -66219,8 +66294,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *254 - *255 + - *256 responses: '204': description: Response @@ -66243,8 +66318,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -66254,9 +66329,9 @@ paths: application/json: schema: type: array - items: *447 + items: *448 examples: - default: &596 + default: &597 value: - id: 1 repository: @@ -66387,9 +66462,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *254 - *255 - - *179 + - *256 + - *180 requestBody: required: false content: @@ -66418,7 +66493,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *448 examples: default: value: @@ -66549,9 +66624,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *254 - *255 - - *179 + - *256 + - *180 responses: '204': description: Response @@ -66582,8 +66657,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *254 - *255 + - *256 - 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 @@ -66623,7 +66698,7 @@ paths: required: false schema: type: string - - *181 + - *182 - name: sort description: What to sort results by. in: query @@ -66648,7 +66723,7 @@ paths: type: array items: *75 examples: - default: &458 + default: &459 value: - id: 1 node_id: MDU6SXNzdWUx @@ -66796,7 +66871,7 @@ paths: state_reason: completed headers: Link: *39 - '301': *266 + '301': *267 '422': *16 '404': *7 x-github: @@ -66825,8 +66900,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -66903,7 +66978,7 @@ paths: application/json: schema: *75 examples: - default: &453 + default: &454 value: id: 1 node_id: MDU6SXNzdWUx @@ -67059,7 +67134,7 @@ paths: '422': *16 '503': *63 '404': *7 - '410': *263 + '410': *264 x-github: triggersNotification: true githubCloudOnly: false @@ -67087,8 +67162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *254 - *255 + - *256 - *85 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -67109,9 +67184,9 @@ paths: application/json: schema: type: array - items: *448 + items: *449 examples: - default: &455 + default: &456 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -67169,17 +67244,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *254 - *255 + - *256 - *74 responses: '200': description: Response content: application/json: - schema: *448 + schema: *449 examples: - default: &449 + default: &450 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -67233,8 +67308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *254 - *255 + - *256 - *74 requestBody: required: true @@ -67257,9 +67332,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *449 examples: - default: *449 + default: *450 '422': *16 x-github: githubCloudOnly: false @@ -67277,8 +67352,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *254 - *255 + - *256 - *74 responses: '204': @@ -67299,8 +67374,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *254 - *255 + - *256 - *74 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -67327,9 +67402,9 @@ paths: application/json: schema: type: array - items: *247 + items: *248 examples: - default: *249 + default: *250 headers: Link: *39 '404': *7 @@ -67350,8 +67425,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *254 - *255 + - *256 - *74 requestBody: required: true @@ -67384,16 +67459,16 @@ paths: description: Reaction exists content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 '201': description: Reaction created content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 '422': *16 x-github: githubCloudOnly: false @@ -67415,10 +67490,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *254 - *255 + - *256 - *74 - - *250 + - *251 responses: '204': description: Response @@ -67438,8 +67513,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -67449,7 +67524,7 @@ paths: application/json: schema: type: array - items: &452 + items: &453 title: Issue Event description: Issue Event type: object @@ -67492,8 +67567,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *450 - required: *451 + properties: *451 + required: *452 nullable: true label: title: Issue Event Label @@ -67537,7 +67612,7 @@ paths: properties: *4 required: *5 nullable: true - requested_team: *180 + requested_team: *181 dismissed_review: title: Issue Event Dismissed Review type: object @@ -67800,8 +67875,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *254 - *255 + - *256 - name: event_id in: path required: true @@ -67812,7 +67887,7 @@ paths: description: Response content: application/json: - schema: *452 + schema: *453 examples: default: value: @@ -68005,7 +68080,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *7 - '410': *263 + '410': *264 '403': *29 x-github: githubCloudOnly: false @@ -68039,9 +68114,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *254 - *255 - - &454 + - *256 + - &455 name: issue_number description: The number that identifies the issue. in: path @@ -68055,10 +68130,10 @@ paths: application/json: schema: *75 examples: - default: *453 - '301': *266 + default: *454 + '301': *267 '404': *7 - '410': *263 + '410': *264 '304': *37 x-github: githubCloudOnly: false @@ -68083,9 +68158,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *254 - *255 - - *454 + - *256 + - *455 requestBody: required: false content: @@ -68182,13 +68257,13 @@ paths: application/json: schema: *75 examples: - default: *453 + default: *454 '422': *16 '503': *63 '403': *29 - '301': *266 + '301': *267 '404': *7 - '410': *263 + '410': *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68206,9 +68281,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *254 - *255 - - *454 + - *256 + - *455 requestBody: required: false content: @@ -68236,7 +68311,7 @@ paths: application/json: schema: *75 examples: - default: *453 + default: *454 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68252,9 +68327,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *254 - *255 - - *454 + - *256 + - *455 requestBody: content: application/json: @@ -68281,7 +68356,7 @@ paths: application/json: schema: *75 examples: - default: *453 + default: *454 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68303,9 +68378,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: - - *254 - *255 - - *454 + - *256 + - *455 - name: assignee in: path required: true @@ -68345,9 +68420,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *254 - *255 - - *454 + - *256 + - *455 - *65 - *18 - *20 @@ -68358,13 +68433,13 @@ paths: application/json: schema: type: array - items: *448 + items: *449 examples: - default: *455 + default: *456 headers: Link: *39 '404': *7 - '410': *263 + '410': *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68393,9 +68468,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *254 - *255 - - *454 + - *256 + - *455 requestBody: required: true content: @@ -68417,16 +68492,16 @@ paths: description: Response content: application/json: - schema: *448 + schema: *449 examples: - default: *449 + default: *450 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *263 + '410': *264 '422': *16 '404': *7 x-github: @@ -68446,9 +68521,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *254 - *255 - - *454 + - *256 + - *455 - *18 - *20 responses: @@ -68462,7 +68537,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &459 + - &460 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -68516,7 +68591,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &460 + - &461 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -68652,7 +68727,7 @@ paths: - performed_via_github_app - assignee - assigner - - &461 + - &462 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -68703,7 +68778,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &462 + - &463 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -68754,7 +68829,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &463 + - &464 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -68808,7 +68883,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &464 + - &465 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -68842,7 +68917,7 @@ paths: properties: *59 required: *60 review_requester: *19 - requested_team: *180 + requested_team: *181 requested_reviewer: *19 required: - review_requester @@ -68855,7 +68930,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &465 + - &466 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -68889,7 +68964,7 @@ paths: properties: *59 required: *60 review_requester: *19 - requested_team: *180 + requested_team: *181 requested_reviewer: *19 required: - review_requester @@ -68902,7 +68977,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &466 + - &467 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -68962,7 +69037,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &467 + - &468 title: Locked Issue Event description: Locked Issue Event type: object @@ -69010,7 +69085,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &468 + - &469 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -69076,7 +69151,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &469 + - &470 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -69142,7 +69217,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &470 + - &471 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -69208,7 +69283,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &471 + - &472 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -69299,7 +69374,7 @@ paths: color: red headers: Link: *39 - '410': *263 + '410': *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69316,9 +69391,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *254 - *255 - - *454 + - *256 + - *455 - *18 - *20 responses: @@ -69328,7 +69403,7 @@ paths: application/json: schema: type: array - items: &456 + items: &457 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -69375,7 +69450,7 @@ paths: - color - default examples: - default: &457 + default: &458 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -69393,9 +69468,9 @@ paths: default: false headers: Link: *39 - '301': *266 + '301': *267 '404': *7 - '410': *263 + '410': *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69412,9 +69487,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *254 - *255 - - *454 + - *256 + - *455 requestBody: required: false content: @@ -69473,12 +69548,12 @@ paths: application/json: schema: type: array - items: *456 + items: *457 examples: - default: *457 - '301': *266 + default: *458 + '301': *267 '404': *7 - '410': *263 + '410': *264 '422': *16 x-github: githubCloudOnly: false @@ -69495,9 +69570,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *254 - *255 - - *454 + - *256 + - *455 requestBody: required: false content: @@ -69557,12 +69632,12 @@ paths: application/json: schema: type: array - items: *456 + items: *457 examples: - default: *457 - '301': *266 + default: *458 + '301': *267 '404': *7 - '410': *263 + '410': *264 '422': *16 x-github: githubCloudOnly: false @@ -69579,15 +69654,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *254 - *255 - - *454 + - *256 + - *455 responses: '204': description: Response - '301': *266 + '301': *267 '404': *7 - '410': *263 + '410': *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69606,9 +69681,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *254 - *255 - - *454 + - *256 + - *455 - name: name in: path required: true @@ -69621,7 +69696,7 @@ paths: application/json: schema: type: array - items: *456 + items: *457 examples: default: value: @@ -69632,9 +69707,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *266 + '301': *267 '404': *7 - '410': *263 + '410': *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69654,9 +69729,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *254 - *255 - - *454 + - *256 + - *455 requestBody: required: false content: @@ -69684,7 +69759,7 @@ paths: '204': description: Response '403': *29 - '410': *263 + '410': *264 '404': *7 '422': *16 x-github: @@ -69702,9 +69777,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *254 - *255 - - *454 + - *256 + - *455 responses: '204': description: Response @@ -69726,9 +69801,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *254 - *255 - - *454 + - *256 + - *455 - 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. @@ -69754,13 +69829,13 @@ paths: application/json: schema: type: array - items: *247 + items: *248 examples: - default: *249 + default: *250 headers: Link: *39 '404': *7 - '410': *263 + '410': *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69778,9 +69853,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *254 - *255 - - *454 + - *256 + - *455 requestBody: required: true content: @@ -69812,16 +69887,16 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 '201': description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 '422': *16 x-github: githubCloudOnly: false @@ -69843,10 +69918,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *254 - *255 - - *454 - - *250 + - *256 + - *455 + - *251 responses: '204': description: Response @@ -69875,9 +69950,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *254 - *255 - - *454 + - *256 + - *455 requestBody: required: true content: @@ -69901,7 +69976,7 @@ paths: application/json: schema: *75 examples: - default: *453 + default: *454 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -69934,9 +70009,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *254 - *255 - - *454 + - *256 + - *455 - *18 - *20 responses: @@ -69948,11 +70023,11 @@ paths: type: array items: *75 examples: - default: *458 + default: *459 headers: Link: *39 '404': *7 - '410': *263 + '410': *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69980,9 +70055,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *254 - *255 - - *454 + - *256 + - *455 requestBody: required: true content: @@ -70010,14 +70085,14 @@ paths: application/json: schema: *75 examples: - default: *453 + default: *454 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *263 + '410': *264 '422': *16 '404': *7 x-github: @@ -70037,9 +70112,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *254 - *255 - - *454 + - *256 + - *455 requestBody: required: true content: @@ -70072,7 +70147,7 @@ paths: application/json: schema: *75 examples: - default: *453 + default: *454 '403': *29 '404': *7 '422': *8 @@ -70094,9 +70169,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *254 - *255 - - *454 + - *256 + - *455 - *18 - *20 responses: @@ -70111,7 +70186,6 @@ paths: description: Timeline Event type: object anyOf: - - *459 - *460 - *461 - *462 @@ -70124,6 +70198,7 @@ paths: - *469 - *470 - *471 + - *472 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -70427,7 +70502,7 @@ paths: type: string comments: type: array - items: &492 + items: &493 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -70636,7 +70711,7 @@ paths: type: string comments: type: array - items: *381 + items: *382 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -70925,7 +71000,7 @@ paths: headers: Link: *39 '404': *7 - '410': *263 + '410': *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70942,8 +71017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -70953,7 +71028,7 @@ paths: application/json: schema: type: array - items: &472 + items: &473 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -71018,8 +71093,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -71055,9 +71130,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *473 examples: - default: &473 + default: &474 value: id: 1 key: ssh-rsa AAA... @@ -71091,9 +71166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *254 - *255 - - &474 + - *256 + - &475 name: key_id description: The unique identifier of the key. in: path @@ -71105,9 +71180,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *473 examples: - default: *473 + default: *474 '404': *7 x-github: githubCloudOnly: false @@ -71125,9 +71200,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *254 - *255 - - *474 + - *256 + - *475 responses: '204': description: Response @@ -71147,8 +71222,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -71158,9 +71233,9 @@ paths: application/json: schema: type: array - items: *456 + items: *457 examples: - default: *457 + default: *458 headers: Link: *39 '404': *7 @@ -71181,8 +71256,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -71218,9 +71293,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *457 examples: - default: &475 + default: &476 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -71252,8 +71327,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *254 - *255 + - *256 - name: name in: path required: true @@ -71264,9 +71339,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *457 examples: - default: *475 + default: *476 '404': *7 x-github: githubCloudOnly: false @@ -71283,8 +71358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *254 - *255 + - *256 - name: name in: path required: true @@ -71323,7 +71398,7 @@ paths: description: Response content: application/json: - schema: *456 + schema: *457 examples: default: value: @@ -71349,8 +71424,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *254 - *255 + - *256 - name: name in: path required: true @@ -71376,8 +71451,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *254 - *255 + - *256 responses: '200': description: Response @@ -71416,9 +71491,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *254 - *255 - - *356 + - *256 + - *357 responses: '200': description: Response @@ -71563,8 +71638,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -71629,8 +71704,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -71664,9 +71739,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *382 + schema: *383 examples: - default: *476 + default: *477 '204': description: Response when already merged '404': @@ -71691,8 +71766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *254 - *255 + - *256 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -71733,12 +71808,12 @@ paths: application/json: schema: type: array - items: &477 + items: &478 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *386 - required: *387 + properties: *387 + required: *388 examples: default: value: @@ -71794,8 +71869,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -71835,9 +71910,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *478 examples: - default: &478 + default: &479 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -71896,9 +71971,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *254 - *255 - - &479 + - *256 + - &480 name: milestone_number description: The number that identifies the milestone. in: path @@ -71910,9 +71985,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *478 examples: - default: *478 + default: *479 '404': *7 x-github: githubCloudOnly: false @@ -71929,9 +72004,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *254 - *255 - - *479 + - *256 + - *480 requestBody: required: false content: @@ -71969,9 +72044,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *478 examples: - default: *478 + default: *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71987,9 +72062,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *254 - *255 - - *479 + - *256 + - *480 responses: '204': description: Response @@ -72010,9 +72085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *254 - *255 - - *479 + - *256 + - *480 - *18 - *20 responses: @@ -72022,9 +72097,9 @@ paths: application/json: schema: type: array - items: *456 + items: *457 examples: - default: *457 + default: *458 headers: Link: *39 x-github: @@ -72043,12 +72118,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *254 - *255 - - *480 + - *256 - *481 - - *65 - *482 + - *65 + - *483 - *18 - *20 responses: @@ -72060,7 +72135,7 @@ paths: type: array items: *88 examples: - default: *483 + default: *484 headers: Link: *39 x-github: @@ -72084,8 +72159,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *254 - *255 + - *256 requestBody: required: false content: @@ -72143,14 +72218,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *254 - *255 + - *256 responses: '200': description: Response content: application/json: - schema: &484 + schema: &485 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -72275,7 +72350,7 @@ paths: - custom_404 - public examples: - default: &485 + default: &486 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -72316,8 +72391,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -72371,9 +72446,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *485 examples: - default: *485 + default: *486 '422': *16 '409': *134 x-github: @@ -72396,8 +72471,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -72496,8 +72571,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *254 - *255 + - *256 responses: '204': description: Response @@ -72523,8 +72598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -72534,7 +72609,7 @@ paths: application/json: schema: type: array - items: &486 + items: &487 title: Page Build description: Page Build type: object @@ -72628,8 +72703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *254 - *255 + - *256 responses: '201': description: Response @@ -72674,16 +72749,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *254 - *255 + - *256 responses: '200': description: Response content: application/json: - schema: *486 + schema: *487 examples: - default: &487 + default: &488 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -72731,8 +72806,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *254 - *255 + - *256 - name: build_id in: path required: true @@ -72743,9 +72818,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *487 examples: - default: *487 + default: *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72765,8 +72840,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -72872,9 +72947,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *254 - *255 - - &488 + - *256 + - &489 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -72932,11 +73007,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *254 - *255 - - *488 + - *256 + - *489 responses: - '204': *137 + '204': *138 '404': *7 x-github: githubCloudOnly: false @@ -72961,8 +73036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *254 - *255 + - *256 responses: '200': description: Response @@ -73220,8 +73295,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: - - *254 - *255 + - *256 responses: '200': description: Private vulnerability reporting status @@ -73258,10 +73333,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *254 - *255 + - *256 responses: - '204': *137 + '204': *138 '422': *15 x-github: githubCloudOnly: false @@ -73280,10 +73355,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *254 - *255 + - *256 responses: - '204': *137 + '204': *138 '422': *15 x-github: githubCloudOnly: false @@ -73304,8 +73379,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-repository-projects parameters: - - *254 - *255 + - *256 - name: state description: Indicates the state of the projects to return. in: query @@ -73326,7 +73401,7 @@ paths: application/json: schema: type: array - items: *211 + items: *212 examples: default: value: @@ -73366,7 +73441,7 @@ paths: '401': *25 '403': *29 '404': *7 - '410': *263 + '410': *264 '422': *8 x-github: githubCloudOnly: false @@ -73386,8 +73461,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-a-repository-project parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -73413,13 +73488,13 @@ paths: description: Response content: application/json: - schema: *211 + schema: *212 examples: - default: *262 + default: *263 '401': *25 '403': *29 '404': *7 - '410': *263 + '410': *264 '422': *8 x-github: githubCloudOnly: false @@ -73439,8 +73514,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *254 - *255 + - *256 responses: '200': description: Response @@ -73448,7 +73523,7 @@ paths: application/json: schema: type: array - items: *216 + items: *217 examples: default: value: @@ -73479,8 +73554,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: - - *254 - *255 + - *256 requestBody: required: true content: @@ -73492,7 +73567,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *216 + items: *217 required: - properties examples: @@ -73542,8 +73617,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *254 - *255 + - *256 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -73603,9 +73678,9 @@ paths: application/json: schema: type: array - items: *489 + items: *490 examples: - default: *490 + default: *491 headers: Link: *39 '304': *37 @@ -73637,8 +73712,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -73703,7 +73778,7 @@ paths: description: Response content: application/json: - schema: &494 + schema: &495 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -73814,8 +73889,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *386 - required: *387 + properties: *387 + required: *388 nullable: true active_lock_reason: type: string @@ -73860,7 +73935,7 @@ paths: nullable: true requested_teams: type: array - items: *238 + items: *239 nullable: true head: type: object @@ -73899,14 +73974,14 @@ paths: _links: type: object properties: - comments: *388 - commits: *388 - statuses: *388 - html: *388 - issue: *388 - review_comments: *388 - review_comment: *388 - self: *388 + comments: *389 + commits: *389 + statuses: *389 + html: *389 + issue: *389 + review_comments: *389 + review_comment: *389 + self: *389 required: - comments - commits @@ -73917,7 +73992,7 @@ paths: - review_comment - self author_association: *61 - auto_merge: *491 + auto_merge: *492 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -74009,7 +74084,7 @@ paths: - merged_by - review_comments examples: - default: &495 + default: &496 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -74536,8 +74611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *254 - *255 + - *256 - name: sort in: query required: false @@ -74566,9 +74641,9 @@ paths: application/json: schema: type: array - items: *492 + items: *493 examples: - default: &497 + default: &498 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -74645,17 +74720,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *254 - *255 + - *256 - *74 responses: '200': description: Response content: application/json: - schema: *492 + schema: *493 examples: - default: &493 + default: &494 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -74730,8 +74805,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *254 - *255 + - *256 - *74 requestBody: required: true @@ -74754,9 +74829,9 @@ paths: description: Response content: application/json: - schema: *492 + schema: *493 examples: - default: *493 + default: *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74772,8 +74847,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *254 - *255 + - *256 - *74 responses: '204': @@ -74795,8 +74870,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *254 - *255 + - *256 - *74 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -74823,9 +74898,9 @@ paths: application/json: schema: type: array - items: *247 + items: *248 examples: - default: *249 + default: *250 headers: Link: *39 '404': *7 @@ -74846,8 +74921,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *254 - *255 + - *256 - *74 requestBody: required: true @@ -74880,16 +74955,16 @@ paths: description: Reaction exists content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 '201': description: Reaction created content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 '422': *16 x-github: githubCloudOnly: false @@ -74911,10 +74986,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *254 - *255 + - *256 - *74 - - *250 + - *251 responses: '204': description: Response @@ -74957,9 +75032,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *254 - *255 - - &496 + - *256 + - &497 name: pull_number description: The number that identifies the pull request. in: path @@ -74972,9 +75047,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *494 + schema: *495 examples: - default: *495 + default: *496 '304': *37 '404': *7 '406': @@ -75009,9 +75084,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *254 - *255 - - *496 + - *256 + - *497 requestBody: required: false content: @@ -75053,9 +75128,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *495 examples: - default: *495 + default: *496 '422': *16 '403': *29 x-github: @@ -75077,9 +75152,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *254 - *255 - - *496 + - *256 + - *497 requestBody: required: true content: @@ -75139,17 +75214,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *184 + schema: *185 examples: - default: *371 + default: *372 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *184 + schema: *185 examples: - default: *371 + default: *372 '401': *25 '403': *29 '404': *7 @@ -75179,9 +75254,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *254 - *255 - - *496 + - *256 + - *497 - *85 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -75202,9 +75277,9 @@ paths: application/json: schema: type: array - items: *492 + items: *493 examples: - default: *497 + default: *498 headers: Link: *39 x-github: @@ -75237,9 +75312,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *254 - *255 - - *496 + - *256 + - *497 requestBody: required: true content: @@ -75344,7 +75419,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *493 examples: example-for-a-multi-line-comment: value: @@ -75432,9 +75507,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *254 - *255 - - *496 + - *256 + - *497 - *74 requestBody: required: true @@ -75457,7 +75532,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *493 examples: default: value: @@ -75543,9 +75618,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *254 - *255 - - *496 + - *256 + - *497 - *18 - *20 responses: @@ -75555,9 +75630,9 @@ paths: application/json: schema: type: array - items: *382 + items: *383 examples: - default: *498 + default: *499 headers: Link: *39 x-github: @@ -75587,9 +75662,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *254 - *255 - - *496 + - *256 + - *497 - *18 - *20 responses: @@ -75599,7 +75674,7 @@ paths: application/json: schema: type: array - items: *397 + items: *398 examples: default: value: @@ -75637,9 +75712,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *254 - *255 - - *496 + - *256 + - *497 responses: '204': description: Response if pull request has been merged @@ -75662,9 +75737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *254 - *255 - - *496 + - *256 + - *497 requestBody: required: false content: @@ -75775,9 +75850,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *254 - *255 - - *496 + - *256 + - *497 responses: '200': description: Response @@ -75793,7 +75868,7 @@ paths: items: *19 teams: type: array - items: *180 + items: *181 required: - users - teams @@ -75852,9 +75927,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *254 - *255 - - *496 + - *256 + - *497 requestBody: required: false content: @@ -75891,7 +75966,7 @@ paths: description: Response content: application/json: - schema: *489 + schema: *490 examples: default: value: @@ -76427,9 +76502,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *254 - *255 - - *496 + - *256 + - *497 requestBody: required: true content: @@ -76463,7 +76538,7 @@ paths: description: Response content: application/json: - schema: *489 + schema: *490 examples: default: value: @@ -76968,9 +77043,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *254 - *255 - - *496 + - *256 + - *497 - *18 - *20 responses: @@ -76980,7 +77055,7 @@ paths: application/json: schema: type: array - items: &499 + items: &500 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -77131,9 +77206,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *254 - *255 - - *496 + - *256 + - *497 requestBody: required: false content: @@ -77219,9 +77294,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: - default: &501 + default: &502 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -77284,10 +77359,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *254 - *255 - - *496 - - &500 + - *256 + - *497 + - &501 name: review_id description: The unique identifier of the review. in: path @@ -77299,9 +77374,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: - default: &502 + default: &503 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -77360,10 +77435,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *254 - *255 - - *496 - - *500 + - *256 + - *497 + - *501 requestBody: required: true content: @@ -77386,7 +77461,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: default: value: @@ -77448,18 +77523,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *254 - *255 - - *496 - - *500 + - *256 + - *497 + - *501 responses: '200': description: Response content: application/json: - schema: *499 + schema: *500 examples: - default: *501 + default: *502 '422': *8 '404': *7 x-github: @@ -77486,10 +77561,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *254 - *255 - - *496 - - *500 + - *256 + - *497 + - *501 - *18 - *20 responses: @@ -77572,9 +77647,9 @@ paths: _links: type: object properties: - self: *388 - html: *388 - pull_request: *388 + self: *389 + html: *389 + pull_request: *389 required: - self - html @@ -77717,10 +77792,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *254 - *255 - - *496 - - *500 + - *256 + - *497 + - *501 requestBody: required: true content: @@ -77748,7 +77823,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: default: value: @@ -77811,10 +77886,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *254 - *255 - - *496 - - *500 + - *256 + - *497 + - *501 requestBody: required: true content: @@ -77849,9 +77924,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: - default: *502 + default: *503 '404': *7 '422': *8 '403': *29 @@ -77873,9 +77948,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *254 - *255 - - *496 + - *256 + - *497 requestBody: required: false content: @@ -77938,8 +78013,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *254 - *255 + - *256 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -77952,9 +78027,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *504 examples: - default: &504 + default: &505 value: type: file encoding: base64 @@ -77996,8 +78071,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *254 - *255 + - *256 - name: dir description: The alternate path to look for a README file in: path @@ -78017,9 +78092,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *504 examples: - default: *504 + default: *505 '404': *7 '422': *16 x-github: @@ -78041,8 +78116,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -78052,7 +78127,7 @@ paths: application/json: schema: type: array - items: &505 + items: &506 title: Release description: A release. type: object @@ -78115,7 +78190,7 @@ paths: author: *19 assets: type: array - items: &506 + items: &507 title: Release Asset description: Data related to a release. type: object @@ -78296,8 +78371,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -78373,9 +78448,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: &509 + default: &510 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -78478,9 +78553,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *254 - *255 - - &507 + - *256 + - &508 name: asset_id description: The unique identifier of the asset. in: path @@ -78492,9 +78567,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *507 examples: - default: &508 + default: &509 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 @@ -78528,7 +78603,7 @@ paths: type: User site_admin: false '404': *7 - '302': *399 + '302': *400 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78544,9 +78619,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *254 - *255 - - *507 + - *256 + - *508 requestBody: required: false content: @@ -78574,9 +78649,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *507 examples: - default: *508 + default: *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78592,9 +78667,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *254 - *255 - - *507 + - *256 + - *508 responses: '204': description: Response @@ -78618,8 +78693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -78704,16 +78779,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *254 - *255 + - *256 responses: '200': description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: *509 + default: *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78730,8 +78805,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *254 - *255 + - *256 - name: tag description: tag parameter in: path @@ -78744,9 +78819,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: *509 + default: *510 '404': *7 x-github: githubCloudOnly: false @@ -78768,9 +78843,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *254 - *255 - - &510 + - *256 + - &511 name: release_id description: The unique identifier of the release. in: path @@ -78784,9 +78859,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: *505 + schema: *506 examples: - default: *509 + default: *510 '401': description: Unauthorized x-github: @@ -78804,9 +78879,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *254 - *255 - - *510 + - *256 + - *511 requestBody: required: false content: @@ -78870,9 +78945,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: *509 + default: *510 '404': description: Not Found if the discussion category name is invalid content: @@ -78893,9 +78968,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *254 - *255 - - *510 + - *256 + - *511 responses: '204': description: Response @@ -78915,9 +78990,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *254 - *255 - - *510 + - *256 + - *511 - *18 - *20 responses: @@ -78927,7 +79002,7 @@ paths: application/json: schema: type: array - items: *506 + items: *507 examples: default: value: @@ -79007,9 +79082,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: - - *254 - *255 - - *510 + - *256 + - *511 - name: name in: query required: true @@ -79035,7 +79110,7 @@ paths: description: Response for successful upload content: application/json: - schema: *506 + schema: *507 examples: response-for-successful-upload: value: @@ -79089,9 +79164,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *254 - *255 - - *510 + - *256 + - *511 - 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. @@ -79115,9 +79190,9 @@ paths: application/json: schema: type: array - items: *247 + items: *248 examples: - default: *249 + default: *250 headers: Link: *39 '404': *7 @@ -79138,9 +79213,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *254 - *255 - - *510 + - *256 + - *511 requestBody: required: true content: @@ -79170,16 +79245,16 @@ paths: description: Reaction exists content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 '201': description: Reaction created content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 '422': *16 x-github: githubCloudOnly: false @@ -79201,10 +79276,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *254 - *255 - - *510 - - *250 + - *256 + - *511 + - *251 responses: '204': description: Response @@ -79228,9 +79303,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *254 - *255 - - *322 + - *256 + - *323 - *18 - *20 responses: @@ -79246,8 +79321,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *511 - - &513 + - *512 + - &514 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -79267,53 +79342,53 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *512 - *513 - - allOf: - *514 - - *513 - allOf: - *515 - - *513 + - *514 - allOf: - *516 - - *513 + - *514 - allOf: - *517 - - *513 + - *514 - allOf: - *518 - - *513 + - *514 - allOf: - *519 - - *513 + - *514 - allOf: - *520 - - *513 + - *514 - allOf: - *521 - - *513 + - *514 - allOf: - *522 - - *513 + - *514 - allOf: - *523 - - *513 + - *514 - allOf: - *524 - - *513 + - *514 - allOf: - *525 - - *513 + - *514 - allOf: - *526 - - *513 + - *514 - allOf: - *527 - - *513 + - *514 - allOf: - *528 - - *513 + - *514 + - allOf: + - *529 + - *514 examples: default: value: @@ -79352,8 +79427,8 @@ paths: category: repos subcategory: rules parameters: - - *254 - *255 + - *256 - *18 - *20 - name: includes_parents @@ -79364,7 +79439,7 @@ paths: schema: type: boolean default: true - - *529 + - *530 responses: '200': description: Response @@ -79372,7 +79447,7 @@ paths: application/json: schema: type: array - items: *226 + items: *227 examples: default: value: @@ -79419,8 +79494,8 @@ paths: category: repos subcategory: rules parameters: - - *254 - *255 + - *256 requestBody: description: Request body required: true @@ -79440,16 +79515,16 @@ paths: - tag - push default: branch - enforcement: *222 + enforcement: *223 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *223 - conditions: *220 + items: *224 + conditions: *221 rules: type: array description: An array of rules within the ruleset. - items: *225 + items: *226 required: - name - enforcement @@ -79480,9 +79555,9 @@ paths: description: Response content: application/json: - schema: *226 + schema: *227 examples: - default: &539 + default: &540 value: id: 42 name: super cool ruleset @@ -79529,12 +79604,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *254 - *255 - - *530 + - *256 - *531 - *532 - *533 + - *534 - *18 - *20 responses: @@ -79542,9 +79617,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *535 examples: - default: *535 + default: *536 '404': *7 '500': *41 x-github: @@ -79565,17 +79640,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *254 - *255 - - *536 + - *256 + - *537 responses: '200': description: Response content: application/json: - schema: *537 + schema: *538 examples: - default: *538 + default: *539 '404': *7 '500': *41 x-github: @@ -79603,8 +79678,8 @@ paths: category: repos subcategory: rules parameters: - - *254 - *255 + - *256 - name: ruleset_id description: The ID of the ruleset. in: path @@ -79624,9 +79699,9 @@ paths: description: Response content: application/json: - schema: *226 + schema: *227 examples: - default: *539 + default: *540 '404': *7 '500': *41 put: @@ -79644,8 +79719,8 @@ paths: category: repos subcategory: rules parameters: - - *254 - *255 + - *256 - name: ruleset_id description: The ID of the ruleset. in: path @@ -79670,16 +79745,16 @@ paths: - branch - tag - push - enforcement: *222 + enforcement: *223 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *223 - conditions: *220 + items: *224 + conditions: *221 rules: description: An array of rules within the ruleset. type: array - items: *225 + items: *226 examples: default: value: @@ -79707,9 +79782,9 @@ paths: description: Response content: application/json: - schema: *226 + schema: *227 examples: - default: *539 + default: *540 '404': *7 '500': *41 delete: @@ -79727,8 +79802,8 @@ paths: category: repos subcategory: rules parameters: - - *254 - *255 + - *256 - name: ruleset_id description: The ID of the ruleset. in: path @@ -79756,20 +79831,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *254 - *255 - - *228 + - *256 - *229 - *230 - *231 + - *232 - *42 - *20 - *18 - - *540 - *541 - - *232 + - *542 - *233 - *234 + - *235 responses: '200': description: Response @@ -79777,7 +79852,7 @@ paths: application/json: schema: type: array - items: &544 + items: &545 type: object properties: number: *48 @@ -79796,8 +79871,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *542 - resolution: *543 + state: *543 + resolution: *544 resolved_at: type: string format: date-time @@ -80003,15 +80078,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *254 - *255 - - *354 + - *256 + - *355 responses: '200': description: Response content: application/json: - schema: *544 + schema: *545 examples: default: value: @@ -80062,9 +80137,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *254 - *255 - - *354 + - *256 + - *355 requestBody: required: true content: @@ -80072,8 +80147,8 @@ paths: schema: type: object properties: - state: *542 - resolution: *543 + state: *543 + resolution: *544 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -80091,7 +80166,7 @@ paths: description: Response content: application/json: - schema: *544 + schema: *545 examples: default: value: @@ -80165,9 +80240,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *254 - *255 - - *354 + - *256 + - *355 - *20 - *18 responses: @@ -80178,7 +80253,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &677 + items: &678 type: object properties: type: @@ -80537,8 +80612,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -80546,14 +80621,14 @@ paths: schema: type: object properties: - reason: &546 + reason: &547 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *545 + placeholder_id: *546 required: - reason - placeholder_id @@ -80570,7 +80645,7 @@ paths: schema: type: object properties: - reason: *546 + reason: *547 expire_at: type: string format: date-time @@ -80613,8 +80688,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: - - *254 - *255 + - *256 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -80629,7 +80704,7 @@ paths: properties: incremental_scans: type: array - items: &547 + items: &548 description: Information on a single scan performed by secret scanning on the repository type: object @@ -80639,29 +80714,31 @@ 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 format: date-time description: The time that the scan was completed. Empty - if the scan is active + if the scan is running nullable: true started_at: type: string 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 + nullable: true pattern_update_scans: type: array - items: *547 + items: *548 backfill_scans: type: array - items: *547 + items: *548 custom_pattern_backfill_scans: type: array items: allOf: - - *547 + - *548 - type: object properties: pattern_name: @@ -80731,8 +80808,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *254 - *255 + - *256 - *42 - name: sort description: The property to sort the results by. @@ -80776,9 +80853,9 @@ paths: application/json: schema: type: array - items: *548 + items: *549 examples: - default: *549 + default: *550 '400': *15 '404': *7 x-github: @@ -80801,8 +80878,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -80875,7 +80952,7 @@ paths: login: type: string description: The username of the user credited. - type: *237 + type: *238 required: - login - type @@ -80962,9 +81039,9 @@ paths: description: Response content: application/json: - schema: *548 + schema: *549 examples: - default: &551 + default: &552 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -81197,8 +81274,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -81302,7 +81379,7 @@ paths: description: Response content: application/json: - schema: *548 + schema: *549 examples: default: value: @@ -81449,17 +81526,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *254 - *255 - - *550 + - *256 + - *551 responses: '200': description: Response content: application/json: - schema: *548 + schema: *549 examples: - default: *551 + default: *552 '403': *29 '404': *7 x-github: @@ -81483,9 +81560,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *254 - *255 - - *550 + - *256 + - *551 requestBody: required: true content: @@ -81558,7 +81635,7 @@ paths: login: type: string description: The username of the user credited. - type: *237 + type: *238 required: - login - type @@ -81644,10 +81721,10 @@ paths: description: Response content: application/json: - schema: *548 + schema: *549 examples: - default: *551 - add_credit: *551 + default: *552 + add_credit: *552 '403': *29 '404': *7 '422': @@ -81685,9 +81762,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: - - *254 - *255 - - *550 + - *256 + - *551 responses: '202': *99 '400': *15 @@ -81714,17 +81791,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *254 - *255 - - *550 + - *256 + - *551 responses: '202': description: Response content: application/json: - schema: *265 + schema: *266 examples: - default: *267 + default: *268 '400': *15 '422': *16 '403': *29 @@ -81750,8 +81827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -81850,8 +81927,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *254 - *255 + - *256 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -81860,7 +81937,7 @@ paths: application/json: schema: type: array - items: &552 + items: &553 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -81873,7 +81950,7 @@ paths: - 1124 - -435 '202': *99 - '204': *137 + '204': *138 '422': description: Repository contains more than 10,000 commits x-github: @@ -81893,8 +81970,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *254 - *255 + - *256 responses: '200': description: Response @@ -81943,7 +82020,7 @@ paths: total: 89 week: 1336280400 '202': *99 - '204': *137 + '204': *138 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81970,8 +82047,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *254 - *255 + - *256 responses: '200': description: Response @@ -82045,7 +82122,7 @@ paths: d: 77 c: 10 '202': *99 - '204': *137 + '204': *138 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82067,8 +82144,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *254 - *255 + - *256 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -82222,8 +82299,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *254 - *255 + - *256 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -82233,7 +82310,7 @@ paths: application/json: schema: type: array - items: *552 + items: *553 examples: default: value: @@ -82246,7 +82323,7 @@ paths: - - 0 - 2 - 21 - '204': *137 + '204': *138 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82266,8 +82343,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *254 - *255 + - *256 - name: sha in: path required: true @@ -82321,7 +82398,7 @@ paths: description: Response content: application/json: - schema: *553 + schema: *554 examples: default: value: @@ -82375,8 +82452,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -82388,7 +82465,7 @@ paths: type: array items: *19 examples: - default: *183 + default: *184 headers: Link: *39 x-github: @@ -82408,14 +82485,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *254 - *255 + - *256 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &554 + schema: &555 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -82483,8 +82560,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *254 - *255 + - *256 requestBody: required: false content: @@ -82510,7 +82587,7 @@ paths: description: Response content: application/json: - schema: *554 + schema: *555 examples: default: value: @@ -82537,8 +82614,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *254 - *255 + - *256 responses: '204': description: Response @@ -82558,8 +82635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -82638,8 +82715,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *254 - *255 + - *256 responses: '200': description: Response @@ -82647,7 +82724,7 @@ paths: application/json: schema: type: array - items: &555 + items: &556 title: Tag protection description: Tag protection type: object @@ -82699,8 +82776,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: - - *254 - *255 + - *256 requestBody: required: true content: @@ -82723,7 +82800,7 @@ paths: description: Response content: application/json: - schema: *555 + schema: *556 examples: default: value: @@ -82754,8 +82831,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: - - *254 - *255 + - *256 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -82792,8 +82869,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *254 - *255 + - *256 - name: ref in: path required: true @@ -82829,8 +82906,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -82840,9 +82917,9 @@ paths: application/json: schema: type: array - items: *180 + items: *181 examples: - default: *197 + default: *198 headers: Link: *39 '404': *7 @@ -82862,8 +82939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *254 - *255 + - *256 - *20 - *18 responses: @@ -82871,7 +82948,7 @@ paths: description: Response content: application/json: - schema: &556 + schema: &557 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -82883,7 +82960,7 @@ paths: required: - names examples: - default: &557 + default: &558 value: names: - octocat @@ -82906,8 +82983,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -82938,9 +83015,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: - default: *557 + default: *558 '404': *7 '422': *8 x-github: @@ -82961,9 +83038,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *254 - *255 - - &558 + - *256 + - &559 name: per description: The time frame to display results for. in: query @@ -82992,7 +83069,7 @@ paths: example: 128 clones: type: array - items: &559 + items: &560 title: Traffic type: object properties: @@ -83079,8 +83156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *254 - *255 + - *256 responses: '200': description: Response @@ -83170,8 +83247,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *254 - *255 + - *256 responses: '200': description: Response @@ -83231,9 +83308,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *254 - *255 - - *558 + - *256 + - *559 responses: '200': description: Response @@ -83252,7 +83329,7 @@ paths: example: 3782 views: type: array - items: *559 + items: *560 required: - uniques - count @@ -83329,8 +83406,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -83604,8 +83681,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *254 - *255 + - *256 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -83628,8 +83705,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *254 - *255 + - *256 responses: '204': description: Response @@ -83651,8 +83728,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *254 - *255 + - *256 responses: '204': description: Response @@ -83678,8 +83755,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *254 - *255 + - *256 - name: ref in: path required: true @@ -83771,9 +83848,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *266 examples: - default: *267 + default: *268 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -84021,7 +84098,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &560 + text_matches: &561 title: Search Result Text Matches type: array items: @@ -84183,7 +84260,7 @@ paths: enum: - author-date - committer-date - - &561 + - &562 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 @@ -84254,7 +84331,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *320 + properties: *321 nullable: true comment_count: type: integer @@ -84274,7 +84351,7 @@ paths: url: type: string format: uri - verification: *434 + verification: *435 required: - author - committer @@ -84293,7 +84370,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *320 + properties: *321 nullable: true parents: type: array @@ -84311,7 +84388,7 @@ paths: type: number node_id: type: string - text_matches: *560 + text_matches: *561 required: - sha - node_id @@ -84503,7 +84580,7 @@ paths: - interactions - created - updated - - *561 + - *562 - *18 - *20 responses: @@ -84622,8 +84699,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *386 - required: *387 + properties: *387 + required: *388 nullable: true comments: type: integer @@ -84637,7 +84714,7 @@ paths: type: string format: date-time nullable: true - text_matches: *560 + text_matches: *561 pull_request: type: object properties: @@ -84861,7 +84938,7 @@ paths: enum: - created - updated - - *561 + - *562 - *18 - *20 responses: @@ -84905,7 +84982,7 @@ paths: nullable: true score: type: number - text_matches: *560 + text_matches: *561 required: - id - node_id @@ -84990,7 +85067,7 @@ paths: - forks - help-wanted-issues - updated - - *561 + - *562 - *18 - *20 responses: @@ -85229,7 +85306,7 @@ paths: - admin - pull - push - text_matches: *560 + text_matches: *561 temp_clone_token: type: string allow_merge_commit: @@ -85529,7 +85606,7 @@ paths: type: string format: uri nullable: true - text_matches: *560 + text_matches: *561 related: type: array nullable: true @@ -85720,7 +85797,7 @@ paths: - followers - repositories - joined - - *561 + - *562 - *18 - *20 responses: @@ -85824,7 +85901,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *560 + text_matches: *561 blog: type: string nullable: true @@ -85903,7 +85980,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &562 + - &563 name: team_id description: The unique identifier of the team. in: path @@ -85915,9 +85992,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *240 examples: - default: *240 + default: *241 '404': *7 x-github: githubCloudOnly: false @@ -85944,7 +86021,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *562 + - *563 requestBody: required: true content: @@ -86007,16 +86084,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *239 + schema: *240 examples: - default: *240 + default: *241 '201': description: Response content: application/json: - schema: *239 + schema: *240 examples: - default: *240 + default: *241 '404': *7 '422': *16 '403': *29 @@ -86044,7 +86121,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *562 + - *563 responses: '204': description: Response @@ -86075,7 +86152,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *562 + - *563 - *42 - *18 - *20 @@ -86086,9 +86163,9 @@ paths: application/json: schema: type: array - items: *241 + items: *242 examples: - default: *563 + default: *564 headers: Link: *39 x-github: @@ -86117,7 +86194,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *562 + - *563 requestBody: required: true content: @@ -86151,9 +86228,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *242 examples: - default: *242 + default: *243 x-github: triggersNotification: true githubCloudOnly: false @@ -86180,16 +86257,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *562 - - *243 + - *563 + - *244 responses: '200': description: Response content: application/json: - schema: *241 + schema: *242 examples: - default: *242 + default: *243 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86214,8 +86291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *562 - - *243 + - *563 + - *244 requestBody: required: false content: @@ -86238,9 +86315,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *242 examples: - default: *564 + default: *565 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86265,8 +86342,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *562 - - *243 + - *563 + - *244 responses: '204': description: Response @@ -86295,8 +86372,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *562 - - *243 + - *563 + - *244 - *42 - *18 - *20 @@ -86307,9 +86384,9 @@ paths: application/json: schema: type: array - items: *244 + items: *245 examples: - default: *565 + default: *566 headers: Link: *39 x-github: @@ -86338,8 +86415,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *562 - - *243 + - *563 + - *244 requestBody: required: true content: @@ -86361,9 +86438,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: - default: *245 + default: *246 x-github: triggersNotification: true githubCloudOnly: false @@ -86390,17 +86467,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *562 - - *243 - - *246 + - *563 + - *244 + - *247 responses: '200': description: Response content: application/json: - schema: *244 + schema: *245 examples: - default: *245 + default: *246 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86425,9 +86502,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *562 - - *243 - - *246 + - *563 + - *244 + - *247 requestBody: required: true content: @@ -86449,9 +86526,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: - default: *566 + default: *567 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86476,9 +86553,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *562 - - *243 - - *246 + - *563 + - *244 + - *247 responses: '204': description: Response @@ -86507,9 +86584,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *562 - - *243 - - *246 + - *563 + - *244 + - *247 - 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. @@ -86535,9 +86612,9 @@ paths: application/json: schema: type: array - items: *247 + items: *248 examples: - default: *249 + default: *250 headers: Link: *39 x-github: @@ -86566,9 +86643,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *562 - - *243 - - *246 + - *563 + - *244 + - *247 requestBody: required: true content: @@ -86600,9 +86677,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86628,8 +86705,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *562 - - *243 + - *563 + - *244 - 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. @@ -86655,9 +86732,9 @@ paths: application/json: schema: type: array - items: *247 + items: *248 examples: - default: *249 + default: *250 headers: Link: *39 x-github: @@ -86686,8 +86763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *562 - - *243 + - *563 + - *244 requestBody: required: true content: @@ -86719,9 +86796,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -86745,7 +86822,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *562 + - *563 - *18 - *20 responses: @@ -86755,9 +86832,9 @@ paths: application/json: schema: type: array - items: *177 + items: *178 examples: - default: *178 + default: *179 headers: Link: *39 x-github: @@ -86783,7 +86860,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *562 + - *563 - name: role description: Filters members returned by their role in the team. in: query @@ -86806,7 +86883,7 @@ paths: type: array items: *19 examples: - default: *183 + default: *184 headers: Link: *39 '404': *7 @@ -86834,7 +86911,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *562 + - *563 - *126 responses: '204': @@ -86871,7 +86948,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *562 + - *563 - *126 responses: '204': @@ -86911,7 +86988,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *562 + - *563 - *126 responses: '204': @@ -86948,16 +87025,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *562 + - *563 - *126 responses: '200': description: Response content: application/json: - schema: *251 + schema: *252 examples: - response-if-user-is-a-team-maintainer: *567 + response-if-user-is-a-team-maintainer: *568 '404': *7 x-github: githubCloudOnly: false @@ -86990,7 +87067,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *562 + - *563 - *126 requestBody: required: false @@ -87016,9 +87093,9 @@ paths: description: Response content: application/json: - schema: *251 + schema: *252 examples: - response-if-users-membership-with-team-is-now-pending: *568 + response-if-users-membership-with-team-is-now-pending: *569 '403': description: Forbidden if team synchronization is set up '422': @@ -87052,7 +87129,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *562 + - *563 - *126 responses: '204': @@ -87082,7 +87159,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *562 + - *563 - *18 - *20 responses: @@ -87092,9 +87169,9 @@ paths: application/json: schema: type: array - items: *252 + items: *253 examples: - default: *569 + default: *570 headers: Link: *39 '404': *7 @@ -87121,16 +87198,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *562 - - *253 + - *563 + - *254 responses: '200': description: Response content: application/json: - schema: *252 + schema: *253 examples: - default: *570 + default: *571 '404': description: Not Found if project is not managed by this team x-github: @@ -87155,8 +87232,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *562 - - *253 + - *563 + - *254 requestBody: required: false content: @@ -87224,8 +87301,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *562 - - *253 + - *563 + - *254 responses: '204': description: Response @@ -87252,7 +87329,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *562 + - *563 - *18 - *20 responses: @@ -87264,7 +87341,7 @@ paths: type: array items: *113 examples: - default: *204 + default: *205 headers: Link: *39 '404': *7 @@ -87294,15 +87371,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *562 - - *254 + - *563 - *255 + - *256 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *571 + schema: *572 examples: alternative-response-with-extra-repository-information: value: @@ -87453,9 +87530,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *562 - - *254 + - *563 - *255 + - *256 requestBody: required: false content: @@ -87505,9 +87582,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *562 - - *254 + - *563 - *255 + - *256 responses: '204': description: Response @@ -87532,7 +87609,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *562 + - *563 - *18 - *20 responses: @@ -87542,9 +87619,9 @@ paths: application/json: schema: type: array - items: *180 + items: *181 examples: - response-if-child-teams-exist: *572 + response-if-child-teams-exist: *573 headers: Link: *39 '404': *7 @@ -87577,7 +87654,7 @@ paths: application/json: schema: oneOf: - - &574 + - &575 title: Private User description: Private User type: object @@ -87780,7 +87857,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *573 + - *574 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -87933,7 +88010,7 @@ paths: description: Response content: application/json: - schema: *574 + schema: *575 examples: default: value: @@ -88012,7 +88089,7 @@ paths: type: array items: *19 examples: - default: *183 + default: *184 '304': *37 '404': *7 '403': *29 @@ -88136,9 +88213,9 @@ paths: type: integer codespaces: type: array - items: *184 + items: *185 examples: - default: *185 + default: *186 '304': *37 '500': *41 '401': *25 @@ -88277,17 +88354,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *184 + schema: *185 examples: - default: *371 + default: *372 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *184 + schema: *185 examples: - default: *371 + default: *372 '401': *25 '403': *29 '404': *7 @@ -88331,7 +88408,7 @@ paths: type: integer secrets: type: array - items: &575 + items: &576 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -88371,7 +88448,7 @@ paths: - visibility - selected_repositories_url examples: - default: *374 + default: *375 headers: Link: *39 x-github: @@ -88447,7 +88524,7 @@ paths: description: Response content: application/json: - schema: *575 + schema: *576 examples: default: value: @@ -88593,7 +88670,7 @@ paths: type: array items: *113 examples: - default: *576 + default: *577 '401': *25 '403': *29 '404': *7 @@ -88737,15 +88814,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *186 + - *187 responses: '200': description: Response content: application/json: - schema: *184 + schema: *185 examples: - default: *371 + default: *372 '304': *37 '500': *41 '401': *25 @@ -88771,7 +88848,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *186 + - *187 requestBody: required: false content: @@ -88801,9 +88878,9 @@ paths: description: Response content: application/json: - schema: *184 + schema: *185 examples: - default: *371 + default: *372 '401': *25 '403': *29 '404': *7 @@ -88825,7 +88902,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *186 + - *187 responses: '202': *99 '304': *37 @@ -88854,13 +88931,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *186 + - *187 responses: '202': description: Response content: application/json: - schema: &577 + schema: &578 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -88901,7 +88978,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &578 + default: &579 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -88933,7 +89010,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *186 + - *187 - name: export_id in: path required: true @@ -88946,9 +89023,9 @@ paths: description: Response content: application/json: - schema: *577 + schema: *578 examples: - default: *578 + default: *579 '404': *7 x-github: githubCloudOnly: false @@ -88969,7 +89046,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *186 + - *187 responses: '200': description: Response @@ -88985,9 +89062,9 @@ paths: type: integer machines: type: array - items: *579 + items: *580 examples: - default: *580 + default: *581 '304': *37 '500': *41 '401': *25 @@ -89016,7 +89093,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *186 + - *187 requestBody: required: true content: @@ -89066,13 +89143,13 @@ paths: nullable: true owner: *19 billable_owner: *19 - repository: *265 + repository: *266 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *372 - required: *373 + properties: *373 + required: *374 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -89846,15 +89923,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *186 + - *187 responses: '200': description: Response content: application/json: - schema: *184 + schema: *185 examples: - default: *371 + default: *372 '304': *37 '500': *41 '400': *15 @@ -89886,15 +89963,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *186 + - *187 responses: '200': description: Response content: application/json: - schema: *184 + schema: *185 examples: - default: *371 + default: *372 '500': *41 '401': *25 '403': *29 @@ -89924,9 +90001,9 @@ paths: application/json: schema: type: array - items: *198 + items: *199 examples: - default: &593 + default: &594 value: - id: 197 name: hello_docker @@ -90027,7 +90104,7 @@ paths: application/json: schema: type: array - items: &581 + items: &582 title: Email description: Email type: object @@ -90092,9 +90169,9 @@ paths: application/json: schema: type: array - items: *581 + items: *582 examples: - default: &595 + default: &596 value: - email: octocat@github.com verified: true @@ -90169,7 +90246,7 @@ paths: application/json: schema: type: array - items: *581 + items: *582 examples: default: value: @@ -90279,7 +90356,7 @@ paths: type: array items: *19 examples: - default: *183 + default: *184 headers: Link: *39 '304': *37 @@ -90312,7 +90389,7 @@ paths: type: array items: *19 examples: - default: *183 + default: *184 headers: Link: *39 '304': *37 @@ -90425,7 +90502,7 @@ paths: application/json: schema: type: array - items: &582 + items: &583 title: GPG Key description: A unique encryption key type: object @@ -90556,7 +90633,7 @@ paths: - subkeys - revoked examples: - default: &606 + default: &607 value: - id: 3 name: Octocat's GPG Key @@ -90641,9 +90718,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *583 examples: - default: &583 + default: &584 value: id: 3 name: Octocat's GPG Key @@ -90700,7 +90777,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &584 + - &585 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -90712,9 +90789,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *583 examples: - default: *583 + default: *584 '404': *7 '304': *37 '403': *29 @@ -90737,7 +90814,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *584 + - *585 responses: '204': description: Response @@ -90928,7 +91005,7 @@ paths: type: array items: *58 examples: - default: *585 + default: *586 headers: Link: *39 '404': *7 @@ -91013,12 +91090,12 @@ paths: application/json: schema: anyOf: - - *175 + - *176 - type: object properties: {} additionalProperties: false examples: - default: *176 + default: *177 '204': description: Response when there are no restrictions x-github: @@ -91042,7 +91119,7 @@ paths: required: true content: application/json: - schema: *445 + schema: *446 examples: default: value: @@ -91053,7 +91130,7 @@ paths: description: Response content: application/json: - schema: *175 + schema: *176 examples: default: value: @@ -91134,7 +91211,7 @@ paths: - closed - all default: open - - *181 + - *182 - name: sort description: What to sort results by. in: query @@ -91159,7 +91236,7 @@ paths: type: array items: *75 examples: - default: *182 + default: *183 headers: Link: *39 '404': *7 @@ -91192,7 +91269,7 @@ paths: application/json: schema: type: array - items: &586 + items: &587 title: Key description: Key type: object @@ -91289,9 +91366,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *587 examples: - default: &587 + default: &588 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -91324,15 +91401,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *474 + - *475 responses: '200': description: Response content: application/json: - schema: *586 + schema: *587 examples: - default: *587 + default: *588 '404': *7 '304': *37 '403': *29 @@ -91355,7 +91432,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *474 + - *475 responses: '204': description: Response @@ -91388,7 +91465,7 @@ paths: application/json: schema: type: array - items: &588 + items: &589 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -91456,7 +91533,7 @@ paths: - account - plan examples: - default: &589 + default: &590 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -91518,9 +91595,9 @@ paths: application/json: schema: type: array - items: *588 + items: *589 examples: - default: *589 + default: *590 headers: Link: *39 '304': *37 @@ -91560,7 +91637,7 @@ paths: application/json: schema: type: array - items: *188 + items: *189 examples: default: value: @@ -91668,7 +91745,7 @@ paths: description: Response content: application/json: - schema: *188 + schema: *189 examples: default: value: @@ -91751,7 +91828,7 @@ paths: description: Response content: application/json: - schema: *188 + schema: *189 examples: default: value: @@ -91819,7 +91896,7 @@ paths: application/json: schema: type: array - items: *190 + items: *191 examples: default: value: @@ -92072,7 +92149,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *191 examples: default: value: @@ -92252,7 +92329,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *191 + - *192 - name: exclude in: query required: false @@ -92265,7 +92342,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *191 examples: default: value: @@ -92459,7 +92536,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *191 + - *192 responses: '302': description: Response @@ -92485,7 +92562,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *191 + - *192 responses: '204': description: Response @@ -92514,8 +92591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *191 - - *590 + - *192 + - *591 responses: '204': description: Response @@ -92539,7 +92616,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *191 + - *192 - *18 - *20 responses: @@ -92551,7 +92628,7 @@ paths: type: array items: *113 examples: - default: *204 + default: *205 headers: Link: *39 '404': *7 @@ -92586,9 +92663,9 @@ paths: application/json: schema: type: array - items: *187 + items: *188 examples: - default: *591 + default: *592 headers: Link: *39 '304': *37 @@ -92630,7 +92707,7 @@ paths: - docker - nuget - container - - *592 + - *593 - *20 - *18 responses: @@ -92640,10 +92717,10 @@ paths: application/json: schema: type: array - items: *198 + items: *199 examples: - default: *593 - '400': *594 + default: *594 + '400': *595 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92663,16 +92740,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *200 - *201 + - *202 responses: '200': description: Response content: application/json: - schema: *198 + schema: *199 examples: - default: &607 + default: &608 value: id: 40201 name: octo-name @@ -92785,8 +92862,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *200 - *201 + - *202 responses: '204': description: Response @@ -92816,8 +92893,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *200 - *201 + - *202 - name: token description: package token schema: @@ -92849,8 +92926,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: - - *200 - *201 + - *202 - *20 - *18 - name: state @@ -92870,7 +92947,7 @@ paths: application/json: schema: type: array - items: *202 + items: *203 examples: default: value: @@ -92919,15 +92996,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *200 - *201 - - *203 + - *202 + - *204 responses: '200': description: Response content: application/json: - schema: *202 + schema: *203 examples: default: value: @@ -92963,9 +93040,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *200 - *201 - - *203 + - *202 + - *204 responses: '204': description: Response @@ -92995,9 +93072,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *200 - *201 - - *203 + - *202 + - *204 responses: '204': description: Response @@ -93053,7 +93130,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *212 examples: default: value: @@ -93122,9 +93199,9 @@ paths: application/json: schema: type: array - items: *581 + items: *582 examples: - default: *595 + default: *596 headers: Link: *39 '304': *37 @@ -93237,7 +93314,7 @@ paths: type: array items: *58 examples: - default: &602 + default: &603 summary: Default response value: - id: 1296269 @@ -93539,9 +93616,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *266 examples: - default: *267 + default: *268 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -93579,9 +93656,9 @@ paths: application/json: schema: type: array - items: *447 + items: *448 examples: - default: *596 + default: *597 headers: Link: *39 '304': *37 @@ -93604,7 +93681,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *179 + - *180 responses: '204': description: Response @@ -93627,7 +93704,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *179 + - *180 responses: '204': description: Response @@ -93660,7 +93737,7 @@ paths: application/json: schema: type: array - items: &597 + items: &598 title: Social account description: Social media account type: object @@ -93675,7 +93752,7 @@ paths: - provider - url examples: - default: &598 + default: &599 value: - provider: twitter url: https://twitter.com/github @@ -93737,9 +93814,9 @@ paths: application/json: schema: type: array - items: *597 + items: *598 examples: - default: *598 + default: *599 '422': *16 '304': *37 '404': *7 @@ -93826,7 +93903,7 @@ paths: application/json: schema: type: array - items: &599 + items: &600 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -93846,7 +93923,7 @@ paths: - title - created_at examples: - default: &614 + default: &615 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -93912,9 +93989,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *600 examples: - default: &600 + default: &601 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -93945,7 +94022,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: - - &601 + - &602 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -93957,9 +94034,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *600 examples: - default: *600 + default: *601 '404': *7 '304': *37 '403': *29 @@ -93982,7 +94059,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: - - *601 + - *602 responses: '204': description: Response @@ -94011,7 +94088,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &615 + - &616 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 @@ -94036,11 +94113,11 @@ paths: type: array items: *58 examples: - default-response: *602 + default-response: *603 application/vnd.github.v3.star+json: schema: type: array - items: &616 + items: &617 title: Starred Repository description: Starred Repository type: object @@ -94196,8 +94273,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: - - *254 - *255 + - *256 responses: '204': description: Response if this repository is starred by you @@ -94225,8 +94302,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *254 - *255 + - *256 responses: '204': description: Response @@ -94250,8 +94327,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *254 - *255 + - *256 responses: '204': description: Response @@ -94286,7 +94363,7 @@ paths: type: array items: *113 examples: - default: *204 + default: *205 headers: Link: *39 '304': *37 @@ -94323,7 +94400,7 @@ paths: application/json: schema: type: array - items: *239 + items: *240 examples: default: value: @@ -94407,10 +94484,10 @@ paths: application/json: schema: oneOf: + - *575 - *574 - - *573 examples: - default-response: &604 + default-response: &605 summary: Default response value: login: octocat @@ -94445,7 +94522,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &605 + response-with-git-hub-plan-information: &606 summary: Response with GitHub plan information value: login: octocat @@ -94505,7 +94582,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *603 + - *604 - *18 responses: '200': @@ -94516,7 +94593,7 @@ paths: type: array items: *19 examples: - default: *183 + default: *184 headers: Link: example: ; rel="next" @@ -94552,11 +94629,11 @@ paths: application/json: schema: oneOf: + - *575 - *574 - - *573 examples: - default-response: *604 - response-with-git-hub-plan-information: *605 + default-response: *605 + response-with-git-hub-plan-information: *606 '404': *7 x-github: githubCloudOnly: false @@ -94716,9 +94793,9 @@ paths: application/json: schema: type: array - items: *198 + items: *199 examples: - default: *593 + default: *594 '403': *29 '401': *25 x-github: @@ -95001,7 +95078,7 @@ paths: type: array items: *19 examples: - default: *183 + default: *184 headers: Link: *39 x-github: @@ -95032,7 +95109,7 @@ paths: type: array items: *19 examples: - default: *183 + default: *184 headers: Link: *39 x-github: @@ -95122,9 +95199,9 @@ paths: application/json: schema: type: array - items: *582 + items: *583 examples: - default: *606 + default: *607 headers: Link: *39 x-github: @@ -95228,7 +95305,7 @@ paths: application/json: schema: *22 examples: - default: *444 + default: *445 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95304,9 +95381,9 @@ paths: application/json: schema: type: array - items: *187 + items: *188 examples: - default: *591 + default: *592 headers: Link: *39 x-github: @@ -95345,7 +95422,7 @@ paths: - docker - nuget - container - - *592 + - *593 - *126 - *20 - *18 @@ -95356,12 +95433,12 @@ paths: application/json: schema: type: array - items: *198 + items: *199 examples: - default: *593 + default: *594 '403': *29 '401': *25 - '400': *594 + '400': *595 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95381,17 +95458,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *200 - *201 + - *202 - *126 responses: '200': description: Response content: application/json: - schema: *198 + schema: *199 examples: - default: *607 + default: *608 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95412,8 +95489,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *200 - *201 + - *202 - *126 responses: '204': @@ -95446,8 +95523,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *200 - *201 + - *202 - *126 - name: token description: package token @@ -95480,8 +95557,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: - - *200 - *201 + - *202 - *126 responses: '200': @@ -95490,7 +95567,7 @@ paths: application/json: schema: type: array - items: *202 + items: *203 examples: default: value: @@ -95548,16 +95625,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *200 - *201 - - *203 + - *202 + - *204 - *126 responses: '200': description: Response content: application/json: - schema: *202 + schema: *203 examples: default: value: @@ -95592,10 +95669,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *200 - *201 + - *202 - *126 - - *203 + - *204 responses: '204': description: Response @@ -95627,10 +95704,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *200 - *201 + - *202 - *126 - - *203 + - *204 responses: '204': description: Response @@ -95674,7 +95751,7 @@ paths: application/json: schema: type: array - items: *211 + items: *212 examples: default: value: @@ -95954,7 +96031,7 @@ paths: type: array items: *113 examples: - default: *204 + default: *205 headers: Link: *39 x-github: @@ -95984,9 +96061,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *609 examples: - default: *609 + default: *610 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96014,9 +96091,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *611 examples: - default: *611 + default: *612 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96044,9 +96121,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *613 examples: - default: *613 + default: *614 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96074,9 +96151,9 @@ paths: application/json: schema: type: array - items: *597 + items: *598 examples: - default: *598 + default: *599 headers: Link: *39 x-github: @@ -96106,9 +96183,9 @@ paths: application/json: schema: type: array - items: *599 + items: *600 examples: - default: *614 + default: *615 headers: Link: *39 x-github: @@ -96133,7 +96210,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *126 - - *615 + - *616 - *42 - *18 - *20 @@ -96145,11 +96222,11 @@ paths: schema: anyOf: - type: array - items: *616 + items: *617 - type: array items: *58 examples: - default-response: *602 + default-response: *603 headers: Link: *39 x-github: @@ -96180,7 +96257,7 @@ paths: type: array items: *113 examples: - default: *204 + default: *205 headers: Link: *39 x-github: @@ -96308,7 +96385,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &617 + enterprise: &618 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -96366,7 +96443,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &618 + installation: &619 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -96385,7 +96462,7 @@ x-webhooks: required: - id - node_id - organization: &619 + organization: &620 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -96445,13 +96522,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &620 + repository: &621 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &650 + properties: &651 id: description: Unique identifier of the repository example: 42 @@ -97134,7 +97211,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &651 + required: &652 - archive_url - assignees_url - blobs_url @@ -97285,10 +97362,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -97364,11 +97441,11 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 - rule: &621 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 + rule: &622 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) @@ -97591,11 +97668,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 - rule: *621 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 + rule: *622 sender: *19 required: - action @@ -97778,11 +97855,11 @@ x-webhooks: - everyone required: - from - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 - rule: *621 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 + rule: *622 sender: *19 required: - action @@ -97866,7 +97943,7 @@ x-webhooks: type: string enum: - completed - check_run: &623 + check_run: &624 title: CheckRun description: A check performed on the code of a given code change type: object @@ -97929,7 +98006,7 @@ x-webhooks: type: string pull_requests: type: array - items: *333 + items: *334 repository: *113 status: example: completed @@ -97967,7 +98044,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *622 + deployment: *623 details_url: example: https://example.com type: string @@ -98017,7 +98094,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *333 + items: *334 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -98052,9 +98129,9 @@ x-webhooks: - output - app - pull_requests - installation: *618 - organization: *619 - repository: *620 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - check_run @@ -98447,10 +98524,10 @@ x-webhooks: type: string enum: - created - check_run: *623 - installation: *618 - organization: *619 - repository: *620 + check_run: *624 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - check_run @@ -98846,10 +98923,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *623 - installation: *618 - organization: *619 - repository: *620 + check_run: *624 + installation: *619 + organization: *620 + repository: *621 requested_action: description: The action requested by the user. type: object @@ -99254,10 +99331,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *623 - installation: *618 - organization: *619 - repository: *620 + check_run: *624 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - check_run @@ -100234,10 +100311,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -100907,10 +100984,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -101574,10 +101651,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -101877,20 +101954,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &624 + commit_oid: &625 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: *617 - installation: *618 - organization: *619 - ref: &625 + enterprise: *618 + installation: *619 + organization: *620 + ref: &626 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: *620 + repository: *621 sender: *19 required: - action @@ -102208,12 +102285,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *624 - enterprise: *617 - installation: *618 - organization: *619 - ref: *625 - repository: *620 + commit_oid: *625 + enterprise: *618 + installation: *619 + organization: *620 + ref: *626 + repository: *621 sender: *19 required: - action @@ -102308,7 +102385,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *349 + dismissed_comment: *350 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -102470,12 +102547,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *624 - enterprise: *617 - installation: *618 - organization: *619 - ref: *625 - repository: *620 + commit_oid: *625 + enterprise: *618 + installation: *619 + organization: *620 + ref: *626 + repository: *621 sender: *19 required: - action @@ -102796,12 +102873,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *624 - enterprise: *617 - installation: *618 - organization: *619 - ref: *625 - repository: *620 + commit_oid: *625 + enterprise: *618 + installation: *619 + organization: *620 + ref: *626 + repository: *621 sender: *19 required: - action @@ -103058,16 +103135,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 ref: 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 nullable: true - repository: *620 + repository: *621 sender: *19 required: - action @@ -103293,12 +103370,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *624 - enterprise: *617 - installation: *618 - organization: *619 - ref: *625 - repository: *620 + commit_oid: *625 + enterprise: *618 + installation: *619 + organization: *620 + ref: *626 + repository: *621 sender: *19 required: - action @@ -103555,10 +103632,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -103638,18 +103715,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *619 - pusher_type: &626 + organization: *620 + pusher_type: &627 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &627 + ref: &628 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -103659,7 +103736,7 @@ x-webhooks: enum: - tag - branch - repository: *620 + repository: *621 sender: *19 required: - ref @@ -103741,10 +103818,10 @@ x-webhooks: type: string enum: - created - definition: *212 - enterprise: *617 - installation: *618 - organization: *619 + definition: *213 + enterprise: *618 + installation: *619 + organization: *620 sender: *19 required: - action @@ -103829,9 +103906,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 sender: *19 required: - action @@ -103908,10 +103985,10 @@ x-webhooks: type: string enum: - updated - definition: *212 - enterprise: *617 - installation: *618 - organization: *619 + definition: *213 + enterprise: *618 + installation: *619 + organization: *620 sender: *19 required: - action @@ -103988,19 +104065,19 @@ x-webhooks: type: string enum: - updated - enterprise: *617 - installation: *618 - repository: *620 - organization: *619 + enterprise: *618 + installation: *619 + repository: *621 + organization: *620 sender: *19 new_property_values: type: array description: The new custom property values for the repository. - items: *216 + items: *217 old_property_values: type: array description: The old custom property values for the repository. - items: *216 + items: *217 required: - action - repository @@ -104076,18 +104153,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *617 - installation: *618 - organization: *619 - pusher_type: *626 - ref: *627 + enterprise: *618 + installation: *619 + organization: *620 + pusher_type: *627 + ref: *628 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *620 + repository: *621 sender: *19 required: - ref @@ -104171,11 +104248,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *403 - installation: *618 - organization: *619 - enterprise: *617 - repository: *620 + alert: *404 + installation: *619 + organization: *620 + enterprise: *618 + repository: *621 sender: *19 required: - action @@ -104259,11 +104336,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *403 - installation: *618 - organization: *619 - enterprise: *617 - repository: *620 + alert: *404 + installation: *619 + organization: *620 + enterprise: *618 + repository: *621 sender: *19 required: - action @@ -104347,11 +104424,11 @@ x-webhooks: type: string enum: - created - alert: *403 - installation: *618 - organization: *619 - enterprise: *617 - repository: *620 + alert: *404 + installation: *619 + organization: *620 + enterprise: *618 + repository: *621 sender: *19 required: - action @@ -104433,11 +104510,11 @@ x-webhooks: type: string enum: - dismissed - alert: *403 - installation: *618 - organization: *619 - enterprise: *617 - repository: *620 + alert: *404 + installation: *619 + organization: *620 + enterprise: *618 + repository: *621 sender: *19 required: - action @@ -104519,11 +104596,11 @@ x-webhooks: type: string enum: - fixed - alert: *403 - installation: *618 - organization: *619 - enterprise: *617 - repository: *620 + alert: *404 + installation: *619 + organization: *620 + enterprise: *618 + repository: *621 sender: *19 required: - action @@ -104606,11 +104683,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *403 - installation: *618 - organization: *619 - enterprise: *617 - repository: *620 + alert: *404 + installation: *619 + organization: *620 + enterprise: *618 + repository: *621 sender: *19 required: - action @@ -104692,11 +104769,11 @@ x-webhooks: type: string enum: - reopened - alert: *403 - installation: *618 - organization: *619 - enterprise: *617 - repository: *620 + alert: *404 + installation: *619 + organization: *620 + enterprise: *618 + repository: *621 sender: *19 required: - action @@ -104773,9 +104850,9 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - key: &628 + enterprise: *618 + installation: *619 + key: &629 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -104811,8 +104888,8 @@ x-webhooks: - verified - created_at - read_only - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -104889,11 +104966,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - key: *628 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + key: *629 + organization: *620 + repository: *621 sender: *19 required: - action @@ -105454,12 +105531,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 - workflow: &632 + workflow: &633 title: Workflow type: object nullable: true @@ -106185,13 +106262,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *409 + deployment: *410 pull_requests: type: array - items: *494 - repository: *620 - organization: *619 - installation: *618 + items: *495 + repository: *621 + organization: *620 + installation: *619 sender: *19 responses: '200': @@ -106262,7 +106339,7 @@ x-webhooks: type: string enum: - approved - approver: &629 + approver: &630 type: object properties: avatar_url: @@ -106305,11 +106382,11 @@ x-webhooks: type: string comment: type: string - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 - reviewers: &630 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 + reviewers: &631 type: array items: type: object @@ -106388,7 +106465,7 @@ x-webhooks: sender: *19 since: type: string - workflow_job_run: &631 + workflow_job_run: &632 type: object properties: conclusion: @@ -107119,18 +107196,18 @@ x-webhooks: type: string enum: - rejected - approver: *629 + approver: *630 comment: type: string - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 - reviewers: *630 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 + reviewers: *631 sender: *19 since: type: string - workflow_job_run: *631 + workflow_job_run: *632 workflow_job_runs: type: array items: @@ -107834,13 +107911,13 @@ x-webhooks: type: string enum: - requested - enterprise: *617 + enterprise: *618 environment: type: string - installation: *618 - organization: *619 - repository: *620 - requestor: &637 + installation: *619 + organization: *620 + repository: *621 + requestor: &638 title: User type: object nullable: true @@ -109739,12 +109816,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 - workflow: *632 + workflow: *633 workflow_run: title: Deployment Workflow Run type: object @@ -110424,7 +110501,7 @@ x-webhooks: type: string enum: - answered - answer: &635 + answer: &636 type: object properties: author_association: @@ -110581,7 +110658,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &633 + discussion: &634 title: Discussion description: A Discussion in a repository. type: object @@ -110867,7 +110944,7 @@ x-webhooks: - id labels: type: array - items: *456 + items: *457 required: - repository_url - category @@ -110889,10 +110966,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -111019,11 +111096,11 @@ x-webhooks: - from required: - category - discussion: *633 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + discussion: *634 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -111106,11 +111183,11 @@ x-webhooks: type: string enum: - closed - discussion: *633 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + discussion: *634 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -111192,7 +111269,7 @@ x-webhooks: type: string enum: - created - comment: &634 + comment: &635 type: object properties: author_association: @@ -111349,11 +111426,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *633 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + discussion: *634 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -111436,12 +111513,12 @@ x-webhooks: type: string enum: - deleted - comment: *634 - discussion: *633 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + comment: *635 + discussion: *634 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -111536,12 +111613,12 @@ x-webhooks: - from required: - body - comment: *634 - discussion: *633 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + comment: *635 + discussion: *634 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -111625,11 +111702,11 @@ x-webhooks: type: string enum: - created - discussion: *633 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + discussion: *634 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -111711,11 +111788,11 @@ x-webhooks: type: string enum: - deleted - discussion: *633 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + discussion: *634 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -111815,11 +111892,11 @@ x-webhooks: type: string required: - from - discussion: *633 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + discussion: *634 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -111901,10 +111978,10 @@ x-webhooks: type: string enum: - labeled - discussion: *633 - enterprise: *617 - installation: *618 - label: &636 + discussion: *634 + enterprise: *618 + installation: *619 + label: &637 title: Label type: object properties: @@ -111936,8 +112013,8 @@ x-webhooks: - color - default - description - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -112020,11 +112097,11 @@ x-webhooks: type: string enum: - locked - discussion: *633 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + discussion: *634 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -112106,11 +112183,11 @@ x-webhooks: type: string enum: - pinned - discussion: *633 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + discussion: *634 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -112192,11 +112269,11 @@ x-webhooks: type: string enum: - reopened - discussion: *633 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + discussion: *634 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -112281,16 +112358,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *633 - new_repository: *620 + new_discussion: *634 + new_repository: *621 required: - new_discussion - new_repository - discussion: *633 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + discussion: *634 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -112373,10 +112450,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *633 - old_answer: *635 - organization: *619 - repository: *620 + discussion: *634 + old_answer: *636 + organization: *620 + repository: *621 sender: *19 required: - action @@ -112458,12 +112535,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *633 - enterprise: *617 - installation: *618 - label: *636 - organization: *619 - repository: *620 + discussion: *634 + enterprise: *618 + installation: *619 + label: *637 + organization: *620 + repository: *621 sender: *19 required: - action @@ -112546,11 +112623,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *633 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + discussion: *634 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -112632,11 +112709,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *633 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + discussion: *634 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -112709,7 +112786,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *617 + enterprise: *618 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -113369,9 +113446,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *618 - organization: *619 - repository: *620 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - forkee @@ -113517,9 +113594,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 pages: description: The pages that were updated. type: array @@ -113556,7 +113633,7 @@ x-webhooks: - action - sha - html_url - repository: *620 + repository: *621 sender: *19 required: - pages @@ -113632,10 +113709,10 @@ x-webhooks: type: string enum: - created - enterprise: *617 + enterprise: *618 installation: *22 - organization: *619 - repositories: &638 + organization: *620 + repositories: &639 description: An array of repository objects that the installation can access. type: array @@ -113661,8 +113738,8 @@ x-webhooks: - name - full_name - private - repository: *620 - requester: *637 + repository: *621 + requester: *638 sender: *19 required: - action @@ -113737,11 +113814,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 + enterprise: *618 installation: *22 - organization: *619 - repositories: *638 - repository: *620 + organization: *620 + repositories: *639 + repository: *621 requester: nullable: true sender: *19 @@ -113817,11 +113894,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *617 + enterprise: *618 installation: *22 - organization: *619 - repositories: *638 - repository: *620 + organization: *620 + repositories: *639 + repository: *621 requester: nullable: true sender: *19 @@ -113897,10 +113974,10 @@ x-webhooks: type: string enum: - added - enterprise: *617 + enterprise: *618 installation: *22 - organization: *619 - repositories_added: &639 + organization: *620 + repositories_added: &640 description: An array of repository objects, which were added to the installation. type: array @@ -113946,15 +114023,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *620 - repository_selection: &640 + repository: *621 + repository_selection: &641 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *637 + requester: *638 sender: *19 required: - action @@ -114033,10 +114110,10 @@ x-webhooks: type: string enum: - removed - enterprise: *617 + enterprise: *618 installation: *22 - organization: *619 - repositories_added: *639 + organization: *620 + repositories_added: *640 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -114063,9 +114140,9 @@ x-webhooks: - name - full_name - private - repository: *620 - repository_selection: *640 - requester: *637 + repository: *621 + repository_selection: *641 + requester: *638 sender: *19 required: - action @@ -114144,11 +114221,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *617 + enterprise: *618 installation: *22 - organization: *619 - repositories: *638 - repository: *620 + organization: *620 + repositories: *639 + repository: *621 requester: nullable: true sender: *19 @@ -114326,10 +114403,10 @@ x-webhooks: type: string required: - from - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 target_type: type: string @@ -114408,11 +114485,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *617 + enterprise: *618 installation: *22 - organization: *619 - repositories: *638 - repository: *620 + organization: *620 + repositories: *639 + repository: *621 requester: nullable: true sender: *19 @@ -114664,8 +114741,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -115820,8 +115897,8 @@ x-webhooks: - state - locked - assignee - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -115901,7 +115978,7 @@ x-webhooks: type: string enum: - deleted - comment: &641 + comment: &642 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -116066,8 +116143,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -117220,8 +117297,8 @@ x-webhooks: - state - locked - assignee - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -117301,7 +117378,7 @@ x-webhooks: type: string enum: - edited - changes: &669 + changes: &670 description: The changes to the comment. type: object properties: @@ -117313,9 +117390,9 @@ x-webhooks: type: string required: - from - comment: *641 - enterprise: *617 - installation: *618 + comment: *642 + enterprise: *618 + installation: *619 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -118469,8 +118546,8 @@ x-webhooks: - state - locked - assignee - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -118552,10 +118629,10 @@ x-webhooks: type: string enum: - assigned - assignee: *637 - enterprise: *617 - installation: *618 - issue: &644 + assignee: *638 + enterprise: *618 + installation: *619 + issue: &645 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -119473,8 +119550,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -119554,8 +119631,8 @@ x-webhooks: type: string enum: - closed - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -120613,8 +120690,8 @@ x-webhooks: required: - state - closed_at - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -120693,8 +120770,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -121605,8 +121682,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -121685,8 +121762,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -122600,7 +122677,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &642 + milestone: &643 title: Milestone description: A collection of related issues and pull requests. type: object @@ -122738,8 +122815,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -122838,8 +122915,8 @@ x-webhooks: type: string required: - from - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -123757,9 +123834,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *636 - organization: *619 - repository: *620 + label: *637 + organization: *620 + repository: *621 sender: *19 required: - action @@ -123839,8 +123916,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -124757,9 +124834,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *636 - organization: *619 - repository: *620 + label: *637 + organization: *620 + repository: *621 sender: *19 required: - action @@ -124839,8 +124916,8 @@ x-webhooks: type: string enum: - locked - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -125758,8 +125835,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -125838,8 +125915,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -126751,9 +126828,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *642 - organization: *619 - repository: *620 + milestone: *643 + organization: *620 + repository: *621 sender: *19 required: - action @@ -128214,8 +128291,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129132,8 +129209,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -129213,9 +129290,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *617 - installation: *618 - issue: &643 + enterprise: *618 + installation: *619 + issue: &644 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -130126,8 +130203,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -130206,8 +130283,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131124,8 +131201,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -132587,11 +132664,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *617 - installation: *618 - issue: *643 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + issue: *644 + organization: *620 + repository: *621 sender: *19 required: - action @@ -132672,7 +132749,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &672 + assignee: &673 title: User type: object nullable: true @@ -132742,11 +132819,11 @@ x-webhooks: required: - login - id - enterprise: *617 - installation: *618 - issue: *644 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + issue: *645 + organization: *620 + repository: *621 sender: *19 required: - action @@ -132825,12 +132902,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *617 - installation: *618 - issue: *644 - label: *636 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + issue: *645 + label: *637 + organization: *620 + repository: *621 sender: *19 required: - action @@ -132910,8 +132987,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133827,8 +133904,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -133908,11 +133985,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *617 - installation: *618 - issue: *643 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + issue: *644 + organization: *620 + repository: *621 sender: *19 required: - action @@ -133991,11 +134068,11 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - label: *636 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + label: *637 + organization: *620 + repository: *621 sender: *19 required: - action @@ -134073,11 +134150,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - label: *636 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + label: *637 + organization: *620 + repository: *621 sender: *19 required: - action @@ -134187,11 +134264,11 @@ x-webhooks: type: string required: - from - enterprise: *617 - installation: *618 - label: *636 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + label: *637 + organization: *620 + repository: *621 sender: *19 required: - action @@ -134273,9 +134350,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *617 - installation: *618 - marketplace_purchase: &645 + enterprise: *618 + installation: *619 + marketplace_purchase: &646 title: Marketplace Purchase type: object required: @@ -134358,8 +134435,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *619 - previous_marketplace_purchase: &646 + organization: *620 + previous_marketplace_purchase: &647 title: Marketplace Purchase type: object properties: @@ -134439,7 +134516,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *620 + repository: *621 sender: *19 required: - action @@ -134519,10 +134596,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *617 - installation: *618 - marketplace_purchase: *645 - organization: *619 + enterprise: *618 + installation: *619 + marketplace_purchase: *646 + organization: *620 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -134605,7 +134682,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *620 + repository: *621 sender: *19 required: - action @@ -134687,10 +134764,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *617 - installation: *618 - marketplace_purchase: *645 - organization: *619 + enterprise: *618 + installation: *619 + marketplace_purchase: *646 + organization: *620 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -134772,7 +134849,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *620 + repository: *621 sender: *19 required: - action @@ -134853,8 +134930,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 marketplace_purchase: title: Marketplace Purchase type: object @@ -134936,9 +135013,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *619 - previous_marketplace_purchase: *646 - repository: *620 + organization: *620 + previous_marketplace_purchase: *647 + repository: *621 sender: *19 required: - action @@ -135018,12 +135095,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *617 - installation: *618 - marketplace_purchase: *645 - organization: *619 - previous_marketplace_purchase: *646 - repository: *620 + enterprise: *618 + installation: *619 + marketplace_purchase: *646 + organization: *620 + previous_marketplace_purchase: *647 + repository: *621 sender: *19 required: - action @@ -135125,11 +135202,11 @@ x-webhooks: type: string required: - to - enterprise: *617 - installation: *618 - member: *637 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + member: *638 + organization: *620 + repository: *621 sender: *19 required: - action @@ -135229,11 +135306,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *617 - installation: *618 - member: *637 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + member: *638 + organization: *620 + repository: *621 sender: *19 required: - action @@ -135312,11 +135389,11 @@ x-webhooks: type: string enum: - removed - enterprise: *617 - installation: *618 - member: *637 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + member: *638 + organization: *620 + repository: *621 sender: *19 required: - action @@ -135394,11 +135471,11 @@ x-webhooks: type: string enum: - added - enterprise: *617 - installation: *618 - member: *637 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + member: *638 + organization: *620 + repository: *621 scope: description: The scope of the membership. Currently, can only be `team`. @@ -135474,7 +135551,7 @@ x-webhooks: required: - login - id - team: &647 + team: &648 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -135664,11 +135741,11 @@ x-webhooks: type: string enum: - removed - enterprise: *617 - installation: *618 - member: *637 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + member: *638 + organization: *620 + repository: *621 scope: description: The scope of the membership. Currently, can only be `team`. @@ -135745,7 +135822,7 @@ x-webhooks: required: - login - id - team: *647 + team: *648 required: - action - scope @@ -135827,8 +135904,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *618 - merge_group: &649 + installation: *619 + merge_group: &650 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -135847,15 +135924,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *648 + head_commit: *649 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -135941,10 +136018,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *618 - merge_group: *649 - organization: *619 - repository: *620 + installation: *619 + merge_group: *650 + organization: *620 + repository: *621 sender: *19 required: - action @@ -136017,7 +136094,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 + enterprise: *618 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -136125,16 +136202,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *618 - organization: *619 + installation: *619 + organization: *620 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *650 - required: *651 + properties: *651 + required: *652 nullable: true sender: *19 required: @@ -136215,11 +136292,11 @@ x-webhooks: type: string enum: - closed - enterprise: *617 - installation: *618 - milestone: *642 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + milestone: *643 + organization: *620 + repository: *621 sender: *19 required: - action @@ -136298,9 +136375,9 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - milestone: &652 + enterprise: *618 + installation: *619 + milestone: &653 title: Milestone description: A collection of related issues and pull requests. type: object @@ -136437,8 +136514,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -136517,11 +136594,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - milestone: *642 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + milestone: *643 + organization: *620 + repository: *621 sender: *19 required: - action @@ -136631,11 +136708,11 @@ x-webhooks: type: string required: - from - enterprise: *617 - installation: *618 - milestone: *642 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + milestone: *643 + organization: *620 + repository: *621 sender: *19 required: - action @@ -136715,11 +136792,11 @@ x-webhooks: type: string enum: - opened - enterprise: *617 - installation: *618 - milestone: *652 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + milestone: *653 + organization: *620 + repository: *621 sender: *19 required: - action @@ -136798,11 +136875,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *637 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + blocked_user: *638 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -136881,11 +136958,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *637 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + blocked_user: *638 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -136964,9 +137041,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - membership: &653 + enterprise: *618 + installation: *619 + membership: &654 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -137058,8 +137135,8 @@ x-webhooks: - role - organization_url - user - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -137137,11 +137214,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *617 - installation: *618 - membership: *653 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + membership: *654 + organization: *620 + repository: *621 sender: *19 required: - action @@ -137220,8 +137297,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -137337,10 +137414,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 - user: *637 + user: *638 required: - action - invitation @@ -137418,11 +137495,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *617 - installation: *618 - membership: *653 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + membership: *654 + organization: *620 + repository: *621 sender: *19 required: - action @@ -137509,11 +137586,11 @@ x-webhooks: properties: from: type: string - enterprise: *617 - installation: *618 - membership: *653 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + membership: *654 + organization: *620 + repository: *621 sender: *19 required: - action @@ -137589,9 +137666,9 @@ x-webhooks: type: string enum: - published - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 package: description: Information about the package. type: object @@ -138090,7 +138167,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &654 + items: &655 title: Ruby Gems metadata type: object properties: @@ -138185,7 +138262,7 @@ x-webhooks: - owner - package_version - registry - repository: *620 + repository: *621 sender: *19 required: - action @@ -138261,9 +138338,9 @@ x-webhooks: type: string enum: - updated - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 package: description: Information about the package. type: object @@ -138616,7 +138693,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *654 + items: *655 source_url: type: string format: uri @@ -138686,7 +138763,7 @@ x-webhooks: - owner - package_version - registry - repository: *620 + repository: *621 sender: *19 required: - action @@ -138863,12 +138940,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *617 + enterprise: *618 id: type: integer - installation: *618 - organization: *619 - repository: *620 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - id @@ -138948,7 +139025,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &655 + personal_access_token_request: &656 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -139094,10 +139171,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *617 - organization: *619 + enterprise: *618 + organization: *620 sender: *19 - installation: *618 + installation: *619 required: - action - personal_access_token_request @@ -139176,11 +139253,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *655 - enterprise: *617 - organization: *619 + personal_access_token_request: *656 + enterprise: *618 + organization: *620 sender: *19 - installation: *618 + installation: *619 required: - action - personal_access_token_request @@ -139258,11 +139335,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *655 - enterprise: *617 - organization: *619 + personal_access_token_request: *656 + enterprise: *618 + organization: *620 sender: *19 - installation: *618 + installation: *619 required: - action - personal_access_token_request @@ -139339,11 +139416,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *655 - organization: *619 - enterprise: *617 + personal_access_token_request: *656 + organization: *620 + enterprise: *618 sender: *19 - installation: *618 + installation: *619 required: - action - personal_access_token_request @@ -139447,7 +139524,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *656 + last_response: *657 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -139479,8 +139556,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 zen: description: Random string of GitHub zen. @@ -139725,10 +139802,10 @@ x-webhooks: - from required: - note - enterprise: *617 - installation: *618 - organization: *619 - project_card: &657 + enterprise: *618 + installation: *619 + organization: *620 + project_card: &658 title: Project Card type: object properties: @@ -139847,7 +139924,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *620 + repository: *621 sender: *19 required: - action @@ -139928,11 +140005,11 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - organization: *619 - project_card: *657 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + project_card: *658 + repository: *621 sender: *19 required: - action @@ -140012,9 +140089,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 project_card: title: Project Card type: object @@ -140142,8 +140219,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *650 - required: *651 + properties: *651 + required: *652 nullable: true sender: *19 required: @@ -140237,11 +140314,11 @@ x-webhooks: - from required: - note - enterprise: *617 - installation: *618 - organization: *619 - project_card: *657 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + project_card: *658 + repository: *621 sender: *19 required: - action @@ -140335,9 +140412,9 @@ x-webhooks: - from required: - column_id - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 project_card: allOf: - title: Project Card @@ -140527,7 +140604,7 @@ x-webhooks: type: string required: - after_id - repository: *620 + repository: *621 sender: *19 required: - action @@ -140607,10 +140684,10 @@ x-webhooks: type: string enum: - closed - enterprise: *617 - installation: *618 - organization: *619 - project: &659 + enterprise: *618 + installation: *619 + organization: *620 + project: &660 title: Project type: object properties: @@ -140734,7 +140811,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *620 + repository: *621 sender: *19 required: - action @@ -140814,10 +140891,10 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - organization: *619 - project_column: &658 + enterprise: *618 + installation: *619 + organization: *620 + project_column: &659 title: Project Column type: object properties: @@ -140856,7 +140933,7 @@ x-webhooks: - name - created_at - updated_at - repository: *620 + repository: *621 sender: *19 required: - action @@ -140935,18 +141012,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - organization: *619 - project_column: *658 + enterprise: *618 + installation: *619 + organization: *620 + project_column: *659 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *650 - required: *651 + properties: *651 + required: *652 nullable: true sender: *19 required: @@ -141036,11 +141113,11 @@ x-webhooks: type: string required: - from - enterprise: *617 - installation: *618 - organization: *619 - project_column: *658 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + project_column: *659 + repository: *621 sender: *19 required: - action @@ -141120,11 +141197,11 @@ x-webhooks: type: string enum: - moved - enterprise: *617 - installation: *618 - organization: *619 - project_column: *658 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + project_column: *659 + repository: *621 sender: *19 required: - action @@ -141204,11 +141281,11 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - organization: *619 - project: *659 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + project: *660 + repository: *621 sender: *19 required: - action @@ -141288,18 +141365,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - organization: *619 - project: *659 + enterprise: *618 + installation: *619 + organization: *620 + project: *660 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *650 - required: *651 + properties: *651 + required: *652 nullable: true sender: *19 required: @@ -141401,11 +141478,11 @@ x-webhooks: type: string required: - from - enterprise: *617 - installation: *618 - organization: *619 - project: *659 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + project: *660 + repository: *621 sender: *19 required: - action @@ -141484,11 +141561,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *617 - installation: *618 - organization: *619 - project: *659 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + project: *660 + repository: *621 sender: *19 required: - action @@ -141569,9 +141646,9 @@ x-webhooks: type: string enum: - closed - installation: *618 - organization: *619 - projects_v2: &660 + installation: *619 + organization: *620 + projects_v2: &661 title: Projects v2 Project description: A projects v2 project type: object @@ -141714,9 +141791,9 @@ x-webhooks: type: string enum: - created - installation: *618 - organization: *619 - projects_v2: *660 + installation: *619 + organization: *620 + projects_v2: *661 sender: *19 required: - action @@ -141797,9 +141874,9 @@ x-webhooks: type: string enum: - deleted - installation: *618 - organization: *619 - projects_v2: *660 + installation: *619 + organization: *620 + projects_v2: *661 sender: *19 required: - action @@ -141916,9 +141993,9 @@ x-webhooks: type: string to: type: string - installation: *618 - organization: *619 - projects_v2: *660 + installation: *619 + organization: *620 + projects_v2: *661 sender: *19 required: - action @@ -142001,7 +142078,7 @@ x-webhooks: type: string enum: - archived - changes: &664 + changes: &665 type: object properties: archived_at: @@ -142015,9 +142092,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *618 - organization: *619 - projects_v2_item: &661 + installation: *619 + organization: *620 + projects_v2_item: &662 title: Projects v2 Item description: An item belonging to a project type: object @@ -142151,9 +142228,9 @@ x-webhooks: nullable: true to: type: string - installation: *618 - organization: *619 - projects_v2_item: *661 + installation: *619 + organization: *620 + projects_v2_item: *662 sender: *19 required: - action @@ -142235,9 +142312,9 @@ x-webhooks: type: string enum: - created - installation: *618 - organization: *619 - projects_v2_item: *661 + installation: *619 + organization: *620 + projects_v2_item: *662 sender: *19 required: - action @@ -142318,9 +142395,9 @@ x-webhooks: type: string enum: - deleted - installation: *618 - organization: *619 - projects_v2_item: *661 + installation: *619 + organization: *620 + projects_v2_item: *662 sender: *19 required: - action @@ -142426,7 +142503,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &662 + - &663 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -142444,7 +142521,7 @@ x-webhooks: required: - id - name - - &663 + - &664 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -142467,8 +142544,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *662 - *663 + - *664 required: - field_value - type: object @@ -142484,9 +142561,9 @@ x-webhooks: nullable: true required: - body - installation: *618 - organization: *619 - projects_v2_item: *661 + installation: *619 + organization: *620 + projects_v2_item: *662 sender: *19 required: - action @@ -142581,9 +142658,9 @@ x-webhooks: to: type: string nullable: true - installation: *618 - organization: *619 - projects_v2_item: *661 + installation: *619 + organization: *620 + projects_v2_item: *662 sender: *19 required: - action @@ -142666,10 +142743,10 @@ x-webhooks: type: string enum: - restored - changes: *664 - installation: *618 - organization: *619 - projects_v2_item: *661 + changes: *665 + installation: *619 + organization: *620 + projects_v2_item: *662 sender: *19 required: - action @@ -142751,9 +142828,9 @@ x-webhooks: type: string enum: - reopened - installation: *618 - organization: *619 - projects_v2: *660 + installation: *619 + organization: *620 + projects_v2: *661 sender: *19 required: - action @@ -142834,9 +142911,9 @@ x-webhooks: type: string enum: - created - installation: *618 - organization: *619 - projects_v2_status_update: &665 + installation: *619 + organization: *620 + projects_v2_status_update: &666 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -142963,9 +143040,9 @@ x-webhooks: type: string enum: - deleted - installation: *618 - organization: *619 - projects_v2_status_update: *665 + installation: *619 + organization: *620 + projects_v2_status_update: *666 sender: *19 required: - action @@ -143101,9 +143178,9 @@ x-webhooks: type: string format: date nullable: true - installation: *618 - organization: *619 - projects_v2_status_update: *665 + installation: *619 + organization: *620 + projects_v2_status_update: *666 sender: *19 required: - action @@ -143174,10 +143251,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - repository @@ -143254,13 +143331,13 @@ x-webhooks: type: string enum: - assigned - assignee: *637 - enterprise: *617 - installation: *618 - number: &666 + assignee: *638 + enterprise: *618 + installation: *619 + number: &667 description: The pull request number. type: integer - organization: *619 + organization: *620 pull_request: title: Pull Request type: object @@ -145543,7 +145620,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 sender: *19 required: - action @@ -145625,11 +145702,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 number: type: integer - organization: *619 + organization: *620 pull_request: title: Pull Request type: object @@ -147907,7 +147984,7 @@ x-webhooks: - draft reason: type: string - repository: *620 + repository: *621 sender: *19 required: - action @@ -147989,11 +148066,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 number: type: integer - organization: *619 + organization: *620 pull_request: title: Pull Request type: object @@ -150271,7 +150348,7 @@ x-webhooks: - draft reason: type: string - repository: *620 + repository: *621 sender: *19 required: - action @@ -150353,13 +150430,13 @@ x-webhooks: type: string enum: - closed - enterprise: *617 - installation: *618 - number: *666 - organization: *619 - pull_request: &667 + enterprise: *618 + installation: *619 + number: *667 + organization: *620 + pull_request: &668 allOf: - - *494 + - *495 - type: object properties: allow_auto_merge: @@ -150421,7 +150498,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *620 + repository: *621 sender: *19 required: - action @@ -150502,12 +150579,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *617 - installation: *618 - number: *666 - organization: *619 - pull_request: *667 - repository: *620 + enterprise: *618 + installation: *619 + number: *667 + organization: *620 + pull_request: *668 + repository: *621 sender: *19 required: - action @@ -150587,11 +150664,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *617 - milestone: *477 - number: *666 - organization: *619 - pull_request: &668 + enterprise: *618 + milestone: *478 + number: *667 + organization: *620 + pull_request: &669 title: Pull Request type: object properties: @@ -152854,7 +152931,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 sender: *19 required: - action @@ -152933,11 +153010,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 number: type: integer - organization: *619 + organization: *620 pull_request: title: Pull Request type: object @@ -155219,7 +155296,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *620 + repository: *621 sender: *19 required: - action @@ -155343,12 +155420,12 @@ x-webhooks: type: string required: - from - enterprise: *617 - installation: *618 - number: *666 - organization: *619 - pull_request: *667 - repository: *620 + enterprise: *618 + installation: *619 + number: *667 + organization: *620 + pull_request: *668 + repository: *621 sender: *19 required: - action @@ -155428,11 +155505,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 number: type: integer - organization: *619 + organization: *620 pull_request: title: Pull Request type: object @@ -157699,7 +157776,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 sender: *19 required: - action @@ -157779,11 +157856,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *617 - installation: *618 - label: *636 - number: *666 - organization: *619 + enterprise: *618 + installation: *619 + label: *637 + number: *667 + organization: *620 pull_request: title: Pull Request type: object @@ -160065,7 +160142,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 sender: *19 required: - action @@ -160146,10 +160223,10 @@ x-webhooks: type: string enum: - locked - enterprise: *617 - installation: *618 - number: *666 - organization: *619 + enterprise: *618 + installation: *619 + number: *667 + organization: *620 pull_request: title: Pull Request type: object @@ -162429,7 +162506,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 sender: *19 required: - action @@ -162509,12 +162586,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *617 - milestone: *477 - number: *666 - organization: *619 - pull_request: *668 - repository: *620 + enterprise: *618 + milestone: *478 + number: *667 + organization: *620 + pull_request: *669 + repository: *621 sender: *19 required: - action @@ -162593,12 +162670,12 @@ x-webhooks: type: string enum: - opened - enterprise: *617 - installation: *618 - number: *666 - organization: *619 - pull_request: *667 - repository: *620 + enterprise: *618 + installation: *619 + number: *667 + organization: *620 + pull_request: *668 + repository: *621 sender: *19 required: - action @@ -162679,12 +162756,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *617 - installation: *618 - number: *666 - organization: *619 - pull_request: *667 - repository: *620 + enterprise: *618 + installation: *619 + number: *667 + organization: *620 + pull_request: *668 + repository: *621 sender: *19 required: - action @@ -162764,12 +162841,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *617 - installation: *618 - number: *666 - organization: *619 - pull_request: *667 - repository: *620 + enterprise: *618 + installation: *619 + number: *667 + organization: *620 + pull_request: *668 + repository: *621 sender: *19 required: - action @@ -163135,9 +163212,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 pull_request: type: object properties: @@ -165307,7 +165384,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *620 + repository: *621 sender: *19 required: - action @@ -165387,7 +165464,7 @@ x-webhooks: type: string enum: - deleted - comment: &670 + comment: &671 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -165672,9 +165749,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 pull_request: type: object properties: @@ -167832,7 +167909,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *620 + repository: *621 sender: *19 required: - action @@ -167912,11 +167989,11 @@ x-webhooks: type: string enum: - edited - changes: *669 - comment: *670 - enterprise: *617 - installation: *618 - organization: *619 + changes: *670 + comment: *671 + enterprise: *618 + installation: *619 + organization: *620 pull_request: type: object properties: @@ -170077,7 +170154,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *620 + repository: *621 sender: *19 required: - action @@ -170158,9 +170235,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 pull_request: title: Simple Pull Request type: object @@ -172333,7 +172410,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *620 + repository: *621 review: description: The review that was affected. type: object @@ -172576,9 +172653,9 @@ x-webhooks: type: string required: - from - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 pull_request: title: Simple Pull Request type: object @@ -174632,8 +174709,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *620 - review: &671 + repository: *621 + review: &672 description: The review that was affected. type: object properties: @@ -174862,12 +174939,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 number: description: The pull request number. type: integer - organization: *619 + organization: *620 pull_request: title: Pull Request type: object @@ -177150,7 +177227,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 requested_reviewer: title: User type: object @@ -177234,12 +177311,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 number: description: The pull request number. type: integer - organization: *619 + organization: *620 pull_request: title: Pull Request type: object @@ -179529,7 +179606,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 requested_team: title: Team description: Groups of organization members that gives permissions @@ -179721,12 +179798,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 number: description: The pull request number. type: integer - organization: *619 + organization: *620 pull_request: title: Pull Request type: object @@ -182011,7 +182088,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 requested_reviewer: title: User type: object @@ -182096,12 +182173,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 number: description: The pull request number. type: integer - organization: *619 + organization: *620 pull_request: title: Pull Request type: object @@ -184377,7 +184454,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 requested_team: title: Team description: Groups of organization members that gives permissions @@ -184558,9 +184635,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 pull_request: title: Simple Pull Request type: object @@ -186735,8 +186812,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *620 - review: *671 + repository: *621 + review: *672 sender: *19 required: - action @@ -186816,9 +186893,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 pull_request: title: Simple Pull Request type: object @@ -188888,7 +188965,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *620 + repository: *621 sender: *19 thread: type: object @@ -189271,9 +189348,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 pull_request: title: Simple Pull Request type: object @@ -191329,7 +191406,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *620 + repository: *621 sender: *19 thread: type: object @@ -191715,10 +191792,10 @@ x-webhooks: type: string before: type: string - enterprise: *617 - installation: *618 - number: *666 - organization: *619 + enterprise: *618 + installation: *619 + number: *667 + organization: *620 pull_request: title: Pull Request type: object @@ -193989,7 +194066,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 sender: *19 required: - action @@ -194071,11 +194148,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *672 - enterprise: *617 - installation: *618 - number: *666 - organization: *619 + assignee: *673 + enterprise: *618 + installation: *619 + number: *667 + organization: *620 pull_request: title: Pull Request type: object @@ -196358,7 +196435,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 sender: *19 required: - action @@ -196437,11 +196514,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *617 - installation: *618 - label: *636 - number: *666 - organization: *619 + enterprise: *618 + installation: *619 + label: *637 + number: *667 + organization: *620 pull_request: title: Pull Request type: object @@ -198714,7 +198791,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 sender: *19 required: - action @@ -198795,10 +198872,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *617 - installation: *618 - number: *666 - organization: *619 + enterprise: *618 + installation: *619 + number: *667 + organization: *620 pull_request: title: Pull Request type: object @@ -201063,7 +201140,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 sender: *19 required: - action @@ -201263,7 +201340,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *617 + enterprise: *618 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -201355,8 +201432,8 @@ x-webhooks: - url - author - committer - installation: *618 - organization: *619 + installation: *619 + organization: *620 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -201931,9 +202008,9 @@ x-webhooks: type: string enum: - published - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 registry_package: type: object properties: @@ -202379,7 +202456,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *654 + items: *655 summary: type: string tag_name: @@ -202433,7 +202510,7 @@ x-webhooks: - owner - package_version - registry - repository: *620 + repository: *621 sender: *19 required: - action @@ -202511,9 +202588,9 @@ x-webhooks: type: string enum: - updated - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 registry_package: type: object properties: @@ -202821,7 +202898,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *654 + items: *655 summary: type: string tag_name: @@ -202870,7 +202947,7 @@ x-webhooks: - owner - package_version - registry - repository: *620 + repository: *621 sender: *19 required: - action @@ -202947,10 +203024,10 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - organization: *619 - release: &673 + enterprise: *618 + installation: *619 + organization: *620 + release: &674 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -203255,7 +203332,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *620 + repository: *621 sender: *19 required: - action @@ -203332,11 +203409,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - organization: *619 - release: *673 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + release: *674 + repository: *621 sender: *19 required: - action @@ -203444,11 +203521,11 @@ x-webhooks: type: boolean required: - to - enterprise: *617 - installation: *618 - organization: *619 - release: *673 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + release: *674 + repository: *621 sender: *19 required: - action @@ -203526,9 +203603,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -203837,7 +203914,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *620 + repository: *621 sender: *19 required: - action @@ -203913,10 +203990,10 @@ x-webhooks: type: string enum: - published - enterprise: *617 - installation: *618 - organization: *619 - release: &674 + enterprise: *618 + installation: *619 + organization: *620 + release: &675 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -204222,7 +204299,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *620 + repository: *621 sender: *19 required: - action @@ -204298,11 +204375,11 @@ x-webhooks: type: string enum: - released - enterprise: *617 - installation: *618 - organization: *619 - release: *673 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + release: *674 + repository: *621 sender: *19 required: - action @@ -204378,11 +204455,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *617 - installation: *618 - organization: *619 - release: *674 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + release: *675 + repository: *621 sender: *19 required: - action @@ -204458,11 +204535,11 @@ x-webhooks: type: string enum: - published - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 - repository_advisory: *548 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 + repository_advisory: *549 sender: *19 required: - action @@ -204538,11 +204615,11 @@ x-webhooks: type: string enum: - reported - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 - repository_advisory: *548 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 + repository_advisory: *549 sender: *19 required: - action @@ -204618,10 +204695,10 @@ x-webhooks: type: string enum: - archived - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -204698,10 +204775,10 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -204779,10 +204856,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -204866,10 +204943,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -204981,10 +205058,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -205056,10 +205133,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 status: type: string @@ -205140,10 +205217,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -205220,10 +205297,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -205317,10 +205394,10 @@ x-webhooks: - name required: - repository - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -205400,11 +205477,11 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 - repository_ruleset: *226 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 + repository_ruleset: *227 sender: *19 required: - action @@ -205482,11 +205559,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 - repository_ruleset: *226 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 + repository_ruleset: *227 sender: *19 required: - action @@ -205564,11 +205641,11 @@ x-webhooks: type: string enum: - edited - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 - repository_ruleset: *226 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 + repository_ruleset: *227 changes: type: object properties: @@ -205587,16 +205664,16 @@ x-webhooks: properties: added: type: array - items: *220 + items: *221 deleted: type: array - items: *220 + items: *221 updated: type: array items: type: object properties: - condition: *220 + condition: *221 changes: type: object properties: @@ -205629,16 +205706,16 @@ x-webhooks: properties: added: type: array - items: *225 + items: *226 deleted: type: array - items: *225 + items: *226 updated: type: array items: type: object properties: - rule: *225 + rule: *226 changes: type: object properties: @@ -205872,10 +205949,10 @@ x-webhooks: - from required: - owner - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -205953,10 +206030,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -206034,7 +206111,7 @@ x-webhooks: type: string enum: - create - alert: &675 + alert: &676 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -206155,10 +206232,10 @@ x-webhooks: type: string enum: - open - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -206364,10 +206441,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -206445,11 +206522,11 @@ x-webhooks: type: string enum: - reopen - alert: *675 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + alert: *676 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -206648,10 +206725,10 @@ x-webhooks: enum: - fixed - open - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -206729,7 +206806,7 @@ x-webhooks: type: string enum: - created - alert: &676 + alert: &677 type: object properties: number: *48 @@ -206835,10 +206912,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -206919,11 +206996,11 @@ x-webhooks: type: string enum: - created - alert: *676 - installation: *618 - location: *677 - organization: *619 - repository: *620 + alert: *677 + installation: *619 + location: *678 + organization: *620 + repository: *621 sender: *19 required: - location @@ -207161,11 +207238,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *676 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + alert: *677 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -207243,11 +207320,11 @@ x-webhooks: type: string enum: - reopened - alert: *676 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + alert: *677 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -207325,11 +207402,11 @@ x-webhooks: type: string enum: - resolved - alert: *676 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + alert: *677 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -207407,11 +207484,11 @@ x-webhooks: type: string enum: - validated - alert: *676 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + alert: *677 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -207487,11 +207564,11 @@ x-webhooks: type: string enum: - published - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 - security_advisory: &678 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 + security_advisory: &679 description: The details of the security advisory, including summary, description, and severity. type: object @@ -207674,11 +207751,11 @@ x-webhooks: type: string enum: - updated - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 - security_advisory: *678 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 + security_advisory: *679 sender: *19 required: - action @@ -207751,10 +207828,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -207938,11 +208015,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *219 - enterprise: *617 - installation: *618 - organization: *619 - repository: *265 + security_and_analysis: *220 + enterprise: *618 + installation: *619 + organization: *620 + repository: *266 sender: *19 required: - changes @@ -208020,12 +208097,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 - sponsorship: &679 + sponsorship: &680 type: object properties: created_at: @@ -208326,12 +208403,12 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 - sponsorship: *679 + sponsorship: *680 required: - action - sponsorship @@ -208419,12 +208496,12 @@ x-webhooks: type: string required: - from - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 - sponsorship: *679 + sponsorship: *680 required: - action - changes @@ -208501,17 +208578,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &680 + effective_date: &681 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: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 - sponsorship: *679 + sponsorship: *680 required: - action - sponsorship @@ -208585,7 +208662,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &681 + changes: &682 type: object properties: tier: @@ -208629,13 +208706,13 @@ x-webhooks: - from required: - tier - effective_date: *680 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + effective_date: *681 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 - sponsorship: *679 + sponsorship: *680 required: - action - changes @@ -208712,13 +208789,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *681 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + changes: *682 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 - sponsorship: *679 + sponsorship: *680 required: - action - changes @@ -208792,10 +208869,10 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -208878,10 +208955,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -209300,15 +209377,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *617 + enterprise: *618 id: description: The unique identifier of the status. type: integer - installation: *618 + installation: *619 name: type: string - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 sha: description: The Commit SHA. @@ -209423,9 +209500,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *75 - installation: *618 - organization: *619 - repository: *620 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -209515,9 +209592,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *75 - installation: *618 - organization: *619 - repository: *620 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -209607,9 +209684,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *75 - installation: *618 - organization: *619 - repository: *620 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -209699,9 +209776,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *75 - installation: *618 - organization: *619 - repository: *620 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -209778,12 +209855,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 - team: &682 + team: &683 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -209973,9 +210050,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 repository: title: Repository description: A git repository @@ -210433,7 +210510,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *682 + team: *683 required: - action - team @@ -210509,9 +210586,9 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 repository: title: Repository description: A git repository @@ -210969,7 +211046,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *682 + team: *683 required: - action - team @@ -211046,9 +211123,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 repository: title: Repository description: A git repository @@ -211506,7 +211583,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *682 + team: *683 required: - action - team @@ -211650,9 +211727,9 @@ x-webhooks: - from required: - permissions - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 repository: title: Repository description: A git repository @@ -212110,7 +212187,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *682 + team: *683 required: - action - changes @@ -212188,9 +212265,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 repository: title: Repository description: A git repository @@ -212648,7 +212725,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *682 + team: *683 required: - action - team @@ -212724,10 +212801,10 @@ x-webhooks: type: string enum: - started - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -212800,16 +212877,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *617 + enterprise: *618 inputs: type: object nullable: true additionalProperties: true - installation: *618 - organization: *619 + installation: *619 + organization: *620 ref: type: string - repository: *620 + repository: *621 sender: *19 workflow: type: string @@ -212891,10 +212968,10 @@ x-webhooks: type: string enum: - completed - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 workflow_job: allOf: @@ -213131,7 +213208,7 @@ x-webhooks: type: string required: - conclusion - deployment: *409 + deployment: *410 required: - action - repository @@ -213210,10 +213287,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 workflow_job: allOf: @@ -213473,7 +213550,7 @@ x-webhooks: required: - status - steps - deployment: *409 + deployment: *410 required: - action - repository @@ -213552,10 +213629,10 @@ x-webhooks: type: string enum: - queued - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 workflow_job: type: object @@ -213690,7 +213767,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *409 + deployment: *410 required: - action - repository @@ -213769,10 +213846,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 workflow_job: type: object @@ -213908,7 +213985,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *409 + deployment: *410 required: - action - repository @@ -213988,12 +214065,12 @@ x-webhooks: type: string enum: - completed - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 - workflow: *632 + workflow: *633 workflow_run: title: Workflow Run type: object @@ -214992,12 +215069,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 - workflow: *632 + workflow: *633 workflow_run: title: Workflow Run type: object @@ -215981,12 +216058,12 @@ x-webhooks: type: string enum: - requested - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 - workflow: *632 + workflow: *633 workflow_run: title: Workflow Run type: object diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.json b/descriptions/api.github.com/dereferenced/api.github.com.deref.json index 97d07f5857..7df7d70bc3 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.json @@ -20752,7 +20752,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" ], @@ -21401,7 +21401,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" ], @@ -62267,6 +62267,28 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "nullable": true, + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -62620,6 +62642,27 @@ ], "default": "disabled" }, + "code_scanning_default_setup_options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -62835,6 +62878,28 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "nullable": true, + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -62964,6 +63029,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", @@ -63120,6 +63189,28 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "nullable": true, + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -63255,6 +63346,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", @@ -63293,6 +63388,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", @@ -63706,6 +63805,28 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "nullable": true, + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -63835,6 +63956,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", @@ -64026,6 +64151,27 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -64227,6 +64373,28 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "nullable": true, + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -64356,6 +64524,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", @@ -64838,6 +65010,28 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "nullable": true, + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -64972,6 +65166,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", @@ -71030,7 +71228,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" ], @@ -71228,7 +71426,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" ], @@ -71428,7 +71626,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" ], @@ -71626,7 +71824,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" ], @@ -82645,6 +82843,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": { @@ -82803,6 +83010,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": { @@ -83653,6 +83869,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": { @@ -217960,6 +218185,20 @@ "not-configured" ] }, + "runner_type": { + "description": "Runner type to be used.", + "type": "string", + "enum": [ + "standard", + "labeled" + ] + }, + "runner_label": { + "nullable": true, + "description": "Runner label to be used if the runner type is labeled.", + "type": "string", + "example": "code-scanning" + }, "query_suite": { "description": "CodeQL query suite to be used.", "type": "string", @@ -218662,6 +218901,28 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "nullable": true, + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -401744,18 +402005,19 @@ }, "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", "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", "nullable": true }, "started_at": { "type": "string", "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", + "nullable": true } } } @@ -401772,18 +402034,19 @@ }, "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", "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", "nullable": true }, "started_at": { "type": "string", "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", + "nullable": true } } } @@ -401800,18 +402063,19 @@ }, "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", "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", "nullable": true }, "started_at": { "type": "string", "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", + "nullable": true } } } @@ -401830,18 +402094,19 @@ }, "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", "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", "nullable": true }, "started_at": { "type": "string", "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", + "nullable": true } } }, diff --git a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml index 7f7fa309a2..008103f5b2 100644 --- a/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions/api.github.com/dereferenced/api.github.com.deref.yaml @@ -838,7 +838,7 @@ paths: - subscriptions_url - type - url - type: &237 + type: &238 type: string description: The type of credit the user is receiving. enum: @@ -1004,7 +1004,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/global-advisories#get-a-global-security-advisory parameters: - - &550 + - &551 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1516,7 +1516,7 @@ paths: schema: type: integer default: 30 - - &158 + - &159 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 @@ -1532,7 +1532,7 @@ paths: application/json: schema: type: array - items: &159 + items: &160 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1609,7 +1609,7 @@ paths: - installation_id - repository_id examples: - default: &160 + default: &161 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1737,7 +1737,7 @@ paths: description: Response content: application/json: - schema: &161 + schema: &162 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1851,7 +1851,7 @@ paths: - request - response examples: - default: &162 + default: &163 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -2832,7 +2832,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &217 + properties: &218 id: description: Unique identifier of the repository example: 42 @@ -3261,7 +3261,7 @@ paths: type: boolean description: Whether anonymous git access is enabled for this repository - required: &218 + required: &219 - archive_url - assignees_url - blobs_url @@ -6960,7 +6960,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &139 + items: &140 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -7030,7 +7030,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &180 + - &181 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -7089,7 +7089,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &195 + properties: &196 id: description: Unique identifier of the team type: integer @@ -7145,7 +7145,7 @@ paths: maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &196 + required: &197 - id - node_id - url @@ -7256,7 +7256,7 @@ paths: - created_at additionalProperties: false examples: - default: &140 + default: &141 value: total_seats: 2 seats: @@ -8050,7 +8050,7 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &142 + - &143 name: state in: query description: |- @@ -8059,7 +8059,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &143 + - &144 name: severity in: query description: |- @@ -8068,7 +8068,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &144 + - &145 name: ecosystem in: query description: |- @@ -8077,14 +8077,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &145 + - &146 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 - - &146 + - &147 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -8094,7 +8094,7 @@ paths: enum: - development - runtime - - &147 + - &148 name: sort in: query description: |- @@ -8110,7 +8110,7 @@ paths: - *42 - *43 - *44 - - &148 + - &149 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -8123,7 +8123,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &149 + - &150 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -8143,7 +8143,7 @@ paths: application/json: schema: type: array - items: &150 + items: &151 type: object description: A Dependabot alert. properties: @@ -8196,7 +8196,7 @@ paths: enum: - development - runtime - security_advisory: &401 + security_advisory: &402 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -8457,7 +8457,7 @@ paths: format: date-time readOnly: true nullable: true - auto_dismissed_at: &402 + auto_dismissed_at: &403 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -8760,7 +8760,7 @@ paths: - repository additionalProperties: false examples: - default: &151 + default: &152 value: - number: 2 state: dismissed @@ -9104,7 +9104,7 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *40 - - &228 + - &229 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -9115,7 +9115,7 @@ paths: enum: - open - resolved - - &229 + - &230 name: secret_type in: query description: |- @@ -9125,7 +9125,7 @@ paths: required: false schema: type: string - - &230 + - &231 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -9134,7 +9134,7 @@ paths: required: false schema: type: string - - &231 + - &232 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. @@ -9150,7 +9150,7 @@ paths: - *18 - *43 - *44 - - &232 + - &233 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -9159,7 +9159,7 @@ paths: required: false schema: type: string - - &233 + - &234 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -9168,7 +9168,7 @@ paths: schema: type: boolean default: false - - &234 + - &235 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -9184,7 +9184,7 @@ paths: application/json: schema: type: array - items: &235 + items: &236 type: object properties: number: *48 @@ -9203,14 +9203,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &542 + state: &543 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: &543 + resolution: &544 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -9302,7 +9302,7 @@ paths: repositories in the same organization or enterprise. nullable: true examples: - default: &236 + default: &237 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -9557,6 +9557,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, @@ -9632,7 +9635,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. @@ -9656,7 +9659,7 @@ paths: url: https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-an-enterprise-team parameters: - *40 - - &192 + - &193 name: team_slug description: The slug of the team name. in: path @@ -9696,7 +9699,7 @@ paths: type: array items: *56 examples: - default: &141 + default: &142 value: - day: '2023-10-15' total_suggestions_count: 1000 @@ -9852,7 +9855,7 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &450 + properties: &451 id: type: integer format: int64 @@ -9963,7 +9966,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &386 + properties: &387 url: type: string format: uri @@ -10033,7 +10036,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &387 + required: &388 - closed_issues - creator - description @@ -10188,7 +10191,7 @@ paths: - total - completed - percent_completed - required: &451 + required: &452 - assignee - closed_at - comments @@ -10210,7 +10213,7 @@ paths: - author_association - created_at - updated_at - comment: &448 + comment: &449 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -10775,7 +10778,7 @@ paths: url: type: string format: uri - user: &573 + user: &574 title: Public User description: Public User type: object @@ -12640,7 +12643,7 @@ paths: - closed - all default: open - - &181 + - &182 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -12691,7 +12694,7 @@ paths: type: array items: *75 examples: - default: &182 + default: &183 value: - id: 1 node_id: MDU6SXNzdWUx @@ -14060,14 +14063,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-public-events-for-a-network-of-repositories parameters: - - &254 + - &255 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &255 + - &256 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -14138,7 +14141,7 @@ paths: '404': *7 '403': *29 '304': *37 - '301': &266 + '301': &267 description: Moved permanently content: application/json: @@ -14160,7 +14163,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &480 + - &481 name: all description: If `true`, show notifications marked as read. in: query @@ -14168,7 +14171,7 @@ paths: schema: type: boolean default: false - - &481 + - &482 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -14178,7 +14181,7 @@ paths: type: boolean default: false - *65 - - &482 + - &483 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: @@ -14214,7 +14217,7 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: &153 + properties: &154 id: type: integer format: int64 @@ -14490,7 +14493,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &219 + security_and_analysis: &220 nullable: true type: object properties: @@ -14546,7 +14549,7 @@ paths: enum: - enabled - disabled - required: &154 + required: &155 - archive_url - assignees_url - blobs_url @@ -14634,7 +14637,7 @@ paths: - url - subscription_url examples: - default: &483 + default: &484 value: - id: '1' repository: @@ -15176,14 +15179,14 @@ paths: application/json: schema: type: array - items: &187 + items: &188 title: Organization Simple description: A GitHub organization. type: object properties: *92 required: *93 examples: - default: &591 + default: &592 value: - login: github id: 1 @@ -16089,7 +16092,7 @@ paths: type: integer repository_cache_usages: type: array - items: &271 + items: &272 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -16259,7 +16262,7 @@ paths: - all - local_only - selected - selected_actions_url: &277 + selected_actions_url: &278 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` @@ -16349,7 +16352,7 @@ paths: type: array items: *58 examples: - default: &585 + default: &586 value: total_count: 1 repositories: @@ -16677,7 +16680,7 @@ paths: description: Response content: application/json: - schema: &281 + schema: &282 type: object properties: default_workflow_permissions: &107 @@ -16728,7 +16731,7 @@ paths: required: false content: application/json: - schema: &282 + schema: &283 type: object properties: default_workflow_permissions: *107 @@ -17163,7 +17166,7 @@ paths: type: array items: *113 examples: - default: &576 + default: &577 value: total_count: 1 repositories: @@ -17801,7 +17804,7 @@ paths: application/json: schema: type: array - items: &283 + items: &284 title: Runner Application description: Runner Application type: object @@ -17826,7 +17829,7 @@ paths: - download_url - filename examples: - default: &284 + default: &285 value: - os: osx architecture: x64 @@ -17912,7 +17915,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &285 + '201': &286 description: Response content: application/json: @@ -18022,7 +18025,7 @@ paths: - token - expires_at examples: - default: &286 + default: &287 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -18061,7 +18064,7 @@ paths: application/json: schema: *117 examples: - default: &287 + default: &288 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -18095,7 +18098,7 @@ paths: application/json: schema: *115 examples: - default: &288 + default: &289 value: id: 23 name: MBP @@ -18319,7 +18322,7 @@ paths: - *94 - *114 responses: - '200': &289 + '200': &290 description: Response content: application/json: @@ -18376,7 +18379,7 @@ paths: parameters: - *94 - *114 - - &290 + - &291 name: name description: The name of a self-hosted runner's custom label. in: path @@ -18506,7 +18509,7 @@ paths: description: Response content: application/json: - schema: &302 + schema: &303 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -18535,7 +18538,7 @@ paths: - key_id - key examples: - default: &303 + default: &304 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -18946,7 +18949,7 @@ paths: url: https://docs.github.com/rest/actions/variables#list-organization-variables parameters: - *94 - - &276 + - &277 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)." @@ -19471,7 +19474,7 @@ paths: repository_id: type: integer examples: - default: &316 + default: &317 value: attestations: - bundle: @@ -19590,7 +19593,7 @@ paths: type: array items: *19 examples: - default: &183 + default: &184 value: - login: octocat id: 1 @@ -19708,7 +19711,7 @@ paths: url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-organization parameters: - *94 - - &342 + - &343 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`, @@ -19718,7 +19721,7 @@ paths: schema: &130 type: string description: The name of the tool used to generate the code scanning analysis. - - &343 + - &344 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 @@ -19741,7 +19744,7 @@ paths: be returned. in: query required: false - schema: &345 + schema: &346 type: string description: State of a code scanning alert. enum: @@ -19764,7 +19767,7 @@ paths: be returned. in: query required: false - schema: &346 + schema: &347 type: string description: Severity of a code scanning alert. enum: @@ -19790,7 +19793,7 @@ paths: updated_at: *127 url: *50 html_url: *51 - instances_url: &347 + instances_url: &348 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -19813,7 +19816,7 @@ paths: required: *5 nullable: true dismissed_at: *129 - dismissed_reason: &348 + dismissed_reason: &349 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -19822,13 +19825,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &349 + dismissed_comment: &350 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &350 + rule: &351 type: object properties: id: @@ -19881,7 +19884,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &351 + tool: &352 type: object properties: name: *130 @@ -19891,15 +19894,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *131 - most_recent_instance: &352 + most_recent_instance: &353 type: object properties: - ref: &344 + ref: &345 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &358 + analysis_key: &359 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -19910,7 +19913,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &359 + category: &360 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -20323,6 +20326,25 @@ paths: - enabled - disabled - not_set + code_scanning_default_setup_options: + type: object + description: Feature options for code scanning default setup + nullable: true + properties: + runner_type: + nullable: true + type: string + enum: + - standard + - labeled + - not_set + description: Whether to use labeled runners or standard + GitHub runners. + runner_label: + nullable: true + type: string + 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 @@ -20564,6 +20586,24 @@ paths: - disabled - not_set default: disabled + code_scanning_default_setup_options: &137 + type: object + description: Feature options for code scanning default setup + nullable: true + properties: + runner_type: + type: string + enum: + - standard + - labeled + - not_set + description: Whether to use labeled runners or standard GitHub + runners. + runner_label: + nullable: true + type: string + 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 @@ -20679,6 +20719,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 @@ -20749,6 +20792,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 @@ -20780,6 +20826,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 @@ -20838,7 +20887,7 @@ paths: - 32 - 91 responses: - '204': &137 + '204': &138 description: A header with no content is returned. '400': *15 '403': *29 @@ -20971,6 +21020,7 @@ paths: - enabled - disabled - not_set + code_scanning_default_setup_options: *137 secret_scanning: type: string description: The enablement status of secret scanning @@ -21073,6 +21123,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 @@ -21111,7 +21164,7 @@ paths: - *94 - *136 responses: - '204': *137 + '204': *138 '400': *15 '403': *29 '404': *7 @@ -21433,7 +21486,7 @@ paths: type: integer codespaces: type: array - items: &184 + items: &185 type: object title: Codespace description: A codespace. @@ -21463,7 +21516,7 @@ paths: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &372 + properties: &373 name: type: string description: The name of the machine. @@ -21505,7 +21558,7 @@ paths: - ready - in_progress nullable: true - required: &373 + required: &374 - name - display_name - operating_system @@ -21710,7 +21763,7 @@ paths: - pulls_url - recent_folders examples: - default: &185 + default: &186 value: total_count: 3 codespaces: @@ -22334,7 +22387,7 @@ paths: type: integer secrets: type: array - items: &138 + items: &139 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -22373,7 +22426,7 @@ paths: - updated_at - visibility examples: - default: &374 + default: &375 value: total_count: 2 secrets: @@ -22411,7 +22464,7 @@ paths: description: Response content: application/json: - schema: &375 + schema: &376 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -22440,7 +22493,7 @@ paths: - key_id - key examples: - default: &376 + default: &377 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22470,9 +22523,9 @@ paths: description: Response content: application/json: - schema: *138 + schema: *139 examples: - default: &378 + default: &379 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -22941,9 +22994,9 @@ paths: currently being billed. seats: type: array - items: *139 + items: *140 examples: - default: *140 + default: *141 headers: Link: *39 '500': *41 @@ -22965,13 +23018,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: @@ -23045,14 +23096,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: @@ -23128,13 +23176,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: @@ -23207,14 +23253,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: @@ -23408,7 +23451,7 @@ paths: type: array items: *56 examples: - default: *141 + default: *142 '500': *41 '401': *25 '403': *29 @@ -23435,17 +23478,17 @@ paths: url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - *94 - - *142 - *143 - *144 - *145 - *146 - *147 + - *148 - *42 - *43 - *44 - - *148 - *149 + - *150 - *18 responses: '200': @@ -23454,9 +23497,9 @@ paths: application/json: schema: type: array - items: *150 + items: *151 examples: - default: *151 + default: *152 '304': *37 '400': *15 '403': *29 @@ -23500,7 +23543,7 @@ paths: type: integer secrets: type: array - items: &152 + items: &153 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -23577,7 +23620,7 @@ paths: description: Response content: application/json: - schema: &405 + schema: &406 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -23594,7 +23637,7 @@ paths: - key_id - key examples: - default: &406 + default: &407 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -23624,7 +23667,7 @@ paths: description: Response content: application/json: - schema: *152 + schema: *153 examples: default: value: @@ -23921,7 +23964,7 @@ paths: application/json: schema: type: array - items: &198 + items: &199 title: Package description: A software package type: object @@ -23971,8 +24014,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *153 - required: *154 + properties: *154 + required: *155 nullable: true created_at: type: string @@ -23991,7 +24034,7 @@ paths: - created_at - updated_at examples: - default: &199 + default: &200 value: - id: 197 name: hello_docker @@ -24158,7 +24201,7 @@ paths: application/json: schema: type: array - items: &177 + items: &178 title: Organization Invitation description: Organization Invitation type: object @@ -24205,7 +24248,7 @@ paths: - invitation_teams_url - node_id examples: - default: &178 + default: &179 value: - id: 1 login: monalisa @@ -24272,7 +24315,7 @@ paths: application/json: schema: type: array - items: &155 + items: &156 title: Org Hook description: Org Hook type: object @@ -24443,9 +24486,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *156 examples: - default: &156 + default: &157 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -24493,7 +24536,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-an-organization-webhook parameters: - *94 - - &157 + - &158 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. @@ -24506,9 +24549,9 @@ paths: description: Response content: application/json: - schema: *155 + schema: *156 examples: - default: *156 + default: *157 '404': *7 x-github: githubCloudOnly: false @@ -24536,7 +24579,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-an-organization-webhook parameters: - *94 - - *157 + - *158 requestBody: required: false content: @@ -24581,7 +24624,7 @@ paths: description: Response content: application/json: - schema: *155 + schema: *156 examples: default: value: @@ -24623,7 +24666,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#delete-an-organization-webhook parameters: - *94 - - *157 + - *158 responses: '204': description: Response @@ -24651,7 +24694,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-configuration-for-an-organization parameters: - *94 - - *157 + - *158 responses: '200': description: Response @@ -24682,7 +24725,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#update-a-webhook-configuration-for-an-organization parameters: - *94 - - *157 + - *158 requestBody: required: false content: @@ -24733,9 +24776,9 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - *94 - - *157 - - *18 - *158 + - *18 + - *159 responses: '200': description: Response @@ -24743,9 +24786,9 @@ paths: application/json: schema: type: array - items: *159 + items: *160 examples: - default: *160 + default: *161 '400': *15 '422': *16 x-github: @@ -24771,16 +24814,16 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#get-a-webhook-delivery-for-an-organization-webhook parameters: - *94 - - *157 + - *158 - *17 responses: '200': description: Response content: application/json: - schema: *161 + schema: *162 examples: - default: *162 + default: *163 '400': *15 '422': *16 x-github: @@ -24806,7 +24849,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#redeliver-a-delivery-for-an-organization-webhook parameters: - *94 - - *157 + - *158 - *17 responses: '202': *99 @@ -24836,7 +24879,7 @@ paths: url: https://docs.github.com/rest/orgs/webhooks#ping-an-organization-webhook parameters: - *94 - - *157 + - *158 responses: '204': description: Response @@ -24859,7 +24902,7 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-route-stats-by-actor parameters: - *94 - - &167 + - &168 name: actor_type in: path description: The type of the actor @@ -24872,14 +24915,14 @@ paths: - fine_grained_pats - oauth_apps - github_apps_user_to_server - - &168 + - &169 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &163 + - &164 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`.' @@ -24887,7 +24930,7 @@ paths: required: true schema: type: string - - &164 + - &165 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) @@ -24915,6 +24958,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 @@ -24974,12 +25024,12 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-subject-stats parameters: - *94 - - *163 - *164 + - *165 - *20 - *18 - *42 - - &173 + - &174 name: sort description: The property to sort the results by. in: query @@ -24995,6 +25045,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 @@ -25051,14 +25108,14 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats parameters: - *94 - - *163 - *164 + - *165 responses: '200': description: Response content: application/json: - schema: &165 + schema: &166 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -25074,7 +25131,7 @@ paths: type: integer format: int64 examples: - default: &166 + default: &167 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -25095,23 +25152,23 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-user parameters: - *94 - - &169 + - &170 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *163 - *164 + - *165 responses: '200': description: Response content: application/json: - schema: *165 + schema: *166 examples: - default: *166 + default: *167 x-github: enabledForGitHubApps: true category: orgs @@ -25130,18 +25187,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-summary-stats-by-actor parameters: - *94 - - *163 - *164 - - *167 + - *165 - *168 + - *169 responses: '200': description: Response content: application/json: - schema: *165 + schema: *166 examples: - default: *166 + default: *167 x-github: enabledForGitHubApps: true category: orgs @@ -25159,9 +25216,9 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats parameters: - *94 - - *163 - *164 - - &170 + - *165 + - &171 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -25174,7 +25231,7 @@ paths: description: Response content: application/json: - schema: &171 + schema: &172 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -25190,7 +25247,7 @@ paths: type: integer format: int64 examples: - default: &172 + default: &173 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -25227,18 +25284,18 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-user parameters: - *94 - - *169 - - *163 - - *164 - *170 + - *164 + - *165 + - *171 responses: '200': description: Response content: application/json: - schema: *171 + schema: *172 examples: - default: *172 + default: *173 x-github: enabledForGitHubApps: true category: orgs @@ -25256,19 +25313,19 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-time-stats-by-actor parameters: - *94 - - *167 - *168 - - *163 + - *169 - *164 - - *170 + - *165 + - *171 responses: '200': description: Response content: application/json: - schema: *171 + schema: *172 examples: - default: *172 + default: *173 x-github: enabledForGitHubApps: true category: orgs @@ -25286,13 +25343,20 @@ paths: url: https://docs.github.com/rest/orgs/api-insights#get-user-stats parameters: - *94 - - *169 - - *163 + - *170 - *164 + - *165 - *20 - *18 - *42 - - *173 + - *174 + - 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 @@ -25366,7 +25430,7 @@ paths: application/json: schema: *22 examples: - default: &444 + default: &445 value: id: 1 account: @@ -25532,12 +25596,12 @@ paths: application/json: schema: anyOf: - - &175 + - &176 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &174 + limit: &175 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -25562,7 +25626,7 @@ paths: properties: {} additionalProperties: false examples: - default: &176 + default: &177 value: limit: collaborators_only origin: organization @@ -25591,13 +25655,13 @@ paths: required: true content: application/json: - schema: &445 + schema: &446 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *174 + limit: *175 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -25621,9 +25685,9 @@ paths: description: Response content: application/json: - schema: *175 + schema: *176 examples: - default: *176 + default: *177 '422': *16 x-github: githubCloudOnly: false @@ -25699,9 +25763,9 @@ paths: application/json: schema: type: array - items: *177 + items: *178 examples: - default: *178 + default: *179 headers: Link: *39 '404': *7 @@ -25778,7 +25842,7 @@ paths: description: Response content: application/json: - schema: *177 + schema: *178 examples: default: value: @@ -25833,7 +25897,7 @@ paths: url: https://docs.github.com/rest/orgs/members#cancel-an-organization-invitation parameters: - *94 - - &179 + - &180 name: invitation_id description: The unique identifier of the invitation. in: path @@ -25864,7 +25928,7 @@ paths: url: https://docs.github.com/rest/orgs/members#list-organization-invitation-teams parameters: - *94 - - *179 + - *180 - *18 - *20 responses: @@ -25874,9 +25938,9 @@ paths: application/json: schema: type: array - items: *180 + items: *181 examples: - default: &197 + default: &198 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -25951,7 +26015,7 @@ paths: - closed - all default: open - - *181 + - *182 - name: sort description: What to sort results by. in: query @@ -25976,7 +26040,7 @@ paths: type: array items: *75 examples: - default: *182 + default: *183 headers: Link: *39 '404': *7 @@ -26034,7 +26098,7 @@ paths: type: array items: *19 examples: - default: *183 + default: *184 headers: Link: *39 '422': *16 @@ -26130,9 +26194,9 @@ paths: type: integer codespaces: type: array - items: *184 + items: *185 examples: - default: *185 + default: *186 '304': *37 '500': *41 '401': *25 @@ -26159,7 +26223,7 @@ paths: parameters: - *94 - *126 - - &186 + - &187 name: codespace_name in: path required: true @@ -26194,15 +26258,15 @@ paths: parameters: - *94 - *126 - - *186 + - *187 responses: '200': description: Response content: application/json: - schema: *184 + schema: *185 examples: - default: &371 + default: &372 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -26382,7 +26446,7 @@ paths: description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *139 + schema: *140 examples: default: value: @@ -26457,7 +26521,7 @@ paths: description: Response content: application/json: - schema: &188 + schema: &189 title: Org Membership description: Org Membership type: object @@ -26486,7 +26550,7 @@ paths: type: string format: uri example: https://api.github.com/orgs/octocat - organization: *187 + organization: *188 user: title: Simple User description: A GitHub user. @@ -26509,7 +26573,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &189 + response-if-user-has-an-active-admin-membership-with-organization: &190 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -26606,9 +26670,9 @@ paths: description: Response content: application/json: - schema: *188 + schema: *189 examples: - response-if-user-already-had-membership-with-organization: *189 + response-if-user-already-had-membership-with-organization: *190 '422': *16 '403': *29 x-github: @@ -26676,7 +26740,7 @@ paths: application/json: schema: type: array - items: &190 + items: &191 title: Migration description: A migration. type: object @@ -27005,7 +27069,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *191 examples: default: value: @@ -27184,7 +27248,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#get-an-organization-migration-status parameters: - *94 - - &191 + - &192 name: migration_id description: The unique identifier of the migration. in: path @@ -27211,7 +27275,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *190 + schema: *191 examples: default: value: @@ -27381,7 +27445,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#download-an-organization-migration-archive parameters: - *94 - - *191 + - *192 responses: '302': description: Response @@ -27403,7 +27467,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#delete-an-organization-migration-archive parameters: - *94 - - *191 + - *192 responses: '204': description: Response @@ -27427,8 +27491,8 @@ paths: url: https://docs.github.com/rest/migrations/orgs#unlock-an-organization-repository parameters: - *94 - - *191 - - &590 + - *192 + - &591 name: repo_name description: repo_name parameter in: path @@ -27456,7 +27520,7 @@ paths: url: https://docs.github.com/rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - *94 - - *191 + - *192 - *18 - *20 responses: @@ -27468,7 +27532,7 @@ paths: type: array items: *113 examples: - default: &204 + default: &205 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -27621,7 +27685,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &194 + items: &195 title: Organization Role description: Organization roles type: object @@ -27769,7 +27833,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team parameters: - *94 - - *192 + - *193 responses: '204': description: Response @@ -27795,8 +27859,8 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#assign-an-organization-role-to-a-team parameters: - *94 - - *192 - - &193 + - *193 + - &194 name: role_id description: The unique identifier of the role. in: path @@ -27832,8 +27896,8 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#remove-an-organization-role-from-a-team parameters: - *94 - - *192 - *193 + - *194 responses: '204': description: Response @@ -27886,7 +27950,7 @@ paths: parameters: - *94 - *126 - - *193 + - *194 responses: '204': description: Response @@ -27918,7 +27982,7 @@ paths: parameters: - *94 - *126 - - *193 + - *194 responses: '204': description: Response @@ -27947,13 +28011,13 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#get-an-organization-role parameters: - *94 - - *193 + - *194 responses: '200': description: Response content: application/json: - schema: *194 + schema: *195 examples: default: value: @@ -28004,7 +28068,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-teams-that-are-assigned-to-an-organization-role parameters: - *94 - - *193 + - *194 - *18 - *20 responses: @@ -28082,8 +28146,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *195 - required: *196 + properties: *196 + required: *197 nullable: true required: - id @@ -28098,7 +28162,7 @@ paths: - slug - parent examples: - default: *197 + default: *198 headers: Link: *39 '404': @@ -28128,7 +28192,7 @@ paths: url: https://docs.github.com/rest/orgs/organization-roles#list-users-that-are-assigned-to-an-organization-role parameters: - *94 - - *193 + - *194 - *18 - *20 responses: @@ -28156,13 +28220,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &238 + items: &239 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *195 - required: *196 + properties: *196 + required: *197 name: nullable: true type: string @@ -28257,7 +28321,7 @@ paths: - type - url examples: - default: *183 + default: *184 headers: Link: *39 '404': @@ -28305,7 +28369,7 @@ paths: type: array items: *19 examples: - default: *183 + default: *184 headers: Link: *39 x-github: @@ -28447,7 +28511,7 @@ paths: - nuget - container - *94 - - &592 + - &593 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -28483,12 +28547,12 @@ paths: application/json: schema: type: array - items: *198 + items: *199 examples: - default: *199 + default: *200 '403': *29 '401': *25 - '400': &594 + '400': &595 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -28510,7 +28574,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-an-organization parameters: - - &200 + - &201 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 @@ -28528,7 +28592,7 @@ paths: - docker - nuget - container - - &201 + - &202 name: package_name description: The name of the package. in: path @@ -28541,7 +28605,7 @@ paths: description: Response content: application/json: - schema: *198 + schema: *199 examples: default: value: @@ -28593,8 +28657,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-an-organization parameters: - - *200 - *201 + - *202 - *94 responses: '204': @@ -28627,8 +28691,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-an-organization parameters: - - *200 - *201 + - *202 - *94 - name: token description: package token @@ -28661,8 +28725,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: - - *200 - *201 + - *202 - *94 - *20 - *18 @@ -28683,7 +28747,7 @@ paths: application/json: schema: type: array - items: &202 + items: &203 title: Package Version description: A version of a software package type: object @@ -28808,10 +28872,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-an-organization parameters: - - *200 - *201 + - *202 - *94 - - &203 + - &204 name: package_version_id description: Unique identifier of the package version. in: path @@ -28823,7 +28887,7 @@ paths: description: Response content: application/json: - schema: *202 + schema: *203 examples: default: value: @@ -28859,10 +28923,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-an-organization parameters: - - *200 - *201 + - *202 - *94 - - *203 + - *204 responses: '204': description: Response @@ -28894,10 +28958,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-an-organization parameters: - - *200 - *201 + - *202 - *94 - - *203 + - *204 responses: '204': description: Response @@ -28927,7 +28991,7 @@ paths: - *94 - *18 - *20 - - &205 + - &206 name: sort description: The property by which to sort the results. in: query @@ -28938,7 +29002,7 @@ paths: - created_at default: created_at - *42 - - &206 + - &207 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -28949,7 +29013,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &207 + - &208 name: repository description: The name of the repository to use to filter the results. in: query @@ -28957,7 +29021,7 @@ paths: schema: type: string example: Hello-World - - &208 + - &209 name: permission description: The permission to use to filter the results. in: query @@ -28965,7 +29029,7 @@ paths: schema: type: string example: issues_read - - &209 + - &210 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) @@ -28975,7 +29039,7 @@ paths: schema: type: string format: date-time - - &210 + - &211 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) @@ -29244,7 +29308,7 @@ paths: '422': *16 '404': *7 '403': *29 - '204': *137 + '204': *138 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -29287,7 +29351,7 @@ paths: type: array items: *113 examples: - default: *204 + default: *205 headers: Link: *39 x-github: @@ -29313,13 +29377,13 @@ paths: - *94 - *18 - *20 - - *205 - - *42 - *206 + - *42 - *207 - *208 - *209 - *210 + - *211 responses: '500': *41 '422': *16 @@ -29558,7 +29622,7 @@ paths: responses: '500': *41 '404': *7 - '204': *137 + '204': *138 '403': *29 '422': *16 x-github: @@ -29601,7 +29665,7 @@ paths: type: array items: *113 examples: - default: *204 + default: *205 headers: Link: *39 x-github: @@ -29644,7 +29708,7 @@ paths: application/json: schema: type: array - items: &211 + items: &212 title: Project description: Projects are a way to organize columns and cards of work. @@ -29814,7 +29878,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *212 examples: default: value: @@ -29852,7 +29916,7 @@ paths: '401': *25 '403': *29 '404': *7 - '410': &263 + '410': &264 description: Gone content: application/json: @@ -29884,7 +29948,7 @@ paths: application/json: schema: type: array - items: &212 + items: &213 title: Organization Custom Property description: Custom property defined on an organization type: object @@ -29950,7 +30014,7 @@ paths: - property_name - value_type examples: - default: &213 + default: &214 value: - property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -30005,7 +30069,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *212 + items: *213 minItems: 1 maxItems: 100 required: @@ -30035,9 +30099,9 @@ paths: application/json: schema: type: array - items: *212 + items: *213 examples: - default: *213 + default: *214 '403': *29 '404': *7 x-github: @@ -30059,7 +30123,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#get-a-custom-property-for-an-organization parameters: - *94 - - &214 + - &215 name: custom_property_name description: The custom property name in: path @@ -30071,9 +30135,9 @@ paths: description: Response content: application/json: - schema: *212 + schema: *213 examples: - default: &215 + default: &216 value: property_name: environment url: https://api.github.com/orgs/github/properties/schema/environment @@ -30108,7 +30172,7 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization parameters: - *94 - - *214 + - *215 requestBody: required: true content: @@ -30167,9 +30231,9 @@ paths: description: Response content: application/json: - schema: *212 + schema: *213 examples: - default: *215 + default: *216 '403': *29 '404': *7 x-github: @@ -30193,9 +30257,9 @@ paths: url: https://docs.github.com/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization parameters: - *94 - - *214 + - *215 responses: - '204': *137 + '204': *138 '403': *29 '404': *7 x-github: @@ -30254,7 +30318,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &216 + items: &217 title: Custom Property Value description: Custom property name and associated value type: object @@ -30341,7 +30405,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *216 + items: *217 required: - repository_names - properties @@ -30394,7 +30458,7 @@ paths: type: array items: *19 examples: - default: *183 + default: *184 headers: Link: *39 x-github: @@ -30533,7 +30597,7 @@ paths: type: array items: *113 examples: - default: *204 + default: *205 headers: Link: *39 x-github: @@ -30735,7 +30799,7 @@ paths: description: Response content: application/json: - schema: &265 + schema: &266 title: Full Repository description: Full Repository type: object @@ -31012,8 +31076,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *217 - required: *218 + properties: *218 + required: *219 nullable: true temp_clone_token: type: string @@ -31128,7 +31192,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &393 + properties: &394 url: type: string format: uri @@ -31144,12 +31208,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &394 + required: &395 - url - key - name - html_url - security_and_analysis: *219 + security_and_analysis: *220 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -31233,7 +31297,7 @@ paths: - network_count - subscribers_count examples: - default: &267 + default: &268 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -31754,7 +31818,7 @@ paths: - *94 - *18 - *20 - - &529 + - &530 name: targets description: | A comma-separated list of rule targets to filter by. @@ -31772,7 +31836,7 @@ paths: application/json: schema: type: array - items: &226 + items: &227 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -31805,7 +31869,7 @@ paths: source: type: string description: The name of the source - enforcement: &222 + enforcement: &223 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -31818,7 +31882,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &223 + items: &224 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -31883,7 +31947,7 @@ paths: conditions: nullable: true anyOf: - - &220 + - &221 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -31907,7 +31971,7 @@ paths: match. items: type: string - - &224 + - &225 title: Organization ruleset conditions type: object description: |- @@ -31920,7 +31984,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *220 + - *221 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -31954,7 +32018,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *220 + - *221 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -31976,7 +32040,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *220 + - *221 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -31989,7 +32053,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &221 + items: &222 title: Repository ruleset property targeting definition type: object @@ -32022,17 +32086,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *221 + items: *222 required: - repository_property rules: type: array - items: &225 + items: &226 title: Repository Rule type: object description: A repository rule. oneOf: - - &511 + - &512 title: creation description: Only allow users with bypass permission to create matching refs. @@ -32044,7 +32108,7 @@ paths: type: string enum: - creation - - &512 + - &513 title: update description: Only allow users with bypass permission to update matching refs. @@ -32065,7 +32129,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &514 + - &515 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -32077,7 +32141,7 @@ paths: type: string enum: - deletion - - &515 + - &516 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -32089,7 +32153,7 @@ paths: type: string enum: - required_linear_history - - &516 + - &517 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -32167,7 +32231,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &517 + - &518 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -32191,7 +32255,7 @@ paths: type: string required: - required_deployment_environments - - &518 + - &519 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -32203,7 +32267,7 @@ paths: type: string enum: - required_signatures - - &519 + - &520 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -32249,7 +32313,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &520 + - &521 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -32297,7 +32361,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &521 + - &522 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -32309,7 +32373,7 @@ paths: type: string enum: - non_fast_forward - - &522 + - &523 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -32345,7 +32409,7 @@ paths: required: - operator - pattern - - &523 + - &524 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -32381,7 +32445,7 @@ paths: required: - operator - pattern - - &524 + - &525 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -32417,7 +32481,7 @@ paths: required: - operator - pattern - - &525 + - &526 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -32453,7 +32517,7 @@ paths: required: - operator - pattern - - &526 + - &527 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -32579,7 +32643,7 @@ paths: maximum: 100 required: - max_file_size - - &527 + - &528 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -32629,7 +32693,7 @@ paths: - repository_id required: - workflows - - &528 + - &529 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -32762,16 +32826,16 @@ paths: - tag - push default: branch - enforcement: *222 + enforcement: *223 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *223 - conditions: *224 + items: *224 + conditions: *225 rules: type: array description: An array of rules within the ruleset. - items: *225 + items: *226 required: - name - enforcement @@ -32809,9 +32873,9 @@ paths: description: Response content: application/json: - schema: *226 + schema: *227 examples: - default: &227 + default: &228 value: id: 21 name: super cool ruleset @@ -32866,7 +32930,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#list-organization-rule-suites parameters: - *94 - - &530 + - &531 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 @@ -32881,7 +32945,7 @@ paths: in: query schema: type: string - - &531 + - &532 name: time_period description: |- The time period to filter by. @@ -32897,14 +32961,14 @@ paths: - week - month default: day - - &532 + - &533 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 - - &533 + - &534 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -32924,7 +32988,7 @@ paths: description: Response content: application/json: - schema: &534 + schema: &535 title: Rule Suites description: Response type: array @@ -32979,7 +33043,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &535 + default: &536 value: - id: 21 actor_id: 12 @@ -33023,7 +33087,7 @@ paths: url: https://docs.github.com/rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - *94 - - &536 + - &537 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -33039,7 +33103,7 @@ paths: description: Response content: application/json: - schema: &537 + schema: &538 title: Rule Suite description: Response type: object @@ -33138,7 +33202,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &538 + default: &539 value: id: 21 actor_id: 12 @@ -33211,9 +33275,9 @@ paths: description: Response content: application/json: - schema: *226 + schema: *227 examples: - default: *227 + default: *228 '404': *7 '500': *41 put: @@ -33256,16 +33320,16 @@ paths: - branch - tag - push - enforcement: *222 + enforcement: *223 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *223 - conditions: *224 + items: *224 + conditions: *225 rules: description: An array of rules within the ruleset. type: array - items: *225 + items: *226 examples: default: value: @@ -33300,9 +33364,9 @@ paths: description: Response content: application/json: - schema: *226 + schema: *227 examples: - default: *227 + default: *228 '404': *7 '500': *41 delete: @@ -33349,14 +33413,14 @@ paths: url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization parameters: - *94 - - *228 - *229 - *230 - *231 + - *232 - *42 - *20 - *18 - - &540 + - &541 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 @@ -33366,7 +33430,7 @@ paths: required: false schema: type: string - - &541 + - &542 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 @@ -33376,9 +33440,9 @@ paths: required: false schema: type: string - - *232 - *233 - *234 + - *235 responses: '200': description: Response @@ -33386,9 +33450,9 @@ paths: application/json: schema: type: array - items: *235 + items: *236 examples: - default: *236 + default: *237 headers: Link: *39 '404': *7 @@ -33458,7 +33522,7 @@ paths: application/json: schema: type: array - items: &548 + items: &549 description: A repository security advisory. type: object properties: @@ -33678,7 +33742,7 @@ paths: login: type: string description: The username of the user credited. - type: *237 + type: *238 credits_detailed: type: array nullable: true @@ -33688,7 +33752,7 @@ paths: type: object properties: user: *19 - type: *237 + type: *238 state: type: string description: The state of the user's acceptance of the @@ -33712,7 +33776,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *180 + items: *181 private_fork: readOnly: true nullable: true @@ -33749,7 +33813,7 @@ paths: - private_fork additionalProperties: false examples: - default: &549 + default: &550 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -34139,9 +34203,9 @@ paths: application/json: schema: type: array - items: *238 + items: *239 examples: - default: *197 + default: *198 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34165,7 +34229,7 @@ paths: url: https://docs.github.com/rest/orgs/security-managers#add-a-security-manager-team parameters: - *94 - - *192 + - *193 responses: '204': description: Response @@ -34191,7 +34255,7 @@ paths: url: https://docs.github.com/rest/orgs/security-managers#remove-a-security-manager-team parameters: - *94 - - *192 + - *193 responses: '204': description: Response @@ -34223,7 +34287,7 @@ paths: description: Response content: application/json: - schema: &608 + schema: &609 type: object properties: total_minutes_used: @@ -34293,7 +34357,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &609 + default: &610 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -34329,7 +34393,7 @@ paths: description: Response content: application/json: - schema: &610 + schema: &611 type: object properties: total_gigabytes_bandwidth_used: @@ -34347,7 +34411,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &611 + default: &612 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -34379,7 +34443,7 @@ paths: description: Response content: application/json: - schema: &612 + schema: &613 type: object properties: days_left_in_billing_cycle: @@ -34397,7 +34461,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &613 + default: &614 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -34432,7 +34496,7 @@ paths: url: https://docs.github.com/rest/copilot/copilot-metrics#get-copilot-metrics-for-a-team parameters: - *94 - - *192 + - *193 - 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`). @@ -34505,7 +34569,7 @@ paths: url: https://docs.github.com/rest/copilot/copilot-usage#get-a-summary-of-copilot-usage-for-a-team parameters: - *94 - - *192 + - *193 - 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`). @@ -34539,7 +34603,7 @@ paths: type: array items: *56 examples: - default: *141 + default: *142 '500': *41 '401': *25 '403': *29 @@ -34571,9 +34635,9 @@ paths: application/json: schema: type: array - items: *180 + items: *181 examples: - default: *197 + default: *198 headers: Link: *39 '403': *29 @@ -34667,7 +34731,7 @@ paths: description: Response content: application/json: - schema: &239 + schema: &240 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -34730,8 +34794,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *195 - required: *196 + properties: *196 + required: *197 nullable: true members_count: type: integer @@ -34977,7 +35041,7 @@ paths: - repos_count - organization examples: - default: &240 + default: &241 value: id: 1 node_id: MDQ6VGVhbTE= @@ -35048,15 +35112,15 @@ paths: url: https://docs.github.com/rest/teams/teams#get-a-team-by-name parameters: - *94 - - *192 + - *193 responses: '200': description: Response content: application/json: - schema: *239 + schema: *240 examples: - default: *240 + default: *241 '404': *7 x-github: githubCloudOnly: false @@ -35078,7 +35142,7 @@ paths: url: https://docs.github.com/rest/teams/teams#update-a-team parameters: - *94 - - *192 + - *193 requestBody: required: false content: @@ -35140,16 +35204,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *239 + schema: *240 examples: - default: *240 + default: *241 '201': description: Response content: application/json: - schema: *239 + schema: *240 examples: - default: *240 + default: *241 '404': *7 '422': *16 '403': *29 @@ -35175,7 +35239,7 @@ paths: url: https://docs.github.com/rest/teams/teams#delete-a-team parameters: - *94 - - *192 + - *193 responses: '204': description: Response @@ -35202,7 +35266,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#list-discussions parameters: - *94 - - *192 + - *193 - *42 - *18 - *20 @@ -35219,7 +35283,7 @@ paths: application/json: schema: type: array - items: &241 + items: &242 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -35318,7 +35382,7 @@ paths: - updated_at - url examples: - default: &563 + default: &564 value: - author: login: octocat @@ -35393,7 +35457,7 @@ paths: url: https://docs.github.com/rest/teams/discussions#create-a-discussion parameters: - *94 - - *192 + - *193 requestBody: required: true content: @@ -35427,9 +35491,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *242 examples: - default: &242 + default: &243 value: author: login: octocat @@ -35502,8 +35566,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#get-a-discussion parameters: - *94 - - *192 - - &243 + - *193 + - &244 name: discussion_number description: The number that identifies the discussion. in: path @@ -35515,9 +35579,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *242 examples: - default: *242 + default: *243 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35540,8 +35604,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#update-a-discussion parameters: - *94 - - *192 - - *243 + - *193 + - *244 requestBody: required: false content: @@ -35564,9 +35628,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *242 examples: - default: &564 + default: &565 value: author: login: octocat @@ -35637,8 +35701,8 @@ paths: url: https://docs.github.com/rest/teams/discussions#delete-a-discussion parameters: - *94 - - *192 - - *243 + - *193 + - *244 responses: '204': description: Response @@ -35665,8 +35729,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments parameters: - *94 - - *192 - - *243 + - *193 + - *244 - *42 - *18 - *20 @@ -35677,7 +35741,7 @@ paths: application/json: schema: type: array - items: &244 + items: &245 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -35749,7 +35813,7 @@ paths: - updated_at - url examples: - default: &565 + default: &566 value: - author: login: octocat @@ -35818,8 +35882,8 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment parameters: - *94 - - *192 - - *243 + - *193 + - *244 requestBody: required: true content: @@ -35841,9 +35905,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: - default: &245 + default: &246 value: author: login: octocat @@ -35910,9 +35974,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment parameters: - *94 - - *192 - - *243 - - &246 + - *193 + - *244 + - &247 name: comment_number description: The number that identifies the comment. in: path @@ -35924,9 +35988,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: - default: *245 + default: *246 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -35949,9 +36013,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment parameters: - *94 - - *192 - - *243 - - *246 + - *193 + - *244 + - *247 requestBody: required: true content: @@ -35973,9 +36037,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: - default: &566 + default: &567 value: author: login: octocat @@ -36040,9 +36104,9 @@ paths: url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment parameters: - *94 - - *192 - - *243 - - *246 + - *193 + - *244 + - *247 responses: '204': description: Response @@ -36069,9 +36133,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment parameters: - *94 - - *192 - - *243 - - *246 + - *193 + - *244 + - *247 - 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. @@ -36097,7 +36161,7 @@ paths: application/json: schema: type: array - items: &247 + items: &248 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -36140,7 +36204,7 @@ paths: - content - created_at examples: - default: &249 + default: &250 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -36191,9 +36255,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment parameters: - *94 - - *192 - - *243 - - *246 + - *193 + - *244 + - *247 requestBody: required: true content: @@ -36226,9 +36290,9 @@ paths: team discussion comment content: application/json: - schema: *247 + schema: *248 examples: - default: &248 + default: &249 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -36257,9 +36321,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -36283,10 +36347,10 @@ paths: url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - *94 - - *192 - - *243 - - *246 - - &250 + - *193 + - *244 + - *247 + - &251 name: reaction_id description: The unique identifier of the reaction. in: path @@ -36319,8 +36383,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - *94 - - *192 - - *243 + - *193 + - *244 - 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. @@ -36346,9 +36410,9 @@ paths: application/json: schema: type: array - items: *247 + items: *248 examples: - default: *249 + default: *250 headers: Link: *39 x-github: @@ -36375,8 +36439,8 @@ paths: url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - *94 - - *192 - - *243 + - *193 + - *244 requestBody: required: true content: @@ -36408,16 +36472,16 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 '201': description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -36441,9 +36505,9 @@ paths: url: https://docs.github.com/rest/reactions/reactions#delete-team-discussion-reaction parameters: - *94 - - *192 - - *243 - - *250 + - *193 + - *244 + - *251 responses: '204': description: Response @@ -36468,7 +36532,7 @@ paths: url: https://docs.github.com/rest/teams/members#list-pending-team-invitations parameters: - *94 - - *192 + - *193 - *18 - *20 responses: @@ -36478,9 +36542,9 @@ paths: application/json: schema: type: array - items: *177 + items: *178 examples: - default: *178 + default: *179 headers: Link: *39 x-github: @@ -36503,7 +36567,7 @@ paths: url: https://docs.github.com/rest/teams/members#list-team-members parameters: - *94 - - *192 + - *193 - name: role description: Filters members returned by their role in the team. in: query @@ -36526,7 +36590,7 @@ paths: type: array items: *19 examples: - default: *183 + default: *184 headers: Link: *39 x-github: @@ -36557,14 +36621,14 @@ paths: url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user parameters: - *94 - - *192 + - *193 - *126 responses: '200': description: Response content: application/json: - schema: &251 + schema: &252 title: Team Membership description: Team Membership type: object @@ -36591,7 +36655,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &567 + response-if-user-is-a-team-maintainer: &568 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -36628,7 +36692,7 @@ paths: url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user parameters: - *94 - - *192 + - *193 - *126 requestBody: required: false @@ -36654,9 +36718,9 @@ paths: description: Response content: application/json: - schema: *251 + schema: *252 examples: - response-if-users-membership-with-team-is-now-pending: &568 + response-if-users-membership-with-team-is-now-pending: &569 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -36692,7 +36756,7 @@ paths: url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user parameters: - *94 - - *192 + - *193 - *126 responses: '204': @@ -36720,7 +36784,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-team-projects parameters: - *94 - - *192 + - *193 - *18 - *20 responses: @@ -36730,7 +36794,7 @@ paths: application/json: schema: type: array - items: &252 + items: &253 title: Team Project description: A team's access to a project. type: object @@ -36798,7 +36862,7 @@ paths: - updated_at - permissions examples: - default: &569 + default: &570 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -36860,8 +36924,8 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project parameters: - *94 - - *192 - - &253 + - *193 + - &254 name: project_id description: The unique identifier of the project. in: path @@ -36873,9 +36937,9 @@ paths: description: Response content: application/json: - schema: *252 + schema: *253 examples: - default: &570 + default: &571 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -36936,8 +37000,8 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions parameters: - *94 - - *192 - - *253 + - *193 + - *254 requestBody: required: false content: @@ -37002,8 +37066,8 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team parameters: - *94 - - *192 - - *253 + - *193 + - *254 responses: '204': description: Response @@ -37028,7 +37092,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-team-repositories parameters: - *94 - - *192 + - *193 - *18 - *20 responses: @@ -37040,7 +37104,7 @@ paths: type: array items: *113 examples: - default: *204 + default: *205 headers: Link: *39 x-github: @@ -37070,15 +37134,15 @@ paths: url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository parameters: - *94 - - *192 - - *254 + - *193 - *255 + - *256 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &571 + schema: &572 title: Team Repository description: A team's access to a repository. type: object @@ -37648,9 +37712,9 @@ paths: url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions parameters: - *94 - - *192 - - *254 + - *193 - *255 + - *256 requestBody: required: false content: @@ -37696,9 +37760,9 @@ paths: url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team parameters: - *94 - - *192 - - *254 + - *193 - *255 + - *256 responses: '204': description: Response @@ -37723,7 +37787,7 @@ paths: url: https://docs.github.com/rest/teams/teams#list-child-teams parameters: - *94 - - *192 + - *193 - *18 - *20 responses: @@ -37733,9 +37797,9 @@ paths: application/json: schema: type: array - items: *180 + items: *181 examples: - response-if-child-teams-exist: &572 + response-if-child-teams-exist: &573 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -37859,7 +37923,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#get-a-project-card parameters: - - &256 + - &257 name: card_id description: The unique identifier of the card. in: path @@ -37871,7 +37935,7 @@ paths: description: Response content: application/json: - schema: &257 + schema: &258 title: Project Card description: Project cards represent a scope of work. type: object @@ -37938,7 +38002,7 @@ paths: - created_at - updated_at examples: - default: &258 + default: &259 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -37988,7 +38052,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#update-an-existing-project-card parameters: - - *256 + - *257 requestBody: required: false content: @@ -38015,9 +38079,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *258 examples: - default: *258 + default: *259 '304': *37 '403': *29 '401': *25 @@ -38038,7 +38102,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#delete-a-project-card parameters: - - *256 + - *257 responses: '204': description: Response @@ -38076,7 +38140,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#move-a-project-card parameters: - - *256 + - *257 requestBody: required: true content: @@ -38181,7 +38245,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#get-a-project-column parameters: - - &259 + - &260 name: column_id description: The unique identifier of the column. in: path @@ -38193,7 +38257,7 @@ paths: description: Response content: application/json: - schema: &260 + schema: &261 title: Project Column description: Project columns contain cards of work. type: object @@ -38239,7 +38303,7 @@ paths: - created_at - updated_at examples: - default: &261 + default: &262 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -38268,7 +38332,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#update-an-existing-project-column parameters: - - *259 + - *260 requestBody: required: true content: @@ -38292,9 +38356,9 @@ paths: description: Response content: application/json: - schema: *260 + schema: *261 examples: - default: *261 + default: *262 '304': *37 '403': *29 '401': *25 @@ -38313,7 +38377,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#delete-a-project-column parameters: - - *259 + - *260 responses: '204': description: Response @@ -38336,7 +38400,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#list-project-cards parameters: - - *259 + - *260 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -38357,7 +38421,7 @@ paths: application/json: schema: type: array - items: *257 + items: *258 examples: default: value: @@ -38410,7 +38474,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/cards#create-a-project-card parameters: - - *259 + - *260 requestBody: required: true content: @@ -38450,9 +38514,9 @@ paths: description: Response content: application/json: - schema: *257 + schema: *258 examples: - default: *258 + default: *259 '304': *37 '403': *29 '401': *25 @@ -38502,7 +38566,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#move-a-project-column parameters: - - *259 + - *260 requestBody: required: true content: @@ -38558,15 +38622,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#get-a-project parameters: - - *253 + - *254 responses: '200': description: Response content: application/json: - schema: *211 + schema: *212 examples: - default: &262 + default: &263 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -38619,7 +38683,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#update-a-project parameters: - - *253 + - *254 requestBody: required: false content: @@ -38665,9 +38729,9 @@ paths: description: Response content: application/json: - schema: *211 + schema: *212 examples: - default: *262 + default: *263 '404': description: Not Found if the authenticated user does not have access to the project @@ -38688,7 +38752,7 @@ paths: items: type: string '401': *25 - '410': *263 + '410': *264 '422': *8 x-github: githubCloudOnly: false @@ -38706,7 +38770,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#delete-a-project parameters: - - *253 + - *254 responses: '204': description: Delete Success @@ -38727,7 +38791,7 @@ paths: items: type: string '401': *25 - '410': *263 + '410': *264 '404': *7 x-github: githubCloudOnly: false @@ -38750,7 +38814,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#list-project-collaborators parameters: - - *253 + - *254 - 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 @@ -38777,7 +38841,7 @@ paths: type: array items: *19 examples: - default: *183 + default: *184 headers: Link: *39 '404': *7 @@ -38802,7 +38866,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#add-project-collaborator parameters: - - *253 + - *254 - *126 requestBody: required: false @@ -38850,7 +38914,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *253 + - *254 - *126 responses: '204': @@ -38879,7 +38943,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *253 + - *254 - *126 responses: '200': @@ -38947,7 +39011,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#list-project-columns parameters: - - *253 + - *254 - *18 - *20 responses: @@ -38957,7 +39021,7 @@ paths: application/json: schema: type: array - items: *260 + items: *261 examples: default: value: @@ -38989,7 +39053,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/columns#create-a-project-column parameters: - - *253 + - *254 requestBody: required: true content: @@ -39012,7 +39076,7 @@ paths: description: Response content: application/json: - schema: *260 + schema: *261 examples: default: value: @@ -39073,7 +39137,7 @@ paths: resources: type: object properties: - core: &264 + core: &265 title: Rate Limit type: object properties: @@ -39090,19 +39154,19 @@ paths: - remaining - reset - used - graphql: *264 - search: *264 - code_search: *264 - source_import: *264 - integration_manifest: *264 - code_scanning_upload: *264 - actions_runner_registration: *264 - scim: *264 - dependency_snapshots: *264 + graphql: *265 + search: *265 + code_search: *265 + source_import: *265 + integration_manifest: *265 + code_scanning_upload: *265 + actions_runner_registration: *265 + scim: *265 + dependency_snapshots: *265 required: - core - search - rate: *264 + rate: *265 required: - rate - resources @@ -39201,14 +39265,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-a-repository parameters: - - *254 - *255 + - *256 responses: '200': description: Response content: application/json: - schema: *265 + schema: *266 examples: default-response: summary: Default response @@ -39709,7 +39773,7 @@ paths: status: disabled '403': *29 '404': *7 - '301': *266 + '301': *267 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39727,8 +39791,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#update-a-repository parameters: - - *254 - *255 + - *256 requestBody: required: false content: @@ -39964,10 +40028,10 @@ paths: description: Response content: application/json: - schema: *265 + schema: *266 examples: - default: *267 - '307': &268 + default: *268 + '307': &269 description: Temporary Redirect content: application/json: @@ -39996,8 +40060,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#delete-a-repository parameters: - - *254 - *255 + - *256 responses: '204': description: Response @@ -40019,7 +40083,7 @@ paths: value: message: Organization members cannot delete repositories. documentation_url: https://docs.github.com/rest/repos/repos#delete-a-repository - '307': *268 + '307': *269 '404': *7 x-github: githubCloudOnly: false @@ -40042,11 +40106,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *254 - *255 + - *256 - *18 - *20 - - &294 + - &295 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -40069,7 +40133,7 @@ paths: type: integer artifacts: type: array - items: &269 + items: &270 title: Artifact description: An artifact type: object @@ -40140,7 +40204,7 @@ paths: - expires_at - updated_at examples: - default: &295 + default: &296 value: total_count: 2 artifacts: @@ -40199,9 +40263,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#get-an-artifact parameters: - - *254 - *255 - - &270 + - *256 + - &271 name: artifact_id description: The unique identifier of the artifact. in: path @@ -40213,7 +40277,7 @@ paths: description: Response content: application/json: - schema: *269 + schema: *270 examples: default: value: @@ -40250,9 +40314,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#delete-an-artifact parameters: - - *254 - *255 - - *270 + - *256 + - *271 responses: '204': description: Response @@ -40276,9 +40340,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#download-an-artifact parameters: - - *254 - *255 - - *270 + - *256 + - *271 - name: archive_format in: path required: true @@ -40292,7 +40356,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': *263 + '410': *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40315,14 +40379,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#get-github-actions-cache-usage-for-a-repository parameters: - - *254 - *255 + - *256 responses: '200': description: Response content: application/json: - schema: *271 + schema: *272 examples: default: value: @@ -40348,11 +40412,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/cache#list-github-actions-caches-for-a-repository parameters: - - *254 - *255 + - *256 - *18 - *20 - - &272 + - &273 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 @@ -40386,7 +40450,7 @@ paths: description: Response content: application/json: - schema: &273 + schema: &274 title: Repository actions caches description: Repository actions caches type: object @@ -40428,7 +40492,7 @@ paths: - total_count - actions_caches examples: - default: &274 + default: &275 value: total_count: 1 actions_caches: @@ -40460,23 +40524,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: - - *254 - *255 + - *256 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *272 + - *273 responses: '200': description: Response content: application/json: - schema: *273 + schema: *274 examples: - default: *274 + default: *275 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40496,8 +40560,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: - - *254 - *255 + - *256 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -40528,9 +40592,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#get-a-job-for-a-workflow-run parameters: - - *254 - *255 - - &275 + - *256 + - &276 name: job_id description: The unique identifier of the job. in: path @@ -40542,7 +40606,7 @@ paths: description: Response content: application/json: - schema: &298 + schema: &299 title: Job description: Information of a job execution in a workflow run type: object @@ -40849,9 +40913,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#download-job-logs-for-a-workflow-run parameters: - - *254 - *255 - - *275 + - *256 + - *276 responses: '302': description: Response @@ -40879,9 +40943,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run parameters: - - *254 - *255 - - *275 + - *256 + - *276 requestBody: required: false content: @@ -40926,8 +40990,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: - - *254 - *255 + - *256 responses: '200': description: Status response @@ -40977,8 +41041,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: - - *254 - *255 + - *256 requestBody: required: true content: @@ -41041,8 +41105,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-organization-secrets parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -41060,7 +41124,7 @@ paths: type: integer secrets: type: array - items: &300 + items: &301 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -41080,7 +41144,7 @@ paths: - created_at - updated_at examples: - default: &301 + default: &302 value: total_count: 2 secrets: @@ -41113,9 +41177,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-organization-variables parameters: - - *254 - *255 - - *276 + - *256 + - *277 - *20 responses: '200': @@ -41132,7 +41196,7 @@ paths: type: integer variables: type: array - items: &304 + items: &305 title: Actions Variable type: object properties: @@ -41162,7 +41226,7 @@ paths: - created_at - updated_at examples: - default: &305 + default: &306 value: total_count: 2 variables: @@ -41195,8 +41259,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-github-actions-permissions-for-a-repository parameters: - - *254 - *255 + - *256 responses: '200': description: Response @@ -41205,11 +41269,11 @@ paths: schema: type: object properties: - enabled: &278 + enabled: &279 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *103 - selected_actions_url: *277 + selected_actions_url: *278 required: - enabled examples: @@ -41236,8 +41300,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-github-actions-permissions-for-a-repository parameters: - - *254 - *255 + - *256 responses: '204': description: Response @@ -41248,7 +41312,7 @@ paths: schema: type: object properties: - enabled: *278 + enabled: *279 allowed_actions: *103 required: - enabled @@ -41278,14 +41342,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: - - *254 - *255 + - *256 responses: '200': description: Response content: application/json: - schema: &279 + schema: &280 type: object properties: access_level: @@ -41302,7 +41366,7 @@ paths: required: - access_level examples: - default: &280 + default: &281 value: access_level: organization x-github: @@ -41326,15 +41390,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: - - *254 - *255 + - *256 requestBody: required: true content: application/json: - schema: *279 + schema: *280 examples: - default: *280 + default: *281 responses: '204': description: Response @@ -41358,8 +41422,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *254 - *255 + - *256 responses: '200': description: Response @@ -41386,8 +41450,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-allowed-actions-and-reusable-workflows-for-a-repository parameters: - - *254 - *255 + - *256 responses: '204': description: Response @@ -41419,14 +41483,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#get-default-workflow-permissions-for-a-repository parameters: - - *254 - *255 + - *256 responses: '200': description: Response content: application/json: - schema: *281 + schema: *282 examples: default: *109 x-github: @@ -41449,8 +41513,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/permissions#set-default-workflow-permissions-for-a-repository parameters: - - *254 - *255 + - *256 responses: '204': description: Success response @@ -41461,7 +41525,7 @@ paths: required: true content: application/json: - schema: *282 + schema: *283 examples: default: *109 x-github: @@ -41490,8 +41554,8 @@ paths: in: query schema: type: string - - *254 - *255 + - *256 - *18 - *20 responses: @@ -41535,8 +41599,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#list-runner-applications-for-a-repository parameters: - - *254 - *255 + - *256 responses: '200': description: Response @@ -41544,9 +41608,9 @@ paths: application/json: schema: type: array - items: *283 + items: *284 examples: - default: *284 + default: *285 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41568,8 +41632,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: - - *254 - *255 + - *256 requestBody: required: true content: @@ -41612,7 +41676,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *285 + '201': *286 '404': *7 '422': *8 x-github: @@ -41642,8 +41706,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-registration-token-for-a-repository parameters: - - *254 - *255 + - *256 responses: '201': description: Response @@ -41651,7 +41715,7 @@ paths: application/json: schema: *117 examples: - default: *286 + default: *287 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41679,8 +41743,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/self-hosted-runners#create-a-remove-token-for-a-repository parameters: - - *254 - *255 + - *256 responses: '201': description: Response @@ -41688,7 +41752,7 @@ paths: application/json: schema: *117 examples: - default: *287 + default: *288 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41710,8 +41774,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: - - *254 - *255 + - *256 - *114 responses: '200': @@ -41720,7 +41784,7 @@ paths: application/json: schema: *115 examples: - default: *288 + default: *289 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41741,8 +41805,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: - - *254 - *255 + - *256 - *114 responses: '204': @@ -41768,8 +41832,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: - - *254 - *255 + - *256 - *114 responses: '200': *119 @@ -41794,8 +41858,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: - - *254 - *255 + - *256 - *114 requestBody: required: true @@ -41844,8 +41908,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: - - *254 - *255 + - *256 - *114 requestBody: required: true @@ -41895,11 +41959,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: - - *254 - *255 + - *256 - *114 responses: - '200': *289 + '200': *290 '404': *7 x-github: githubCloudOnly: false @@ -41926,10 +41990,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: - - *254 - *255 + - *256 - *114 - - *290 + - *291 responses: '200': *119 '404': *7 @@ -41957,9 +42021,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-repository parameters: - - *254 - *255 - - &308 + - *256 + - &309 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. @@ -41967,7 +42031,7 @@ paths: required: false schema: type: string - - &309 + - &310 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -41975,7 +42039,7 @@ paths: required: false schema: type: string - - &310 + - &311 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -41984,7 +42048,7 @@ paths: required: false schema: type: string - - &311 + - &312 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 @@ -42011,7 +42075,7 @@ paths: - pending - *18 - *20 - - &312 + - &313 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)." @@ -42020,7 +42084,7 @@ paths: schema: type: string format: date-time - - &291 + - &292 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -42029,13 +42093,13 @@ paths: schema: type: boolean default: false - - &313 + - &314 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &314 + - &315 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -42058,7 +42122,7 @@ paths: type: integer workflow_runs: type: array - items: &292 + items: &293 title: Workflow Run description: An invocation of a workflow type: object @@ -42153,7 +42217,7 @@ paths: that triggered the run. type: array nullable: true - items: &333 + items: &334 title: Pull Request Minimal type: object properties: @@ -42272,7 +42336,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &337 + properties: &338 id: type: string description: SHA for the commit @@ -42323,7 +42387,7 @@ paths: - name - email nullable: true - required: &338 + required: &339 - id - tree_id - message @@ -42370,7 +42434,7 @@ paths: - workflow_url - pull_requests examples: - default: &315 + default: &316 value: total_count: 1 workflow_runs: @@ -42606,24 +42670,24 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run parameters: - - *254 - *255 - - &293 + - *256 + - &294 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *291 + - *292 responses: '200': description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: &296 + default: &297 value: id: 30433642 name: Build @@ -42864,9 +42928,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *254 - *255 - - *293 + - *256 + - *294 responses: '204': description: Response @@ -42889,9 +42953,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-the-review-history-for-a-workflow-run parameters: - - *254 - *255 - - *293 + - *256 + - *294 responses: '200': description: Response @@ -43010,9 +43074,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: - - *254 - *255 - - *293 + - *256 + - *294 responses: '201': description: Response @@ -43045,12 +43109,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *254 - *255 - - *293 + - *256 + - *294 - *18 - *20 - - *294 + - *295 responses: '200': description: Response @@ -43066,9 +43130,9 @@ paths: type: integer artifacts: type: array - items: *269 + items: *270 examples: - default: *295 + default: *296 headers: Link: *39 x-github: @@ -43092,25 +43156,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *254 - *255 - - *293 - - &297 + - *256 + - *294 + - &298 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *291 + - *292 responses: '200': description: Response content: application/json: - schema: *292 + schema: *293 examples: - default: *296 + default: *297 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -43133,10 +43197,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run-attempt parameters: - - *254 - *255 - - *293 - - *297 + - *256 + - *294 + - *298 - *18 - *20 responses: @@ -43154,9 +43218,9 @@ paths: type: integer jobs: type: array - items: *298 + items: *299 examples: - default: &299 + default: &300 value: total_count: 1 jobs: @@ -43269,10 +43333,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *254 - *255 - - *293 - - *297 + - *256 + - *294 + - *298 responses: '302': description: Response @@ -43300,9 +43364,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *254 - *255 - - *293 + - *256 + - *294 responses: '202': description: Response @@ -43335,9 +43399,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: - - *254 - *255 - - *293 + - *256 + - *294 requestBody: required: true content: @@ -43404,9 +43468,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *254 - *255 - - *293 + - *256 + - *294 responses: '202': description: Response @@ -43439,9 +43503,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-jobs#list-jobs-for-a-workflow-run parameters: - - *254 - *255 - - *293 + - *256 + - *294 - 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 @@ -43471,9 +43535,9 @@ paths: type: integer jobs: type: array - items: *298 + items: *299 examples: - default: *299 + default: *300 headers: Link: *39 x-github: @@ -43498,9 +43562,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *254 - *255 - - *293 + - *256 + - *294 responses: '302': description: Response @@ -43527,9 +43591,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *254 - *255 - - *293 + - *256 + - *294 responses: '204': description: Response @@ -43556,9 +43620,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-pending-deployments-for-a-workflow-run parameters: - - *254 - *255 - - *293 + - *256 + - *294 responses: '200': description: Response @@ -43618,7 +43682,7 @@ paths: items: type: object properties: - type: &414 + type: &415 type: string description: The type of reviewer. enum: @@ -43628,7 +43692,7 @@ paths: reviewer: anyOf: - *19 - - *180 + - *181 required: - environment - wait_timer @@ -43703,9 +43767,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#review-pending-deployments-for-a-workflow-run parameters: - - *254 - *255 - - *293 + - *256 + - *294 requestBody: required: true content: @@ -43752,7 +43816,7 @@ paths: application/json: schema: type: array - items: &409 + items: &410 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -43858,7 +43922,7 @@ paths: - created_at - updated_at examples: - default: &410 + default: &411 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -43914,9 +43978,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-a-workflow parameters: - - *254 - *255 - - *293 + - *256 + - *294 requestBody: required: false content: @@ -43960,9 +44024,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#re-run-failed-jobs-from-a-workflow-run parameters: - - *254 - *255 - - *293 + - *256 + - *294 requestBody: required: false content: @@ -44008,9 +44072,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *254 - *255 - - *293 + - *256 + - *294 responses: '200': description: Response @@ -44147,8 +44211,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-repository-secrets parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -44166,9 +44230,9 @@ paths: type: integer secrets: type: array - items: *300 + items: *301 examples: - default: *301 + default: *302 headers: Link: *39 x-github: @@ -44193,16 +44257,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-public-key parameters: - - *254 - *255 + - *256 responses: '200': description: Response content: application/json: - schema: *302 + schema: *303 examples: - default: *303 + default: *304 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -44224,17 +44288,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-a-repository-secret parameters: - - *254 - *255 + - *256 - *121 responses: '200': description: Response content: application/json: - schema: *300 + schema: *301 examples: - default: &427 + default: &428 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -44260,8 +44324,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *254 - *255 + - *256 - *121 requestBody: required: true @@ -44316,8 +44380,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-a-repository-secret parameters: - - *254 - *255 + - *256 - *121 responses: '204': @@ -44343,9 +44407,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-repository-variables parameters: - - *254 - *255 - - *276 + - *256 + - *277 - *20 responses: '200': @@ -44362,9 +44426,9 @@ paths: type: integer variables: type: array - items: *304 + items: *305 examples: - default: *305 + default: *306 headers: Link: *39 x-github: @@ -44387,8 +44451,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-a-repository-variable parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -44440,17 +44504,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-a-repository-variable parameters: - - *254 - *255 + - *256 - *124 responses: '200': description: Response content: application/json: - schema: *304 + schema: *305 examples: - default: &428 + default: &429 value: name: USERNAME value: octocat @@ -44476,8 +44540,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-a-repository-variable parameters: - - *254 - *255 + - *256 - *124 requestBody: required: true @@ -44520,8 +44584,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-a-repository-variable parameters: - - *254 - *255 + - *256 - *124 responses: '204': @@ -44547,8 +44611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#list-repository-workflows parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -44566,7 +44630,7 @@ paths: type: integer workflows: type: array - items: &306 + items: &307 title: Workflow description: A GitHub Actions workflow type: object @@ -44673,9 +44737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-a-workflow parameters: - - *254 - *255 - - &307 + - *256 + - &308 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -44690,7 +44754,7 @@ paths: description: Response content: application/json: - schema: *306 + schema: *307 examples: default: value: @@ -44723,9 +44787,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#disable-a-workflow parameters: - - *254 - *255 - - *307 + - *256 + - *308 responses: '204': description: Response @@ -44750,9 +44814,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *254 - *255 - - *307 + - *256 + - *308 responses: '204': description: Response @@ -44803,9 +44867,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#enable-a-workflow parameters: - - *254 - *255 - - *307 + - *256 + - *308 responses: '204': description: Response @@ -44832,19 +44896,19 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflow-runs#list-workflow-runs-for-a-workflow parameters: - - *254 - *255 - - *307 + - *256 - *308 - *309 - *310 - *311 + - *312 - *18 - *20 - - *312 - - *291 - *313 + - *292 - *314 + - *315 responses: '200': description: Response @@ -44860,9 +44924,9 @@ paths: type: integer workflow_runs: type: array - items: *292 + items: *293 examples: - default: *315 + default: *316 headers: Link: *39 x-github: @@ -44888,9 +44952,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/workflows#get-workflow-usage parameters: - - *254 - *255 - - *307 + - *256 + - *308 responses: '200': description: Response @@ -44951,8 +45015,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-activities parameters: - - *254 - *255 + - *256 - *42 - *18 - *43 @@ -45116,8 +45180,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#list-assignees parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -45129,7 +45193,7 @@ paths: type: array items: *19 examples: - default: *183 + default: *184 headers: Link: *39 '404': *7 @@ -45154,8 +45218,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#check-if-a-user-can-be-assigned parameters: - - *254 - *255 + - *256 - name: assignee in: path required: true @@ -45191,8 +45255,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-an-attestation parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -45304,8 +45368,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-attestations parameters: - - *254 - *255 + - *256 - *18 - *43 - *44 @@ -45349,7 +45413,7 @@ paths: repository_id: type: integer examples: - default: *316 + default: *317 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45369,8 +45433,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *254 - *255 + - *256 responses: '200': description: Response @@ -45378,7 +45442,7 @@ paths: application/json: schema: type: array - items: &317 + items: &318 title: Autolink reference description: An autolink reference. type: object @@ -45428,8 +45492,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#create-an-autolink-reference-for-a-repository parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -45468,9 +45532,9 @@ paths: description: response content: application/json: - schema: *317 + schema: *318 examples: - default: &318 + default: &319 value: id: 1 key_prefix: TICKET- @@ -45501,9 +45565,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#get-an-autolink-reference-of-a-repository parameters: - - *254 - *255 - - &319 + - *256 + - &320 name: autolink_id description: The unique identifier of the autolink. in: path @@ -45515,9 +45579,9 @@ paths: description: Response content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 '404': *7 x-github: githubCloudOnly: false @@ -45537,9 +45601,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/autolinks#delete-an-autolink-reference-from-a-repository parameters: - - *254 - *255 - - *319 + - *256 + - *320 responses: '204': description: Response @@ -45563,8 +45627,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: - - *254 - *255 + - *256 responses: '200': description: Response if Dependabot is enabled @@ -45612,8 +45676,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-automated-security-fixes parameters: - - *254 - *255 + - *256 responses: '204': description: Response @@ -45634,8 +45698,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-automated-security-fixes parameters: - - *254 - *255 + - *256 responses: '204': description: Response @@ -45655,8 +45719,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#list-branches parameters: - - *254 - *255 + - *256 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -45694,7 +45758,7 @@ paths: - url protected: type: boolean - protection: &321 + protection: &322 title: Branch Protection description: Branch Protection type: object @@ -45736,7 +45800,7 @@ paths: required: - contexts - checks - enforce_admins: &324 + enforce_admins: &325 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -45751,7 +45815,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &326 + required_pull_request_reviews: &327 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -45772,7 +45836,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *180 + items: *181 apps: description: The list of apps with review dismissal access. @@ -45801,7 +45865,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *180 + items: *181 apps: description: The list of apps allowed to bypass pull request requirements. @@ -45827,7 +45891,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &323 + restrictions: &324 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -46134,9 +46198,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#get-a-branch parameters: - - *254 - *255 - - &322 + - *256 + - &323 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). @@ -46150,14 +46214,14 @@ paths: description: Response content: application/json: - schema: &332 + schema: &333 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &382 + commit: &383 title: Commit description: Commit type: object @@ -46191,7 +46255,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &320 + properties: &321 name: type: string example: '"Chris Wanstrath"' @@ -46206,7 +46270,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *320 + properties: *321 nullable: true message: type: string @@ -46227,7 +46291,7 @@ paths: required: - sha - url - verification: &434 + verification: &435 title: Verification type: object properties: @@ -46296,7 +46360,7 @@ paths: type: integer files: type: array - items: &397 + items: &398 title: Diff Entry description: Diff Entry type: object @@ -46379,7 +46443,7 @@ paths: - self protected: type: boolean - protection: *321 + protection: *322 protection_url: type: string format: uri @@ -46486,7 +46550,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *266 + '301': *267 '404': *7 x-github: githubCloudOnly: false @@ -46508,15 +46572,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-branch-protection parameters: - - *254 - *255 - - *322 + - *256 + - *323 responses: '200': description: Response content: application/json: - schema: *321 + schema: *322 examples: default: value: @@ -46710,9 +46774,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-branch-protection parameters: - - *254 - *255 - - *322 + - *256 + - *323 requestBody: required: true content: @@ -46967,7 +47031,7 @@ paths: url: type: string format: uri - required_status_checks: &329 + required_status_checks: &330 title: Status Check Policy description: Status Check Policy type: object @@ -47043,7 +47107,7 @@ paths: items: *19 teams: type: array - items: *180 + items: *181 apps: type: array items: *6 @@ -47061,7 +47125,7 @@ paths: items: *19 teams: type: array - items: *180 + items: *181 apps: type: array items: *6 @@ -47119,7 +47183,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *323 + restrictions: *324 required_conversation_resolution: type: object properties: @@ -47231,9 +47295,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-branch-protection parameters: - - *254 - *255 - - *322 + - *256 + - *323 responses: '204': description: Response @@ -47258,17 +47322,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-admin-branch-protection parameters: - - *254 - *255 - - *322 + - *256 + - *323 responses: '200': description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: &325 + default: &326 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -47290,17 +47354,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-admin-branch-protection parameters: - - *254 - *255 - - *322 + - *256 + - *323 responses: '200': description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *325 + default: *326 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47319,9 +47383,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *254 - *255 - - *322 + - *256 + - *323 responses: '204': description: Response @@ -47346,17 +47410,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *254 - *255 - - *322 + - *256 + - *323 responses: '200': description: Response content: application/json: - schema: *326 + schema: *327 examples: - default: &327 + default: &328 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -47452,9 +47516,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *254 - *255 - - *322 + - *256 + - *323 requestBody: required: false content: @@ -47552,9 +47616,9 @@ paths: description: Response content: application/json: - schema: *326 + schema: *327 examples: - default: *327 + default: *328 '422': *16 x-github: githubCloudOnly: false @@ -47575,9 +47639,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *254 - *255 - - *322 + - *256 + - *323 responses: '204': description: Response @@ -47604,17 +47668,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-commit-signature-protection parameters: - - *254 - *255 - - *322 + - *256 + - *323 responses: '200': description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: &328 + default: &329 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -47637,17 +47701,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#create-commit-signature-protection parameters: - - *254 - *255 - - *322 + - *256 + - *323 responses: '200': description: Response content: application/json: - schema: *324 + schema: *325 examples: - default: *328 + default: *329 '404': *7 x-github: githubCloudOnly: false @@ -47667,9 +47731,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *254 - *255 - - *322 + - *256 + - *323 responses: '204': description: Response @@ -47694,17 +47758,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-status-checks-protection parameters: - - *254 - *255 - - *322 + - *256 + - *323 responses: '200': description: Response content: application/json: - schema: *329 + schema: *330 examples: - default: &330 + default: &331 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -47730,9 +47794,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#update-status-check-protection parameters: - - *254 - *255 - - *322 + - *256 + - *323 requestBody: required: false content: @@ -47784,9 +47848,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *330 examples: - default: *330 + default: *331 '404': *7 '422': *16 x-github: @@ -47808,9 +47872,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-protection parameters: - - *254 - *255 - - *322 + - *256 + - *323 responses: '204': description: Response @@ -47834,9 +47898,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *254 - *255 - - *322 + - *256 + - *323 responses: '200': description: Response @@ -47870,9 +47934,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-status-check-contexts parameters: - - *254 - *255 - - *322 + - *256 + - *323 requestBody: required: false content: @@ -47939,9 +48003,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-status-check-contexts parameters: - - *254 - *255 - - *322 + - *256 + - *323 requestBody: required: false content: @@ -48005,9 +48069,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-status-check-contexts parameters: - - *254 - *255 - - *322 + - *256 + - *323 requestBody: content: application/json: @@ -48073,15 +48137,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-access-restrictions parameters: - - *254 - *255 - - *322 + - *256 + - *323 responses: '200': description: Response content: application/json: - schema: *323 + schema: *324 examples: default: value: @@ -48172,9 +48236,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#delete-access-restrictions parameters: - - *254 - *255 - - *322 + - *256 + - *323 responses: '204': description: Response @@ -48197,9 +48261,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-apps-with-access-to-the-protected-branch parameters: - - *254 - *255 - - *322 + - *256 + - *323 responses: '200': description: Response @@ -48209,7 +48273,7 @@ paths: type: array items: *6 examples: - default: &331 + default: &332 value: - id: 1 slug: octoapp @@ -48266,9 +48330,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-app-access-restrictions parameters: - - *254 - *255 - - *322 + - *256 + - *323 requestBody: required: true content: @@ -48302,7 +48366,7 @@ paths: type: array items: *6 examples: - default: *331 + default: *332 '422': *16 x-github: githubCloudOnly: false @@ -48323,9 +48387,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-app-access-restrictions parameters: - - *254 - *255 - - *322 + - *256 + - *323 requestBody: required: true content: @@ -48359,7 +48423,7 @@ paths: type: array items: *6 examples: - default: *331 + default: *332 '422': *16 x-github: githubCloudOnly: false @@ -48380,9 +48444,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *254 - *255 - - *322 + - *256 + - *323 requestBody: required: true content: @@ -48416,7 +48480,7 @@ paths: type: array items: *6 examples: - default: *331 + default: *332 '422': *16 x-github: githubCloudOnly: false @@ -48438,9 +48502,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-teams-with-access-to-the-protected-branch parameters: - - *254 - *255 - - *322 + - *256 + - *323 responses: '200': description: Response @@ -48448,9 +48512,9 @@ paths: application/json: schema: type: array - items: *180 + items: *181 examples: - default: *197 + default: *198 '404': *7 x-github: githubCloudOnly: false @@ -48470,9 +48534,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-team-access-restrictions parameters: - - *254 - *255 - - *322 + - *256 + - *323 requestBody: required: false content: @@ -48508,9 +48572,9 @@ paths: application/json: schema: type: array - items: *180 + items: *181 examples: - default: *197 + default: *198 '422': *16 x-github: githubCloudOnly: false @@ -48531,9 +48595,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-team-access-restrictions parameters: - - *254 - *255 - - *322 + - *256 + - *323 requestBody: required: false content: @@ -48569,9 +48633,9 @@ paths: application/json: schema: type: array - items: *180 + items: *181 examples: - default: *197 + default: *198 '422': *16 x-github: githubCloudOnly: false @@ -48592,9 +48656,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *254 - *255 - - *322 + - *256 + - *323 requestBody: content: application/json: @@ -48629,9 +48693,9 @@ paths: application/json: schema: type: array - items: *180 + items: *181 examples: - default: *197 + default: *198 '422': *16 x-github: githubCloudOnly: false @@ -48653,9 +48717,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#get-users-with-access-to-the-protected-branch parameters: - - *254 - *255 - - *322 + - *256 + - *323 responses: '200': description: Response @@ -48665,7 +48729,7 @@ paths: type: array items: *19 examples: - default: *183 + default: *184 '404': *7 x-github: githubCloudOnly: false @@ -48689,9 +48753,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#add-user-access-restrictions parameters: - - *254 - *255 - - *322 + - *256 + - *323 requestBody: required: true content: @@ -48724,7 +48788,7 @@ paths: type: array items: *19 examples: - default: *183 + default: *184 '422': *16 x-github: githubCloudOnly: false @@ -48749,9 +48813,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#set-user-access-restrictions parameters: - - *254 - *255 - - *322 + - *256 + - *323 requestBody: required: true content: @@ -48784,7 +48848,7 @@ paths: type: array items: *19 examples: - default: *183 + default: *184 '422': *16 x-github: githubCloudOnly: false @@ -48809,9 +48873,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *254 - *255 - - *322 + - *256 + - *323 requestBody: required: true content: @@ -48844,7 +48908,7 @@ paths: type: array items: *19 examples: - default: *183 + default: *184 '422': *16 x-github: githubCloudOnly: false @@ -48871,9 +48935,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#rename-a-branch parameters: - - *254 - *255 - - *322 + - *256 + - *323 requestBody: required: true content: @@ -48895,7 +48959,7 @@ paths: description: Response content: application/json: - schema: *332 + schema: *333 examples: default: value: @@ -49011,8 +49075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#create-a-check-run parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -49291,7 +49355,7 @@ paths: description: Response content: application/json: - schema: &334 + schema: &335 title: CheckRun description: A check performed on the code of a given code change type: object @@ -49410,8 +49474,8 @@ paths: do not necessarily indicate pull requests that triggered the check. type: array - items: *333 - deployment: &622 + items: *334 + deployment: &623 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -49691,9 +49755,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#get-a-check-run parameters: - - *254 - *255 - - &335 + - *256 + - &336 name: check_run_id description: The unique identifier of the check run. in: path @@ -49705,9 +49769,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *335 examples: - default: &336 + default: &337 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -49807,9 +49871,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#update-a-check-run parameters: - - *254 - *255 - - *335 + - *256 + - *336 requestBody: required: true content: @@ -50049,9 +50113,9 @@ paths: description: Response content: application/json: - schema: *334 + schema: *335 examples: - default: *336 + default: *337 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50071,9 +50135,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-run-annotations parameters: - - *254 - *255 - - *335 + - *256 + - *336 - *18 - *20 responses: @@ -50170,9 +50234,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#rerequest-a-check-run parameters: - - *254 - *255 - - *335 + - *256 + - *336 responses: '201': description: Response @@ -50216,8 +50280,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#create-a-check-suite parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -50239,7 +50303,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &339 + schema: &340 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -50303,7 +50367,7 @@ paths: nullable: true pull_requests: type: array - items: *333 + items: *334 nullable: true app: title: GitHub app @@ -50325,12 +50389,12 @@ paths: type: string format: date-time nullable: true - head_commit: &648 + head_commit: &649 title: Simple Commit description: A commit. type: object - properties: *337 - required: *338 + properties: *338 + required: *339 latest_check_runs_count: type: integer check_runs_url: @@ -50358,7 +50422,7 @@ paths: - check_runs_url - pull_requests examples: - default: &340 + default: &341 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -50649,9 +50713,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *339 + schema: *340 examples: - default: *340 + default: *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50670,8 +50734,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -50980,9 +51044,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#get-a-check-suite parameters: - - *254 - *255 - - &341 + - *256 + - &342 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -50994,9 +51058,9 @@ paths: description: Response content: application/json: - schema: *339 + schema: *340 examples: - default: *340 + default: *341 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -51019,17 +51083,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-in-a-check-suite parameters: - - *254 - *255 - - *341 - - &390 + - *256 + - *342 + - &391 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &391 + - &392 name: status description: Returns check runs with the specified `status`. in: query @@ -51068,9 +51132,9 @@ paths: type: integer check_runs: type: array - items: *334 + items: *335 examples: - default: &392 + default: &393 value: total_count: 1 check_runs: @@ -51172,9 +51236,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#rerequest-a-check-suite parameters: - - *254 - *255 - - *341 + - *256 + - *342 responses: '201': description: Response @@ -51207,21 +51271,21 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-alerts-for-a-repository parameters: - - *254 - *255 - - *342 + - *256 - *343 + - *344 - *20 - *18 - - &356 + - &357 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: *344 - - &357 + schema: *345 + - &358 name: pr description: The number of the pull request for the results you want to list. in: query @@ -51246,13 +51310,13 @@ paths: be returned. in: query required: false - schema: *345 + schema: *346 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *346 + schema: *347 responses: '200': description: Response @@ -51268,7 +51332,7 @@ paths: updated_at: *127 url: *50 html_url: *51 - instances_url: *347 + instances_url: *348 state: *132 fixed_at: *128 dismissed_by: @@ -51279,11 +51343,11 @@ paths: required: *5 nullable: true dismissed_at: *129 - dismissed_reason: *348 - dismissed_comment: *349 - rule: *350 - tool: *351 - most_recent_instance: *352 + dismissed_reason: *349 + dismissed_comment: *350 + rule: *351 + tool: *352 + most_recent_instance: *353 required: - number - created_at @@ -51399,7 +51463,7 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &353 + '403': &354 description: Response if GitHub Advanced Security is not enabled for this repository content: @@ -51426,9 +51490,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-alert parameters: - - *254 - *255 - - &354 + - *256 + - &355 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -51442,7 +51506,7 @@ paths: description: Response content: application/json: - schema: &355 + schema: &356 type: object properties: number: *48 @@ -51450,7 +51514,7 @@ paths: updated_at: *127 url: *50 html_url: *51 - instances_url: *347 + instances_url: *348 state: *132 fixed_at: *128 dismissed_by: @@ -51461,8 +51525,8 @@ paths: required: *5 nullable: true dismissed_at: *129 - dismissed_reason: *348 - dismissed_comment: *349 + dismissed_reason: *349 + dismissed_comment: *350 rule: type: object properties: @@ -51516,8 +51580,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *351 - most_recent_instance: *352 + tool: *352 + most_recent_instance: *353 required: - number - created_at @@ -51606,7 +51670,7 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *353 + '403': *354 '404': *7 '503': *63 x-github: @@ -51626,9 +51690,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-alert parameters: - - *254 - *255 - - *354 + - *256 + - *355 requestBody: required: true content: @@ -51643,8 +51707,8 @@ paths: enum: - open - dismissed - dismissed_reason: *348 - dismissed_comment: *349 + dismissed_reason: *349 + dismissed_comment: *350 required: - state examples: @@ -51659,7 +51723,7 @@ paths: description: Response content: application/json: - schema: *355 + schema: *356 examples: default: value: @@ -51734,7 +51798,7 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &362 + '403': &363 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: @@ -51761,13 +51825,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-instances-of-a-code-scanning-alert parameters: - - *254 - *255 - - *354 + - *256 + - *355 - *20 - *18 - - *356 - *357 + - *358 responses: '200': description: Response @@ -51775,7 +51839,7 @@ paths: application/json: schema: type: array - items: *352 + items: *353 examples: default: value: @@ -51814,7 +51878,7 @@ paths: end_column: 50 classifications: - source - '403': *353 + '403': *354 '404': *7 '503': *63 x-github: @@ -51848,25 +51912,25 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-code-scanning-analyses-for-a-repository parameters: - - *254 - *255 - - *342 + - *256 - *343 + - *344 - *20 - *18 - - *357 + - *358 - 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: *344 + schema: *345 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &360 + schema: &361 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -51887,23 +51951,23 @@ paths: application/json: schema: type: array - items: &361 + items: &362 type: object properties: - ref: *344 - commit_sha: &370 + ref: *345 + commit_sha: &371 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: *358 + analysis_key: *359 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *359 + category: *360 error: type: string example: error reading field xyz @@ -51927,8 +51991,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *360 - tool: *351 + sarif_id: *361 + tool: *352 deletable: type: boolean warning: @@ -51989,7 +52053,7 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *353 + '403': *354 '404': *7 '503': *63 x-github: @@ -52025,8 +52089,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: - - *254 - *255 + - *256 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -52039,7 +52103,7 @@ paths: description: Response content: application/json: - schema: *361 + schema: *362 examples: response: summary: application/json response @@ -52093,7 +52157,7 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *353 + '403': *354 '404': *7 '503': *63 x-github: @@ -52175,8 +52239,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: - - *254 - *255 + - *256 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -52229,7 +52293,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': *15 - '403': *362 + '403': *363 '404': *7 '503': *63 x-github: @@ -52251,8 +52315,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#list-codeql-databases-for-a-repository parameters: - - *254 - *255 + - *256 responses: '200': description: Response @@ -52260,7 +52324,7 @@ paths: application/json: schema: type: array - items: &363 + items: &364 title: CodeQL Database description: A CodeQL database. type: object @@ -52371,7 +52435,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': *353 + '403': *354 '404': *7 '503': *63 x-github: @@ -52400,8 +52464,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-codeql-database-for-a-repository parameters: - - *254 - *255 + - *256 - name: language in: path description: The language of the CodeQL database. @@ -52413,7 +52477,7 @@ paths: description: Response content: application/json: - schema: *363 + schema: *364 examples: default: value: @@ -52445,9 +52509,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': &399 + '302': &400 description: Found - '403': *353 + '403': *354 '404': *7 '503': *63 x-github: @@ -52469,8 +52533,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *254 - *255 + - *256 - name: language in: path description: The language of the CodeQL database. @@ -52480,7 +52544,7 @@ paths: responses: '204': description: Response - '403': *362 + '403': *363 '404': *7 '503': *63 x-github: @@ -52508,8 +52572,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#create-a-codeql-variant-analysis parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -52518,7 +52582,7 @@ paths: type: object additionalProperties: false properties: - language: &364 + language: &365 type: string description: The language targeted by the CodeQL query enum: @@ -52596,7 +52660,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &368 + schema: &369 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -52606,7 +52670,7 @@ paths: description: The ID of the variant analysis. controller_repo: *52 actor: *19 - query_language: *364 + query_language: *365 query_pack_url: type: string description: The download url for the query pack. @@ -52653,7 +52717,7 @@ paths: items: type: object properties: - repository: &365 + repository: &366 title: Repository Identifier description: Repository Identifier type: object @@ -52689,7 +52753,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &369 + analysis_status: &370 type: string description: The new status of the CodeQL variant analysis repository task. @@ -52721,7 +52785,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &366 + access_mismatch_repos: &367 type: object properties: repository_count: @@ -52735,7 +52799,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: *365 + items: *366 required: - repository_count - repositories @@ -52757,8 +52821,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *366 - over_limit_repos: *366 + no_codeql_db_repos: *367 + over_limit_repos: *367 required: - access_mismatch_repos - not_found_repos @@ -52774,7 +52838,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &367 + value: &368 summary: Default response value: id: 1 @@ -52926,10 +52990,10 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *367 + value: *368 repository_lists: summary: Response for a successful variant analysis submission - value: *367 + value: *368 '404': *7 '422': description: Unable to process variant analysis submission @@ -52957,8 +53021,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: - - *254 - *255 + - *256 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -52970,9 +53034,9 @@ paths: description: Response content: application/json: - schema: *368 + schema: *369 examples: - default: *367 + default: *368 '404': *7 '503': *63 x-github: @@ -52995,7 +53059,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: - - *254 + - *255 - name: repo in: path description: The name of the controller repository. @@ -53030,7 +53094,7 @@ paths: type: object properties: repository: *52 - analysis_status: *369 + analysis_status: *370 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -53155,8 +53219,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-a-code-scanning-default-setup-configuration parameters: - - *254 - *255 + - *256 responses: '200': description: Response @@ -53217,7 +53281,7 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *353 + '403': *354 '404': *7 '503': *63 x-github: @@ -53238,8 +53302,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#update-a-code-scanning-default-setup-configuration parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -53254,6 +53318,17 @@ paths: enum: - configured - not-configured + runner_type: + description: Runner type to be used. + type: string + enum: + - standard + - labeled + runner_label: + nullable: true + description: Runner label to be used if the runner type is labeled. + type: string + example: code-scanning query_suite: description: CodeQL query suite to be used. type: string @@ -53309,7 +53384,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *362 + '403': *363 '404': *7 '409': description: Response if there is already a validation run in progress with @@ -53374,8 +53449,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#upload-an-analysis-as-sarif-data parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -53383,7 +53458,7 @@ paths: schema: type: object properties: - commit_sha: *370 + commit_sha: *371 ref: type: string description: |- @@ -53441,7 +53516,7 @@ paths: schema: type: object properties: - id: *360 + id: *361 url: type: string description: The REST API URL for checking the status of the upload. @@ -53455,7 +53530,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': *362 + '403': *363 '404': *7 '413': description: Payload Too Large if the sarif field is too large @@ -53478,8 +53553,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/code-scanning/code-scanning#get-information-about-a-sarif-upload parameters: - - *254 - *255 + - *256 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -53525,7 +53600,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': *353 + '403': *354 '404': description: Not Found if the sarif id does not match any upload '503': *63 @@ -53550,8 +53625,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: - - *254 - *255 + - *256 responses: '200': description: Response @@ -53604,7 +53679,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': *137 + '204': *138 '304': *37 '403': *29 '404': *7 @@ -53629,8 +53704,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-codeowners-errors parameters: - - *254 - *255 + - *256 - 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 @@ -53750,8 +53825,8 @@ paths: parameters: - *18 - *20 - - *254 - *255 + - *256 responses: '200': description: Response @@ -53767,7 +53842,7 @@ paths: type: integer codespaces: type: array - items: *184 + items: *185 examples: default: value: @@ -54065,8 +54140,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -54129,17 +54204,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *184 + schema: *185 examples: - default: *371 + default: *372 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *184 + schema: *185 examples: - default: *371 + default: *372 '400': *15 '401': *25 '403': *29 @@ -54168,8 +54243,8 @@ paths: parameters: - *18 - *20 - - *254 - *255 + - *256 responses: '200': description: Response @@ -54233,8 +54308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-available-machine-types-for-a-repository parameters: - - *254 - *255 + - *256 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -54269,14 +54344,14 @@ paths: type: integer machines: type: array - items: &579 + items: &580 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *372 - required: *373 + properties: *373 + required: *374 examples: - default: &580 + default: &581 value: total_count: 2 machines: @@ -54316,8 +54391,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *254 - *255 + - *256 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -54401,8 +54476,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: - - *254 - *255 + - *256 - 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 @@ -54468,8 +54543,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -54487,7 +54562,7 @@ paths: type: integer secrets: type: array - items: &377 + items: &378 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -54507,7 +54582,7 @@ paths: - created_at - updated_at examples: - default: *374 + default: *375 headers: Link: *39 x-github: @@ -54530,16 +54605,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *254 - *255 + - *256 responses: '200': description: Response content: application/json: - schema: *375 + schema: *376 examples: - default: *376 + default: *377 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -54559,17 +54634,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *254 - *255 + - *256 - *121 responses: '200': description: Response content: application/json: - schema: *377 + schema: *378 examples: - default: *378 + default: *379 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -54589,8 +54664,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#create-or-update-a-repository-secret parameters: - - *254 - *255 + - *256 - *121 requestBody: required: true @@ -54643,8 +54718,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *254 - *255 + - *256 - *121 responses: '204': @@ -54673,8 +54748,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#list-repository-collaborators parameters: - - *254 - *255 + - *256 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -54716,7 +54791,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &379 + properties: &380 login: type: string example: octocat @@ -54809,7 +54884,7 @@ paths: user_view_type: type: string example: public - required: &380 + required: &381 - avatar_url - events_url - followers_url @@ -54883,8 +54958,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#check-if-a-user-is-a-repository-collaborator parameters: - - *254 - *255 + - *256 - *126 responses: '204': @@ -54927,8 +55002,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *254 - *255 + - *256 - *126 requestBody: required: false @@ -54955,7 +55030,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &447 + schema: &448 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -55177,8 +55252,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *254 - *255 + - *256 - *126 responses: '204': @@ -55208,8 +55283,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *254 - *255 + - *256 - *126 responses: '200': @@ -55230,8 +55305,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *379 - required: *380 + properties: *380 + required: *381 nullable: true required: - permission @@ -55286,8 +55361,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -55297,7 +55372,7 @@ paths: application/json: schema: type: array - items: &381 + items: &382 title: Commit Comment description: Commit Comment type: object @@ -55355,7 +55430,7 @@ paths: - created_at - updated_at examples: - default: &384 + default: &385 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -55414,17 +55489,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#get-a-commit-comment parameters: - - *254 - *255 + - *256 - *74 responses: '200': description: Response content: application/json: - schema: *381 + schema: *382 examples: - default: &385 + default: &386 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -55481,8 +55556,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#update-a-commit-comment parameters: - - *254 - *255 + - *256 - *74 requestBody: required: true @@ -55505,7 +55580,7 @@ paths: description: Response content: application/json: - schema: *381 + schema: *382 examples: default: value: @@ -55556,8 +55631,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#delete-a-commit-comment parameters: - - *254 - *255 + - *256 - *74 responses: '204': @@ -55579,8 +55654,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *254 - *255 + - *256 - *74 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -55607,9 +55682,9 @@ paths: application/json: schema: type: array - items: *247 + items: *248 examples: - default: *249 + default: *250 headers: Link: *39 '404': *7 @@ -55630,8 +55705,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *254 - *255 + - *256 - *74 requestBody: required: true @@ -55664,16 +55739,16 @@ paths: description: Reaction exists content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 '201': description: Reaction created content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 '422': *16 x-github: githubCloudOnly: false @@ -55695,10 +55770,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *254 - *255 + - *256 - *74 - - *250 + - *251 responses: '204': description: Response @@ -55747,8 +55822,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-commits parameters: - - *254 - *255 + - *256 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -55804,9 +55879,9 @@ paths: application/json: schema: type: array - items: *382 + items: *383 examples: - default: &498 + default: &499 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -55900,9 +55975,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-branches-for-head-commit parameters: - - *254 - *255 - - &383 + - *256 + - &384 name: commit_sha description: The SHA of the commit. in: path @@ -55974,9 +56049,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#list-commit-comments parameters: - - *254 - *255 - - *383 + - *256 + - *384 - *18 - *20 responses: @@ -55986,9 +56061,9 @@ paths: application/json: schema: type: array - items: *381 + items: *382 examples: - default: *384 + default: *385 headers: Link: *39 x-github: @@ -56016,9 +56091,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/comments#create-a-commit-comment parameters: - - *254 - *255 - - *383 + - *256 + - *384 requestBody: required: true content: @@ -56053,9 +56128,9 @@ paths: description: Response content: application/json: - schema: *381 + schema: *382 examples: - default: *385 + default: *386 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -56083,9 +56158,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#list-pull-requests-associated-with-a-commit parameters: - - *254 - *255 - - *383 + - *256 + - *384 - *18 - *20 responses: @@ -56095,7 +56170,7 @@ paths: application/json: schema: type: array - items: &489 + items: &490 title: Pull Request Simple description: Pull Request Simple type: object @@ -56201,8 +56276,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *386 - required: *387 + properties: *387 + required: *388 nullable: true active_lock_reason: type: string @@ -56247,7 +56322,7 @@ paths: nullable: true requested_teams: type: array - items: *180 + items: *181 nullable: true head: type: object @@ -56298,7 +56373,7 @@ paths: _links: type: object properties: - comments: &388 + comments: &389 title: Link description: Hypermedia Link type: object @@ -56307,13 +56382,13 @@ paths: type: string required: - href - commits: *388 - statuses: *388 - html: *388 - issue: *388 - review_comments: *388 - review_comment: *388 - self: *388 + commits: *389 + statuses: *389 + html: *389 + issue: *389 + review_comments: *389 + review_comment: *389 + self: *389 required: - comments - commits @@ -56324,7 +56399,7 @@ paths: - review_comment - self author_association: *61 - auto_merge: &491 + auto_merge: &492 title: Auto merge description: The status of auto merging a pull request. type: object @@ -56387,7 +56462,7 @@ paths: - author_association - auto_merge examples: - default: &490 + default: &491 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -56924,11 +56999,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#get-a-commit parameters: - - *254 - *255 + - *256 - *20 - *18 - - &389 + - &390 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)" @@ -56943,9 +57018,9 @@ paths: description: Response content: application/json: - schema: *382 + schema: *383 examples: - default: &476 + default: &477 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -57058,11 +57133,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/runs#list-check-runs-for-a-git-reference parameters: - - *254 - *255 - - *389 + - *256 - *390 - *391 + - *392 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -57096,9 +57171,9 @@ paths: type: integer check_runs: type: array - items: *334 + items: *335 examples: - default: *392 + default: *393 headers: Link: *39 x-github: @@ -57123,9 +57198,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/checks/suites#list-check-suites-for-a-git-reference parameters: - - *254 - *255 - - *389 + - *256 + - *390 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -57133,7 +57208,7 @@ paths: schema: type: integer example: 1 - - *390 + - *391 - *18 - *20 responses: @@ -57151,7 +57226,7 @@ paths: type: integer check_suites: type: array - items: *339 + items: *340 examples: default: value: @@ -57351,9 +57426,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#get-the-combined-status-for-a-specific-reference parameters: - - *254 - *255 - - *389 + - *256 + - *390 - *18 - *20 responses: @@ -57551,9 +57626,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *254 - *255 - - *389 + - *256 + - *390 - *18 - *20 responses: @@ -57563,7 +57638,7 @@ paths: application/json: schema: type: array - items: &553 + items: &554 title: Status description: The status of a commit. type: object @@ -57644,7 +57719,7 @@ paths: site_admin: false headers: Link: *39 - '301': *266 + '301': *267 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57672,8 +57747,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/community#get-community-profile-metrics parameters: - - *254 - *255 + - *256 responses: '200': description: Response @@ -57702,20 +57777,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *393 - required: *394 + properties: *394 + required: *395 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &395 + properties: &396 url: type: string format: uri html_url: type: string format: uri - required: &396 + required: &397 - url - html_url nullable: true @@ -57729,26 +57804,26 @@ paths: contributing: title: Community Health File type: object - properties: *395 - required: *396 + properties: *396 + required: *397 nullable: true readme: title: Community Health File type: object - properties: *395 - required: *396 + properties: *396 + required: *397 nullable: true issue_template: title: Community Health File type: object - properties: *395 - required: *396 + properties: *396 + required: *397 nullable: true pull_request_template: title: Community Health File type: object - properties: *395 - required: *396 + properties: *396 + required: *397 nullable: true required: - code_of_conduct @@ -57875,8 +57950,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/commits#compare-two-commits parameters: - - *254 - *255 + - *256 - *20 - *18 - name: basehead @@ -57919,8 +57994,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *382 - merge_base_commit: *382 + base_commit: *383 + merge_base_commit: *383 status: type: string enum: @@ -57940,10 +58015,10 @@ paths: example: 6 commits: type: array - items: *382 + items: *383 files: type: array - items: *397 + items: *398 required: - url - html_url @@ -58229,8 +58304,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-repository-content parameters: - - *254 - *255 + - *256 - name: path description: path parameter in: path @@ -58371,7 +58446,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &398 + response-if-content-is-a-file: &399 summary: Response if content is a file value: type: file @@ -58503,7 +58578,7 @@ paths: - size - type - url - - &503 + - &504 title: Content File description: Content File type: object @@ -58704,7 +58779,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *398 + response-if-content-is-a-file: *399 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -58773,7 +58848,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *7 '403': *29 - '302': *399 + '302': *400 '304': *37 x-github: githubCloudOnly: false @@ -58796,8 +58871,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#create-or-update-file-contents parameters: - - *254 - *255 + - *256 - name: path description: path parameter in: path @@ -58890,7 +58965,7 @@ paths: description: Response content: application/json: - schema: &400 + schema: &401 title: File Commit description: File Commit type: object @@ -59042,7 +59117,7 @@ paths: description: Response content: application/json: - schema: *400 + schema: *401 examples: example-for-creating-a-file: value: @@ -59096,7 +59171,7 @@ paths: schema: oneOf: - *3 - - &429 + - &430 description: Repository rule violation was detected type: object properties: @@ -59117,7 +59192,7 @@ paths: items: type: object properties: - placeholder_id: &545 + placeholder_id: &546 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -59149,8 +59224,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#delete-a-file parameters: - - *254 - *255 + - *256 - name: path description: path parameter in: path @@ -59211,7 +59286,7 @@ paths: description: Response content: application/json: - schema: *400 + schema: *401 examples: default: value: @@ -59266,8 +59341,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-contributors parameters: - - *254 - *255 + - *256 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -59390,20 +59465,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *254 - *255 - - *142 + - *256 - *143 - *144 - *145 + - *146 - 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 - - *146 - *147 + - *148 - *42 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -59423,8 +59498,8 @@ paths: default: 30 - *43 - *44 - - *148 - *149 + - *150 responses: '200': description: Response @@ -59432,7 +59507,7 @@ paths: application/json: schema: type: array - items: &403 + items: &404 type: object description: A Dependabot alert. properties: @@ -59465,7 +59540,7 @@ paths: enum: - development - runtime - security_advisory: *401 + security_advisory: *402 security_vulnerability: *47 url: *50 html_url: *51 @@ -59496,7 +59571,7 @@ paths: nullable: true maxLength: 280 fixed_at: *128 - auto_dismissed_at: *402 + auto_dismissed_at: *403 required: - number - state @@ -59723,9 +59798,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *254 - *255 - - &404 + - *256 + - &405 name: alert_number in: path description: |- @@ -59740,7 +59815,7 @@ paths: description: Response content: application/json: - schema: *403 + schema: *404 examples: default: value: @@ -59850,9 +59925,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *254 - *255 - - *404 + - *256 + - *405 requestBody: required: true content: @@ -59897,7 +59972,7 @@ paths: description: Response content: application/json: - schema: *403 + schema: *404 examples: default: value: @@ -60026,8 +60101,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#list-repository-secrets parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -60045,7 +60120,7 @@ paths: type: integer secrets: type: array - items: &407 + items: &408 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -60098,16 +60173,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-public-key parameters: - - *254 - *255 + - *256 responses: '200': description: Response content: application/json: - schema: *405 + schema: *406 examples: - default: *406 + default: *407 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60127,15 +60202,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#get-a-repository-secret parameters: - - *254 - *255 + - *256 - *121 responses: '200': description: Response content: application/json: - schema: *407 + schema: *408 examples: default: value: @@ -60161,8 +60236,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *254 - *255 + - *256 - *121 requestBody: required: true @@ -60215,8 +60290,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/dependabot/secrets#delete-a-repository-secret parameters: - - *254 - *255 + - *256 - *121 responses: '204': @@ -60239,8 +60314,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: - - *254 - *255 + - *256 - 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 @@ -60400,8 +60475,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: - - *254 - *255 + - *256 responses: '200': description: Response @@ -60640,8 +60715,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: - - *254 - *255 + - *256 requestBody: required: true content: @@ -60716,7 +60791,7 @@ paths: - version - url additionalProperties: false - metadata: &408 + metadata: &409 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -60749,7 +60824,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *408 + metadata: *409 resolved: type: object description: A collection of resolved package dependencies. @@ -60762,7 +60837,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *408 + metadata: *409 relationship: type: string description: A notation of whether a dependency is requested @@ -60891,8 +60966,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#list-deployments parameters: - - *254 - *255 + - *256 - name: sha description: The SHA recorded at creation time. in: query @@ -60932,9 +61007,9 @@ paths: application/json: schema: type: array - items: *409 + items: *410 examples: - default: *410 + default: *411 headers: Link: *39 x-github: @@ -61000,8 +61075,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#create-a-deployment parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -61082,7 +61157,7 @@ paths: description: Response content: application/json: - schema: *409 + schema: *410 examples: simple-example: summary: Simple example @@ -61155,9 +61230,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#get-a-deployment parameters: - - *254 - *255 - - &411 + - *256 + - &412 name: deployment_id description: deployment_id parameter in: path @@ -61169,7 +61244,7 @@ paths: description: Response content: application/json: - schema: *409 + schema: *410 examples: default: value: @@ -61234,9 +61309,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/deployments#delete-a-deployment parameters: - - *254 - *255 - - *411 + - *256 + - *412 responses: '204': description: Response @@ -61258,9 +61333,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#list-deployment-statuses parameters: - - *254 - *255 - - *411 + - *256 + - *412 - *18 - *20 responses: @@ -61270,7 +61345,7 @@ paths: application/json: schema: type: array - items: &412 + items: &413 title: Deployment Status description: The status of a deployment. type: object @@ -61431,9 +61506,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#create-a-deployment-status parameters: - - *254 - *255 - - *411 + - *256 + - *412 requestBody: required: true content: @@ -61508,9 +61583,9 @@ paths: description: Response content: application/json: - schema: *412 + schema: *413 examples: - default: &413 + default: &414 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -61566,9 +61641,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/statuses#get-a-deployment-status parameters: - - *254 - *255 - - *411 + - *256 + - *412 - name: status_id in: path required: true @@ -61579,9 +61654,9 @@ paths: description: Response content: application/json: - schema: *412 + schema: *413 examples: - default: *413 + default: *414 '404': *7 x-github: githubCloudOnly: false @@ -61606,8 +61681,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#create-a-repository-dispatch-event parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -61664,8 +61739,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#list-environments parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -61682,7 +61757,7 @@ paths: type: integer environments: type: array - items: &415 + items: &416 title: Environment description: Details of a deployment environment type: object @@ -61734,7 +61809,7 @@ paths: type: type: string example: wait_timer - wait_timer: &417 + wait_timer: &418 type: integer example: 30 description: The amount of time to delay a job after @@ -61771,11 +61846,11 @@ paths: items: type: object properties: - type: *414 + type: *415 reviewer: anyOf: - *19 - - *180 + - *181 required: - id - node_id @@ -61795,7 +61870,7 @@ paths: - id - node_id - type - deployment_branch_policy: &418 + deployment_branch_policy: &419 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -61911,9 +61986,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#get-an-environment parameters: - - *254 - *255 - - &416 + - *256 + - &417 name: environment_name in: path required: true @@ -61926,9 +62001,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *416 examples: - default: &419 + default: &420 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -62012,9 +62087,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#create-or-update-an-environment parameters: - - *254 - *255 - - *416 + - *256 + - *417 requestBody: required: false content: @@ -62023,7 +62098,7 @@ paths: type: object nullable: true properties: - wait_timer: *417 + wait_timer: *418 prevent_self_review: type: boolean example: false @@ -62040,13 +62115,13 @@ paths: items: type: object properties: - type: *414 + type: *415 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *418 + deployment_branch_policy: *419 additionalProperties: false examples: default: @@ -62066,9 +62141,9 @@ paths: description: Response content: application/json: - schema: *415 + schema: *416 examples: - default: *419 + default: *420 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -62092,9 +62167,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/environments#delete-an-environment parameters: - - *254 - *255 - - *416 + - *256 + - *417 responses: '204': description: Default response @@ -62119,9 +62194,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *254 - *255 - - *416 + - *256 + - *417 - *18 - *20 responses: @@ -62139,7 +62214,7 @@ paths: example: 2 branch_policies: type: array - items: &420 + items: &421 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -62196,9 +62271,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *254 - *255 - - *416 + - *256 + - *417 requestBody: required: true content: @@ -62244,9 +62319,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *421 examples: - example-wildcard: &421 + example-wildcard: &422 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -62288,10 +62363,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *254 - *255 - - *416 - - &422 + - *256 + - *417 + - &423 name: branch_policy_id in: path required: true @@ -62303,9 +62378,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *421 examples: - default: *421 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62324,10 +62399,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *254 - *255 - - *416 - - *422 + - *256 + - *417 + - *423 requestBody: required: true content: @@ -62355,9 +62430,9 @@ paths: description: Response content: application/json: - schema: *420 + schema: *421 examples: - default: *421 + default: *422 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62376,10 +62451,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *254 - *255 - - *416 - - *422 + - *256 + - *417 + - *423 responses: '204': description: Response @@ -62404,9 +62479,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-all-deployment-protection-rules-for-an-environment parameters: - - *416 + - *417 + - *256 - *255 - - *254 responses: '200': description: List of deployment protection rules @@ -62422,7 +62497,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &423 + items: &424 title: Deployment protection rule description: Deployment protection rule type: object @@ -62441,7 +62516,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &424 + app: &425 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -62540,9 +62615,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: - - *416 + - *417 + - *256 - *255 - - *254 requestBody: content: application/json: @@ -62563,9 +62638,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *423 + schema: *424 examples: - default: &425 + default: &426 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -62600,9 +62675,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: - - *416 + - *417 + - *256 - *255 - - *254 - *20 - *18 responses: @@ -62621,7 +62696,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *424 + items: *425 examples: default: value: @@ -62656,10 +62731,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#get-a-custom-deployment-protection-rule parameters: - - *254 - *255 - - *416 - - &426 + - *256 + - *417 + - &427 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -62671,9 +62746,9 @@ paths: description: Response content: application/json: - schema: *423 + schema: *424 examples: - default: *425 + default: *426 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62694,10 +62769,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/deployments/protection-rules#disable-a-custom-protection-rule-for-an-environment parameters: - - *416 + - *417 + - *256 - *255 - - *254 - - *426 + - *427 responses: '204': description: Response @@ -62723,9 +62798,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#list-environment-secrets parameters: - - *254 - *255 - - *416 + - *256 + - *417 - *18 - *20 responses: @@ -62743,9 +62818,9 @@ paths: type: integer secrets: type: array - items: *300 + items: *301 examples: - default: *301 + default: *302 headers: Link: *39 x-github: @@ -62770,17 +62845,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-public-key parameters: - - *254 - *255 - - *416 + - *256 + - *417 responses: '200': description: Response content: application/json: - schema: *302 + schema: *303 examples: - default: *303 + default: *304 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62802,18 +62877,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#get-an-environment-secret parameters: - - *254 - *255 - - *416 + - *256 + - *417 - *121 responses: '200': description: Response content: application/json: - schema: *300 + schema: *301 examples: - default: *427 + default: *428 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62835,9 +62910,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *254 - *255 - - *416 + - *256 + - *417 - *121 requestBody: required: true @@ -62895,9 +62970,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/secrets#delete-an-environment-secret parameters: - - *254 - *255 - - *416 + - *256 + - *417 - *121 responses: '204': @@ -62923,10 +62998,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#list-environment-variables parameters: - - *254 - *255 - - *416 - - *276 + - *256 + - *417 + - *277 - *20 responses: '200': @@ -62943,9 +63018,9 @@ paths: type: integer variables: type: array - items: *304 + items: *305 examples: - default: *305 + default: *306 headers: Link: *39 x-github: @@ -62968,9 +63043,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#create-an-environment-variable parameters: - - *254 - *255 - - *416 + - *256 + - *417 requestBody: required: true content: @@ -63022,18 +63097,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#get-an-environment-variable parameters: - - *254 - *255 - - *416 + - *256 + - *417 - *124 responses: '200': description: Response content: application/json: - schema: *304 + schema: *305 examples: - default: *428 + default: *429 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63054,10 +63129,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#update-an-environment-variable parameters: - - *254 - *255 + - *256 - *124 - - *416 + - *417 requestBody: required: true content: @@ -63099,10 +63174,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/actions/variables#delete-an-environment-variable parameters: - - *254 - *255 + - *256 - *124 - - *416 + - *417 responses: '204': description: Response @@ -63124,8 +63199,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/events#list-repository-events parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -63202,8 +63277,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#list-forks parameters: - - *254 - *255 + - *256 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -63362,8 +63437,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/forks#create-a-fork parameters: - - *254 - *255 + - *256 requestBody: required: false content: @@ -63395,9 +63470,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *266 examples: - default: *267 + default: *268 '400': *15 '422': *16 '403': *29 @@ -63418,8 +63493,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#create-a-blob parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -63479,7 +63554,7 @@ paths: schema: oneOf: - *97 - - *429 + - *430 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63504,8 +63579,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/blobs#get-a-blob parameters: - - *254 - *255 + - *256 - name: file_sha in: path required: true @@ -63604,8 +63679,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#create-a-commit parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -63714,7 +63789,7 @@ paths: description: Response content: application/json: - schema: &430 + schema: &431 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -63927,15 +64002,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/commits#get-a-commit-object parameters: - - *254 - *255 - - *383 + - *256 + - *384 responses: '200': description: Response content: application/json: - schema: *430 + schema: *431 examples: default: value: @@ -63991,9 +64066,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#list-matching-references parameters: - - *254 - *255 - - &431 + - *256 + - &432 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. @@ -64010,7 +64085,7 @@ paths: application/json: schema: type: array - items: &432 + items: &433 title: Git Reference description: Git references within a repository type: object @@ -64085,17 +64160,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#get-a-reference parameters: - - *254 - *255 - - *431 + - *256 + - *432 responses: '200': description: Response content: application/json: - schema: *432 + schema: *433 examples: - default: &433 + default: &434 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -64124,8 +64199,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#create-a-reference parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -64154,9 +64229,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *433 examples: - default: *433 + default: *434 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA @@ -64182,9 +64257,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#update-a-reference parameters: - - *254 - *255 - - *431 + - *256 + - *432 requestBody: required: true content: @@ -64213,9 +64288,9 @@ paths: description: Response content: application/json: - schema: *432 + schema: *433 examples: - default: *433 + default: *434 '422': *16 '409': *134 x-github: @@ -64233,9 +64308,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/refs#delete-a-reference parameters: - - *254 - *255 - - *431 + - *256 + - *432 responses: '204': description: Response @@ -64288,8 +64363,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#create-a-tag-object parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -64356,7 +64431,7 @@ paths: description: Response content: application/json: - schema: &435 + schema: &436 title: Git Tag description: Metadata for a Git tag type: object @@ -64407,7 +64482,7 @@ paths: - sha - type - url - verification: *434 + verification: *435 required: - sha - url @@ -64417,7 +64492,7 @@ paths: - tag - message examples: - default: &436 + default: &437 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -64490,8 +64565,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/tags#get-a-tag parameters: - - *254 - *255 + - *256 - name: tag_sha in: path required: true @@ -64502,9 +64577,9 @@ paths: description: Response content: application/json: - schema: *435 + schema: *436 examples: - default: *436 + default: *437 '404': *7 '409': *134 x-github: @@ -64528,8 +64603,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#create-a-tree parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -64602,7 +64677,7 @@ paths: description: Response content: application/json: - schema: &437 + schema: &438 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -64714,8 +64789,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/git/trees#get-a-tree parameters: - - *254 - *255 + - *256 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -64738,7 +64813,7 @@ paths: description: Response content: application/json: - schema: *437 + schema: *438 examples: default-response: summary: Default response @@ -64797,8 +64872,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-repository-webhooks parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -64808,7 +64883,7 @@ paths: application/json: schema: type: array - items: &438 + items: &439 title: Webhook description: Webhooks for repositories. type: object @@ -64862,7 +64937,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &656 + last_response: &657 title: Hook Response type: object properties: @@ -64936,8 +65011,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#create-a-repository-webhook parameters: - - *254 - *255 + - *256 requestBody: required: false content: @@ -64989,9 +65064,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *439 examples: - default: &439 + default: &440 value: type: Repository id: 12345678 @@ -65039,17 +65114,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-repository-webhook parameters: - - *254 - *255 - - *157 + - *256 + - *158 responses: '200': description: Response content: application/json: - schema: *438 + schema: *439 examples: - default: *439 + default: *440 '404': *7 x-github: githubCloudOnly: false @@ -65069,9 +65144,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-repository-webhook parameters: - - *254 - *255 - - *157 + - *256 + - *158 requestBody: required: true content: @@ -65116,9 +65191,9 @@ paths: description: Response content: application/json: - schema: *438 + schema: *439 examples: - default: *439 + default: *440 '422': *16 '404': *7 x-github: @@ -65139,9 +65214,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#delete-a-repository-webhook parameters: - - *254 - *255 - - *157 + - *256 + - *158 responses: '204': description: Response @@ -65165,9 +65240,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-webhook-configuration-for-a-repository parameters: - - *254 - *255 - - *157 + - *256 + - *158 responses: '200': description: Response @@ -65194,9 +65269,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#update-a-webhook-configuration-for-a-repository parameters: - - *254 - *255 - - *157 + - *256 + - *158 requestBody: required: false content: @@ -65240,11 +65315,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *254 - *255 - - *157 - - *18 + - *256 - *158 + - *18 + - *159 responses: '200': description: Response @@ -65252,9 +65327,9 @@ paths: application/json: schema: type: array - items: *159 + items: *160 examples: - default: *160 + default: *161 '400': *15 '422': *16 x-github: @@ -65273,18 +65348,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#get-a-delivery-for-a-repository-webhook parameters: - - *254 - *255 - - *157 + - *256 + - *158 - *17 responses: '200': description: Response content: application/json: - schema: *161 + schema: *162 examples: - default: *162 + default: *163 '400': *15 '422': *16 x-github: @@ -65303,9 +65378,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#redeliver-a-delivery-for-a-repository-webhook parameters: - - *254 - *255 - - *157 + - *256 + - *158 - *17 responses: '202': *99 @@ -65328,9 +65403,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#ping-a-repository-webhook parameters: - - *254 - *255 - - *157 + - *256 + - *158 responses: '204': description: Response @@ -65355,9 +65430,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *254 - *255 - - *157 + - *256 + - *158 responses: '204': description: Response @@ -65415,14 +65490,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-an-import-status parameters: - - *254 - *255 + - *256 responses: '200': description: Response content: application/json: - schema: &440 + schema: &441 title: Import description: A repository import from an external source. type: object @@ -65521,7 +65596,7 @@ paths: - html_url - authors_url examples: - default: &443 + default: &444 value: vcs: subversion use_lfs: true @@ -65537,7 +65612,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *7 - '503': &441 + '503': &442 description: Unavailable due to service under maintenance. content: application/json: @@ -65566,8 +65641,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#start-an-import parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -65615,7 +65690,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: default: value: @@ -65640,7 +65715,7 @@ paths: type: string '422': *16 '404': *7 - '503': *441 + '503': *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65668,8 +65743,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-an-import parameters: - - *254 - *255 + - *256 requestBody: required: false content: @@ -65718,7 +65793,7 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: example-1: summary: Example 1 @@ -65766,7 +65841,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': *441 + '503': *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65789,12 +65864,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#cancel-an-import parameters: - - *254 - *255 + - *256 responses: '204': description: Response - '503': *441 + '503': *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65820,9 +65895,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-commit-authors parameters: - - *254 - *255 - - &603 + - *256 + - &604 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -65836,7 +65911,7 @@ paths: application/json: schema: type: array - items: &442 + items: &443 title: Porter Author description: Porter Author type: object @@ -65890,7 +65965,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *7 - '503': *441 + '503': *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65915,8 +65990,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#map-a-commit-author parameters: - - *254 - *255 + - *256 - name: author_id in: path required: true @@ -65946,7 +66021,7 @@ paths: description: Response content: application/json: - schema: *442 + schema: *443 examples: default: value: @@ -65959,7 +66034,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *16 '404': *7 - '503': *441 + '503': *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65983,8 +66058,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#get-large-files parameters: - - *254 - *255 + - *256 responses: '200': description: Response @@ -66025,7 +66100,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *441 + '503': *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66053,8 +66128,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -66081,11 +66156,11 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: - default: *443 + default: *444 '422': *16 - '503': *441 + '503': *442 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -66108,8 +66183,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/apps/apps#get-a-repository-installation-for-the-authenticated-app parameters: - - *254 - *255 + - *256 responses: '200': description: Response @@ -66117,8 +66192,8 @@ paths: application/json: schema: *22 examples: - default: *444 - '301': *266 + default: *445 + '301': *267 '404': *7 x-github: githubCloudOnly: false @@ -66138,8 +66213,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *254 - *255 + - *256 responses: '200': description: Response @@ -66147,12 +66222,12 @@ paths: application/json: schema: anyOf: - - *175 + - *176 - type: object properties: {} additionalProperties: false examples: - default: &446 + default: &447 value: limit: collaborators_only origin: repository @@ -66177,13 +66252,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *254 - *255 + - *256 requestBody: required: true content: application/json: - schema: *445 + schema: *446 examples: default: summary: Example request body @@ -66195,9 +66270,9 @@ paths: description: Response content: application/json: - schema: *175 + schema: *176 examples: - default: *446 + default: *447 '409': description: Response x-github: @@ -66219,8 +66294,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *254 - *255 + - *256 responses: '204': description: Response @@ -66243,8 +66318,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#list-repository-invitations parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -66254,9 +66329,9 @@ paths: application/json: schema: type: array - items: *447 + items: *448 examples: - default: &596 + default: &597 value: - id: 1 repository: @@ -66387,9 +66462,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#update-a-repository-invitation parameters: - - *254 - *255 - - *179 + - *256 + - *180 requestBody: required: false content: @@ -66418,7 +66493,7 @@ paths: description: Response content: application/json: - schema: *447 + schema: *448 examples: default: value: @@ -66549,9 +66624,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *254 - *255 - - *179 + - *256 + - *180 responses: '204': description: Response @@ -66582,8 +66657,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#list-repository-issues parameters: - - *254 - *255 + - *256 - 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 @@ -66623,7 +66698,7 @@ paths: required: false schema: type: string - - *181 + - *182 - name: sort description: What to sort results by. in: query @@ -66648,7 +66723,7 @@ paths: type: array items: *75 examples: - default: &458 + default: &459 value: - id: 1 node_id: MDU6SXNzdWUx @@ -66796,7 +66871,7 @@ paths: state_reason: completed headers: Link: *39 - '301': *266 + '301': *267 '422': *16 '404': *7 x-github: @@ -66825,8 +66900,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#create-an-issue parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -66903,7 +66978,7 @@ paths: application/json: schema: *75 examples: - default: &453 + default: &454 value: id: 1 node_id: MDU6SXNzdWUx @@ -67059,7 +67134,7 @@ paths: '422': *16 '503': *63 '404': *7 - '410': *263 + '410': *264 x-github: triggersNotification: true githubCloudOnly: false @@ -67087,8 +67162,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *254 - *255 + - *256 - *85 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. @@ -67109,9 +67184,9 @@ paths: application/json: schema: type: array - items: *448 + items: *449 examples: - default: &455 + default: &456 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -67169,17 +67244,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#get-an-issue-comment parameters: - - *254 - *255 + - *256 - *74 responses: '200': description: Response content: application/json: - schema: *448 + schema: *449 examples: - default: &449 + default: &450 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -67233,8 +67308,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#update-an-issue-comment parameters: - - *254 - *255 + - *256 - *74 requestBody: required: true @@ -67257,9 +67332,9 @@ paths: description: Response content: application/json: - schema: *448 + schema: *449 examples: - default: *449 + default: *450 '422': *16 x-github: githubCloudOnly: false @@ -67277,8 +67352,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#delete-an-issue-comment parameters: - - *254 - *255 + - *256 - *74 responses: '204': @@ -67299,8 +67374,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *254 - *255 + - *256 - *74 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -67327,9 +67402,9 @@ paths: application/json: schema: type: array - items: *247 + items: *248 examples: - default: *249 + default: *250 headers: Link: *39 '404': *7 @@ -67350,8 +67425,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *254 - *255 + - *256 - *74 requestBody: required: true @@ -67384,16 +67459,16 @@ paths: description: Reaction exists content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 '201': description: Reaction created content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 '422': *16 x-github: githubCloudOnly: false @@ -67415,10 +67490,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *254 - *255 + - *256 - *74 - - *250 + - *251 responses: '204': description: Response @@ -67438,8 +67513,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events-for-a-repository parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -67449,7 +67524,7 @@ paths: application/json: schema: type: array - items: &452 + items: &453 title: Issue Event description: Issue Event type: object @@ -67492,8 +67567,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *450 - required: *451 + properties: *451 + required: *452 nullable: true label: title: Issue Event Label @@ -67537,7 +67612,7 @@ paths: properties: *4 required: *5 nullable: true - requested_team: *180 + requested_team: *181 dismissed_review: title: Issue Event Dismissed Review type: object @@ -67800,8 +67875,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#get-an-issue-event parameters: - - *254 - *255 + - *256 - name: event_id in: path required: true @@ -67812,7 +67887,7 @@ paths: description: Response content: application/json: - schema: *452 + schema: *453 examples: default: value: @@ -68005,7 +68080,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *7 - '410': *263 + '410': *264 '403': *29 x-github: githubCloudOnly: false @@ -68039,9 +68114,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#get-an-issue parameters: - - *254 - *255 - - &454 + - *256 + - &455 name: issue_number description: The number that identifies the issue. in: path @@ -68055,10 +68130,10 @@ paths: application/json: schema: *75 examples: - default: *453 - '301': *266 + default: *454 + '301': *267 '404': *7 - '410': *263 + '410': *264 '304': *37 x-github: githubCloudOnly: false @@ -68083,9 +68158,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#update-an-issue parameters: - - *254 - *255 - - *454 + - *256 + - *455 requestBody: required: false content: @@ -68182,13 +68257,13 @@ paths: application/json: schema: *75 examples: - default: *453 + default: *454 '422': *16 '503': *63 '403': *29 - '301': *266 + '301': *267 '404': *7 - '410': *263 + '410': *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68206,9 +68281,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#add-assignees-to-an-issue parameters: - - *254 - *255 - - *454 + - *256 + - *455 requestBody: required: false content: @@ -68236,7 +68311,7 @@ paths: application/json: schema: *75 examples: - default: *453 + default: *454 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68252,9 +68327,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *254 - *255 - - *454 + - *256 + - *455 requestBody: content: application/json: @@ -68281,7 +68356,7 @@ paths: application/json: schema: *75 examples: - default: *453 + default: *454 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68303,9 +68378,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: - - *254 - *255 - - *454 + - *256 + - *455 - name: assignee in: path required: true @@ -68345,9 +68420,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#list-issue-comments parameters: - - *254 - *255 - - *454 + - *256 + - *455 - *65 - *18 - *20 @@ -68358,13 +68433,13 @@ paths: application/json: schema: type: array - items: *448 + items: *449 examples: - default: *455 + default: *456 headers: Link: *39 '404': *7 - '410': *263 + '410': *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68393,9 +68468,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/comments#create-an-issue-comment parameters: - - *254 - *255 - - *454 + - *256 + - *455 requestBody: required: true content: @@ -68417,16 +68492,16 @@ paths: description: Response content: application/json: - schema: *448 + schema: *449 examples: - default: *449 + default: *450 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *263 + '410': *264 '422': *16 '404': *7 x-github: @@ -68446,9 +68521,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/events#list-issue-events parameters: - - *254 - *255 - - *454 + - *256 + - *455 - *18 - *20 responses: @@ -68462,7 +68537,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &459 + - &460 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -68516,7 +68591,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &460 + - &461 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -68652,7 +68727,7 @@ paths: - performed_via_github_app - assignee - assigner - - &461 + - &462 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -68703,7 +68778,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &462 + - &463 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -68754,7 +68829,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &463 + - &464 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -68808,7 +68883,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &464 + - &465 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -68842,7 +68917,7 @@ paths: properties: *59 required: *60 review_requester: *19 - requested_team: *180 + requested_team: *181 requested_reviewer: *19 required: - review_requester @@ -68855,7 +68930,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &465 + - &466 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -68889,7 +68964,7 @@ paths: properties: *59 required: *60 review_requester: *19 - requested_team: *180 + requested_team: *181 requested_reviewer: *19 required: - review_requester @@ -68902,7 +68977,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &466 + - &467 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -68962,7 +69037,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &467 + - &468 title: Locked Issue Event description: Locked Issue Event type: object @@ -69010,7 +69085,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &468 + - &469 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -69076,7 +69151,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &469 + - &470 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -69142,7 +69217,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &470 + - &471 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -69208,7 +69283,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &471 + - &472 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -69299,7 +69374,7 @@ paths: color: red headers: Link: *39 - '410': *263 + '410': *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69316,9 +69391,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-an-issue parameters: - - *254 - *255 - - *454 + - *256 + - *455 - *18 - *20 responses: @@ -69328,7 +69403,7 @@ paths: application/json: schema: type: array - items: &456 + items: &457 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -69375,7 +69450,7 @@ paths: - color - default examples: - default: &457 + default: &458 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -69393,9 +69468,9 @@ paths: default: false headers: Link: *39 - '301': *266 + '301': *267 '404': *7 - '410': *263 + '410': *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69412,9 +69487,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#add-labels-to-an-issue parameters: - - *254 - *255 - - *454 + - *256 + - *455 requestBody: required: false content: @@ -69473,12 +69548,12 @@ paths: application/json: schema: type: array - items: *456 + items: *457 examples: - default: *457 - '301': *266 + default: *458 + '301': *267 '404': *7 - '410': *263 + '410': *264 '422': *16 x-github: githubCloudOnly: false @@ -69495,9 +69570,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#set-labels-for-an-issue parameters: - - *254 - *255 - - *454 + - *256 + - *455 requestBody: required: false content: @@ -69557,12 +69632,12 @@ paths: application/json: schema: type: array - items: *456 + items: *457 examples: - default: *457 - '301': *266 + default: *458 + '301': *267 '404': *7 - '410': *263 + '410': *264 '422': *16 x-github: githubCloudOnly: false @@ -69579,15 +69654,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *254 - *255 - - *454 + - *256 + - *455 responses: '204': description: Response - '301': *266 + '301': *267 '404': *7 - '410': *263 + '410': *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69606,9 +69681,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue parameters: - - *254 - *255 - - *454 + - *256 + - *455 - name: name in: path required: true @@ -69621,7 +69696,7 @@ paths: application/json: schema: type: array - items: *456 + items: *457 examples: default: value: @@ -69632,9 +69707,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *266 + '301': *267 '404': *7 - '410': *263 + '410': *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69654,9 +69729,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#lock-an-issue parameters: - - *254 - *255 - - *454 + - *256 + - *455 requestBody: required: false content: @@ -69684,7 +69759,7 @@ paths: '204': description: Response '403': *29 - '410': *263 + '410': *264 '404': *7 '422': *16 x-github: @@ -69702,9 +69777,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/issues#unlock-an-issue parameters: - - *254 - *255 - - *454 + - *256 + - *455 responses: '204': description: Response @@ -69726,9 +69801,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *254 - *255 - - *454 + - *256 + - *455 - 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. @@ -69754,13 +69829,13 @@ paths: application/json: schema: type: array - items: *247 + items: *248 examples: - default: *249 + default: *250 headers: Link: *39 '404': *7 - '410': *263 + '410': *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69778,9 +69853,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *254 - *255 - - *454 + - *256 + - *455 requestBody: required: true content: @@ -69812,16 +69887,16 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 '201': description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 '422': *16 x-github: githubCloudOnly: false @@ -69843,10 +69918,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-an-issue-reaction parameters: - - *254 - *255 - - *454 - - *250 + - *256 + - *455 + - *251 responses: '204': description: Response @@ -69875,9 +69950,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#remove-sub-issue parameters: - - *254 - *255 - - *454 + - *256 + - *455 requestBody: required: true content: @@ -69901,7 +69976,7 @@ paths: application/json: schema: *75 examples: - default: *453 + default: *454 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -69934,9 +70009,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#list-sub-issues parameters: - - *254 - *255 - - *454 + - *256 + - *455 - *18 - *20 responses: @@ -69948,11 +70023,11 @@ paths: type: array items: *75 examples: - default: *458 + default: *459 headers: Link: *39 '404': *7 - '410': *263 + '410': *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69980,9 +70055,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#add-sub-issue parameters: - - *254 - *255 - - *454 + - *256 + - *455 requestBody: required: true content: @@ -70010,14 +70085,14 @@ paths: application/json: schema: *75 examples: - default: *453 + default: *454 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *263 + '410': *264 '422': *16 '404': *7 x-github: @@ -70037,9 +70112,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *254 - *255 - - *454 + - *256 + - *455 requestBody: required: true content: @@ -70072,7 +70147,7 @@ paths: application/json: schema: *75 examples: - default: *453 + default: *454 '403': *29 '404': *7 '422': *8 @@ -70094,9 +70169,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *254 - *255 - - *454 + - *256 + - *455 - *18 - *20 responses: @@ -70111,7 +70186,6 @@ paths: description: Timeline Event type: object anyOf: - - *459 - *460 - *461 - *462 @@ -70124,6 +70198,7 @@ paths: - *469 - *470 - *471 + - *472 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -70427,7 +70502,7 @@ paths: type: string comments: type: array - items: &492 + items: &493 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -70636,7 +70711,7 @@ paths: type: string comments: type: array - items: *381 + items: *382 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -70925,7 +71000,7 @@ paths: headers: Link: *39 '404': *7 - '410': *263 + '410': *264 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70942,8 +71017,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -70953,7 +71028,7 @@ paths: application/json: schema: type: array - items: &472 + items: &473 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -71018,8 +71093,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -71055,9 +71130,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *473 examples: - default: &473 + default: &474 value: id: 1 key: ssh-rsa AAA... @@ -71091,9 +71166,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *254 - *255 - - &474 + - *256 + - &475 name: key_id description: The unique identifier of the key. in: path @@ -71105,9 +71180,9 @@ paths: description: Response content: application/json: - schema: *472 + schema: *473 examples: - default: *473 + default: *474 '404': *7 x-github: githubCloudOnly: false @@ -71125,9 +71200,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *254 - *255 - - *474 + - *256 + - *475 responses: '204': description: Response @@ -71147,8 +71222,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-a-repository parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -71158,9 +71233,9 @@ paths: application/json: schema: type: array - items: *456 + items: *457 examples: - default: *457 + default: *458 headers: Link: *39 '404': *7 @@ -71181,8 +71256,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#create-a-label parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -71218,9 +71293,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *457 examples: - default: &475 + default: &476 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -71252,8 +71327,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#get-a-label parameters: - - *254 - *255 + - *256 - name: name in: path required: true @@ -71264,9 +71339,9 @@ paths: description: Response content: application/json: - schema: *456 + schema: *457 examples: - default: *475 + default: *476 '404': *7 x-github: githubCloudOnly: false @@ -71283,8 +71358,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#update-a-label parameters: - - *254 - *255 + - *256 - name: name in: path required: true @@ -71323,7 +71398,7 @@ paths: description: Response content: application/json: - schema: *456 + schema: *457 examples: default: value: @@ -71349,8 +71424,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#delete-a-label parameters: - - *254 - *255 + - *256 - name: name in: path required: true @@ -71376,8 +71451,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-languages parameters: - - *254 - *255 + - *256 responses: '200': description: Response @@ -71416,9 +71491,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *254 - *255 - - *356 + - *256 + - *357 responses: '200': description: Response @@ -71563,8 +71638,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#sync-a-fork-branch-with-the-upstream-repository parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -71629,8 +71704,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/branches/branches#merge-a-branch parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -71664,9 +71739,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *382 + schema: *383 examples: - default: *476 + default: *477 '204': description: Response when already merged '404': @@ -71691,8 +71766,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#list-milestones parameters: - - *254 - *255 + - *256 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -71733,12 +71808,12 @@ paths: application/json: schema: type: array - items: &477 + items: &478 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *386 - required: *387 + properties: *387 + required: *388 examples: default: value: @@ -71794,8 +71869,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#create-a-milestone parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -71835,9 +71910,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *478 examples: - default: &478 + default: &479 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -71896,9 +71971,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#get-a-milestone parameters: - - *254 - *255 - - &479 + - *256 + - &480 name: milestone_number description: The number that identifies the milestone. in: path @@ -71910,9 +71985,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *478 examples: - default: *478 + default: *479 '404': *7 x-github: githubCloudOnly: false @@ -71929,9 +72004,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#update-a-milestone parameters: - - *254 - *255 - - *479 + - *256 + - *480 requestBody: required: false content: @@ -71969,9 +72044,9 @@ paths: description: Response content: application/json: - schema: *477 + schema: *478 examples: - default: *478 + default: *479 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71987,9 +72062,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/milestones#delete-a-milestone parameters: - - *254 - *255 - - *479 + - *256 + - *480 responses: '204': description: Response @@ -72010,9 +72085,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/issues/labels#list-labels-for-issues-in-a-milestone parameters: - - *254 - *255 - - *479 + - *256 + - *480 - *18 - *20 responses: @@ -72022,9 +72097,9 @@ paths: application/json: schema: type: array - items: *456 + items: *457 examples: - default: *457 + default: *458 headers: Link: *39 x-github: @@ -72043,12 +72118,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#list-repository-notifications-for-the-authenticated-user parameters: - - *254 - *255 - - *480 + - *256 - *481 - - *65 - *482 + - *65 + - *483 - *18 - *20 responses: @@ -72060,7 +72135,7 @@ paths: type: array items: *88 examples: - default: *483 + default: *484 headers: Link: *39 x-github: @@ -72084,8 +72159,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *254 - *255 + - *256 requestBody: required: false content: @@ -72143,14 +72218,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-apiname-pages-site parameters: - - *254 - *255 + - *256 responses: '200': description: Response content: application/json: - schema: &484 + schema: &485 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -72275,7 +72350,7 @@ paths: - custom_404 - public examples: - default: &485 + default: &486 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -72316,8 +72391,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-apiname-pages-site parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -72371,9 +72446,9 @@ paths: description: Response content: application/json: - schema: *484 + schema: *485 examples: - default: *485 + default: *486 '422': *16 '409': *134 x-github: @@ -72396,8 +72471,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#update-information-about-a-apiname-pages-site parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -72496,8 +72571,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#delete-a-apiname-pages-site parameters: - - *254 - *255 + - *256 responses: '204': description: Response @@ -72523,8 +72598,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#list-apiname-pages-builds parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -72534,7 +72609,7 @@ paths: application/json: schema: type: array - items: &486 + items: &487 title: Page Build description: Page Build type: object @@ -72628,8 +72703,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#request-a-apiname-pages-build parameters: - - *254 - *255 + - *256 responses: '201': description: Response @@ -72674,16 +72749,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-latest-pages-build parameters: - - *254 - *255 + - *256 responses: '200': description: Response content: application/json: - schema: *486 + schema: *487 examples: - default: &487 + default: &488 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -72731,8 +72806,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-apiname-pages-build parameters: - - *254 - *255 + - *256 - name: build_id in: path required: true @@ -72743,9 +72818,9 @@ paths: description: Response content: application/json: - schema: *486 + schema: *487 examples: - default: *487 + default: *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -72765,8 +72840,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#create-a-github-pages-deployment parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -72872,9 +72947,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-the-status-of-a-github-pages-deployment parameters: - - *254 - *255 - - &488 + - *256 + - &489 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -72932,11 +73007,11 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *254 - *255 - - *488 + - *256 + - *489 responses: - '204': *137 + '204': *138 '404': *7 x-github: githubCloudOnly: false @@ -72961,8 +73036,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pages/pages#get-a-dns-health-check-for-github-pages parameters: - - *254 - *255 + - *256 responses: '200': description: Response @@ -73220,8 +73295,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: - - *254 - *255 + - *256 responses: '200': description: Private vulnerability reporting status @@ -73258,10 +73333,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository parameters: - - *254 - *255 + - *256 responses: - '204': *137 + '204': *138 '422': *15 x-github: githubCloudOnly: false @@ -73280,10 +73355,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository parameters: - - *254 - *255 + - *256 responses: - '204': *137 + '204': *138 '422': *15 x-github: githubCloudOnly: false @@ -73304,8 +73379,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#list-repository-projects parameters: - - *254 - *255 + - *256 - name: state description: Indicates the state of the projects to return. in: query @@ -73326,7 +73401,7 @@ paths: application/json: schema: type: array - items: *211 + items: *212 examples: default: value: @@ -73366,7 +73441,7 @@ paths: '401': *25 '403': *29 '404': *7 - '410': *263 + '410': *264 '422': *8 x-github: githubCloudOnly: false @@ -73386,8 +73461,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/projects/projects#create-a-repository-project parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -73413,13 +73488,13 @@ paths: description: Response content: application/json: - schema: *211 + schema: *212 examples: - default: *262 + default: *263 '401': *25 '403': *29 '404': *7 - '410': *263 + '410': *264 '422': *8 x-github: githubCloudOnly: false @@ -73439,8 +73514,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/custom-properties#get-all-custom-property-values-for-a-repository parameters: - - *254 - *255 + - *256 responses: '200': description: Response @@ -73448,7 +73523,7 @@ paths: application/json: schema: type: array - items: *216 + items: *217 examples: default: value: @@ -73479,8 +73554,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: - - *254 - *255 + - *256 requestBody: required: true content: @@ -73492,7 +73567,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *216 + items: *217 required: - properties examples: @@ -73542,8 +73617,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests parameters: - - *254 - *255 + - *256 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -73603,9 +73678,9 @@ paths: application/json: schema: type: array - items: *489 + items: *490 examples: - default: *490 + default: *491 headers: Link: *39 '304': *37 @@ -73637,8 +73712,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#create-a-pull-request parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -73703,7 +73778,7 @@ paths: description: Response content: application/json: - schema: &494 + schema: &495 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -73814,8 +73889,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *386 - required: *387 + properties: *387 + required: *388 nullable: true active_lock_reason: type: string @@ -73860,7 +73935,7 @@ paths: nullable: true requested_teams: type: array - items: *238 + items: *239 nullable: true head: type: object @@ -73899,14 +73974,14 @@ paths: _links: type: object properties: - comments: *388 - commits: *388 - statuses: *388 - html: *388 - issue: *388 - review_comments: *388 - review_comment: *388 - self: *388 + comments: *389 + commits: *389 + statuses: *389 + html: *389 + issue: *389 + review_comments: *389 + review_comment: *389 + self: *389 required: - comments - commits @@ -73917,7 +73992,7 @@ paths: - review_comment - self author_association: *61 - auto_merge: *491 + auto_merge: *492 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -74009,7 +74084,7 @@ paths: - merged_by - review_comments examples: - default: &495 + default: &496 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -74536,8 +74611,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *254 - *255 + - *256 - name: sort in: query required: false @@ -74566,9 +74641,9 @@ paths: application/json: schema: type: array - items: *492 + items: *493 examples: - default: &497 + default: &498 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -74645,17 +74720,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request parameters: - - *254 - *255 + - *256 - *74 responses: '200': description: Response content: application/json: - schema: *492 + schema: *493 examples: - default: &493 + default: &494 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -74730,8 +74805,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#update-a-review-comment-for-a-pull-request parameters: - - *254 - *255 + - *256 - *74 requestBody: required: true @@ -74754,9 +74829,9 @@ paths: description: Response content: application/json: - schema: *492 + schema: *493 examples: - default: *493 + default: *494 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74772,8 +74847,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#delete-a-review-comment-for-a-pull-request parameters: - - *254 - *255 + - *256 - *74 responses: '204': @@ -74795,8 +74870,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-pull-request-review-comment parameters: - - *254 - *255 + - *256 - *74 - name: content description: Returns a single [reaction type](https://docs.github.com/rest/reactions/reactions#about-reactions). @@ -74823,9 +74898,9 @@ paths: application/json: schema: type: array - items: *247 + items: *248 examples: - default: *249 + default: *250 headers: Link: *39 '404': *7 @@ -74846,8 +74921,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-pull-request-review-comment parameters: - - *254 - *255 + - *256 - *74 requestBody: required: true @@ -74880,16 +74955,16 @@ paths: description: Reaction exists content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 '201': description: Reaction created content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 '422': *16 x-github: githubCloudOnly: false @@ -74911,10 +74986,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *254 - *255 + - *256 - *74 - - *250 + - *251 responses: '204': description: Response @@ -74957,9 +75032,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#get-a-pull-request parameters: - - *254 - *255 - - &496 + - *256 + - &497 name: pull_number description: The number that identifies the pull request. in: path @@ -74972,9 +75047,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *494 + schema: *495 examples: - default: *495 + default: *496 '304': *37 '404': *7 '406': @@ -75009,9 +75084,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request parameters: - - *254 - *255 - - *496 + - *256 + - *497 requestBody: required: false content: @@ -75053,9 +75128,9 @@ paths: description: Response content: application/json: - schema: *494 + schema: *495 examples: - default: *495 + default: *496 '422': *16 '403': *29 x-github: @@ -75077,9 +75152,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-codespace-from-a-pull-request parameters: - - *254 - *255 - - *496 + - *256 + - *497 requestBody: required: true content: @@ -75139,17 +75214,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *184 + schema: *185 examples: - default: *371 + default: *372 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *184 + schema: *185 examples: - default: *371 + default: *372 '401': *25 '403': *29 '404': *7 @@ -75179,9 +75254,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#list-review-comments-on-a-pull-request parameters: - - *254 - *255 - - *496 + - *256 + - *497 - *85 - name: direction description: The direction to sort results. Ignored without `sort` parameter. @@ -75202,9 +75277,9 @@ paths: application/json: schema: type: array - items: *492 + items: *493 examples: - default: *497 + default: *498 headers: Link: *39 x-github: @@ -75237,9 +75312,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-review-comment-for-a-pull-request parameters: - - *254 - *255 - - *496 + - *256 + - *497 requestBody: required: true content: @@ -75344,7 +75419,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *493 examples: example-for-a-multi-line-comment: value: @@ -75432,9 +75507,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/comments#create-a-reply-for-a-review-comment parameters: - - *254 - *255 - - *496 + - *256 + - *497 - *74 requestBody: required: true @@ -75457,7 +75532,7 @@ paths: description: Response content: application/json: - schema: *492 + schema: *493 examples: default: value: @@ -75543,9 +75618,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *254 - *255 - - *496 + - *256 + - *497 - *18 - *20 responses: @@ -75555,9 +75630,9 @@ paths: application/json: schema: type: array - items: *382 + items: *383 examples: - default: *498 + default: *499 headers: Link: *39 x-github: @@ -75587,9 +75662,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#list-pull-requests-files parameters: - - *254 - *255 - - *496 + - *256 + - *497 - *18 - *20 responses: @@ -75599,7 +75674,7 @@ paths: application/json: schema: type: array - items: *397 + items: *398 examples: default: value: @@ -75637,9 +75712,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#check-if-a-pull-request-has-been-merged parameters: - - *254 - *255 - - *496 + - *256 + - *497 responses: '204': description: Response if pull request has been merged @@ -75662,9 +75737,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#merge-a-pull-request parameters: - - *254 - *255 - - *496 + - *256 + - *497 requestBody: required: false content: @@ -75775,9 +75850,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#get-all-requested-reviewers-for-a-pull-request parameters: - - *254 - *255 - - *496 + - *256 + - *497 responses: '200': description: Response @@ -75793,7 +75868,7 @@ paths: items: *19 teams: type: array - items: *180 + items: *181 required: - users - teams @@ -75852,9 +75927,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#request-reviewers-for-a-pull-request parameters: - - *254 - *255 - - *496 + - *256 + - *497 requestBody: required: false content: @@ -75891,7 +75966,7 @@ paths: description: Response content: application/json: - schema: *489 + schema: *490 examples: default: value: @@ -76427,9 +76502,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/review-requests#remove-requested-reviewers-from-a-pull-request parameters: - - *254 - *255 - - *496 + - *256 + - *497 requestBody: required: true content: @@ -76463,7 +76538,7 @@ paths: description: Response content: application/json: - schema: *489 + schema: *490 examples: default: value: @@ -76968,9 +77043,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *254 - *255 - - *496 + - *256 + - *497 - *18 - *20 responses: @@ -76980,7 +77055,7 @@ paths: application/json: schema: type: array - items: &499 + items: &500 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -77131,9 +77206,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#create-a-review-for-a-pull-request parameters: - - *254 - *255 - - *496 + - *256 + - *497 requestBody: required: false content: @@ -77219,9 +77294,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: - default: &501 + default: &502 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -77284,10 +77359,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#get-a-review-for-a-pull-request parameters: - - *254 - *255 - - *496 - - &500 + - *256 + - *497 + - &501 name: review_id description: The unique identifier of the review. in: path @@ -77299,9 +77374,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: - default: &502 + default: &503 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -77360,10 +77435,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#update-a-review-for-a-pull-request parameters: - - *254 - *255 - - *496 - - *500 + - *256 + - *497 + - *501 requestBody: required: true content: @@ -77386,7 +77461,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: default: value: @@ -77448,18 +77523,18 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#delete-a-pending-review-for-a-pull-request parameters: - - *254 - *255 - - *496 - - *500 + - *256 + - *497 + - *501 responses: '200': description: Response content: application/json: - schema: *499 + schema: *500 examples: - default: *501 + default: *502 '422': *8 '404': *7 x-github: @@ -77486,10 +77561,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#list-comments-for-a-pull-request-review parameters: - - *254 - *255 - - *496 - - *500 + - *256 + - *497 + - *501 - *18 - *20 responses: @@ -77572,9 +77647,9 @@ paths: _links: type: object properties: - self: *388 - html: *388 - pull_request: *388 + self: *389 + html: *389 + pull_request: *389 required: - self - html @@ -77717,10 +77792,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#dismiss-a-review-for-a-pull-request parameters: - - *254 - *255 - - *496 - - *500 + - *256 + - *497 + - *501 requestBody: required: true content: @@ -77748,7 +77823,7 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: default: value: @@ -77811,10 +77886,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/reviews#submit-a-review-for-a-pull-request parameters: - - *254 - *255 - - *496 - - *500 + - *256 + - *497 + - *501 requestBody: required: true content: @@ -77849,9 +77924,9 @@ paths: description: Response content: application/json: - schema: *499 + schema: *500 examples: - default: *502 + default: *503 '404': *7 '422': *8 '403': *29 @@ -77873,9 +77948,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/pulls/pulls#update-a-pull-request-branch parameters: - - *254 - *255 - - *496 + - *256 + - *497 requestBody: required: false content: @@ -77938,8 +78013,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme parameters: - - *254 - *255 + - *256 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -77952,9 +78027,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *504 examples: - default: &504 + default: &505 value: type: file encoding: base64 @@ -77996,8 +78071,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/contents#get-a-repository-readme-for-a-directory parameters: - - *254 - *255 + - *256 - name: dir description: The alternate path to look for a README file in: path @@ -78017,9 +78092,9 @@ paths: description: Response content: application/json: - schema: *503 + schema: *504 examples: - default: *504 + default: *505 '404': *7 '422': *16 x-github: @@ -78041,8 +78116,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#list-releases parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -78052,7 +78127,7 @@ paths: application/json: schema: type: array - items: &505 + items: &506 title: Release description: A release. type: object @@ -78115,7 +78190,7 @@ paths: author: *19 assets: type: array - items: &506 + items: &507 title: Release Asset description: Data related to a release. type: object @@ -78296,8 +78371,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#create-a-release parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -78373,9 +78448,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: &509 + default: &510 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -78478,9 +78553,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#get-a-release-asset parameters: - - *254 - *255 - - &507 + - *256 + - &508 name: asset_id description: The unique identifier of the asset. in: path @@ -78492,9 +78567,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *507 examples: - default: &508 + default: &509 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 @@ -78528,7 +78603,7 @@ paths: type: User site_admin: false '404': *7 - '302': *399 + '302': *400 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78544,9 +78619,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#update-a-release-asset parameters: - - *254 - *255 - - *507 + - *256 + - *508 requestBody: required: false content: @@ -78574,9 +78649,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *507 examples: - default: *508 + default: *509 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78592,9 +78667,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#delete-a-release-asset parameters: - - *254 - *255 - - *507 + - *256 + - *508 responses: '204': description: Response @@ -78618,8 +78693,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#generate-release-notes-content-for-a-release parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -78704,16 +78779,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-the-latest-release parameters: - - *254 - *255 + - *256 responses: '200': description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: *509 + default: *510 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78730,8 +78805,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release-by-tag-name parameters: - - *254 - *255 + - *256 - name: tag description: tag parameter in: path @@ -78744,9 +78819,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: *509 + default: *510 '404': *7 x-github: githubCloudOnly: false @@ -78768,9 +78843,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#get-a-release parameters: - - *254 - *255 - - &510 + - *256 + - &511 name: release_id description: The unique identifier of the release. in: path @@ -78784,9 +78859,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: *505 + schema: *506 examples: - default: *509 + default: *510 '401': description: Unauthorized x-github: @@ -78804,9 +78879,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#update-a-release parameters: - - *254 - *255 - - *510 + - *256 + - *511 requestBody: required: false content: @@ -78870,9 +78945,9 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: - default: *509 + default: *510 '404': description: Not Found if the discussion category name is invalid content: @@ -78893,9 +78968,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/releases#delete-a-release parameters: - - *254 - *255 - - *510 + - *256 + - *511 responses: '204': description: Response @@ -78915,9 +78990,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/releases/assets#list-release-assets parameters: - - *254 - *255 - - *510 + - *256 + - *511 - *18 - *20 responses: @@ -78927,7 +79002,7 @@ paths: application/json: schema: type: array - items: *506 + items: *507 examples: default: value: @@ -79007,9 +79082,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: - - *254 - *255 - - *510 + - *256 + - *511 - name: name in: query required: true @@ -79035,7 +79110,7 @@ paths: description: Response for successful upload content: application/json: - schema: *506 + schema: *507 examples: response-for-successful-upload: value: @@ -79089,9 +79164,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-release parameters: - - *254 - *255 - - *510 + - *256 + - *511 - 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. @@ -79115,9 +79190,9 @@ paths: application/json: schema: type: array - items: *247 + items: *248 examples: - default: *249 + default: *250 headers: Link: *39 '404': *7 @@ -79138,9 +79213,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-release parameters: - - *254 - *255 - - *510 + - *256 + - *511 requestBody: required: true content: @@ -79170,16 +79245,16 @@ paths: description: Reaction exists content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 '201': description: Reaction created content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 '422': *16 x-github: githubCloudOnly: false @@ -79201,10 +79276,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#delete-a-release-reaction parameters: - - *254 - *255 - - *510 - - *250 + - *256 + - *511 + - *251 responses: '204': description: Response @@ -79228,9 +79303,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rules#get-rules-for-a-branch parameters: - - *254 - *255 - - *322 + - *256 + - *323 - *18 - *20 responses: @@ -79246,8 +79321,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *511 - - &513 + - *512 + - &514 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -79267,53 +79342,53 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *512 - *513 - - allOf: - *514 - - *513 - allOf: - *515 - - *513 + - *514 - allOf: - *516 - - *513 + - *514 - allOf: - *517 - - *513 + - *514 - allOf: - *518 - - *513 + - *514 - allOf: - *519 - - *513 + - *514 - allOf: - *520 - - *513 + - *514 - allOf: - *521 - - *513 + - *514 - allOf: - *522 - - *513 + - *514 - allOf: - *523 - - *513 + - *514 - allOf: - *524 - - *513 + - *514 - allOf: - *525 - - *513 + - *514 - allOf: - *526 - - *513 + - *514 - allOf: - *527 - - *513 + - *514 - allOf: - *528 - - *513 + - *514 + - allOf: + - *529 + - *514 examples: default: value: @@ -79352,8 +79427,8 @@ paths: category: repos subcategory: rules parameters: - - *254 - *255 + - *256 - *18 - *20 - name: includes_parents @@ -79364,7 +79439,7 @@ paths: schema: type: boolean default: true - - *529 + - *530 responses: '200': description: Response @@ -79372,7 +79447,7 @@ paths: application/json: schema: type: array - items: *226 + items: *227 examples: default: value: @@ -79419,8 +79494,8 @@ paths: category: repos subcategory: rules parameters: - - *254 - *255 + - *256 requestBody: description: Request body required: true @@ -79440,16 +79515,16 @@ paths: - tag - push default: branch - enforcement: *222 + enforcement: *223 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *223 - conditions: *220 + items: *224 + conditions: *221 rules: type: array description: An array of rules within the ruleset. - items: *225 + items: *226 required: - name - enforcement @@ -79480,9 +79555,9 @@ paths: description: Response content: application/json: - schema: *226 + schema: *227 examples: - default: &539 + default: &540 value: id: 42 name: super cool ruleset @@ -79529,12 +79604,12 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#list-repository-rule-suites parameters: - - *254 - *255 - - *530 + - *256 - *531 - *532 - *533 + - *534 - *18 - *20 responses: @@ -79542,9 +79617,9 @@ paths: description: Response content: application/json: - schema: *534 + schema: *535 examples: - default: *535 + default: *536 '404': *7 '500': *41 x-github: @@ -79565,17 +79640,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *254 - *255 - - *536 + - *256 + - *537 responses: '200': description: Response content: application/json: - schema: *537 + schema: *538 examples: - default: *538 + default: *539 '404': *7 '500': *41 x-github: @@ -79603,8 +79678,8 @@ paths: category: repos subcategory: rules parameters: - - *254 - *255 + - *256 - name: ruleset_id description: The ID of the ruleset. in: path @@ -79624,9 +79699,9 @@ paths: description: Response content: application/json: - schema: *226 + schema: *227 examples: - default: *539 + default: *540 '404': *7 '500': *41 put: @@ -79644,8 +79719,8 @@ paths: category: repos subcategory: rules parameters: - - *254 - *255 + - *256 - name: ruleset_id description: The ID of the ruleset. in: path @@ -79670,16 +79745,16 @@ paths: - branch - tag - push - enforcement: *222 + enforcement: *223 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *223 - conditions: *220 + items: *224 + conditions: *221 rules: description: An array of rules within the ruleset. type: array - items: *225 + items: *226 examples: default: value: @@ -79707,9 +79782,9 @@ paths: description: Response content: application/json: - schema: *226 + schema: *227 examples: - default: *539 + default: *540 '404': *7 '500': *41 delete: @@ -79727,8 +79802,8 @@ paths: category: repos subcategory: rules parameters: - - *254 - *255 + - *256 - name: ruleset_id description: The ID of the ruleset. in: path @@ -79756,20 +79831,20 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-a-repository parameters: - - *254 - *255 - - *228 + - *256 - *229 - *230 - *231 + - *232 - *42 - *20 - *18 - - *540 - *541 - - *232 + - *542 - *233 - *234 + - *235 responses: '200': description: Response @@ -79777,7 +79852,7 @@ paths: application/json: schema: type: array - items: &544 + items: &545 type: object properties: number: *48 @@ -79796,8 +79871,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *542 - resolution: *543 + state: *543 + resolution: *544 resolved_at: type: string format: date-time @@ -80003,15 +80078,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#get-a-secret-scanning-alert parameters: - - *254 - *255 - - *354 + - *256 + - *355 responses: '200': description: Response content: application/json: - schema: *544 + schema: *545 examples: default: value: @@ -80062,9 +80137,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#update-a-secret-scanning-alert parameters: - - *254 - *255 - - *354 + - *256 + - *355 requestBody: required: true content: @@ -80072,8 +80147,8 @@ paths: schema: type: object properties: - state: *542 - resolution: *543 + state: *543 + resolution: *544 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -80091,7 +80166,7 @@ paths: description: Response content: application/json: - schema: *544 + schema: *545 examples: default: value: @@ -80165,9 +80240,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#list-locations-for-a-secret-scanning-alert parameters: - - *254 - *255 - - *354 + - *256 + - *355 - *20 - *18 responses: @@ -80178,7 +80253,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &677 + items: &678 type: object properties: type: @@ -80537,8 +80612,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/secret-scanning/secret-scanning#create-a-push-protection-bypass parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -80546,14 +80621,14 @@ paths: schema: type: object properties: - reason: &546 + reason: &547 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *545 + placeholder_id: *546 required: - reason - placeholder_id @@ -80570,7 +80645,7 @@ paths: schema: type: object properties: - reason: *546 + reason: *547 expire_at: type: string format: date-time @@ -80613,8 +80688,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: - - *254 - *255 + - *256 responses: '404': description: Repository does not have GitHub Advanced Security or secret @@ -80629,7 +80704,7 @@ paths: properties: incremental_scans: type: array - items: &547 + items: &548 description: Information on a single scan performed by secret scanning on the repository type: object @@ -80639,29 +80714,31 @@ 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 format: date-time description: The time that the scan was completed. Empty - if the scan is active + if the scan is running nullable: true started_at: type: string 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 + nullable: true pattern_update_scans: type: array - items: *547 + items: *548 backfill_scans: type: array - items: *547 + items: *548 custom_pattern_backfill_scans: type: array items: allOf: - - *547 + - *548 - type: object properties: pattern_name: @@ -80731,8 +80808,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *254 - *255 + - *256 - *42 - name: sort description: The property to sort the results by. @@ -80776,9 +80853,9 @@ paths: application/json: schema: type: array - items: *548 + items: *549 examples: - default: *549 + default: *550 '400': *15 '404': *7 x-github: @@ -80801,8 +80878,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-repository-security-advisory parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -80875,7 +80952,7 @@ paths: login: type: string description: The username of the user credited. - type: *237 + type: *238 required: - login - type @@ -80962,9 +81039,9 @@ paths: description: Response content: application/json: - schema: *548 + schema: *549 examples: - default: &551 + default: &552 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -81197,8 +81274,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#privately-report-a-security-vulnerability parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -81302,7 +81379,7 @@ paths: description: Response content: application/json: - schema: *548 + schema: *549 examples: default: value: @@ -81449,17 +81526,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#get-a-repository-security-advisory parameters: - - *254 - *255 - - *550 + - *256 + - *551 responses: '200': description: Response content: application/json: - schema: *548 + schema: *549 examples: - default: *551 + default: *552 '403': *29 '404': *7 x-github: @@ -81483,9 +81560,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#update-a-repository-security-advisory parameters: - - *254 - *255 - - *550 + - *256 + - *551 requestBody: required: true content: @@ -81558,7 +81635,7 @@ paths: login: type: string description: The username of the user credited. - type: *237 + type: *238 required: - login - type @@ -81644,10 +81721,10 @@ paths: description: Response content: application/json: - schema: *548 + schema: *549 examples: - default: *551 - add_credit: *551 + default: *552 + add_credit: *552 '403': *29 '404': *7 '422': @@ -81685,9 +81762,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: - - *254 - *255 - - *550 + - *256 + - *551 responses: '202': *99 '400': *15 @@ -81714,17 +81791,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/security-advisories/repository-advisories#create-a-temporary-private-fork parameters: - - *254 - *255 - - *550 + - *256 + - *551 responses: '202': description: Response content: application/json: - schema: *265 + schema: *266 examples: - default: *267 + default: *268 '400': *15 '422': *16 '403': *29 @@ -81750,8 +81827,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-stargazers parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -81850,8 +81927,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *254 - *255 + - *256 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -81860,7 +81937,7 @@ paths: application/json: schema: type: array - items: &552 + items: &553 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -81873,7 +81950,7 @@ paths: - 1124 - -435 '202': *99 - '204': *137 + '204': *138 '422': description: Repository contains more than 10,000 commits x-github: @@ -81893,8 +81970,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-last-year-of-commit-activity parameters: - - *254 - *255 + - *256 responses: '200': description: Response @@ -81943,7 +82020,7 @@ paths: total: 89 week: 1336280400 '202': *99 - '204': *137 + '204': *138 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81970,8 +82047,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *254 - *255 + - *256 responses: '200': description: Response @@ -82045,7 +82122,7 @@ paths: d: 77 c: 10 '202': *99 - '204': *137 + '204': *138 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82067,8 +82144,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *254 - *255 + - *256 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -82222,8 +82299,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/statistics#get-the-hourly-commit-count-for-each-day parameters: - - *254 - *255 + - *256 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -82233,7 +82310,7 @@ paths: application/json: schema: type: array - items: *552 + items: *553 examples: default: value: @@ -82246,7 +82323,7 @@ paths: - - 0 - 2 - 21 - '204': *137 + '204': *138 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -82266,8 +82343,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/commits/statuses#create-a-commit-status parameters: - - *254 - *255 + - *256 - name: sha in: path required: true @@ -82321,7 +82398,7 @@ paths: description: Response content: application/json: - schema: *553 + schema: *554 examples: default: value: @@ -82375,8 +82452,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#list-watchers parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -82388,7 +82465,7 @@ paths: type: array items: *19 examples: - default: *183 + default: *184 headers: Link: *39 x-github: @@ -82408,14 +82485,14 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#get-a-repository-subscription parameters: - - *254 - *255 + - *256 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &554 + schema: &555 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -82483,8 +82560,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#set-a-repository-subscription parameters: - - *254 - *255 + - *256 requestBody: required: false content: @@ -82510,7 +82587,7 @@ paths: description: Response content: application/json: - schema: *554 + schema: *555 examples: default: value: @@ -82537,8 +82614,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/watching#delete-a-repository-subscription parameters: - - *254 - *255 + - *256 responses: '204': description: Response @@ -82558,8 +82635,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-tags parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -82638,8 +82715,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/tags#closing-down---list-tag-protection-states-for-a-repository parameters: - - *254 - *255 + - *256 responses: '200': description: Response @@ -82647,7 +82724,7 @@ paths: application/json: schema: type: array - items: &555 + items: &556 title: Tag protection description: Tag protection type: object @@ -82699,8 +82776,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: - - *254 - *255 + - *256 requestBody: required: true content: @@ -82723,7 +82800,7 @@ paths: description: Response content: application/json: - schema: *555 + schema: *556 examples: default: value: @@ -82754,8 +82831,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: - - *254 - *255 + - *256 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -82792,8 +82869,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *254 - *255 + - *256 - name: ref in: path required: true @@ -82829,8 +82906,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#list-repository-teams parameters: - - *254 - *255 + - *256 - *18 - *20 responses: @@ -82840,9 +82917,9 @@ paths: application/json: schema: type: array - items: *180 + items: *181 examples: - default: *197 + default: *198 headers: Link: *39 '404': *7 @@ -82862,8 +82939,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#get-all-repository-topics parameters: - - *254 - *255 + - *256 - *20 - *18 responses: @@ -82871,7 +82948,7 @@ paths: description: Response content: application/json: - schema: &556 + schema: &557 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -82883,7 +82960,7 @@ paths: required: - names examples: - default: &557 + default: &558 value: names: - octocat @@ -82906,8 +82983,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#replace-all-repository-topics parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -82938,9 +83015,9 @@ paths: description: Response content: application/json: - schema: *556 + schema: *557 examples: - default: *557 + default: *558 '404': *7 '422': *8 x-github: @@ -82961,9 +83038,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-repository-clones parameters: - - *254 - *255 - - &558 + - *256 + - &559 name: per description: The time frame to display results for. in: query @@ -82992,7 +83069,7 @@ paths: example: 128 clones: type: array - items: &559 + items: &560 title: Traffic type: object properties: @@ -83079,8 +83156,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-paths parameters: - - *254 - *255 + - *256 responses: '200': description: Response @@ -83170,8 +83247,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-top-referral-sources parameters: - - *254 - *255 + - *256 responses: '200': description: Response @@ -83231,9 +83308,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/metrics/traffic#get-page-views parameters: - - *254 - *255 - - *558 + - *256 + - *559 responses: '200': description: Response @@ -83252,7 +83329,7 @@ paths: example: 3782 views: type: array - items: *559 + items: *560 required: - uniques - count @@ -83329,8 +83406,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#transfer-a-repository parameters: - - *254 - *255 + - *256 requestBody: required: true content: @@ -83604,8 +83681,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#check-if-vulnerability-alerts-are-enabled-for-a-repository parameters: - - *254 - *255 + - *256 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -83628,8 +83705,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#enable-vulnerability-alerts parameters: - - *254 - *255 + - *256 responses: '204': description: Response @@ -83651,8 +83728,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/repos/repos#disable-vulnerability-alerts parameters: - - *254 - *255 + - *256 responses: '204': description: Response @@ -83678,8 +83755,8 @@ paths: url: https://docs.github.com/rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *254 - *255 + - *256 - name: ref in: path required: true @@ -83771,9 +83848,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *266 examples: - default: *267 + default: *268 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -84021,7 +84098,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &560 + text_matches: &561 title: Search Result Text Matches type: array items: @@ -84183,7 +84260,7 @@ paths: enum: - author-date - committer-date - - &561 + - &562 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 @@ -84254,7 +84331,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *320 + properties: *321 nullable: true comment_count: type: integer @@ -84274,7 +84351,7 @@ paths: url: type: string format: uri - verification: *434 + verification: *435 required: - author - committer @@ -84293,7 +84370,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *320 + properties: *321 nullable: true parents: type: array @@ -84311,7 +84388,7 @@ paths: type: number node_id: type: string - text_matches: *560 + text_matches: *561 required: - sha - node_id @@ -84503,7 +84580,7 @@ paths: - interactions - created - updated - - *561 + - *562 - *18 - *20 responses: @@ -84622,8 +84699,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *386 - required: *387 + properties: *387 + required: *388 nullable: true comments: type: integer @@ -84637,7 +84714,7 @@ paths: type: string format: date-time nullable: true - text_matches: *560 + text_matches: *561 pull_request: type: object properties: @@ -84861,7 +84938,7 @@ paths: enum: - created - updated - - *561 + - *562 - *18 - *20 responses: @@ -84905,7 +84982,7 @@ paths: nullable: true score: type: number - text_matches: *560 + text_matches: *561 required: - id - node_id @@ -84990,7 +85067,7 @@ paths: - forks - help-wanted-issues - updated - - *561 + - *562 - *18 - *20 responses: @@ -85229,7 +85306,7 @@ paths: - admin - pull - push - text_matches: *560 + text_matches: *561 temp_clone_token: type: string allow_merge_commit: @@ -85529,7 +85606,7 @@ paths: type: string format: uri nullable: true - text_matches: *560 + text_matches: *561 related: type: array nullable: true @@ -85720,7 +85797,7 @@ paths: - followers - repositories - joined - - *561 + - *562 - *18 - *20 responses: @@ -85824,7 +85901,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *560 + text_matches: *561 blog: type: string nullable: true @@ -85903,7 +85980,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#get-a-team-legacy parameters: - - &562 + - &563 name: team_id description: The unique identifier of the team. in: path @@ -85915,9 +85992,9 @@ paths: description: Response content: application/json: - schema: *239 + schema: *240 examples: - default: *240 + default: *241 '404': *7 x-github: githubCloudOnly: false @@ -85944,7 +86021,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#update-a-team-legacy parameters: - - *562 + - *563 requestBody: required: true content: @@ -86007,16 +86084,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *239 + schema: *240 examples: - default: *240 + default: *241 '201': description: Response content: application/json: - schema: *239 + schema: *240 examples: - default: *240 + default: *241 '404': *7 '422': *16 '403': *29 @@ -86044,7 +86121,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#delete-a-team-legacy parameters: - - *562 + - *563 responses: '204': description: Response @@ -86075,7 +86152,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#list-discussions-legacy parameters: - - *562 + - *563 - *42 - *18 - *20 @@ -86086,9 +86163,9 @@ paths: application/json: schema: type: array - items: *241 + items: *242 examples: - default: *563 + default: *564 headers: Link: *39 x-github: @@ -86117,7 +86194,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#create-a-discussion-legacy parameters: - - *562 + - *563 requestBody: required: true content: @@ -86151,9 +86228,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *242 examples: - default: *242 + default: *243 x-github: triggersNotification: true githubCloudOnly: false @@ -86180,16 +86257,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#get-a-discussion-legacy parameters: - - *562 - - *243 + - *563 + - *244 responses: '200': description: Response content: application/json: - schema: *241 + schema: *242 examples: - default: *242 + default: *243 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86214,8 +86291,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#update-a-discussion-legacy parameters: - - *562 - - *243 + - *563 + - *244 requestBody: required: false content: @@ -86238,9 +86315,9 @@ paths: description: Response content: application/json: - schema: *241 + schema: *242 examples: - default: *564 + default: *565 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86265,8 +86342,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussions#delete-a-discussion-legacy parameters: - - *562 - - *243 + - *563 + - *244 responses: '204': description: Response @@ -86295,8 +86372,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *562 - - *243 + - *563 + - *244 - *42 - *18 - *20 @@ -86307,9 +86384,9 @@ paths: application/json: schema: type: array - items: *244 + items: *245 examples: - default: *565 + default: *566 headers: Link: *39 x-github: @@ -86338,8 +86415,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *562 - - *243 + - *563 + - *244 requestBody: required: true content: @@ -86361,9 +86438,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: - default: *245 + default: *246 x-github: triggersNotification: true githubCloudOnly: false @@ -86390,17 +86467,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *562 - - *243 - - *246 + - *563 + - *244 + - *247 responses: '200': description: Response content: application/json: - schema: *244 + schema: *245 examples: - default: *245 + default: *246 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86425,9 +86502,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *562 - - *243 - - *246 + - *563 + - *244 + - *247 requestBody: required: true content: @@ -86449,9 +86526,9 @@ paths: description: Response content: application/json: - schema: *244 + schema: *245 examples: - default: *566 + default: *567 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86476,9 +86553,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *562 - - *243 - - *246 + - *563 + - *244 + - *247 responses: '204': description: Response @@ -86507,9 +86584,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment-legacy parameters: - - *562 - - *243 - - *246 + - *563 + - *244 + - *247 - 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. @@ -86535,9 +86612,9 @@ paths: application/json: schema: type: array - items: *247 + items: *248 examples: - default: *249 + default: *250 headers: Link: *39 x-github: @@ -86566,9 +86643,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment-legacy parameters: - - *562 - - *243 - - *246 + - *563 + - *244 + - *247 requestBody: required: true content: @@ -86600,9 +86677,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86628,8 +86705,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#list-reactions-for-a-team-discussion-legacy parameters: - - *562 - - *243 + - *563 + - *244 - 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. @@ -86655,9 +86732,9 @@ paths: application/json: schema: type: array - items: *247 + items: *248 examples: - default: *249 + default: *250 headers: Link: *39 x-github: @@ -86686,8 +86763,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/reactions/reactions#create-reaction-for-a-team-discussion-legacy parameters: - - *562 - - *243 + - *563 + - *244 requestBody: required: true content: @@ -86719,9 +86796,9 @@ paths: description: Response content: application/json: - schema: *247 + schema: *248 examples: - default: *248 + default: *249 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -86745,7 +86822,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-pending-team-invitations-legacy parameters: - - *562 + - *563 - *18 - *20 responses: @@ -86755,9 +86832,9 @@ paths: application/json: schema: type: array - items: *177 + items: *178 examples: - default: *178 + default: *179 headers: Link: *39 x-github: @@ -86783,7 +86860,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#list-team-members-legacy parameters: - - *562 + - *563 - name: role description: Filters members returned by their role in the team. in: query @@ -86806,7 +86883,7 @@ paths: type: array items: *19 examples: - default: *183 + default: *184 headers: Link: *39 '404': *7 @@ -86834,7 +86911,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-member-legacy parameters: - - *562 + - *563 - *126 responses: '204': @@ -86871,7 +86948,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-team-member-legacy parameters: - - *562 + - *563 - *126 responses: '204': @@ -86911,7 +86988,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-member-legacy parameters: - - *562 + - *563 - *126 responses: '204': @@ -86948,16 +87025,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#get-team-membership-for-a-user-legacy parameters: - - *562 + - *563 - *126 responses: '200': description: Response content: application/json: - schema: *251 + schema: *252 examples: - response-if-user-is-a-team-maintainer: *567 + response-if-user-is-a-team-maintainer: *568 '404': *7 x-github: githubCloudOnly: false @@ -86990,7 +87067,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#add-or-update-team-membership-for-a-user-legacy parameters: - - *562 + - *563 - *126 requestBody: required: false @@ -87016,9 +87093,9 @@ paths: description: Response content: application/json: - schema: *251 + schema: *252 examples: - response-if-users-membership-with-team-is-now-pending: *568 + response-if-users-membership-with-team-is-now-pending: *569 '403': description: Forbidden if team synchronization is set up '422': @@ -87052,7 +87129,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/members#remove-team-membership-for-a-user-legacy parameters: - - *562 + - *563 - *126 responses: '204': @@ -87082,7 +87159,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-projects-legacy parameters: - - *562 + - *563 - *18 - *20 responses: @@ -87092,9 +87169,9 @@ paths: application/json: schema: type: array - items: *252 + items: *253 examples: - default: *569 + default: *570 headers: Link: *39 '404': *7 @@ -87121,16 +87198,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-project-legacy parameters: - - *562 - - *253 + - *563 + - *254 responses: '200': description: Response content: application/json: - schema: *252 + schema: *253 examples: - default: *570 + default: *571 '404': description: Not Found if project is not managed by this team x-github: @@ -87155,8 +87232,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-project-permissions-legacy parameters: - - *562 - - *253 + - *563 + - *254 requestBody: required: false content: @@ -87224,8 +87301,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-project-from-a-team-legacy parameters: - - *562 - - *253 + - *563 + - *254 responses: '204': description: Response @@ -87252,7 +87329,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-team-repositories-legacy parameters: - - *562 + - *563 - *18 - *20 responses: @@ -87264,7 +87341,7 @@ paths: type: array items: *113 examples: - default: *204 + default: *205 headers: Link: *39 '404': *7 @@ -87294,15 +87371,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#check-team-permissions-for-a-repository-legacy parameters: - - *562 - - *254 + - *563 - *255 + - *256 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *571 + schema: *572 examples: alternative-response-with-extra-repository-information: value: @@ -87453,9 +87530,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#add-or-update-team-repository-permissions-legacy parameters: - - *562 - - *254 + - *563 - *255 + - *256 requestBody: required: false content: @@ -87505,9 +87582,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#remove-a-repository-from-a-team-legacy parameters: - - *562 - - *254 + - *563 - *255 + - *256 responses: '204': description: Response @@ -87532,7 +87609,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/teams/teams#list-child-teams-legacy parameters: - - *562 + - *563 - *18 - *20 responses: @@ -87542,9 +87619,9 @@ paths: application/json: schema: type: array - items: *180 + items: *181 examples: - response-if-child-teams-exist: *572 + response-if-child-teams-exist: *573 headers: Link: *39 '404': *7 @@ -87577,7 +87654,7 @@ paths: application/json: schema: oneOf: - - &574 + - &575 title: Private User description: Private User type: object @@ -87780,7 +87857,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *573 + - *574 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -87933,7 +88010,7 @@ paths: description: Response content: application/json: - schema: *574 + schema: *575 examples: default: value: @@ -88012,7 +88089,7 @@ paths: type: array items: *19 examples: - default: *183 + default: *184 '304': *37 '404': *7 '403': *29 @@ -88136,9 +88213,9 @@ paths: type: integer codespaces: type: array - items: *184 + items: *185 examples: - default: *185 + default: *186 '304': *37 '500': *41 '401': *25 @@ -88277,17 +88354,17 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *184 + schema: *185 examples: - default: *371 + default: *372 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *184 + schema: *185 examples: - default: *371 + default: *372 '401': *25 '403': *29 '404': *7 @@ -88331,7 +88408,7 @@ paths: type: integer secrets: type: array - items: &575 + items: &576 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -88371,7 +88448,7 @@ paths: - visibility - selected_repositories_url examples: - default: *374 + default: *375 headers: Link: *39 x-github: @@ -88447,7 +88524,7 @@ paths: description: Response content: application/json: - schema: *575 + schema: *576 examples: default: value: @@ -88593,7 +88670,7 @@ paths: type: array items: *113 examples: - default: *576 + default: *577 '401': *25 '403': *29 '404': *7 @@ -88737,15 +88814,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-a-codespace-for-the-authenticated-user parameters: - - *186 + - *187 responses: '200': description: Response content: application/json: - schema: *184 + schema: *185 examples: - default: *371 + default: *372 '304': *37 '500': *41 '401': *25 @@ -88771,7 +88848,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#update-a-codespace-for-the-authenticated-user parameters: - - *186 + - *187 requestBody: required: false content: @@ -88801,9 +88878,9 @@ paths: description: Response content: application/json: - schema: *184 + schema: *185 examples: - default: *371 + default: *372 '401': *25 '403': *29 '404': *7 @@ -88825,7 +88902,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#delete-a-codespace-for-the-authenticated-user parameters: - - *186 + - *187 responses: '202': *99 '304': *37 @@ -88854,13 +88931,13 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#export-a-codespace-for-the-authenticated-user parameters: - - *186 + - *187 responses: '202': description: Response content: application/json: - schema: &577 + schema: &578 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -88901,7 +88978,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &578 + default: &579 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -88933,7 +89010,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *186 + - *187 - name: export_id in: path required: true @@ -88946,9 +89023,9 @@ paths: description: Response content: application/json: - schema: *577 + schema: *578 examples: - default: *578 + default: *579 '404': *7 x-github: githubCloudOnly: false @@ -88969,7 +89046,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *186 + - *187 responses: '200': description: Response @@ -88985,9 +89062,9 @@ paths: type: integer machines: type: array - items: *579 + items: *580 examples: - default: *580 + default: *581 '304': *37 '500': *41 '401': *25 @@ -89016,7 +89093,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#create-a-repository-from-an-unpublished-codespace parameters: - - *186 + - *187 requestBody: required: true content: @@ -89066,13 +89143,13 @@ paths: nullable: true owner: *19 billable_owner: *19 - repository: *265 + repository: *266 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *372 - required: *373 + properties: *373 + required: *374 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -89846,15 +89923,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#start-a-codespace-for-the-authenticated-user parameters: - - *186 + - *187 responses: '200': description: Response content: application/json: - schema: *184 + schema: *185 examples: - default: *371 + default: *372 '304': *37 '500': *41 '400': *15 @@ -89886,15 +89963,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/codespaces/codespaces#stop-a-codespace-for-the-authenticated-user parameters: - - *186 + - *187 responses: '200': description: Response content: application/json: - schema: *184 + schema: *185 examples: - default: *371 + default: *372 '500': *41 '401': *25 '403': *29 @@ -89924,9 +90001,9 @@ paths: application/json: schema: type: array - items: *198 + items: *199 examples: - default: &593 + default: &594 value: - id: 197 name: hello_docker @@ -90027,7 +90104,7 @@ paths: application/json: schema: type: array - items: &581 + items: &582 title: Email description: Email type: object @@ -90092,9 +90169,9 @@ paths: application/json: schema: type: array - items: *581 + items: *582 examples: - default: &595 + default: &596 value: - email: octocat@github.com verified: true @@ -90169,7 +90246,7 @@ paths: application/json: schema: type: array - items: *581 + items: *582 examples: default: value: @@ -90279,7 +90356,7 @@ paths: type: array items: *19 examples: - default: *183 + default: *184 headers: Link: *39 '304': *37 @@ -90312,7 +90389,7 @@ paths: type: array items: *19 examples: - default: *183 + default: *184 headers: Link: *39 '304': *37 @@ -90425,7 +90502,7 @@ paths: application/json: schema: type: array - items: &582 + items: &583 title: GPG Key description: A unique encryption key type: object @@ -90556,7 +90633,7 @@ paths: - subkeys - revoked examples: - default: &606 + default: &607 value: - id: 3 name: Octocat's GPG Key @@ -90641,9 +90718,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *583 examples: - default: &583 + default: &584 value: id: 3 name: Octocat's GPG Key @@ -90700,7 +90777,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#get-a-gpg-key-for-the-authenticated-user parameters: - - &584 + - &585 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -90712,9 +90789,9 @@ paths: description: Response content: application/json: - schema: *582 + schema: *583 examples: - default: *583 + default: *584 '404': *7 '304': *37 '403': *29 @@ -90737,7 +90814,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/gpg-keys#delete-a-gpg-key-for-the-authenticated-user parameters: - - *584 + - *585 responses: '204': description: Response @@ -90928,7 +91005,7 @@ paths: type: array items: *58 examples: - default: *585 + default: *586 headers: Link: *39 '404': *7 @@ -91013,12 +91090,12 @@ paths: application/json: schema: anyOf: - - *175 + - *176 - type: object properties: {} additionalProperties: false examples: - default: *176 + default: *177 '204': description: Response when there are no restrictions x-github: @@ -91042,7 +91119,7 @@ paths: required: true content: application/json: - schema: *445 + schema: *446 examples: default: value: @@ -91053,7 +91130,7 @@ paths: description: Response content: application/json: - schema: *175 + schema: *176 examples: default: value: @@ -91134,7 +91211,7 @@ paths: - closed - all default: open - - *181 + - *182 - name: sort description: What to sort results by. in: query @@ -91159,7 +91236,7 @@ paths: type: array items: *75 examples: - default: *182 + default: *183 headers: Link: *39 '404': *7 @@ -91192,7 +91269,7 @@ paths: application/json: schema: type: array - items: &586 + items: &587 title: Key description: Key type: object @@ -91289,9 +91366,9 @@ paths: description: Response content: application/json: - schema: *586 + schema: *587 examples: - default: &587 + default: &588 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -91324,15 +91401,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#get-a-public-ssh-key-for-the-authenticated-user parameters: - - *474 + - *475 responses: '200': description: Response content: application/json: - schema: *586 + schema: *587 examples: - default: *587 + default: *588 '404': *7 '304': *37 '403': *29 @@ -91355,7 +91432,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/keys#delete-a-public-ssh-key-for-the-authenticated-user parameters: - - *474 + - *475 responses: '204': description: Response @@ -91388,7 +91465,7 @@ paths: application/json: schema: type: array - items: &588 + items: &589 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -91456,7 +91533,7 @@ paths: - account - plan examples: - default: &589 + default: &590 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -91518,9 +91595,9 @@ paths: application/json: schema: type: array - items: *588 + items: *589 examples: - default: *589 + default: *590 headers: Link: *39 '304': *37 @@ -91560,7 +91637,7 @@ paths: application/json: schema: type: array - items: *188 + items: *189 examples: default: value: @@ -91668,7 +91745,7 @@ paths: description: Response content: application/json: - schema: *188 + schema: *189 examples: default: value: @@ -91751,7 +91828,7 @@ paths: description: Response content: application/json: - schema: *188 + schema: *189 examples: default: value: @@ -91819,7 +91896,7 @@ paths: application/json: schema: type: array - items: *190 + items: *191 examples: default: value: @@ -92072,7 +92149,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *191 examples: default: value: @@ -92252,7 +92329,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#get-a-user-migration-status parameters: - - *191 + - *192 - name: exclude in: query required: false @@ -92265,7 +92342,7 @@ paths: description: Response content: application/json: - schema: *190 + schema: *191 examples: default: value: @@ -92459,7 +92536,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#download-a-user-migration-archive parameters: - - *191 + - *192 responses: '302': description: Response @@ -92485,7 +92562,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#delete-a-user-migration-archive parameters: - - *191 + - *192 responses: '204': description: Response @@ -92514,8 +92591,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#unlock-a-user-repository parameters: - - *191 - - *590 + - *192 + - *591 responses: '204': description: Response @@ -92539,7 +92616,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *191 + - *192 - *18 - *20 responses: @@ -92551,7 +92628,7 @@ paths: type: array items: *113 examples: - default: *204 + default: *205 headers: Link: *39 '404': *7 @@ -92586,9 +92663,9 @@ paths: application/json: schema: type: array - items: *187 + items: *188 examples: - default: *591 + default: *592 headers: Link: *39 '304': *37 @@ -92630,7 +92707,7 @@ paths: - docker - nuget - container - - *592 + - *593 - *20 - *18 responses: @@ -92640,10 +92717,10 @@ paths: application/json: schema: type: array - items: *198 + items: *199 examples: - default: *593 - '400': *594 + default: *594 + '400': *595 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -92663,16 +92740,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-the-authenticated-user parameters: - - *200 - *201 + - *202 responses: '200': description: Response content: application/json: - schema: *198 + schema: *199 examples: - default: &607 + default: &608 value: id: 40201 name: octo-name @@ -92785,8 +92862,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-the-authenticated-user parameters: - - *200 - *201 + - *202 responses: '204': description: Response @@ -92816,8 +92893,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-the-authenticated-user parameters: - - *200 - *201 + - *202 - name: token description: package token schema: @@ -92849,8 +92926,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: - - *200 - *201 + - *202 - *20 - *18 - name: state @@ -92870,7 +92947,7 @@ paths: application/json: schema: type: array - items: *202 + items: *203 examples: default: value: @@ -92919,15 +92996,15 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-the-authenticated-user parameters: - - *200 - *201 - - *203 + - *202 + - *204 responses: '200': description: Response content: application/json: - schema: *202 + schema: *203 examples: default: value: @@ -92963,9 +93040,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-version-for-the-authenticated-user parameters: - - *200 - *201 - - *203 + - *202 + - *204 responses: '204': description: Response @@ -92995,9 +93072,9 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-version-for-the-authenticated-user parameters: - - *200 - *201 - - *203 + - *202 + - *204 responses: '204': description: Response @@ -93053,7 +93130,7 @@ paths: description: Response content: application/json: - schema: *211 + schema: *212 examples: default: value: @@ -93122,9 +93199,9 @@ paths: application/json: schema: type: array - items: *581 + items: *582 examples: - default: *595 + default: *596 headers: Link: *39 '304': *37 @@ -93237,7 +93314,7 @@ paths: type: array items: *58 examples: - default: &602 + default: &603 summary: Default response value: - id: 1296269 @@ -93539,9 +93616,9 @@ paths: description: Response content: application/json: - schema: *265 + schema: *266 examples: - default: *267 + default: *268 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -93579,9 +93656,9 @@ paths: application/json: schema: type: array - items: *447 + items: *448 examples: - default: *596 + default: *597 headers: Link: *39 '304': *37 @@ -93604,7 +93681,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *179 + - *180 responses: '204': description: Response @@ -93627,7 +93704,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *179 + - *180 responses: '204': description: Response @@ -93660,7 +93737,7 @@ paths: application/json: schema: type: array - items: &597 + items: &598 title: Social account description: Social media account type: object @@ -93675,7 +93752,7 @@ paths: - provider - url examples: - default: &598 + default: &599 value: - provider: twitter url: https://twitter.com/github @@ -93737,9 +93814,9 @@ paths: application/json: schema: type: array - items: *597 + items: *598 examples: - default: *598 + default: *599 '422': *16 '304': *37 '404': *7 @@ -93826,7 +93903,7 @@ paths: application/json: schema: type: array - items: &599 + items: &600 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -93846,7 +93923,7 @@ paths: - title - created_at examples: - default: &614 + default: &615 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -93912,9 +93989,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *600 examples: - default: &600 + default: &601 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -93945,7 +94022,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: - - &601 + - &602 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -93957,9 +94034,9 @@ paths: description: Response content: application/json: - schema: *599 + schema: *600 examples: - default: *600 + default: *601 '404': *7 '304': *37 '403': *29 @@ -93982,7 +94059,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: - - *601 + - *602 responses: '204': description: Response @@ -94011,7 +94088,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-the-authenticated-user parameters: - - &615 + - &616 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 @@ -94036,11 +94113,11 @@ paths: type: array items: *58 examples: - default-response: *602 + default-response: *603 application/vnd.github.v3.star+json: schema: type: array - items: &616 + items: &617 title: Starred Repository description: Starred Repository type: object @@ -94196,8 +94273,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: - - *254 - *255 + - *256 responses: '204': description: Response if this repository is starred by you @@ -94225,8 +94302,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#star-a-repository-for-the-authenticated-user parameters: - - *254 - *255 + - *256 responses: '204': description: Response @@ -94250,8 +94327,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/activity/starring#unstar-a-repository-for-the-authenticated-user parameters: - - *254 - *255 + - *256 responses: '204': description: Response @@ -94286,7 +94363,7 @@ paths: type: array items: *113 examples: - default: *204 + default: *205 headers: Link: *39 '304': *37 @@ -94323,7 +94400,7 @@ paths: application/json: schema: type: array - items: *239 + items: *240 examples: default: value: @@ -94407,10 +94484,10 @@ paths: application/json: schema: oneOf: + - *575 - *574 - - *573 examples: - default-response: &604 + default-response: &605 summary: Default response value: login: octocat @@ -94445,7 +94522,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &605 + response-with-git-hub-plan-information: &606 summary: Response with GitHub plan information value: login: octocat @@ -94505,7 +94582,7 @@ paths: description: API method documentation url: https://docs.github.com/rest/users/users#list-users parameters: - - *603 + - *604 - *18 responses: '200': @@ -94516,7 +94593,7 @@ paths: type: array items: *19 examples: - default: *183 + default: *184 headers: Link: example: ; rel="next" @@ -94552,11 +94629,11 @@ paths: application/json: schema: oneOf: + - *575 - *574 - - *573 examples: - default-response: *604 - response-with-git-hub-plan-information: *605 + default-response: *605 + response-with-git-hub-plan-information: *606 '404': *7 x-github: githubCloudOnly: false @@ -94716,9 +94793,9 @@ paths: application/json: schema: type: array - items: *198 + items: *199 examples: - default: *593 + default: *594 '403': *29 '401': *25 x-github: @@ -95001,7 +95078,7 @@ paths: type: array items: *19 examples: - default: *183 + default: *184 headers: Link: *39 x-github: @@ -95032,7 +95109,7 @@ paths: type: array items: *19 examples: - default: *183 + default: *184 headers: Link: *39 x-github: @@ -95122,9 +95199,9 @@ paths: application/json: schema: type: array - items: *582 + items: *583 examples: - default: *606 + default: *607 headers: Link: *39 x-github: @@ -95228,7 +95305,7 @@ paths: application/json: schema: *22 examples: - default: *444 + default: *445 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95304,9 +95381,9 @@ paths: application/json: schema: type: array - items: *187 + items: *188 examples: - default: *591 + default: *592 headers: Link: *39 x-github: @@ -95345,7 +95422,7 @@ paths: - docker - nuget - container - - *592 + - *593 - *126 - *20 - *18 @@ -95356,12 +95433,12 @@ paths: application/json: schema: type: array - items: *198 + items: *199 examples: - default: *593 + default: *594 '403': *29 '401': *25 - '400': *594 + '400': *595 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95381,17 +95458,17 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-for-a-user parameters: - - *200 - *201 + - *202 - *126 responses: '200': description: Response content: application/json: - schema: *198 + schema: *199 examples: - default: *607 + default: *608 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -95412,8 +95489,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-a-package-for-a-user parameters: - - *200 - *201 + - *202 - *126 responses: '204': @@ -95446,8 +95523,8 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-a-package-for-a-user parameters: - - *200 - *201 + - *202 - *126 - name: token description: package token @@ -95480,8 +95557,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: - - *200 - *201 + - *202 - *126 responses: '200': @@ -95490,7 +95567,7 @@ paths: application/json: schema: type: array - items: *202 + items: *203 examples: default: value: @@ -95548,16 +95625,16 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#get-a-package-version-for-a-user parameters: - - *200 - *201 - - *203 + - *202 + - *204 - *126 responses: '200': description: Response content: application/json: - schema: *202 + schema: *203 examples: default: value: @@ -95592,10 +95669,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#delete-package-version-for-a-user parameters: - - *200 - *201 + - *202 - *126 - - *203 + - *204 responses: '204': description: Response @@ -95627,10 +95704,10 @@ paths: description: API method documentation url: https://docs.github.com/rest/packages/packages#restore-package-version-for-a-user parameters: - - *200 - *201 + - *202 - *126 - - *203 + - *204 responses: '204': description: Response @@ -95674,7 +95751,7 @@ paths: application/json: schema: type: array - items: *211 + items: *212 examples: default: value: @@ -95954,7 +96031,7 @@ paths: type: array items: *113 examples: - default: *204 + default: *205 headers: Link: *39 x-github: @@ -95984,9 +96061,9 @@ paths: description: Response content: application/json: - schema: *608 + schema: *609 examples: - default: *609 + default: *610 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96014,9 +96091,9 @@ paths: description: Response content: application/json: - schema: *610 + schema: *611 examples: - default: *611 + default: *612 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96044,9 +96121,9 @@ paths: description: Response content: application/json: - schema: *612 + schema: *613 examples: - default: *613 + default: *614 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96074,9 +96151,9 @@ paths: application/json: schema: type: array - items: *597 + items: *598 examples: - default: *598 + default: *599 headers: Link: *39 x-github: @@ -96106,9 +96183,9 @@ paths: application/json: schema: type: array - items: *599 + items: *600 examples: - default: *614 + default: *615 headers: Link: *39 x-github: @@ -96133,7 +96210,7 @@ paths: url: https://docs.github.com/rest/activity/starring#list-repositories-starred-by-a-user parameters: - *126 - - *615 + - *616 - *42 - *18 - *20 @@ -96145,11 +96222,11 @@ paths: schema: anyOf: - type: array - items: *616 + items: *617 - type: array items: *58 examples: - default-response: *602 + default-response: *603 headers: Link: *39 x-github: @@ -96180,7 +96257,7 @@ paths: type: array items: *113 examples: - default: *204 + default: *205 headers: Link: *39 x-github: @@ -96308,7 +96385,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &617 + enterprise: &618 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -96366,7 +96443,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &618 + installation: &619 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -96385,7 +96462,7 @@ x-webhooks: required: - id - node_id - organization: &619 + organization: &620 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -96445,13 +96522,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &620 + repository: &621 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &650 + properties: &651 id: description: Unique identifier of the repository example: 42 @@ -97134,7 +97211,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &651 + required: &652 - archive_url - assignees_url - blobs_url @@ -97285,10 +97362,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -97364,11 +97441,11 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 - rule: &621 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 + rule: &622 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) @@ -97591,11 +97668,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 - rule: *621 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 + rule: *622 sender: *19 required: - action @@ -97778,11 +97855,11 @@ x-webhooks: - everyone required: - from - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 - rule: *621 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 + rule: *622 sender: *19 required: - action @@ -97866,7 +97943,7 @@ x-webhooks: type: string enum: - completed - check_run: &623 + check_run: &624 title: CheckRun description: A check performed on the code of a given code change type: object @@ -97929,7 +98006,7 @@ x-webhooks: type: string pull_requests: type: array - items: *333 + items: *334 repository: *113 status: example: completed @@ -97967,7 +98044,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *622 + deployment: *623 details_url: example: https://example.com type: string @@ -98017,7 +98094,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *333 + items: *334 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -98052,9 +98129,9 @@ x-webhooks: - output - app - pull_requests - installation: *618 - organization: *619 - repository: *620 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - check_run @@ -98447,10 +98524,10 @@ x-webhooks: type: string enum: - created - check_run: *623 - installation: *618 - organization: *619 - repository: *620 + check_run: *624 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - check_run @@ -98846,10 +98923,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *623 - installation: *618 - organization: *619 - repository: *620 + check_run: *624 + installation: *619 + organization: *620 + repository: *621 requested_action: description: The action requested by the user. type: object @@ -99254,10 +99331,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *623 - installation: *618 - organization: *619 - repository: *620 + check_run: *624 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - check_run @@ -100234,10 +100311,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -100907,10 +100984,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -101574,10 +101651,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -101877,20 +101954,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &624 + commit_oid: &625 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: *617 - installation: *618 - organization: *619 - ref: &625 + enterprise: *618 + installation: *619 + organization: *620 + ref: &626 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: *620 + repository: *621 sender: *19 required: - action @@ -102208,12 +102285,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *624 - enterprise: *617 - installation: *618 - organization: *619 - ref: *625 - repository: *620 + commit_oid: *625 + enterprise: *618 + installation: *619 + organization: *620 + ref: *626 + repository: *621 sender: *19 required: - action @@ -102308,7 +102385,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *349 + dismissed_comment: *350 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -102470,12 +102547,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *624 - enterprise: *617 - installation: *618 - organization: *619 - ref: *625 - repository: *620 + commit_oid: *625 + enterprise: *618 + installation: *619 + organization: *620 + ref: *626 + repository: *621 sender: *19 required: - action @@ -102796,12 +102873,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *624 - enterprise: *617 - installation: *618 - organization: *619 - ref: *625 - repository: *620 + commit_oid: *625 + enterprise: *618 + installation: *619 + organization: *620 + ref: *626 + repository: *621 sender: *19 required: - action @@ -103058,16 +103135,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 ref: 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 nullable: true - repository: *620 + repository: *621 sender: *19 required: - action @@ -103293,12 +103370,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *624 - enterprise: *617 - installation: *618 - organization: *619 - ref: *625 - repository: *620 + commit_oid: *625 + enterprise: *618 + installation: *619 + organization: *620 + ref: *626 + repository: *621 sender: *19 required: - action @@ -103555,10 +103632,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -103638,18 +103715,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *619 - pusher_type: &626 + organization: *620 + pusher_type: &627 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &627 + ref: &628 description: The [`git ref`](https://docs.github.com/rest/git/refs#get-a-reference) resource. type: string @@ -103659,7 +103736,7 @@ x-webhooks: enum: - tag - branch - repository: *620 + repository: *621 sender: *19 required: - ref @@ -103741,10 +103818,10 @@ x-webhooks: type: string enum: - created - definition: *212 - enterprise: *617 - installation: *618 - organization: *619 + definition: *213 + enterprise: *618 + installation: *619 + organization: *620 sender: *19 required: - action @@ -103829,9 +103906,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 sender: *19 required: - action @@ -103908,10 +103985,10 @@ x-webhooks: type: string enum: - updated - definition: *212 - enterprise: *617 - installation: *618 - organization: *619 + definition: *213 + enterprise: *618 + installation: *619 + organization: *620 sender: *19 required: - action @@ -103988,19 +104065,19 @@ x-webhooks: type: string enum: - updated - enterprise: *617 - installation: *618 - repository: *620 - organization: *619 + enterprise: *618 + installation: *619 + repository: *621 + organization: *620 sender: *19 new_property_values: type: array description: The new custom property values for the repository. - items: *216 + items: *217 old_property_values: type: array description: The old custom property values for the repository. - items: *216 + items: *217 required: - action - repository @@ -104076,18 +104153,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *617 - installation: *618 - organization: *619 - pusher_type: *626 - ref: *627 + enterprise: *618 + installation: *619 + organization: *620 + pusher_type: *627 + ref: *628 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *620 + repository: *621 sender: *19 required: - ref @@ -104171,11 +104248,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *403 - installation: *618 - organization: *619 - enterprise: *617 - repository: *620 + alert: *404 + installation: *619 + organization: *620 + enterprise: *618 + repository: *621 sender: *19 required: - action @@ -104259,11 +104336,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *403 - installation: *618 - organization: *619 - enterprise: *617 - repository: *620 + alert: *404 + installation: *619 + organization: *620 + enterprise: *618 + repository: *621 sender: *19 required: - action @@ -104347,11 +104424,11 @@ x-webhooks: type: string enum: - created - alert: *403 - installation: *618 - organization: *619 - enterprise: *617 - repository: *620 + alert: *404 + installation: *619 + organization: *620 + enterprise: *618 + repository: *621 sender: *19 required: - action @@ -104433,11 +104510,11 @@ x-webhooks: type: string enum: - dismissed - alert: *403 - installation: *618 - organization: *619 - enterprise: *617 - repository: *620 + alert: *404 + installation: *619 + organization: *620 + enterprise: *618 + repository: *621 sender: *19 required: - action @@ -104519,11 +104596,11 @@ x-webhooks: type: string enum: - fixed - alert: *403 - installation: *618 - organization: *619 - enterprise: *617 - repository: *620 + alert: *404 + installation: *619 + organization: *620 + enterprise: *618 + repository: *621 sender: *19 required: - action @@ -104606,11 +104683,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *403 - installation: *618 - organization: *619 - enterprise: *617 - repository: *620 + alert: *404 + installation: *619 + organization: *620 + enterprise: *618 + repository: *621 sender: *19 required: - action @@ -104692,11 +104769,11 @@ x-webhooks: type: string enum: - reopened - alert: *403 - installation: *618 - organization: *619 - enterprise: *617 - repository: *620 + alert: *404 + installation: *619 + organization: *620 + enterprise: *618 + repository: *621 sender: *19 required: - action @@ -104773,9 +104850,9 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - key: &628 + enterprise: *618 + installation: *619 + key: &629 description: The [`deploy key`](https://docs.github.com/rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -104811,8 +104888,8 @@ x-webhooks: - verified - created_at - read_only - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -104889,11 +104966,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - key: *628 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + key: *629 + organization: *620 + repository: *621 sender: *19 required: - action @@ -105454,12 +105531,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 - workflow: &632 + workflow: &633 title: Workflow type: object nullable: true @@ -106185,13 +106262,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *409 + deployment: *410 pull_requests: type: array - items: *494 - repository: *620 - organization: *619 - installation: *618 + items: *495 + repository: *621 + organization: *620 + installation: *619 sender: *19 responses: '200': @@ -106262,7 +106339,7 @@ x-webhooks: type: string enum: - approved - approver: &629 + approver: &630 type: object properties: avatar_url: @@ -106305,11 +106382,11 @@ x-webhooks: type: string comment: type: string - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 - reviewers: &630 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 + reviewers: &631 type: array items: type: object @@ -106388,7 +106465,7 @@ x-webhooks: sender: *19 since: type: string - workflow_job_run: &631 + workflow_job_run: &632 type: object properties: conclusion: @@ -107119,18 +107196,18 @@ x-webhooks: type: string enum: - rejected - approver: *629 + approver: *630 comment: type: string - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 - reviewers: *630 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 + reviewers: *631 sender: *19 since: type: string - workflow_job_run: *631 + workflow_job_run: *632 workflow_job_runs: type: array items: @@ -107834,13 +107911,13 @@ x-webhooks: type: string enum: - requested - enterprise: *617 + enterprise: *618 environment: type: string - installation: *618 - organization: *619 - repository: *620 - requestor: &637 + installation: *619 + organization: *620 + repository: *621 + requestor: &638 title: User type: object nullable: true @@ -109739,12 +109816,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 - workflow: *632 + workflow: *633 workflow_run: title: Deployment Workflow Run type: object @@ -110424,7 +110501,7 @@ x-webhooks: type: string enum: - answered - answer: &635 + answer: &636 type: object properties: author_association: @@ -110581,7 +110658,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &633 + discussion: &634 title: Discussion description: A Discussion in a repository. type: object @@ -110867,7 +110944,7 @@ x-webhooks: - id labels: type: array - items: *456 + items: *457 required: - repository_url - category @@ -110889,10 +110966,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -111019,11 +111096,11 @@ x-webhooks: - from required: - category - discussion: *633 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + discussion: *634 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -111106,11 +111183,11 @@ x-webhooks: type: string enum: - closed - discussion: *633 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + discussion: *634 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -111192,7 +111269,7 @@ x-webhooks: type: string enum: - created - comment: &634 + comment: &635 type: object properties: author_association: @@ -111349,11 +111426,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *633 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + discussion: *634 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -111436,12 +111513,12 @@ x-webhooks: type: string enum: - deleted - comment: *634 - discussion: *633 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + comment: *635 + discussion: *634 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -111536,12 +111613,12 @@ x-webhooks: - from required: - body - comment: *634 - discussion: *633 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + comment: *635 + discussion: *634 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -111625,11 +111702,11 @@ x-webhooks: type: string enum: - created - discussion: *633 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + discussion: *634 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -111711,11 +111788,11 @@ x-webhooks: type: string enum: - deleted - discussion: *633 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + discussion: *634 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -111815,11 +111892,11 @@ x-webhooks: type: string required: - from - discussion: *633 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + discussion: *634 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -111901,10 +111978,10 @@ x-webhooks: type: string enum: - labeled - discussion: *633 - enterprise: *617 - installation: *618 - label: &636 + discussion: *634 + enterprise: *618 + installation: *619 + label: &637 title: Label type: object properties: @@ -111936,8 +112013,8 @@ x-webhooks: - color - default - description - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -112020,11 +112097,11 @@ x-webhooks: type: string enum: - locked - discussion: *633 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + discussion: *634 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -112106,11 +112183,11 @@ x-webhooks: type: string enum: - pinned - discussion: *633 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + discussion: *634 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -112192,11 +112269,11 @@ x-webhooks: type: string enum: - reopened - discussion: *633 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + discussion: *634 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -112281,16 +112358,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *633 - new_repository: *620 + new_discussion: *634 + new_repository: *621 required: - new_discussion - new_repository - discussion: *633 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + discussion: *634 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -112373,10 +112450,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *633 - old_answer: *635 - organization: *619 - repository: *620 + discussion: *634 + old_answer: *636 + organization: *620 + repository: *621 sender: *19 required: - action @@ -112458,12 +112535,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *633 - enterprise: *617 - installation: *618 - label: *636 - organization: *619 - repository: *620 + discussion: *634 + enterprise: *618 + installation: *619 + label: *637 + organization: *620 + repository: *621 sender: *19 required: - action @@ -112546,11 +112623,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *633 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + discussion: *634 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -112632,11 +112709,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *633 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + discussion: *634 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -112709,7 +112786,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *617 + enterprise: *618 forkee: description: The created [`repository`](https://docs.github.com/rest/repos/repos#get-a-repository) resource. @@ -113369,9 +113446,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *618 - organization: *619 - repository: *620 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - forkee @@ -113517,9 +113594,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 pages: description: The pages that were updated. type: array @@ -113556,7 +113633,7 @@ x-webhooks: - action - sha - html_url - repository: *620 + repository: *621 sender: *19 required: - pages @@ -113632,10 +113709,10 @@ x-webhooks: type: string enum: - created - enterprise: *617 + enterprise: *618 installation: *22 - organization: *619 - repositories: &638 + organization: *620 + repositories: &639 description: An array of repository objects that the installation can access. type: array @@ -113661,8 +113738,8 @@ x-webhooks: - name - full_name - private - repository: *620 - requester: *637 + repository: *621 + requester: *638 sender: *19 required: - action @@ -113737,11 +113814,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 + enterprise: *618 installation: *22 - organization: *619 - repositories: *638 - repository: *620 + organization: *620 + repositories: *639 + repository: *621 requester: nullable: true sender: *19 @@ -113817,11 +113894,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *617 + enterprise: *618 installation: *22 - organization: *619 - repositories: *638 - repository: *620 + organization: *620 + repositories: *639 + repository: *621 requester: nullable: true sender: *19 @@ -113897,10 +113974,10 @@ x-webhooks: type: string enum: - added - enterprise: *617 + enterprise: *618 installation: *22 - organization: *619 - repositories_added: &639 + organization: *620 + repositories_added: &640 description: An array of repository objects, which were added to the installation. type: array @@ -113946,15 +114023,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *620 - repository_selection: &640 + repository: *621 + repository_selection: &641 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *637 + requester: *638 sender: *19 required: - action @@ -114033,10 +114110,10 @@ x-webhooks: type: string enum: - removed - enterprise: *617 + enterprise: *618 installation: *22 - organization: *619 - repositories_added: *639 + organization: *620 + repositories_added: *640 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -114063,9 +114140,9 @@ x-webhooks: - name - full_name - private - repository: *620 - repository_selection: *640 - requester: *637 + repository: *621 + repository_selection: *641 + requester: *638 sender: *19 required: - action @@ -114144,11 +114221,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *617 + enterprise: *618 installation: *22 - organization: *619 - repositories: *638 - repository: *620 + organization: *620 + repositories: *639 + repository: *621 requester: nullable: true sender: *19 @@ -114326,10 +114403,10 @@ x-webhooks: type: string required: - from - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 target_type: type: string @@ -114408,11 +114485,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *617 + enterprise: *618 installation: *22 - organization: *619 - repositories: *638 - repository: *620 + organization: *620 + repositories: *639 + repository: *621 requester: nullable: true sender: *19 @@ -114664,8 +114741,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -115820,8 +115897,8 @@ x-webhooks: - state - locked - assignee - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -115901,7 +115978,7 @@ x-webhooks: type: string enum: - deleted - comment: &641 + comment: &642 title: issue comment description: The [comment](https://docs.github.com/rest/issues/comments#get-an-issue-comment) itself. @@ -116066,8 +116143,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -117220,8 +117297,8 @@ x-webhooks: - state - locked - assignee - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -117301,7 +117378,7 @@ x-webhooks: type: string enum: - edited - changes: &669 + changes: &670 description: The changes to the comment. type: object properties: @@ -117313,9 +117390,9 @@ x-webhooks: type: string required: - from - comment: *641 - enterprise: *617 - installation: *618 + comment: *642 + enterprise: *618 + installation: *619 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) the comment belongs to. @@ -118469,8 +118546,8 @@ x-webhooks: - state - locked - assignee - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -118552,10 +118629,10 @@ x-webhooks: type: string enum: - assigned - assignee: *637 - enterprise: *617 - installation: *618 - issue: &644 + assignee: *638 + enterprise: *618 + installation: *619 + issue: &645 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -119473,8 +119550,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -119554,8 +119631,8 @@ x-webhooks: type: string enum: - closed - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 issue: description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -120613,8 +120690,8 @@ x-webhooks: required: - state - closed_at - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -120693,8 +120770,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -121605,8 +121682,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -121685,8 +121762,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -122600,7 +122677,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &642 + milestone: &643 title: Milestone description: A collection of related issues and pull requests. type: object @@ -122738,8 +122815,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -122838,8 +122915,8 @@ x-webhooks: type: string required: - from - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -123757,9 +123834,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *636 - organization: *619 - repository: *620 + label: *637 + organization: *620 + repository: *621 sender: *19 required: - action @@ -123839,8 +123916,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -124757,9 +124834,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *636 - organization: *619 - repository: *620 + label: *637 + organization: *620 + repository: *621 sender: *19 required: - action @@ -124839,8 +124916,8 @@ x-webhooks: type: string enum: - locked - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -125758,8 +125835,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -125838,8 +125915,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -126751,9 +126828,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *642 - organization: *619 - repository: *620 + milestone: *643 + organization: *620 + repository: *621 sender: *19 required: - action @@ -128214,8 +128291,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -129132,8 +129209,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -129213,9 +129290,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *617 - installation: *618 - issue: &643 + enterprise: *618 + installation: *619 + issue: &644 title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) itself. @@ -130126,8 +130203,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -130206,8 +130283,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -131124,8 +131201,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -132587,11 +132664,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *617 - installation: *618 - issue: *643 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + issue: *644 + organization: *620 + repository: *621 sender: *19 required: - action @@ -132672,7 +132749,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &672 + assignee: &673 title: User type: object nullable: true @@ -132742,11 +132819,11 @@ x-webhooks: required: - login - id - enterprise: *617 - installation: *618 - issue: *644 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + issue: *645 + organization: *620 + repository: *621 sender: *19 required: - action @@ -132825,12 +132902,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *617 - installation: *618 - issue: *644 - label: *636 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + issue: *645 + label: *637 + organization: *620 + repository: *621 sender: *19 required: - action @@ -132910,8 +132987,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 issue: title: Issue description: The [issue](https://docs.github.com/rest/issues/issues#get-an-issue) @@ -133827,8 +133904,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -133908,11 +133985,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *617 - installation: *618 - issue: *643 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + issue: *644 + organization: *620 + repository: *621 sender: *19 required: - action @@ -133991,11 +134068,11 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - label: *636 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + label: *637 + organization: *620 + repository: *621 sender: *19 required: - action @@ -134073,11 +134150,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - label: *636 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + label: *637 + organization: *620 + repository: *621 sender: *19 required: - action @@ -134187,11 +134264,11 @@ x-webhooks: type: string required: - from - enterprise: *617 - installation: *618 - label: *636 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + label: *637 + organization: *620 + repository: *621 sender: *19 required: - action @@ -134273,9 +134350,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *617 - installation: *618 - marketplace_purchase: &645 + enterprise: *618 + installation: *619 + marketplace_purchase: &646 title: Marketplace Purchase type: object required: @@ -134358,8 +134435,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *619 - previous_marketplace_purchase: &646 + organization: *620 + previous_marketplace_purchase: &647 title: Marketplace Purchase type: object properties: @@ -134439,7 +134516,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *620 + repository: *621 sender: *19 required: - action @@ -134519,10 +134596,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *617 - installation: *618 - marketplace_purchase: *645 - organization: *619 + enterprise: *618 + installation: *619 + marketplace_purchase: *646 + organization: *620 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -134605,7 +134682,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *620 + repository: *621 sender: *19 required: - action @@ -134687,10 +134764,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *617 - installation: *618 - marketplace_purchase: *645 - organization: *619 + enterprise: *618 + installation: *619 + marketplace_purchase: *646 + organization: *620 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -134772,7 +134849,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *620 + repository: *621 sender: *19 required: - action @@ -134853,8 +134930,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 marketplace_purchase: title: Marketplace Purchase type: object @@ -134936,9 +135013,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *619 - previous_marketplace_purchase: *646 - repository: *620 + organization: *620 + previous_marketplace_purchase: *647 + repository: *621 sender: *19 required: - action @@ -135018,12 +135095,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *617 - installation: *618 - marketplace_purchase: *645 - organization: *619 - previous_marketplace_purchase: *646 - repository: *620 + enterprise: *618 + installation: *619 + marketplace_purchase: *646 + organization: *620 + previous_marketplace_purchase: *647 + repository: *621 sender: *19 required: - action @@ -135125,11 +135202,11 @@ x-webhooks: type: string required: - to - enterprise: *617 - installation: *618 - member: *637 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + member: *638 + organization: *620 + repository: *621 sender: *19 required: - action @@ -135229,11 +135306,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *617 - installation: *618 - member: *637 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + member: *638 + organization: *620 + repository: *621 sender: *19 required: - action @@ -135312,11 +135389,11 @@ x-webhooks: type: string enum: - removed - enterprise: *617 - installation: *618 - member: *637 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + member: *638 + organization: *620 + repository: *621 sender: *19 required: - action @@ -135394,11 +135471,11 @@ x-webhooks: type: string enum: - added - enterprise: *617 - installation: *618 - member: *637 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + member: *638 + organization: *620 + repository: *621 scope: description: The scope of the membership. Currently, can only be `team`. @@ -135474,7 +135551,7 @@ x-webhooks: required: - login - id - team: &647 + team: &648 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -135664,11 +135741,11 @@ x-webhooks: type: string enum: - removed - enterprise: *617 - installation: *618 - member: *637 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + member: *638 + organization: *620 + repository: *621 scope: description: The scope of the membership. Currently, can only be `team`. @@ -135745,7 +135822,7 @@ x-webhooks: required: - login - id - team: *647 + team: *648 required: - action - scope @@ -135827,8 +135904,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *618 - merge_group: &649 + installation: *619 + merge_group: &650 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -135847,15 +135924,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *648 + head_commit: *649 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -135941,10 +136018,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *618 - merge_group: *649 - organization: *619 - repository: *620 + installation: *619 + merge_group: *650 + organization: *620 + repository: *621 sender: *19 required: - action @@ -136017,7 +136094,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 + enterprise: *618 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -136125,16 +136202,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *618 - organization: *619 + installation: *619 + organization: *620 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *650 - required: *651 + properties: *651 + required: *652 nullable: true sender: *19 required: @@ -136215,11 +136292,11 @@ x-webhooks: type: string enum: - closed - enterprise: *617 - installation: *618 - milestone: *642 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + milestone: *643 + organization: *620 + repository: *621 sender: *19 required: - action @@ -136298,9 +136375,9 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - milestone: &652 + enterprise: *618 + installation: *619 + milestone: &653 title: Milestone description: A collection of related issues and pull requests. type: object @@ -136437,8 +136514,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -136517,11 +136594,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - milestone: *642 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + milestone: *643 + organization: *620 + repository: *621 sender: *19 required: - action @@ -136631,11 +136708,11 @@ x-webhooks: type: string required: - from - enterprise: *617 - installation: *618 - milestone: *642 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + milestone: *643 + organization: *620 + repository: *621 sender: *19 required: - action @@ -136715,11 +136792,11 @@ x-webhooks: type: string enum: - opened - enterprise: *617 - installation: *618 - milestone: *652 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + milestone: *653 + organization: *620 + repository: *621 sender: *19 required: - action @@ -136798,11 +136875,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *637 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + blocked_user: *638 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -136881,11 +136958,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *637 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + blocked_user: *638 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -136964,9 +137041,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - membership: &653 + enterprise: *618 + installation: *619 + membership: &654 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -137058,8 +137135,8 @@ x-webhooks: - role - organization_url - user - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 required: - action @@ -137137,11 +137214,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *617 - installation: *618 - membership: *653 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + membership: *654 + organization: *620 + repository: *621 sender: *19 required: - action @@ -137220,8 +137297,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -137337,10 +137414,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 - user: *637 + user: *638 required: - action - invitation @@ -137418,11 +137495,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *617 - installation: *618 - membership: *653 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + membership: *654 + organization: *620 + repository: *621 sender: *19 required: - action @@ -137509,11 +137586,11 @@ x-webhooks: properties: from: type: string - enterprise: *617 - installation: *618 - membership: *653 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + membership: *654 + organization: *620 + repository: *621 sender: *19 required: - action @@ -137589,9 +137666,9 @@ x-webhooks: type: string enum: - published - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 package: description: Information about the package. type: object @@ -138090,7 +138167,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &654 + items: &655 title: Ruby Gems metadata type: object properties: @@ -138185,7 +138262,7 @@ x-webhooks: - owner - package_version - registry - repository: *620 + repository: *621 sender: *19 required: - action @@ -138261,9 +138338,9 @@ x-webhooks: type: string enum: - updated - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 package: description: Information about the package. type: object @@ -138616,7 +138693,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *654 + items: *655 source_url: type: string format: uri @@ -138686,7 +138763,7 @@ x-webhooks: - owner - package_version - registry - repository: *620 + repository: *621 sender: *19 required: - action @@ -138863,12 +138940,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *617 + enterprise: *618 id: type: integer - installation: *618 - organization: *619 - repository: *620 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - id @@ -138948,7 +139025,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &655 + personal_access_token_request: &656 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -139094,10 +139171,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *617 - organization: *619 + enterprise: *618 + organization: *620 sender: *19 - installation: *618 + installation: *619 required: - action - personal_access_token_request @@ -139176,11 +139253,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *655 - enterprise: *617 - organization: *619 + personal_access_token_request: *656 + enterprise: *618 + organization: *620 sender: *19 - installation: *618 + installation: *619 required: - action - personal_access_token_request @@ -139258,11 +139335,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *655 - enterprise: *617 - organization: *619 + personal_access_token_request: *656 + enterprise: *618 + organization: *620 sender: *19 - installation: *618 + installation: *619 required: - action - personal_access_token_request @@ -139339,11 +139416,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *655 - organization: *619 - enterprise: *617 + personal_access_token_request: *656 + organization: *620 + enterprise: *618 sender: *19 - installation: *618 + installation: *619 required: - action - personal_access_token_request @@ -139447,7 +139524,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *656 + last_response: *657 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -139479,8 +139556,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 zen: description: Random string of GitHub zen. @@ -139725,10 +139802,10 @@ x-webhooks: - from required: - note - enterprise: *617 - installation: *618 - organization: *619 - project_card: &657 + enterprise: *618 + installation: *619 + organization: *620 + project_card: &658 title: Project Card type: object properties: @@ -139847,7 +139924,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *620 + repository: *621 sender: *19 required: - action @@ -139928,11 +140005,11 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - organization: *619 - project_card: *657 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + project_card: *658 + repository: *621 sender: *19 required: - action @@ -140012,9 +140089,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 project_card: title: Project Card type: object @@ -140142,8 +140219,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *650 - required: *651 + properties: *651 + required: *652 nullable: true sender: *19 required: @@ -140237,11 +140314,11 @@ x-webhooks: - from required: - note - enterprise: *617 - installation: *618 - organization: *619 - project_card: *657 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + project_card: *658 + repository: *621 sender: *19 required: - action @@ -140335,9 +140412,9 @@ x-webhooks: - from required: - column_id - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 project_card: allOf: - title: Project Card @@ -140527,7 +140604,7 @@ x-webhooks: type: string required: - after_id - repository: *620 + repository: *621 sender: *19 required: - action @@ -140607,10 +140684,10 @@ x-webhooks: type: string enum: - closed - enterprise: *617 - installation: *618 - organization: *619 - project: &659 + enterprise: *618 + installation: *619 + organization: *620 + project: &660 title: Project type: object properties: @@ -140734,7 +140811,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *620 + repository: *621 sender: *19 required: - action @@ -140814,10 +140891,10 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - organization: *619 - project_column: &658 + enterprise: *618 + installation: *619 + organization: *620 + project_column: &659 title: Project Column type: object properties: @@ -140856,7 +140933,7 @@ x-webhooks: - name - created_at - updated_at - repository: *620 + repository: *621 sender: *19 required: - action @@ -140935,18 +141012,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - organization: *619 - project_column: *658 + enterprise: *618 + installation: *619 + organization: *620 + project_column: *659 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *650 - required: *651 + properties: *651 + required: *652 nullable: true sender: *19 required: @@ -141036,11 +141113,11 @@ x-webhooks: type: string required: - from - enterprise: *617 - installation: *618 - organization: *619 - project_column: *658 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + project_column: *659 + repository: *621 sender: *19 required: - action @@ -141120,11 +141197,11 @@ x-webhooks: type: string enum: - moved - enterprise: *617 - installation: *618 - organization: *619 - project_column: *658 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + project_column: *659 + repository: *621 sender: *19 required: - action @@ -141204,11 +141281,11 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - organization: *619 - project: *659 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + project: *660 + repository: *621 sender: *19 required: - action @@ -141288,18 +141365,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - organization: *619 - project: *659 + enterprise: *618 + installation: *619 + organization: *620 + project: *660 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *650 - required: *651 + properties: *651 + required: *652 nullable: true sender: *19 required: @@ -141401,11 +141478,11 @@ x-webhooks: type: string required: - from - enterprise: *617 - installation: *618 - organization: *619 - project: *659 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + project: *660 + repository: *621 sender: *19 required: - action @@ -141484,11 +141561,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *617 - installation: *618 - organization: *619 - project: *659 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + project: *660 + repository: *621 sender: *19 required: - action @@ -141569,9 +141646,9 @@ x-webhooks: type: string enum: - closed - installation: *618 - organization: *619 - projects_v2: &660 + installation: *619 + organization: *620 + projects_v2: &661 title: Projects v2 Project description: A projects v2 project type: object @@ -141714,9 +141791,9 @@ x-webhooks: type: string enum: - created - installation: *618 - organization: *619 - projects_v2: *660 + installation: *619 + organization: *620 + projects_v2: *661 sender: *19 required: - action @@ -141797,9 +141874,9 @@ x-webhooks: type: string enum: - deleted - installation: *618 - organization: *619 - projects_v2: *660 + installation: *619 + organization: *620 + projects_v2: *661 sender: *19 required: - action @@ -141916,9 +141993,9 @@ x-webhooks: type: string to: type: string - installation: *618 - organization: *619 - projects_v2: *660 + installation: *619 + organization: *620 + projects_v2: *661 sender: *19 required: - action @@ -142001,7 +142078,7 @@ x-webhooks: type: string enum: - archived - changes: &664 + changes: &665 type: object properties: archived_at: @@ -142015,9 +142092,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *618 - organization: *619 - projects_v2_item: &661 + installation: *619 + organization: *620 + projects_v2_item: &662 title: Projects v2 Item description: An item belonging to a project type: object @@ -142151,9 +142228,9 @@ x-webhooks: nullable: true to: type: string - installation: *618 - organization: *619 - projects_v2_item: *661 + installation: *619 + organization: *620 + projects_v2_item: *662 sender: *19 required: - action @@ -142235,9 +142312,9 @@ x-webhooks: type: string enum: - created - installation: *618 - organization: *619 - projects_v2_item: *661 + installation: *619 + organization: *620 + projects_v2_item: *662 sender: *19 required: - action @@ -142318,9 +142395,9 @@ x-webhooks: type: string enum: - deleted - installation: *618 - organization: *619 - projects_v2_item: *661 + installation: *619 + organization: *620 + projects_v2_item: *662 sender: *19 required: - action @@ -142426,7 +142503,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &662 + - &663 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -142444,7 +142521,7 @@ x-webhooks: required: - id - name - - &663 + - &664 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -142467,8 +142544,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *662 - *663 + - *664 required: - field_value - type: object @@ -142484,9 +142561,9 @@ x-webhooks: nullable: true required: - body - installation: *618 - organization: *619 - projects_v2_item: *661 + installation: *619 + organization: *620 + projects_v2_item: *662 sender: *19 required: - action @@ -142581,9 +142658,9 @@ x-webhooks: to: type: string nullable: true - installation: *618 - organization: *619 - projects_v2_item: *661 + installation: *619 + organization: *620 + projects_v2_item: *662 sender: *19 required: - action @@ -142666,10 +142743,10 @@ x-webhooks: type: string enum: - restored - changes: *664 - installation: *618 - organization: *619 - projects_v2_item: *661 + changes: *665 + installation: *619 + organization: *620 + projects_v2_item: *662 sender: *19 required: - action @@ -142751,9 +142828,9 @@ x-webhooks: type: string enum: - reopened - installation: *618 - organization: *619 - projects_v2: *660 + installation: *619 + organization: *620 + projects_v2: *661 sender: *19 required: - action @@ -142834,9 +142911,9 @@ x-webhooks: type: string enum: - created - installation: *618 - organization: *619 - projects_v2_status_update: &665 + installation: *619 + organization: *620 + projects_v2_status_update: &666 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -142963,9 +143040,9 @@ x-webhooks: type: string enum: - deleted - installation: *618 - organization: *619 - projects_v2_status_update: *665 + installation: *619 + organization: *620 + projects_v2_status_update: *666 sender: *19 required: - action @@ -143101,9 +143178,9 @@ x-webhooks: type: string format: date nullable: true - installation: *618 - organization: *619 - projects_v2_status_update: *665 + installation: *619 + organization: *620 + projects_v2_status_update: *666 sender: *19 required: - action @@ -143174,10 +143251,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - repository @@ -143254,13 +143331,13 @@ x-webhooks: type: string enum: - assigned - assignee: *637 - enterprise: *617 - installation: *618 - number: &666 + assignee: *638 + enterprise: *618 + installation: *619 + number: &667 description: The pull request number. type: integer - organization: *619 + organization: *620 pull_request: title: Pull Request type: object @@ -145543,7 +145620,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 sender: *19 required: - action @@ -145625,11 +145702,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 number: type: integer - organization: *619 + organization: *620 pull_request: title: Pull Request type: object @@ -147907,7 +147984,7 @@ x-webhooks: - draft reason: type: string - repository: *620 + repository: *621 sender: *19 required: - action @@ -147989,11 +148066,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 number: type: integer - organization: *619 + organization: *620 pull_request: title: Pull Request type: object @@ -150271,7 +150348,7 @@ x-webhooks: - draft reason: type: string - repository: *620 + repository: *621 sender: *19 required: - action @@ -150353,13 +150430,13 @@ x-webhooks: type: string enum: - closed - enterprise: *617 - installation: *618 - number: *666 - organization: *619 - pull_request: &667 + enterprise: *618 + installation: *619 + number: *667 + organization: *620 + pull_request: &668 allOf: - - *494 + - *495 - type: object properties: allow_auto_merge: @@ -150421,7 +150498,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *620 + repository: *621 sender: *19 required: - action @@ -150502,12 +150579,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *617 - installation: *618 - number: *666 - organization: *619 - pull_request: *667 - repository: *620 + enterprise: *618 + installation: *619 + number: *667 + organization: *620 + pull_request: *668 + repository: *621 sender: *19 required: - action @@ -150587,11 +150664,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *617 - milestone: *477 - number: *666 - organization: *619 - pull_request: &668 + enterprise: *618 + milestone: *478 + number: *667 + organization: *620 + pull_request: &669 title: Pull Request type: object properties: @@ -152854,7 +152931,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 sender: *19 required: - action @@ -152933,11 +153010,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 number: type: integer - organization: *619 + organization: *620 pull_request: title: Pull Request type: object @@ -155219,7 +155296,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *620 + repository: *621 sender: *19 required: - action @@ -155343,12 +155420,12 @@ x-webhooks: type: string required: - from - enterprise: *617 - installation: *618 - number: *666 - organization: *619 - pull_request: *667 - repository: *620 + enterprise: *618 + installation: *619 + number: *667 + organization: *620 + pull_request: *668 + repository: *621 sender: *19 required: - action @@ -155428,11 +155505,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 number: type: integer - organization: *619 + organization: *620 pull_request: title: Pull Request type: object @@ -157699,7 +157776,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 sender: *19 required: - action @@ -157779,11 +157856,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *617 - installation: *618 - label: *636 - number: *666 - organization: *619 + enterprise: *618 + installation: *619 + label: *637 + number: *667 + organization: *620 pull_request: title: Pull Request type: object @@ -160065,7 +160142,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 sender: *19 required: - action @@ -160146,10 +160223,10 @@ x-webhooks: type: string enum: - locked - enterprise: *617 - installation: *618 - number: *666 - organization: *619 + enterprise: *618 + installation: *619 + number: *667 + organization: *620 pull_request: title: Pull Request type: object @@ -162429,7 +162506,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 sender: *19 required: - action @@ -162509,12 +162586,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *617 - milestone: *477 - number: *666 - organization: *619 - pull_request: *668 - repository: *620 + enterprise: *618 + milestone: *478 + number: *667 + organization: *620 + pull_request: *669 + repository: *621 sender: *19 required: - action @@ -162593,12 +162670,12 @@ x-webhooks: type: string enum: - opened - enterprise: *617 - installation: *618 - number: *666 - organization: *619 - pull_request: *667 - repository: *620 + enterprise: *618 + installation: *619 + number: *667 + organization: *620 + pull_request: *668 + repository: *621 sender: *19 required: - action @@ -162679,12 +162756,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *617 - installation: *618 - number: *666 - organization: *619 - pull_request: *667 - repository: *620 + enterprise: *618 + installation: *619 + number: *667 + organization: *620 + pull_request: *668 + repository: *621 sender: *19 required: - action @@ -162764,12 +162841,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *617 - installation: *618 - number: *666 - organization: *619 - pull_request: *667 - repository: *620 + enterprise: *618 + installation: *619 + number: *667 + organization: *620 + pull_request: *668 + repository: *621 sender: *19 required: - action @@ -163135,9 +163212,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 pull_request: type: object properties: @@ -165307,7 +165384,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *620 + repository: *621 sender: *19 required: - action @@ -165387,7 +165464,7 @@ x-webhooks: type: string enum: - deleted - comment: &670 + comment: &671 title: Pull Request Review Comment description: The [comment](https://docs.github.com/rest/pulls/comments#get-a-review-comment-for-a-pull-request) itself. @@ -165672,9 +165749,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 pull_request: type: object properties: @@ -167832,7 +167909,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *620 + repository: *621 sender: *19 required: - action @@ -167912,11 +167989,11 @@ x-webhooks: type: string enum: - edited - changes: *669 - comment: *670 - enterprise: *617 - installation: *618 - organization: *619 + changes: *670 + comment: *671 + enterprise: *618 + installation: *619 + organization: *620 pull_request: type: object properties: @@ -170077,7 +170154,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *620 + repository: *621 sender: *19 required: - action @@ -170158,9 +170235,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 pull_request: title: Simple Pull Request type: object @@ -172333,7 +172410,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *620 + repository: *621 review: description: The review that was affected. type: object @@ -172576,9 +172653,9 @@ x-webhooks: type: string required: - from - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 pull_request: title: Simple Pull Request type: object @@ -174632,8 +174709,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *620 - review: &671 + repository: *621 + review: &672 description: The review that was affected. type: object properties: @@ -174862,12 +174939,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 number: description: The pull request number. type: integer - organization: *619 + organization: *620 pull_request: title: Pull Request type: object @@ -177150,7 +177227,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 requested_reviewer: title: User type: object @@ -177234,12 +177311,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 number: description: The pull request number. type: integer - organization: *619 + organization: *620 pull_request: title: Pull Request type: object @@ -179529,7 +179606,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 requested_team: title: Team description: Groups of organization members that gives permissions @@ -179721,12 +179798,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 number: description: The pull request number. type: integer - organization: *619 + organization: *620 pull_request: title: Pull Request type: object @@ -182011,7 +182088,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 requested_reviewer: title: User type: object @@ -182096,12 +182173,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *617 - installation: *618 + enterprise: *618 + installation: *619 number: description: The pull request number. type: integer - organization: *619 + organization: *620 pull_request: title: Pull Request type: object @@ -184377,7 +184454,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 requested_team: title: Team description: Groups of organization members that gives permissions @@ -184558,9 +184635,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 pull_request: title: Simple Pull Request type: object @@ -186735,8 +186812,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *620 - review: *671 + repository: *621 + review: *672 sender: *19 required: - action @@ -186816,9 +186893,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 pull_request: title: Simple Pull Request type: object @@ -188888,7 +188965,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *620 + repository: *621 sender: *19 thread: type: object @@ -189271,9 +189348,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 pull_request: title: Simple Pull Request type: object @@ -191329,7 +191406,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *620 + repository: *621 sender: *19 thread: type: object @@ -191715,10 +191792,10 @@ x-webhooks: type: string before: type: string - enterprise: *617 - installation: *618 - number: *666 - organization: *619 + enterprise: *618 + installation: *619 + number: *667 + organization: *620 pull_request: title: Pull Request type: object @@ -193989,7 +194066,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 sender: *19 required: - action @@ -194071,11 +194148,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *672 - enterprise: *617 - installation: *618 - number: *666 - organization: *619 + assignee: *673 + enterprise: *618 + installation: *619 + number: *667 + organization: *620 pull_request: title: Pull Request type: object @@ -196358,7 +196435,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 sender: *19 required: - action @@ -196437,11 +196514,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *617 - installation: *618 - label: *636 - number: *666 - organization: *619 + enterprise: *618 + installation: *619 + label: *637 + number: *667 + organization: *620 pull_request: title: Pull Request type: object @@ -198714,7 +198791,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 sender: *19 required: - action @@ -198795,10 +198872,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *617 - installation: *618 - number: *666 - organization: *619 + enterprise: *618 + installation: *619 + number: *667 + organization: *620 pull_request: title: Pull Request type: object @@ -201063,7 +201140,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *620 + repository: *621 sender: *19 required: - action @@ -201263,7 +201340,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *617 + enterprise: *618 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -201355,8 +201432,8 @@ x-webhooks: - url - author - committer - installation: *618 - organization: *619 + installation: *619 + organization: *620 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -201931,9 +202008,9 @@ x-webhooks: type: string enum: - published - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 registry_package: type: object properties: @@ -202379,7 +202456,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *654 + items: *655 summary: type: string tag_name: @@ -202433,7 +202510,7 @@ x-webhooks: - owner - package_version - registry - repository: *620 + repository: *621 sender: *19 required: - action @@ -202511,9 +202588,9 @@ x-webhooks: type: string enum: - updated - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 registry_package: type: object properties: @@ -202821,7 +202898,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *654 + items: *655 summary: type: string tag_name: @@ -202870,7 +202947,7 @@ x-webhooks: - owner - package_version - registry - repository: *620 + repository: *621 sender: *19 required: - action @@ -202947,10 +203024,10 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - organization: *619 - release: &673 + enterprise: *618 + installation: *619 + organization: *620 + release: &674 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -203255,7 +203332,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *620 + repository: *621 sender: *19 required: - action @@ -203332,11 +203409,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - organization: *619 - release: *673 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + release: *674 + repository: *621 sender: *19 required: - action @@ -203444,11 +203521,11 @@ x-webhooks: type: boolean required: - to - enterprise: *617 - installation: *618 - organization: *619 - release: *673 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + release: *674 + repository: *621 sender: *19 required: - action @@ -203526,9 +203603,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 release: title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) @@ -203837,7 +203914,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *620 + repository: *621 sender: *19 required: - action @@ -203913,10 +203990,10 @@ x-webhooks: type: string enum: - published - enterprise: *617 - installation: *618 - organization: *619 - release: &674 + enterprise: *618 + installation: *619 + organization: *620 + release: &675 title: Release description: The [release](https://docs.github.com/rest/releases/releases/#get-a-release) object. @@ -204222,7 +204299,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *620 + repository: *621 sender: *19 required: - action @@ -204298,11 +204375,11 @@ x-webhooks: type: string enum: - released - enterprise: *617 - installation: *618 - organization: *619 - release: *673 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + release: *674 + repository: *621 sender: *19 required: - action @@ -204378,11 +204455,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *617 - installation: *618 - organization: *619 - release: *674 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + release: *675 + repository: *621 sender: *19 required: - action @@ -204458,11 +204535,11 @@ x-webhooks: type: string enum: - published - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 - repository_advisory: *548 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 + repository_advisory: *549 sender: *19 required: - action @@ -204538,11 +204615,11 @@ x-webhooks: type: string enum: - reported - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 - repository_advisory: *548 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 + repository_advisory: *549 sender: *19 required: - action @@ -204618,10 +204695,10 @@ x-webhooks: type: string enum: - archived - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -204698,10 +204775,10 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -204779,10 +204856,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -204866,10 +204943,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -204981,10 +205058,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -205056,10 +205133,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 status: type: string @@ -205140,10 +205217,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -205220,10 +205297,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -205317,10 +205394,10 @@ x-webhooks: - name required: - repository - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -205400,11 +205477,11 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 - repository_ruleset: *226 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 + repository_ruleset: *227 sender: *19 required: - action @@ -205482,11 +205559,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 - repository_ruleset: *226 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 + repository_ruleset: *227 sender: *19 required: - action @@ -205564,11 +205641,11 @@ x-webhooks: type: string enum: - edited - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 - repository_ruleset: *226 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 + repository_ruleset: *227 changes: type: object properties: @@ -205587,16 +205664,16 @@ x-webhooks: properties: added: type: array - items: *220 + items: *221 deleted: type: array - items: *220 + items: *221 updated: type: array items: type: object properties: - condition: *220 + condition: *221 changes: type: object properties: @@ -205629,16 +205706,16 @@ x-webhooks: properties: added: type: array - items: *225 + items: *226 deleted: type: array - items: *225 + items: *226 updated: type: array items: type: object properties: - rule: *225 + rule: *226 changes: type: object properties: @@ -205872,10 +205949,10 @@ x-webhooks: - from required: - owner - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -205953,10 +206030,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -206034,7 +206111,7 @@ x-webhooks: type: string enum: - create - alert: &675 + alert: &676 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -206155,10 +206232,10 @@ x-webhooks: type: string enum: - open - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -206364,10 +206441,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -206445,11 +206522,11 @@ x-webhooks: type: string enum: - reopen - alert: *675 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + alert: *676 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -206648,10 +206725,10 @@ x-webhooks: enum: - fixed - open - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -206729,7 +206806,7 @@ x-webhooks: type: string enum: - created - alert: &676 + alert: &677 type: object properties: number: *48 @@ -206835,10 +206912,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -206919,11 +206996,11 @@ x-webhooks: type: string enum: - created - alert: *676 - installation: *618 - location: *677 - organization: *619 - repository: *620 + alert: *677 + installation: *619 + location: *678 + organization: *620 + repository: *621 sender: *19 required: - location @@ -207161,11 +207238,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *676 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + alert: *677 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -207243,11 +207320,11 @@ x-webhooks: type: string enum: - reopened - alert: *676 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + alert: *677 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -207325,11 +207402,11 @@ x-webhooks: type: string enum: - resolved - alert: *676 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + alert: *677 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -207407,11 +207484,11 @@ x-webhooks: type: string enum: - validated - alert: *676 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + alert: *677 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -207487,11 +207564,11 @@ x-webhooks: type: string enum: - published - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 - security_advisory: &678 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 + security_advisory: &679 description: The details of the security advisory, including summary, description, and severity. type: object @@ -207674,11 +207751,11 @@ x-webhooks: type: string enum: - updated - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 - security_advisory: *678 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 + security_advisory: *679 sender: *19 required: - action @@ -207751,10 +207828,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -207938,11 +208015,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *219 - enterprise: *617 - installation: *618 - organization: *619 - repository: *265 + security_and_analysis: *220 + enterprise: *618 + installation: *619 + organization: *620 + repository: *266 sender: *19 required: - changes @@ -208020,12 +208097,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 - sponsorship: &679 + sponsorship: &680 type: object properties: created_at: @@ -208326,12 +208403,12 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 - sponsorship: *679 + sponsorship: *680 required: - action - sponsorship @@ -208419,12 +208496,12 @@ x-webhooks: type: string required: - from - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 - sponsorship: *679 + sponsorship: *680 required: - action - changes @@ -208501,17 +208578,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &680 + effective_date: &681 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: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 - sponsorship: *679 + sponsorship: *680 required: - action - sponsorship @@ -208585,7 +208662,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &681 + changes: &682 type: object properties: tier: @@ -208629,13 +208706,13 @@ x-webhooks: - from required: - tier - effective_date: *680 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + effective_date: *681 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 - sponsorship: *679 + sponsorship: *680 required: - action - changes @@ -208712,13 +208789,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *681 - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + changes: *682 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 - sponsorship: *679 + sponsorship: *680 required: - action - changes @@ -208792,10 +208869,10 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -208878,10 +208955,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -209300,15 +209377,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *617 + enterprise: *618 id: description: The unique identifier of the status. type: integer - installation: *618 + installation: *619 name: type: string - organization: *619 - repository: *620 + organization: *620 + repository: *621 sender: *19 sha: description: The Commit SHA. @@ -209423,9 +209500,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *75 - installation: *618 - organization: *619 - repository: *620 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -209515,9 +209592,9 @@ x-webhooks: description: The ID of the sub-issue. type: number sub_issue: *75 - installation: *618 - organization: *619 - repository: *620 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -209607,9 +209684,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *75 - installation: *618 - organization: *619 - repository: *620 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -209699,9 +209776,9 @@ x-webhooks: description: The ID of the parent issue. type: number parent_issue: *75 - installation: *618 - organization: *619 - repository: *620 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -209778,12 +209855,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 - team: &682 + team: &683 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -209973,9 +210050,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 repository: title: Repository description: A git repository @@ -210433,7 +210510,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *682 + team: *683 required: - action - team @@ -210509,9 +210586,9 @@ x-webhooks: type: string enum: - created - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 repository: title: Repository description: A git repository @@ -210969,7 +211046,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *682 + team: *683 required: - action - team @@ -211046,9 +211123,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 repository: title: Repository description: A git repository @@ -211506,7 +211583,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *682 + team: *683 required: - action - team @@ -211650,9 +211727,9 @@ x-webhooks: - from required: - permissions - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 repository: title: Repository description: A git repository @@ -212110,7 +212187,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *682 + team: *683 required: - action - changes @@ -212188,9 +212265,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *617 - installation: *618 - organization: *619 + enterprise: *618 + installation: *619 + organization: *620 repository: title: Repository description: A git repository @@ -212648,7 +212725,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *682 + team: *683 required: - action - team @@ -212724,10 +212801,10 @@ x-webhooks: type: string enum: - started - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 required: - action @@ -212800,16 +212877,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *617 + enterprise: *618 inputs: type: object nullable: true additionalProperties: true - installation: *618 - organization: *619 + installation: *619 + organization: *620 ref: type: string - repository: *620 + repository: *621 sender: *19 workflow: type: string @@ -212891,10 +212968,10 @@ x-webhooks: type: string enum: - completed - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 workflow_job: allOf: @@ -213131,7 +213208,7 @@ x-webhooks: type: string required: - conclusion - deployment: *409 + deployment: *410 required: - action - repository @@ -213210,10 +213287,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 workflow_job: allOf: @@ -213473,7 +213550,7 @@ x-webhooks: required: - status - steps - deployment: *409 + deployment: *410 required: - action - repository @@ -213552,10 +213629,10 @@ x-webhooks: type: string enum: - queued - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 workflow_job: type: object @@ -213690,7 +213767,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *409 + deployment: *410 required: - action - repository @@ -213769,10 +213846,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 workflow_job: type: object @@ -213908,7 +213985,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *409 + deployment: *410 required: - action - repository @@ -213988,12 +214065,12 @@ x-webhooks: type: string enum: - completed - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 - workflow: *632 + workflow: *633 workflow_run: title: Workflow Run type: object @@ -214992,12 +215069,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 - workflow: *632 + workflow: *633 workflow_run: title: Workflow Run type: object @@ -215981,12 +216058,12 @@ x-webhooks: type: string enum: - requested - enterprise: *617 - installation: *618 - organization: *619 - repository: *620 + enterprise: *618 + installation: *619 + organization: *620 + repository: *621 sender: *19 - workflow: *632 + workflow: *633 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json index cef2aedaf6..a384df3385 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -29009,6 +29009,1059 @@ } } }, + "/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" + ], + "example": "organization" + }, + "value_type": { + "type": "string", + "example": "single_select", + "enum": [ + "string", + "single_select", + "multi_select", + "true_false" + ], + "description": "The type of the value for the property" + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "nullable": true, + "description": "Default value of the property" + }, + "description": { + "type": "string", + "nullable": true, + "description": "Short description of the property" + }, + "allowed_values": { + "type": "array", + "items": { + "type": "string", + "maxLength": 75 + }, + "maxItems": 200, + "nullable": true, + "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", + "nullable": true, + "enum": [ + "org_actors", + "org_and_repo_actors" + ], + "example": "org_actors", + "description": "Who can edit the values of the property" + } + }, + "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" + ], + "example": "organization" + }, + "value_type": { + "type": "string", + "example": "single_select", + "enum": [ + "string", + "single_select", + "multi_select", + "true_false" + ], + "description": "The type of the value for the property" + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "nullable": true, + "description": "Default value of the property" + }, + "description": { + "type": "string", + "nullable": true, + "description": "Short description of the property" + }, + "allowed_values": { + "type": "array", + "items": { + "type": "string", + "maxLength": 75 + }, + "maxItems": 200, + "nullable": true, + "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", + "nullable": true, + "enum": [ + "org_actors", + "org_and_repo_actors" + ], + "example": "org_actors", + "description": "Who can edit the values of the property" + } + }, + "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" + ], + "example": "organization" + }, + "value_type": { + "type": "string", + "example": "single_select", + "enum": [ + "string", + "single_select", + "multi_select", + "true_false" + ], + "description": "The type of the value for the property" + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "nullable": true, + "description": "Default value of the property" + }, + "description": { + "type": "string", + "nullable": true, + "description": "Short description of the property" + }, + "allowed_values": { + "type": "array", + "items": { + "type": "string", + "maxLength": 75 + }, + "maxItems": 200, + "nullable": true, + "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", + "nullable": true, + "enum": [ + "org_actors", + "org_and_repo_actors" + ], + "example": "org_actors", + "description": "Who can edit the values of the property" + } + }, + "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" + ], + "example": "organization" + }, + "value_type": { + "type": "string", + "example": "single_select", + "enum": [ + "string", + "single_select", + "multi_select", + "true_false" + ], + "description": "The type of the value for the property" + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "nullable": true, + "description": "Default value of the property" + }, + "description": { + "type": "string", + "nullable": true, + "description": "Short description of the property" + }, + "allowed_values": { + "type": "array", + "items": { + "type": "string", + "maxLength": 75 + }, + "maxItems": 200, + "nullable": true, + "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", + "nullable": true, + "enum": [ + "org_actors", + "org_and_repo_actors" + ], + "example": "org_actors", + "description": "Who can edit the values of the property" + } + }, + "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" + ], + "example": "organization" + }, + "value_type": { + "type": "string", + "example": "single_select", + "enum": [ + "string", + "single_select", + "multi_select", + "true_false" + ], + "description": "The type of the value for the property" + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "nullable": true, + "description": "Default value of the property" + }, + "description": { + "type": "string", + "nullable": true, + "description": "Short description of the property" + }, + "allowed_values": { + "type": "array", + "items": { + "type": "string", + "maxLength": 75 + }, + "maxItems": 200, + "nullable": true, + "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", + "nullable": true, + "enum": [ + "org_actors", + "org_and_repo_actors" + ], + "example": "org_actors", + "description": "Who can edit the values of the property" + } + }, + "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", @@ -31864,7 +32917,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" ], @@ -32513,7 +33566,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" ], @@ -74365,6 +75418,28 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "nullable": true, + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -74718,6 +75793,27 @@ ], "default": "disabled" }, + "code_scanning_default_setup_options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -74933,6 +76029,28 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "nullable": true, + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -75062,6 +76180,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", @@ -75218,6 +76340,28 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "nullable": true, + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -75353,6 +76497,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", @@ -75391,6 +76539,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", @@ -75804,527 +76956,596 @@ "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": { + "code_scanning_default_setup_options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "nullable": true, + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", - "description": "Feature options for secret scanning delegated bypass", + "description": "Feature options for code scanning default setup", + "nullable": true, "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": { + "nullable": true, + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" ], - "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." + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -76454,6 +77675,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", @@ -76936,6 +78161,28 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "nullable": true, + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -77070,6 +78317,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", @@ -83152,7 +84403,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" ], @@ -83350,7 +84601,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" ], @@ -83550,7 +84801,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" ], @@ -83748,7 +84999,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" ], @@ -98039,6 +99290,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": { @@ -98197,6 +99457,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": { @@ -99047,6 +100316,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": { @@ -235828,6 +237106,20 @@ "not-configured" ] }, + "runner_type": { + "description": "Runner type to be used.", + "type": "string", + "enum": [ + "standard", + "labeled" + ] + }, + "runner_label": { + "nullable": true, + "description": "Runner label to be used if the runner type is labeled.", + "type": "string", + "example": "code-scanning" + }, "query_suite": { "description": "CodeQL query suite to be used.", "type": "string", @@ -236530,6 +237822,28 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "nullable": true, + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -419881,18 +421195,19 @@ }, "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", "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", "nullable": true }, "started_at": { "type": "string", "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", + "nullable": true } } } @@ -419909,18 +421224,19 @@ }, "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", "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", "nullable": true }, "started_at": { "type": "string", "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", + "nullable": true } } } @@ -419937,18 +421253,19 @@ }, "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", "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", "nullable": true }, "started_at": { "type": "string", "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", + "nullable": true } } } @@ -419967,18 +421284,19 @@ }, "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", "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", "nullable": true }, "started_at": { "type": "string", "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", + "nullable": true } } }, diff --git a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 5278c1989d..e425959a7c 100644 --- a/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -846,7 +846,7 @@ paths: - subscriptions_url - type - url - type: &295 + type: &296 type: string description: The type of credit the user is receiving. enum: @@ -979,7 +979,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &145 + schema: &149 title: Validation Error Simple description: Validation Error Simple type: object @@ -1012,7 +1012,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: - - &608 + - &609 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1130,7 +1130,7 @@ paths: GitHub. type: object nullable: true - properties: &103 + properties: &107 id: description: Unique identifier of the GitHub app example: 37 @@ -1219,7 +1219,7 @@ paths: type: string example: '"-----BEGIN RSA PRIVATE KEY-----\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\n-----END RSA PRIVATE KEY-----\n"' - required: &104 + required: &108 - id - node_id - owner @@ -1524,7 +1524,7 @@ paths: schema: type: integer default: 30 - - &216 + - &221 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 @@ -1540,7 +1540,7 @@ paths: application/json: schema: type: array - items: &217 + items: &222 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1617,7 +1617,7 @@ paths: - installation_id - repository_id examples: - default: &218 + default: &223 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1649,7 +1649,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &618 + schema: &619 title: Scim Error description: Scim Error type: object @@ -1676,7 +1676,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &144 + schema: &148 title: Validation Error description: Validation Error type: object @@ -1745,7 +1745,7 @@ paths: description: Response content: application/json: - schema: &219 + schema: &224 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1859,7 +1859,7 @@ paths: - request - response examples: - default: &220 + default: &225 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1919,7 +1919,7 @@ paths: parameters: - *17 responses: - '202': &147 + '202': &151 description: Accepted content: application/json: @@ -2114,7 +2114,7 @@ paths: parameters: - *18 - *20 - - &108 + - &112 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) @@ -2840,7 +2840,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &273 + properties: &274 id: description: Unique identifier of the repository example: 42 @@ -2860,7 +2860,7 @@ paths: title: License Simple description: License Simple type: object - properties: &119 + properties: &123 key: type: string example: mit @@ -2882,7 +2882,7 @@ paths: html_url: type: string format: uri - required: &120 + required: &124 - key - name - url @@ -3269,7 +3269,7 @@ paths: type: boolean description: Whether anonymous git access is enabled for this repository - required: &274 + required: &275 - archive_url - assignees_url - blobs_url @@ -7282,7 +7282,7 @@ paths: description: Response content: application/json: - schema: &148 + schema: &152 type: object properties: total_active_caches_count: @@ -7297,7 +7297,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &149 + default: &153 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7391,7 +7391,7 @@ paths: - all - local_only - selected - selected_actions_url: &152 + selected_actions_url: &156 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` @@ -7759,7 +7759,7 @@ paths: description: Success response content: application/json: - schema: &155 + schema: &159 type: object properties: default_workflow_permissions: &46 @@ -7807,7 +7807,7 @@ paths: required: true content: application/json: - schema: &156 + schema: &160 type: object properties: default_workflow_permissions: *46 @@ -8628,7 +8628,7 @@ paths: application/json: schema: type: array - items: &160 + items: &164 title: Runner Application description: Runner Application type: object @@ -8653,7 +8653,7 @@ paths: - download_url - filename examples: - default: &161 + default: &165 value: - os: osx architecture: x64 @@ -8737,7 +8737,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &162 + '201': &166 description: Response content: application/json: @@ -8847,7 +8847,7 @@ paths: - token - expires_at examples: - default: &163 + default: &167 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -8887,7 +8887,7 @@ paths: application/json: schema: *58 examples: - default: &164 + default: &168 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -8919,7 +8919,7 @@ paths: application/json: schema: *55 examples: - default: &165 + default: &169 value: id: 23 name: MBP @@ -9133,7 +9133,7 @@ paths: - *40 - *54 responses: - '200': &166 + '200': &170 description: Response content: application/json: @@ -9189,7 +9189,7 @@ paths: parameters: - *40 - *54 - - &167 + - &171 name: name description: The name of a self-hosted runner's custom label. in: path @@ -9280,7 +9280,7 @@ paths: required: true content: application/json: - schema: &174 + schema: &178 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -9351,7 +9351,7 @@ paths: required: false schema: type: string - - &175 + - &179 name: include description: |- The event types to include: @@ -9369,7 +9369,7 @@ paths: - web - git - all - - &176 + - &180 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. @@ -9377,7 +9377,7 @@ paths: required: false schema: type: string - - &177 + - &181 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. @@ -9385,7 +9385,7 @@ paths: required: false schema: type: string - - &178 + - &182 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -9407,7 +9407,7 @@ paths: application/json: schema: type: array - items: &179 + items: &183 type: object properties: "@timestamp": @@ -9529,7 +9529,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &180 + default: &184 value: - "@timestamp": 1606929874512 action: team.add_member @@ -10091,7 +10091,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *40 - - &182 + - &186 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`, @@ -10101,7 +10101,7 @@ paths: schema: &79 type: string description: The name of the tool used to generate the code scanning analysis. - - &183 + - &187 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 @@ -10124,7 +10124,7 @@ paths: be returned. in: query required: false - schema: &184 + schema: &188 type: string description: State of a code scanning alert. enum: @@ -10149,7 +10149,7 @@ paths: application/json: schema: type: array - items: &185 + items: &189 type: object properties: number: &85 @@ -10178,7 +10178,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &405 + instances_url: &406 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -10213,7 +10213,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &406 + dismissed_reason: &407 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -10222,13 +10222,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &407 + dismissed_comment: &408 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &408 + rule: &409 type: object properties: id: @@ -10281,7 +10281,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &409 + tool: &410 type: object properties: name: *79 @@ -10291,15 +10291,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *80 - most_recent_instance: &410 + most_recent_instance: &411 type: object properties: - ref: &403 + ref: &404 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &416 + analysis_key: &417 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -10310,7 +10310,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &417 + category: &418 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -10648,7 +10648,7 @@ paths: - most_recent_instance - repository examples: - default: &186 + default: &190 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -10879,7 +10879,7 @@ paths: headers: Link: *39 '404': *7 - '503': &96 + '503': &100 description: Service unavailable content: application/json: @@ -11288,7 +11288,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &192 + items: &197 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -11306,7 +11306,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &238 + - &243 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -11365,7 +11365,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &251 + properties: &256 id: description: Unique identifier of the team type: integer @@ -11421,7 +11421,7 @@ paths: maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &252 + required: &257 - id - node_id - url @@ -11532,7 +11532,7 @@ paths: - created_at additionalProperties: false examples: - default: &193 + default: &198 value: total_seats: 2 seats: @@ -11667,7 +11667,7 @@ paths: application/json: schema: type: array - items: &98 + items: &102 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -11975,7 +11975,7 @@ paths: - date additionalProperties: true examples: - default: &99 + default: &103 value: - date: '2024-06-24' total_active_users: 24 @@ -12077,7 +12077,7 @@ paths: '500': *84 '403': *29 '404': *7 - '422': &100 + '422': &104 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -12147,7 +12147,7 @@ paths: application/json: schema: type: array - items: &101 + items: &105 title: Copilot Usage Metrics description: Summary of Copilot usage. type: object @@ -12326,7 +12326,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &200 + - &205 name: state in: query description: |- @@ -12335,7 +12335,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &201 + - &206 name: severity in: query description: |- @@ -12344,7 +12344,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &202 + - &207 name: ecosystem in: query description: |- @@ -12353,14 +12353,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &203 + - &208 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 - - &204 + - &209 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -12370,7 +12370,7 @@ paths: enum: - development - runtime - - &205 + - &210 name: sort in: query description: |- @@ -12386,7 +12386,7 @@ paths: - *78 - *76 - *77 - - &206 + - &211 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -12399,7 +12399,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &207 + - &212 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -12419,7 +12419,7 @@ paths: application/json: schema: type: array - items: &208 + items: &213 type: object description: A Dependabot alert. properties: @@ -12469,7 +12469,7 @@ paths: enum: - development - runtime - security_advisory: &459 + security_advisory: &460 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12700,7 +12700,7 @@ paths: nullable: true maxLength: 280 fixed_at: *94 - auto_dismissed_at: &460 + auto_dismissed_at: &461 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -12726,7 +12726,7 @@ paths: - repository additionalProperties: false examples: - default: &209 + default: &214 value: - number: 2 state: dismissed @@ -13118,6 +13118,303 @@ 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: + - *40 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: &96 + 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 + example: organization + value_type: + type: string + example: single_select + enum: + - string + - single_select + - multi_select + - true_false + description: The type of the value for the property + required: + type: boolean + description: Whether the property is required. + default_value: + oneOf: + - type: string + - type: array + items: + type: string + nullable: true + description: Default value of the property + description: + type: string + nullable: true + description: Short description of the property + allowed_values: + type: array + items: + type: string + maxLength: 75 + maxItems: 200 + nullable: true + 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 + nullable: true + enum: + - org_actors + - org_and_repo_actors + example: org_actors + description: Who can edit the values of the property + required: + - property_name + - value_type + examples: + default: &97 + 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': *29 + '404': *7 + 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: + - *40 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + properties: + type: array + description: The array of custom properties to create or update. + items: *96 + 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: *96 + examples: + default: *97 + '403': *29 + '404': *7 + 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: + - *40 + - &98 + name: custom_property_name + description: The custom property name + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: *96 + examples: + default: &99 + 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': *29 + '404': *7 + 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: + - *40 + - *98 + responses: + '200': + description: Response + content: + application/json: + schema: *96 + examples: + default: *99 + '403': *29 + '404': *7 + 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: + - *40 + - *98 + responses: + '204': &192 + description: A header with no content is returned. + '403': *29 + '404': *7 + 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 @@ -13132,7 +13429,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *40 - - &286 + - &287 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -13143,7 +13440,7 @@ paths: enum: - open - resolved - - &287 + - &288 name: secret_type in: query description: |- @@ -13153,7 +13450,7 @@ paths: required: false schema: type: string - - &288 + - &289 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -13162,7 +13459,7 @@ paths: required: false schema: type: string - - &289 + - &290 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. @@ -13178,7 +13475,7 @@ paths: - *18 - *76 - *77 - - &290 + - &291 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -13187,7 +13484,7 @@ paths: required: false schema: type: string - - &291 + - &292 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -13196,7 +13493,7 @@ paths: schema: type: boolean default: false - - &292 + - &293 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -13212,7 +13509,7 @@ paths: application/json: schema: type: array - items: &293 + items: &294 type: object properties: number: *85 @@ -13231,14 +13528,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &600 + state: &601 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: &601 + resolution: &602 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -13330,7 +13627,7 @@ paths: repositories in the same organization or enterprise. nullable: true examples: - default: &294 + default: &295 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -13563,7 +13860,7 @@ paths: headers: Link: *39 '404': *7 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13591,7 +13888,7 @@ paths: description: Response content: application/json: - schema: &297 + schema: &298 type: object properties: total_minutes_used: @@ -13661,7 +13958,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &298 + default: &299 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -13699,7 +13996,7 @@ paths: description: Success content: application/json: - schema: &299 + schema: &300 type: object properties: total_advanced_security_committers: @@ -13754,7 +14051,7 @@ paths: required: - repositories examples: - default: &300 + default: &301 value: total_advanced_security_committers: 2 total_count: 2 @@ -13842,7 +14139,7 @@ paths: '400': *15 '403': *29 '500': *84 - '503': *96 + '503': *100 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -13863,7 +14160,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-users-to-a-cost-center parameters: - *40 - - &97 + - &101 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -13905,13 +14202,13 @@ paths: message: Resources successfully added to the cost center. '400': *15 '403': *29 - '409': &146 + '409': &150 description: Conflict content: application/json: schema: *3 '500': *84 - '503': *96 + '503': *100 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -13931,7 +14228,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-users-from-a-cost-center parameters: - *40 - - *97 + - *101 requestBody: required: true content: @@ -13969,7 +14266,7 @@ paths: '400': *15 '403': *29 '500': *84 - '503': *96 + '503': *100 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -13997,7 +14294,7 @@ paths: description: Response content: application/json: - schema: &301 + schema: &302 type: object properties: total_gigabytes_bandwidth_used: @@ -14015,7 +14312,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &302 + default: &303 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -14047,7 +14344,7 @@ paths: description: Response content: application/json: - schema: &303 + schema: &304 type: object properties: days_left_in_billing_cycle: @@ -14065,7 +14362,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &304 + default: &305 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -14090,7 +14387,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *40 - - &135 + - &139 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, @@ -14099,7 +14396,7 @@ paths: required: false schema: type: integer - - &136 + - &140 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. @@ -14107,7 +14404,7 @@ paths: required: false schema: type: integer - - &137 + - &141 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. @@ -14115,7 +14412,7 @@ paths: required: false schema: type: integer - - &138 + - &142 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. @@ -14135,7 +14432,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &139 + schema: &143 type: object properties: usageItems: @@ -14188,7 +14485,7 @@ paths: - netAmount - organizationName examples: - default: &140 + default: &144 value: usageItems: - date: '2023-08-01' @@ -14205,7 +14502,7 @@ paths: '400': *15 '403': *29 '500': *84 - '503': *96 + '503': *100 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -14215,6 +14512,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, @@ -14273,13 +14573,13 @@ paths: application/json: schema: type: array - items: *98 + items: *102 examples: - default: *99 + default: *103 '500': *84 '403': *29 '404': *7 - '422': *100 + '422': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -14290,7 +14590,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. @@ -14314,7 +14614,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: - *40 - - &250 + - &255 name: team_slug description: The slug of the team name. in: path @@ -14352,9 +14652,9 @@ paths: application/json: schema: type: array - items: *101 + items: *105 examples: - default: &194 + default: &199 value: - day: '2023-10-15' total_suggestions_count: 1000 @@ -14510,7 +14810,7 @@ paths: application/json: schema: type: array - items: &130 + items: &134 title: Event description: Event type: object @@ -14520,7 +14820,7 @@ paths: type: type: string nullable: true - actor: &102 + actor: &106 title: Actor description: Actor type: object @@ -14560,18 +14860,18 @@ paths: - id - name - url - org: *102 + org: *106 payload: type: object properties: action: type: string - issue: &118 + issue: &122 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &508 + properties: &509 id: type: integer format: int64 @@ -14682,7 +14982,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &444 + properties: &445 url: type: string format: uri @@ -14752,7 +15052,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &445 + required: &446 - closed_issues - creator - description @@ -14841,9 +15141,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 - author_association: &105 + properties: *107 + required: *108 + author_association: &109 title: author_association type: string example: OWNER @@ -14857,7 +15157,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &106 + reactions: &110 title: Reaction Rollup type: object properties: @@ -14907,7 +15207,7 @@ paths: - total - completed - percent_completed - required: &509 + required: &510 - assignee - closed_at - comments @@ -14929,7 +15229,7 @@ paths: - author_association - created_at - updated_at - comment: &506 + comment: &507 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -14977,7 +15277,7 @@ paths: issue_url: type: string format: uri - author_association: *105 + author_association: *109 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -14987,9 +15287,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 - reactions: *106 + properties: *107 + required: *108 + reactions: *110 required: - id - node_id @@ -15084,7 +15384,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -15165,7 +15465,7 @@ paths: _links: type: object properties: - timeline: &107 + timeline: &111 title: Link With Type description: Hypermedia Link with Type type: object @@ -15177,17 +15477,17 @@ paths: required: - href - type - user: *107 - security_advisories: *107 - current_user: *107 - current_user_public: *107 - current_user_actor: *107 - current_user_organization: *107 + user: *111 + security_advisories: *111 + current_user: *111 + current_user_public: *111 + current_user_actor: *111 + current_user_organization: *111 current_user_organizations: type: array - items: *107 - repository_discussions: *107 - repository_discussions_category: *107 + items: *111 + repository_discussions: *111 + repository_discussions_category: *111 required: - timeline - user @@ -15249,7 +15549,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *108 + - *112 - *18 - *20 responses: @@ -15259,7 +15559,7 @@ paths: application/json: schema: type: array - items: &109 + items: &113 title: Base Gist description: Base Gist type: object @@ -15356,7 +15656,7 @@ paths: - created_at - updated_at examples: - default: &110 + default: &114 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -15477,7 +15777,7 @@ paths: description: Response content: application/json: - schema: &111 + schema: &115 title: Gist Simple description: Gist Simple type: object @@ -15494,7 +15794,7 @@ paths: url: type: string format: uri - user: &657 + user: &658 title: Public User description: Public User type: object @@ -15852,7 +16152,7 @@ paths: truncated: type: boolean examples: - default: &112 + default: &116 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -15955,7 +16255,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *108 + - *112 - *18 - *20 responses: @@ -15965,9 +16265,9 @@ paths: application/json: schema: type: array - items: *109 + items: *113 examples: - default: *110 + default: *114 headers: Link: *39 '422': *16 @@ -15989,7 +16289,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *108 + - *112 - *18 - *20 responses: @@ -15999,9 +16299,9 @@ paths: application/json: schema: type: array - items: *109 + items: *113 examples: - default: *110 + default: *114 headers: Link: *39 '401': *25 @@ -16029,7 +16329,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &113 + - &117 name: gist_id description: The unique identifier of the gist. in: path @@ -16041,10 +16341,10 @@ paths: description: Response content: application/json: - schema: *111 + schema: *115 examples: - default: *112 - '403': &116 + default: *116 + '403': &120 description: Forbidden Gist content: application/json: @@ -16092,7 +16392,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *113 + - *117 requestBody: required: true content: @@ -16152,9 +16452,9 @@ paths: description: Response content: application/json: - schema: *111 + schema: *115 examples: - updateGist: *112 + updateGist: *116 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -16312,7 +16612,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *113 + - *117 responses: '204': description: Response @@ -16341,7 +16641,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *113 + - *117 - *18 - *20 responses: @@ -16351,7 +16651,7 @@ paths: application/json: schema: type: array - items: &114 + items: &118 title: Gist Comment description: A comment made to a gist. type: object @@ -16386,7 +16686,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *105 + author_association: *109 required: - url - id @@ -16451,7 +16751,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *113 + - *117 requestBody: required: true content: @@ -16476,9 +16776,9 @@ paths: description: Response content: application/json: - schema: *114 + schema: *118 examples: - default: &115 + default: &119 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -16536,8 +16836,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *113 - - &117 + - *117 + - &121 name: comment_id description: The unique identifier of the comment. in: path @@ -16550,12 +16850,12 @@ paths: description: Response content: application/json: - schema: *114 + schema: *118 examples: - default: *115 + default: *119 '304': *37 '404': *7 - '403': *116 + '403': *120 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -16577,8 +16877,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *113 - *117 + - *121 requestBody: required: true content: @@ -16603,9 +16903,9 @@ paths: description: Response content: application/json: - schema: *114 + schema: *118 examples: - default: *115 + default: *119 '404': *7 x-github: githubCloudOnly: false @@ -16622,8 +16922,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *113 - *117 + - *121 responses: '204': description: Response @@ -16646,7 +16946,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *113 + - *117 - *18 - *20 responses: @@ -16747,7 +17047,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *113 + - *117 - *18 - *20 responses: @@ -16757,7 +17057,7 @@ paths: application/json: schema: type: array - items: *111 + items: *115 examples: default: value: @@ -16822,13 +17122,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *113 + - *117 responses: '201': description: Response content: application/json: - schema: *109 + schema: *113 examples: default: value: @@ -16899,7 +17199,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *113 + - *117 responses: '204': description: Response if gist is starred @@ -16929,7 +17229,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *113 + - *117 responses: '204': description: Response @@ -16951,7 +17251,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *113 + - *117 responses: '204': description: Response @@ -16980,7 +17280,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *113 + - *117 - name: sha in: path required: true @@ -16991,9 +17291,9 @@ paths: description: Response content: application/json: - schema: *111 + schema: *115 examples: - default: *112 + default: *116 '422': *16 '404': *7 '403': *29 @@ -17359,7 +17659,7 @@ paths: - closed - all default: open - - &239 + - &244 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -17378,7 +17678,7 @@ paths: - comments default: created - *78 - - *108 + - *112 - name: collab in: query required: false @@ -17408,9 +17708,9 @@ paths: application/json: schema: type: array - items: *118 + items: *122 examples: - default: &240 + default: &245 value: - id: 1 node_id: MDU6SXNzdWUx @@ -17694,8 +17994,8 @@ paths: title: License Simple description: License Simple type: object - properties: *119 - required: *120 + properties: *123 + required: *124 examples: default: value: @@ -17979,7 +18279,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &121 + X-CommonMarker-Version: &125 example: 0.17.4 schema: type: string @@ -18034,7 +18334,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *121 + X-CommonMarker-Version: *125 content: text/html: schema: @@ -18063,7 +18363,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: - - &124 + - &128 name: account_id description: account_id parameter in: path @@ -18075,7 +18375,7 @@ paths: description: Response content: application/json: - schema: &123 + schema: &127 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -18105,7 +18405,7 @@ paths: nullable: true id: type: integer - plan: &122 + plan: &126 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -18194,7 +18494,7 @@ paths: nullable: true updated_at: type: string - plan: *122 + plan: *126 required: - url - id @@ -18202,7 +18502,7 @@ paths: - login - marketplace_purchase examples: - default: &125 + default: &129 value: url: https://api.github.com/orgs/github type: Organization @@ -18287,9 +18587,9 @@ paths: application/json: schema: type: array - items: *122 + items: *126 examples: - default: &126 + default: &130 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -18329,14 +18629,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &127 + - &131 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &128 + - &132 name: sort description: The property to sort the results by. in: query @@ -18366,9 +18666,9 @@ paths: application/json: schema: type: array - items: *123 + items: *127 examples: - default: &129 + default: &133 value: - url: https://api.github.com/orgs/github type: Organization @@ -18442,15 +18742,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: - - *124 + - *128 responses: '200': description: Response content: application/json: - schema: *123 + schema: *127 examples: - default: *125 + default: *129 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -18482,9 +18782,9 @@ paths: application/json: schema: type: array - items: *122 + items: *126 examples: - default: *126 + default: *130 headers: Link: *39 '401': *25 @@ -18507,8 +18807,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *127 - - *128 + - *131 + - *132 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -18528,9 +18828,9 @@ paths: application/json: schema: type: array - items: *123 + items: *127 examples: - default: *129 + default: *133 headers: Link: *39 '401': *25 @@ -18779,14 +19079,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: - - &324 + - &325 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &325 + - &326 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -18803,7 +19103,7 @@ paths: application/json: schema: type: array - items: *130 + items: *134 examples: default: value: @@ -18857,7 +19157,7 @@ paths: '404': *7 '403': *29 '304': *37 - '301': &338 + '301': &339 description: Moved permanently content: application/json: @@ -18879,7 +19179,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &538 + - &539 name: all description: If `true`, show notifications marked as read. in: query @@ -18887,7 +19187,7 @@ paths: schema: type: boolean default: false - - &539 + - &540 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -18896,8 +19196,8 @@ paths: schema: type: boolean default: false - - *108 - - &540 + - *112 + - &541 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: @@ -18922,18 +19222,18 @@ paths: application/json: schema: type: array - items: &131 + items: &135 title: Thread description: Thread type: object properties: id: type: string - repository: &159 + repository: &163 title: Minimal Repository description: Minimal Repository type: object - properties: &211 + properties: &216 id: type: integer format: int64 @@ -19209,7 +19509,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &275 + security_and_analysis: &276 nullable: true type: object properties: @@ -19273,7 +19573,7 @@ paths: enum: - enabled - disabled - required: &212 + required: &217 - archive_url - assignees_url - blobs_url @@ -19361,7 +19661,7 @@ paths: - url - subscription_url examples: - default: &541 + default: &542 value: - id: '1' repository: @@ -19527,7 +19827,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &132 + - &136 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 @@ -19541,7 +19841,7 @@ paths: description: Response content: application/json: - schema: *131 + schema: *135 examples: default: value: @@ -19644,7 +19944,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *132 + - *136 responses: '205': description: Reset Content @@ -19667,7 +19967,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *132 + - *136 responses: '204': description: No content @@ -19690,13 +19990,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: - - *132 + - *136 responses: '200': description: Response content: application/json: - schema: &133 + schema: &137 title: Thread Subscription description: Thread Subscription type: object @@ -19733,7 +20033,7 @@ paths: - url - subscribed examples: - default: &134 + default: &138 value: subscribed: true ignored: false @@ -19764,7 +20064,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *132 + - *136 requestBody: required: false content: @@ -19785,9 +20085,9 @@ paths: description: Response content: application/json: - schema: *133 + schema: *137 examples: - default: *134 + default: *138 '304': *37 '403': *29 '401': *25 @@ -19810,7 +20110,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *132 + - *136 responses: '204': description: Response @@ -19907,7 +20207,7 @@ paths: type: array items: *52 examples: - default: &675 + default: &676 value: - login: github id: 1 @@ -19971,7 +20271,7 @@ paths: type: integer custom_roles: type: array - items: &195 + items: &200 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -20019,7 +20319,7 @@ paths: - created_at - updated_at examples: - default: &196 + default: &201 value: id: 8030 name: Security Engineer @@ -20065,29 +20365,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: - - &141 + - &145 name: org description: The organization name. The name is not case sensitive. in: path required: true schema: type: string - - *135 - - *136 - - *137 - - *138 + - *139 + - *140 + - *141 + - *142 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *139 + schema: *143 examples: - default: *140 + default: *144 '400': *15 '403': *29 '500': *84 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20113,13 +20413,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization parameters: - - *141 + - *145 responses: '200': description: Response content: application/json: - schema: &142 + schema: &146 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -20422,7 +20722,7 @@ paths: - updated_at - archived_at examples: - default-response: &143 + default-response: &147 value: login: github id: 1 @@ -20515,7 +20815,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization parameters: - - *141 + - *145 requestBody: required: false content: @@ -20738,18 +21038,18 @@ paths: description: Response content: application/json: - schema: *142 + schema: *146 examples: - default: *143 + default: *147 '422': description: Validation failed content: application/json: schema: oneOf: - - *144 - - *145 - '409': *146 + - *148 + - *149 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20772,9 +21072,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization parameters: - - *141 + - *145 responses: - '202': *147 + '202': *151 '404': *7 '403': *29 x-github: @@ -20797,15 +21097,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: - - *141 + - *145 responses: '200': description: Response content: application/json: - schema: *148 + schema: *152 examples: - default: *149 + default: *153 headers: Link: *39 x-github: @@ -20828,7 +21128,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: - - *141 + - *145 - *18 - *20 responses: @@ -20846,7 +21146,7 @@ paths: type: integer repository_cache_usages: type: array - items: &343 + items: &344 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -20901,13 +21201,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: - - *141 + - *145 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &150 + schema: &154 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -20921,7 +21221,7 @@ paths: required: - include_claim_keys examples: - default: &151 + default: &155 value: include_claim_keys: - repo @@ -20943,20 +21243,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: - - *141 + - *145 requestBody: required: true content: application/json: - schema: *150 + schema: *154 examples: - default: *151 + default: *155 responses: '201': description: Empty response content: application/json: - schema: &170 + schema: &174 title: Empty Object description: An object without any properties. type: object @@ -20986,7 +21286,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: - - *141 + - *145 responses: '200': description: Response @@ -20995,7 +21295,7 @@ paths: schema: type: object properties: - enabled_repositories: &153 + enabled_repositories: &157 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -21009,7 +21309,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *42 - selected_actions_url: *152 + selected_actions_url: *156 required: - enabled_repositories examples: @@ -21038,7 +21338,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: - - *141 + - *145 responses: '204': description: Response @@ -21049,7 +21349,7 @@ paths: schema: type: object properties: - enabled_repositories: *153 + enabled_repositories: *157 allowed_actions: *42 required: - enabled_repositories @@ -21077,7 +21377,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: - - *141 + - *145 - *18 - *20 responses: @@ -21097,7 +21397,7 @@ paths: type: array items: *57 examples: - default: &669 + default: &670 value: total_count: 1 repositories: @@ -21237,7 +21537,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: - - *141 + - *145 responses: '204': description: Response @@ -21281,8 +21581,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: - - *141 - - &154 + - *145 + - &158 name: repository_id description: The unique identifier of the repository. in: path @@ -21310,8 +21610,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: - - *141 - - *154 + - *145 + - *158 responses: '204': description: Response @@ -21334,7 +21634,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: - - *141 + - *145 responses: '200': description: Response @@ -21365,7 +21665,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: - - *141 + - *145 responses: '204': description: Response @@ -21397,13 +21697,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: - - *141 + - *145 responses: '200': description: Response content: application/json: - schema: *155 + schema: *159 examples: default: *48 x-github: @@ -21426,7 +21726,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: - - *141 + - *145 responses: '204': description: Success response @@ -21437,7 +21737,7 @@ paths: required: false content: application/json: - schema: *156 + schema: *160 examples: default: *48 x-github: @@ -21459,7 +21759,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: - - *141 + - *145 - *18 - *20 - name: visible_to_repository @@ -21484,7 +21784,7 @@ paths: type: number runner_groups: type: array - items: &157 + items: &161 type: object properties: id: @@ -21596,7 +21896,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: - - *141 + - *145 requestBody: required: true content: @@ -21665,9 +21965,9 @@ paths: description: Response content: application/json: - schema: *157 + schema: *161 examples: - default: &158 + default: &162 value: id: 2 name: octo-runner-group @@ -21702,14 +22002,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: - - *141 + - *145 - *51 responses: '200': description: Response content: application/json: - schema: *157 + schema: *161 examples: default: value: @@ -21745,7 +22045,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: - - *141 + - *145 - *51 requestBody: required: true @@ -21796,9 +22096,9 @@ paths: description: Response content: application/json: - schema: *157 + schema: *161 examples: - default: *158 + default: *162 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21817,7 +22117,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: - - *141 + - *145 - *51 responses: '204': @@ -21841,7 +22141,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: - - *141 + - *145 - *51 - *20 - *18 @@ -21860,9 +22160,9 @@ paths: type: number repositories: type: array - items: *159 + items: *163 examples: - default: &660 + default: &661 value: total_count: 1 repositories: @@ -22114,7 +22414,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: - - *141 + - *145 - *51 requestBody: required: true @@ -22159,9 +22459,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: - - *141 + - *145 - *51 - - *154 + - *158 responses: '204': description: Response @@ -22183,9 +22483,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: - - *141 + - *145 - *51 - - *154 + - *158 responses: '204': description: Response @@ -22208,7 +22508,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: - - *141 + - *145 - *51 - *18 - *20 @@ -22250,7 +22550,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: - - *141 + - *145 - *51 requestBody: required: true @@ -22295,7 +22595,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: - - *141 + - *145 - *51 - *54 responses: @@ -22319,7 +22619,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: - - *141 + - *145 - *51 - *54 responses: @@ -22351,7 +22651,7 @@ paths: in: query schema: type: string - - *141 + - *145 - *18 - *20 responses: @@ -22395,7 +22695,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: - - *141 + - *145 responses: '200': description: Response @@ -22403,9 +22703,9 @@ paths: application/json: schema: type: array - items: *160 + items: *164 examples: - default: *161 + default: *165 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22427,7 +22727,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: - - *141 + - *145 requestBody: required: true content: @@ -22470,7 +22770,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *162 + '201': *166 '404': *7 '422': *8 x-github: @@ -22500,7 +22800,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: - - *141 + - *145 responses: '201': description: Response @@ -22508,7 +22808,7 @@ paths: application/json: schema: *58 examples: - default: *163 + default: *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22536,7 +22836,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: - - *141 + - *145 responses: '201': description: Response @@ -22544,7 +22844,7 @@ paths: application/json: schema: *58 examples: - default: *164 + default: *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22566,7 +22866,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: - - *141 + - *145 - *54 responses: '200': @@ -22575,7 +22875,7 @@ paths: application/json: schema: *55 examples: - default: *165 + default: *169 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22596,7 +22896,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: - - *141 + - *145 - *54 responses: '204': @@ -22622,7 +22922,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: - - *141 + - *145 - *54 responses: '200': *60 @@ -22647,7 +22947,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: - - *141 + - *145 - *54 requestBody: required: true @@ -22696,7 +22996,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: - - *141 + - *145 - *54 requestBody: required: true @@ -22746,10 +23046,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: - - *141 + - *145 - *54 responses: - '200': *166 + '200': *170 '404': *7 x-github: githubCloudOnly: false @@ -22776,9 +23076,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: - - *141 + - *145 - *54 - - *167 + - *171 responses: '200': *60 '404': *7 @@ -22805,7 +23105,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets parameters: - - *141 + - *145 - *18 - *20 responses: @@ -22823,7 +23123,7 @@ paths: type: integer secrets: type: array - items: &168 + items: &172 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -22896,13 +23196,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key parameters: - - *141 + - *145 responses: '200': description: Response content: application/json: - schema: &363 + schema: &364 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -22931,7 +23231,7 @@ paths: - key_id - key examples: - default: &364 + default: &365 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22956,8 +23256,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - - *141 - - &169 + - *145 + - &173 name: secret_name description: The name of the secret. in: path @@ -22969,7 +23269,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *172 examples: default: value: @@ -22999,8 +23299,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *141 - - *169 + - *145 + - *173 requestBody: required: true content: @@ -23055,7 +23355,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -23081,8 +23381,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - - *141 - - *169 + - *145 + - *173 responses: '204': description: Response @@ -23108,8 +23408,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: - - *141 - - *169 + - *145 + - *173 - *20 - *18 responses: @@ -23127,9 +23427,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *163 examples: - default: &173 + default: &177 value: total_count: 1 repositories: @@ -23221,8 +23521,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: - - *141 - - *169 + - *145 + - *173 requestBody: required: true content: @@ -23274,8 +23574,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: - - *141 - - *169 + - *145 + - *173 - name: repository_id in: path required: true @@ -23308,8 +23608,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: - - *141 - - *169 + - *145 + - *173 - name: repository_id in: path required: true @@ -23341,8 +23641,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - - *141 - - &348 + - *145 + - &349 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)." @@ -23366,7 +23666,7 @@ paths: type: integer variables: type: array - items: &171 + items: &175 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -23451,7 +23751,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable parameters: - - *141 + - *145 requestBody: required: true content: @@ -23499,7 +23799,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -23524,8 +23824,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - - *141 - - &172 + - *145 + - &176 name: name description: The name of the variable. in: path @@ -23537,7 +23837,7 @@ paths: description: Response content: application/json: - schema: *171 + schema: *175 examples: default: value: @@ -23567,8 +23867,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - - *141 - - *172 + - *145 + - *176 requestBody: required: true content: @@ -23630,8 +23930,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - - *141 - - *172 + - *145 + - *176 responses: '204': description: Response @@ -23657,8 +23957,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: - - *141 - - *172 + - *145 + - *176 - *20 - *18 responses: @@ -23676,9 +23976,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *163 examples: - default: *173 + default: *177 '409': description: Response when the visibility of the variable is not set to `selected` @@ -23704,8 +24004,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: - - *141 - - *172 + - *145 + - *176 requestBody: required: true content: @@ -23754,8 +24054,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: - - *141 - - *172 + - *145 + - *176 - name: repository_id in: path required: true @@ -23789,8 +24089,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: - - *141 - - *172 + - *145 + - *176 - name: repository_id in: path required: true @@ -23821,7 +24121,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *141 + - *145 responses: '200': description: Response @@ -23848,11 +24148,11 @@ paths: required: true content: application/json: - schema: *174 + schema: *178 examples: default: *63 parameters: - - *141 + - *145 responses: '200': description: Response @@ -23876,7 +24176,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *141 + - *145 responses: '204': description: Response @@ -23904,7 +24204,7 @@ paths: - *18 - *76 - *77 - - *141 + - *145 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -23945,7 +24245,7 @@ paths: repository_id: type: integer examples: - default: &377 + default: &378 value: attestations: - bundle: @@ -24063,7 +24363,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: - - *141 + - *145 - 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). @@ -24071,10 +24371,10 @@ paths: required: false schema: type: string - - *175 - - *176 - - *177 - - *178 + - *179 + - *180 + - *181 + - *182 - *18 responses: '200': @@ -24083,9 +24383,9 @@ paths: application/json: schema: type: array - items: *179 + items: *183 examples: - default: *180 + default: *184 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -24102,7 +24402,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *141 + - *145 - *18 - *20 responses: @@ -24114,7 +24414,7 @@ paths: type: array items: *19 examples: - default: &241 + default: &246 value: - login: octocat id: 1 @@ -24152,8 +24452,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: - - *141 - - &181 + - *145 + - &185 name: username description: The handle for the GitHub user account. in: path @@ -24184,8 +24484,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *141 - - *181 + - *145 + - *185 responses: '204': description: Response @@ -24205,8 +24505,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *141 - - *181 + - *145 + - *185 responses: '204': description: Response @@ -24231,9 +24531,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: - - *141 - - *182 - - *183 + - *145 + - *186 + - *187 - *76 - *77 - *20 @@ -24244,7 +24544,7 @@ paths: be returned. in: query required: false - schema: *184 + schema: *188 - name: sort description: The property by which to sort the results. in: query @@ -24260,7 +24560,7 @@ paths: be returned. in: query required: false - schema: &404 + schema: &405 type: string description: Severity of a code scanning alert. enum: @@ -24278,13 +24578,13 @@ paths: application/json: schema: type: array - items: *185 + items: *189 examples: - default: *186 + default: *190 headers: Link: *39 '404': *7 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24306,7 +24606,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: - - *141 + - *145 - name: target_type in: query description: The target type of the code security configuration @@ -24334,7 +24634,7 @@ paths: application/json: schema: type: array - items: &187 + items: &191 type: object description: A code security configuration properties: @@ -24405,6 +24705,25 @@ paths: - enabled - disabled - not_set + code_scanning_default_setup_options: + type: object + description: Feature options for code scanning default setup + nullable: true + properties: + runner_type: + nullable: true + type: string + enum: + - standard + - labeled + - not_set + description: Whether to use labeled runners or standard + GitHub runners. + runner_label: + nullable: true + type: string + 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 @@ -24573,7 +24892,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration parameters: - - *141 + - *145 requestBody: required: true content: @@ -24646,6 +24965,24 @@ paths: - disabled - not_set default: disabled + code_scanning_default_setup_options: &195 + type: object + description: Feature options for code scanning default setup + nullable: true + properties: + runner_type: + type: string + enum: + - standard + - labeled + - not_set + description: Whether to use labeled runners or standard GitHub + runners. + runner_label: + nullable: true + type: string + 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 @@ -24745,9 +25082,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *187 + schema: *191 examples: - default: &188 + default: &193 value: id: 1325 target_type: organization @@ -24761,6 +25098,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 @@ -24793,7 +25133,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations parameters: - - *141 + - *145 responses: '200': description: Response @@ -24813,7 +25153,7 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *187 + configuration: *191 examples: default: value: @@ -24831,6 +25171,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 @@ -24862,6 +25205,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 @@ -24897,7 +25243,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *141 + - *145 requestBody: required: true content: @@ -24920,12 +25266,11 @@ paths: - 32 - 91 responses: - '204': &190 - description: A header with no content is returned. + '204': *192 '400': *15 '403': *29 '404': *7 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24947,8 +25292,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - - *141 - - &189 + - *145 + - &194 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -24960,9 +25305,9 @@ paths: description: Response content: application/json: - schema: *187 + schema: *191 examples: - default: *188 + default: *193 '304': *37 '403': *29 '404': *7 @@ -24986,8 +25331,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - - *141 - - *189 + - *145 + - *194 requestBody: required: true content: @@ -25053,6 +25398,7 @@ paths: - enabled - disabled - not_set + code_scanning_default_setup_options: *195 secret_scanning: type: string description: The enablement status of secret scanning @@ -25139,7 +25485,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *187 + schema: *191 examples: default: value: @@ -25155,6 +25501,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 @@ -25190,14 +25539,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *141 - - *189 + - *145 + - *194 responses: - '204': *190 + '204': *192 '400': *15 '403': *29 '404': *7 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25221,8 +25570,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *141 - - *189 + - *145 + - *194 requestBody: required: true content: @@ -25261,7 +25610,7 @@ paths: - 32 - 91 responses: - '202': *147 + '202': *151 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25285,8 +25634,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: - - *141 - - *189 + - *145 + - *194 requestBody: required: true content: @@ -25326,12 +25675,12 @@ paths: - none - private_and_internal - public - configuration: *187 + configuration: *191 examples: default: value: default_for_new_repos: all - configuration: *188 + configuration: *193 '403': *29 '404': *7 x-github: @@ -25355,8 +25704,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: - - *141 - - *189 + - *145 + - *194 - 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)." @@ -25499,7 +25848,7 @@ paths: parameters: - *18 - *20 - - *141 + - *145 responses: '200': description: Response @@ -25515,7 +25864,7 @@ paths: type: integer codespaces: type: array - items: &242 + items: &247 type: object title: Codespace description: A codespace. @@ -25540,12 +25889,12 @@ paths: nullable: true owner: *19 billable_owner: *19 - repository: *159 + repository: *163 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &430 + properties: &431 name: type: string description: The name of the machine. @@ -25587,7 +25936,7 @@ paths: - ready - in_progress nullable: true - required: &431 + required: &432 - name - display_name - operating_system @@ -25792,7 +26141,7 @@ paths: - pulls_url - recent_folders examples: - default: &243 + default: &248 value: total_count: 3 codespaces: @@ -26224,7 +26573,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *141 + - *145 deprecated: true requestBody: required: true @@ -26291,7 +26640,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: - - *141 + - *145 deprecated: true requestBody: required: true @@ -26346,7 +26695,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *141 + - *145 requestBody: required: true content: @@ -26398,7 +26747,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *141 + - *145 - *18 - *20 responses: @@ -26416,7 +26765,7 @@ paths: type: integer secrets: type: array - items: &191 + items: &196 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -26455,7 +26804,7 @@ paths: - updated_at - visibility examples: - default: &432 + default: &433 value: total_count: 2 secrets: @@ -26487,13 +26836,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *141 + - *145 responses: '200': description: Response content: application/json: - schema: &433 + schema: &434 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -26522,7 +26871,7 @@ paths: - key_id - key examples: - default: &434 + default: &435 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26545,16 +26894,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *141 - - *169 + - *145 + - *173 responses: '200': description: Response content: application/json: - schema: *191 + schema: *196 examples: - default: &436 + default: &437 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -26581,8 +26930,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: - - *141 - - *169 + - *145 + - *173 requestBody: required: true content: @@ -26637,7 +26986,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -26663,8 +27012,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *141 - - *169 + - *145 + - *173 responses: '204': description: Response @@ -26689,8 +27038,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: - - *141 - - *169 + - *145 + - *173 - *20 - *18 responses: @@ -26708,9 +27057,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *163 examples: - default: *173 + default: *177 '404': *7 x-github: githubCloudOnly: false @@ -26732,8 +27081,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: - - *141 - - *169 + - *145 + - *173 requestBody: required: true content: @@ -26783,8 +27132,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: - - *141 - - *169 + - *145 + - *173 - name: repository_id in: path required: true @@ -26817,8 +27166,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: - - *141 - - *169 + - *145 + - *173 - name: repository_id in: path required: true @@ -26857,7 +27206,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: - - *141 + - *145 responses: '200': description: OK @@ -27000,7 +27349,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: - - *141 + - *145 - *20 - name: per_page description: The number of results per page (max 100). For more information, @@ -27023,9 +27372,9 @@ paths: currently being billed. seats: type: array - items: *192 + items: *197 examples: - default: *193 + default: *198 headers: Link: *39 '500': *84 @@ -27047,13 +27396,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: @@ -27063,7 +27410,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: - - *141 + - *145 requestBody: content: application/json: @@ -27127,14 +27474,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: @@ -27144,7 +27488,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: - - *141 + - *145 requestBody: content: application/json: @@ -27210,13 +27554,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: @@ -27226,7 +27568,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: - - *141 + - *145 requestBody: content: application/json: @@ -27289,14 +27631,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: @@ -27306,7 +27645,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: - - *141 + - *145 requestBody: content: application/json: @@ -27387,7 +27726,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: - - *141 + - *145 - 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`). @@ -27419,13 +27758,13 @@ paths: application/json: schema: type: array - items: *98 + items: *102 examples: - default: *99 + default: *103 '500': *84 '403': *29 '404': *7 - '422': *100 + '422': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27456,7 +27795,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: - - *141 + - *145 - 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`). @@ -27488,9 +27827,9 @@ paths: application/json: schema: type: array - items: *101 + items: *105 examples: - default: *194 + default: *199 '500': *84 '401': *25 '403': *29 @@ -27516,7 +27855,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: - - *141 + - *145 - *18 - name: page description: Page token @@ -27660,7 +27999,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: - - *141 + - *145 - name: credential_id in: path required: true @@ -27691,7 +28030,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: - - *141 + - *145 responses: '200': description: Response - list of custom role names @@ -27706,7 +28045,7 @@ paths: type: integer custom_roles: type: array - items: *195 + items: *200 examples: default: value: @@ -27793,12 +28132,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *141 + - *145 requestBody: required: true content: application/json: - schema: &198 + schema: &203 type: object properties: name: @@ -27839,9 +28178,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *200 examples: - default: *196 + default: *201 '422': *16 '404': *7 x-github: @@ -27865,8 +28204,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *141 - - &197 + - *145 + - &202 name: role_id description: The unique identifier of the role. in: path @@ -27878,9 +28217,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *200 examples: - default: *196 + default: *201 '404': *7 x-github: githubCloudOnly: true @@ -27902,13 +28241,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *141 - - *197 + - *145 + - *202 requestBody: required: true content: application/json: - schema: &199 + schema: &204 type: object properties: name: @@ -27946,9 +28285,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *200 examples: - default: *196 + default: *201 '422': *16 '404': *7 x-github: @@ -27972,8 +28311,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *141 - - *197 + - *145 + - *202 responses: '204': description: Response @@ -28001,12 +28340,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: - - *141 + - *145 requestBody: required: true content: application/json: - schema: *198 + schema: *203 examples: default: value: @@ -28020,9 +28359,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *200 examples: - default: *196 + default: *201 '422': *16 '404': *7 x-github: @@ -28052,16 +28391,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: - - *141 - - *197 + - *145 + - *202 responses: '200': description: Response content: application/json: - schema: *195 + schema: *200 examples: - default: *196 + default: *201 '404': *7 x-github: githubCloudOnly: true @@ -28089,13 +28428,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: - - *141 - - *197 + - *145 + - *202 requestBody: required: true content: application/json: - schema: *199 + schema: *204 examples: default: value: @@ -28110,9 +28449,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *200 examples: - default: *196 + default: *201 '422': *16 '404': *7 x-github: @@ -28142,8 +28481,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: - - *141 - - *197 + - *145 + - *202 responses: '204': description: Response @@ -28171,18 +28510,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *141 - - *200 - - *201 - - *202 - - *203 - - *204 + - *145 - *205 + - *206 + - *207 + - *208 + - *209 + - *210 - *78 - *76 - *77 - - *206 - - *207 + - *211 + - *212 - *18 responses: '200': @@ -28191,9 +28530,9 @@ paths: application/json: schema: type: array - items: *208 + items: *213 examples: - default: *209 + default: *214 '304': *37 '400': *15 '403': *29 @@ -28219,7 +28558,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets parameters: - - *141 + - *145 - *18 - *20 responses: @@ -28237,7 +28576,7 @@ paths: type: integer secrets: type: array - items: &210 + items: &215 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -28308,13 +28647,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key parameters: - - *141 + - *145 responses: '200': description: Response content: application/json: - schema: &463 + schema: &464 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -28331,7 +28670,7 @@ paths: - key_id - key examples: - default: &464 + default: &465 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28354,14 +28693,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - - *141 - - *169 + - *145 + - *173 responses: '200': description: Response content: application/json: - schema: *210 + schema: *215 examples: default: value: @@ -28389,8 +28728,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *141 - - *169 + - *145 + - *173 requestBody: required: true content: @@ -28445,7 +28784,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -28469,8 +28808,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - - *141 - - *169 + - *145 + - *173 responses: '204': description: Response @@ -28494,8 +28833,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: - - *141 - - *169 + - *145 + - *173 - *20 - *18 responses: @@ -28513,9 +28852,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *163 examples: - default: *173 + default: *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28536,8 +28875,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: - - *141 - - *169 + - *145 + - *173 requestBody: required: true content: @@ -28587,8 +28926,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: - - *141 - - *169 + - *145 + - *173 - name: repository_id in: path required: true @@ -28619,8 +28958,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: - - *141 - - *169 + - *145 + - *173 - name: repository_id in: path required: true @@ -28650,7 +28989,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: - - *141 + - *145 responses: '200': description: Response @@ -28658,7 +28997,7 @@ paths: application/json: schema: type: array - items: &254 + items: &259 title: Package description: A software package type: object @@ -28708,8 +29047,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *211 - required: *212 + properties: *216 + required: *217 nullable: true created_at: type: string @@ -28728,7 +29067,7 @@ paths: - created_at - updated_at examples: - default: &255 + default: &260 value: - id: 197 name: hello_docker @@ -28806,7 +29145,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events parameters: - - *141 + - *145 - *18 - *20 responses: @@ -28816,7 +29155,7 @@ paths: application/json: schema: type: array - items: *130 + items: *134 examples: 200-response: value: @@ -28886,7 +29225,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group parameters: - - *141 + - *145 - name: group_id description: The unique identifier of the group. in: path @@ -28912,7 +29251,7 @@ paths: description: Response content: application/json: - schema: &319 + schema: &320 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -28993,7 +29332,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &320 + default: &321 value: group_id: '123' group_name: Octocat admins @@ -29031,7 +29370,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: - - *141 + - *145 - *18 - name: page description: Page token @@ -29048,7 +29387,7 @@ paths: description: Response content: application/json: - schema: &317 + schema: &318 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -29085,7 +29424,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &318 + default: &319 value: groups: - group_id: '123' @@ -29119,7 +29458,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations parameters: - - *141 + - *145 - *18 - *20 responses: @@ -29129,7 +29468,7 @@ paths: application/json: schema: type: array - items: &235 + items: &240 title: Organization Invitation description: Organization Invitation type: object @@ -29176,7 +29515,7 @@ paths: - invitation_teams_url - node_id examples: - default: &236 + default: &241 value: - id: 1 login: monalisa @@ -29235,7 +29574,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: - - *141 + - *145 responses: '200': description: Response @@ -29243,7 +29582,7 @@ paths: application/json: schema: type: array - items: &276 + items: &277 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -29257,7 +29596,7 @@ paths: - name - description examples: - default: &277 + default: &278 value: - name: add_assignee description: Assign or remove a user @@ -29288,7 +29627,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks parameters: - - *141 + - *145 - *18 - *20 responses: @@ -29298,7 +29637,7 @@ paths: application/json: schema: type: array - items: &213 + items: &218 title: Org Hook description: Org Hook type: object @@ -29407,7 +29746,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook parameters: - - *141 + - *145 requestBody: required: true content: @@ -29467,9 +29806,9 @@ paths: description: Response content: application/json: - schema: *213 + schema: *218 examples: - default: &214 + default: &219 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -29513,8 +29852,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - - *141 - - &215 + - *145 + - &220 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. @@ -29527,9 +29866,9 @@ paths: description: Response content: application/json: - schema: *213 + schema: *218 examples: - default: *214 + default: *219 '404': *7 x-github: githubCloudOnly: false @@ -29550,8 +29889,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - - *141 - - *215 + - *145 + - *220 requestBody: required: false content: @@ -29596,7 +29935,7 @@ paths: description: Response content: application/json: - schema: *213 + schema: *218 examples: default: value: @@ -29635,8 +29974,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *141 - - *215 + - *145 + - *220 responses: '204': description: Response @@ -29661,8 +30000,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: - - *141 - - *215 + - *145 + - *220 responses: '200': description: Response @@ -29690,8 +30029,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: - - *141 - - *215 + - *145 + - *220 requestBody: required: false content: @@ -29739,10 +30078,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *141 - - *215 + - *145 + - *220 - *18 - - *216 + - *221 responses: '200': description: Response @@ -29750,9 +30089,9 @@ paths: application/json: schema: type: array - items: *217 + items: *222 examples: - default: *218 + default: *223 '400': *15 '422': *16 x-github: @@ -29775,17 +30114,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: - - *141 - - *215 + - *145 + - *220 - *17 responses: '200': description: Response content: application/json: - schema: *219 + schema: *224 examples: - default: *220 + default: *225 '400': *15 '422': *16 x-github: @@ -29808,11 +30147,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: - - *141 - - *215 + - *145 + - *220 - *17 responses: - '202': *147 + '202': *151 '400': *15 '422': *16 x-github: @@ -29835,8 +30174,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *141 - - *215 + - *145 + - *220 responses: '204': description: Response @@ -29858,8 +30197,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *141 - - &225 + - *145 + - &230 name: actor_type in: path description: The type of the actor @@ -29872,14 +30211,14 @@ paths: - fine_grained_pats - oauth_apps - github_apps_user_to_server - - &226 + - &231 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &221 + - &226 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`.' @@ -29887,7 +30226,7 @@ paths: required: true schema: type: string - - &222 + - &227 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) @@ -29915,6 +30254,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 @@ -29973,13 +30319,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - - *141 - - *221 - - *222 + - *145 + - *226 + - *227 - *20 - *18 - *78 - - &231 + - &236 name: sort description: The property to sort the results by. in: query @@ -29995,6 +30341,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 @@ -30050,15 +30403,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - - *141 - - *221 - - *222 + - *145 + - *226 + - *227 responses: '200': description: Response content: application/json: - schema: &223 + schema: &228 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -30074,7 +30427,7 @@ paths: type: integer format: int64 examples: - default: &224 + default: &229 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -30094,24 +30447,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *141 - - &227 + - *145 + - &232 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *221 - - *222 + - *226 + - *227 responses: '200': description: Response content: application/json: - schema: *223 + schema: *228 examples: - default: *224 + default: *229 x-github: enabledForGitHubApps: true category: orgs @@ -30129,19 +30482,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *141 - - *221 - - *222 - - *225 + - *145 - *226 + - *227 + - *230 + - *231 responses: '200': description: Response content: application/json: - schema: *223 + schema: *228 examples: - default: *224 + default: *229 x-github: enabledForGitHubApps: true category: orgs @@ -30158,10 +30511,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - - *141 - - *221 - - *222 - - &228 + - *145 + - *226 + - *227 + - &233 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -30174,7 +30527,7 @@ paths: description: Response content: application/json: - schema: &229 + schema: &234 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -30190,7 +30543,7 @@ paths: type: integer format: int64 examples: - default: &230 + default: &235 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -30226,19 +30579,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - - *141 + - *145 + - *232 + - *226 - *227 - - *221 - - *222 - - *228 + - *233 responses: '200': description: Response content: application/json: - schema: *229 + schema: *234 examples: - default: *230 + default: *235 x-github: enabledForGitHubApps: true category: orgs @@ -30255,20 +30608,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *141 - - *225 + - *145 + - *230 + - *231 - *226 - - *221 - - *222 - - *228 + - *227 + - *233 responses: '200': description: Response content: application/json: - schema: *229 + schema: *234 examples: - default: *230 + default: *235 x-github: enabledForGitHubApps: true category: orgs @@ -30285,14 +30638,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - - *141 + - *145 + - *232 + - *226 - *227 - - *221 - - *222 - *20 - *18 - *78 - - *231 + - *236 + - 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 @@ -30358,7 +30718,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: - - *141 + - *145 responses: '200': description: Response @@ -30366,7 +30726,7 @@ paths: application/json: schema: *22 examples: - default: &502 + default: &503 value: id: 1 account: @@ -30435,7 +30795,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *141 + - *145 - *18 - *20 responses: @@ -30524,7 +30884,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *141 + - *145 responses: '200': description: Response @@ -30532,12 +30892,12 @@ paths: application/json: schema: anyOf: - - &233 + - &238 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &232 + limit: &237 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -30562,7 +30922,7 @@ paths: properties: {} additionalProperties: false examples: - default: &234 + default: &239 value: limit: collaborators_only origin: organization @@ -30586,18 +30946,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *141 + - *145 requestBody: required: true content: application/json: - schema: &503 + schema: &504 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *232 + limit: *237 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -30621,9 +30981,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *238 examples: - default: *234 + default: *239 '422': *16 x-github: githubCloudOnly: false @@ -30641,7 +31001,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *141 + - *145 responses: '204': description: Response @@ -30667,7 +31027,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations parameters: - - *141 + - *145 - *18 - *20 - name: role @@ -30701,9 +31061,9 @@ paths: application/json: schema: type: array - items: *235 + items: *240 examples: - default: *236 + default: *241 headers: Link: *39 '404': *7 @@ -30727,7 +31087,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation parameters: - - *141 + - *145 requestBody: required: false content: @@ -30781,7 +31141,7 @@ paths: description: Response content: application/json: - schema: *235 + schema: *240 examples: default: value: @@ -30837,8 +31197,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - - *141 - - &237 + - *145 + - &242 name: invitation_id description: The unique identifier of the invitation. in: path @@ -30871,8 +31231,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - - *141 - - *237 + - *145 + - *242 - *18 - *20 responses: @@ -30882,9 +31242,9 @@ paths: application/json: schema: type: array - items: *238 + items: *243 examples: - default: &253 + default: &258 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -30929,7 +31289,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: - - *141 + - *145 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -30959,7 +31319,7 @@ paths: - closed - all default: open - - *239 + - *244 - name: sort description: What to sort results by. in: query @@ -30972,7 +31332,7 @@ paths: - comments default: created - *78 - - *108 + - *112 - *18 - *20 responses: @@ -30982,9 +31342,9 @@ paths: application/json: schema: type: array - items: *118 + items: *122 examples: - default: *240 + default: *245 headers: Link: *39 '404': *7 @@ -31006,7 +31366,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members parameters: - - *141 + - *145 - 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) @@ -31042,7 +31402,7 @@ paths: type: array items: *19 examples: - default: *241 + default: *246 headers: Link: *39 '422': *16 @@ -31062,8 +31422,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - - *141 - - *181 + - *145 + - *185 responses: '204': description: Response if requester is an organization member and user is @@ -31094,8 +31454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - - *141 - - *181 + - *145 + - *185 responses: '204': description: Response @@ -31121,8 +31481,8 @@ paths: parameters: - *18 - *20 - - *141 - - *181 + - *145 + - *185 responses: '200': description: Response @@ -31138,9 +31498,9 @@ paths: type: integer codespaces: type: array - items: *242 + items: *247 examples: - default: *243 + default: *248 '304': *37 '500': *84 '401': *25 @@ -31165,9 +31525,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *141 - - *181 - - &244 + - *145 + - *185 + - &249 name: codespace_name in: path required: true @@ -31175,7 +31535,7 @@ paths: schema: type: string responses: - '202': *147 + '202': *151 '304': *37 '500': *84 '401': *25 @@ -31200,17 +31560,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: - - *141 - - *181 - - *244 + - *145 + - *185 + - *249 responses: '200': description: Response content: application/json: - schema: *242 + schema: *247 examples: - default: &429 + default: &430 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -31383,14 +31743,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: - - *141 - - *181 + - *145 + - *185 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *192 + schema: *197 examples: default: value: @@ -31458,14 +31818,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - - *141 - - *181 + - *145 + - *185 responses: '200': description: Response content: application/json: - schema: &245 + schema: &250 title: Org Membership description: Org Membership type: object @@ -31517,7 +31877,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &246 + response-if-user-has-an-active-admin-membership-with-organization: &251 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -31585,8 +31945,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - - *141 - - *181 + - *145 + - *185 requestBody: required: false content: @@ -31614,9 +31974,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *250 examples: - response-if-user-already-had-membership-with-organization: *246 + response-if-user-already-had-membership-with-organization: *251 '422': *16 '403': *29 x-github: @@ -31637,8 +31997,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *141 - - *181 + - *145 + - *185 responses: '204': description: Response @@ -31663,7 +32023,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations parameters: - - *141 + - *145 - *18 - *20 - name: exclude @@ -31684,7 +32044,7 @@ paths: application/json: schema: type: array - items: &247 + items: &252 title: Migration description: A migration. type: object @@ -31937,7 +32297,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration parameters: - - *141 + - *145 requestBody: required: true content: @@ -32013,7 +32373,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *252 examples: default: value: @@ -32191,8 +32551,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - - *141 - - &248 + - *145 + - &253 name: migration_id description: The unique identifier of the migration. in: path @@ -32219,7 +32579,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *247 + schema: *252 examples: default: value: @@ -32388,8 +32748,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *141 - - *248 + - *145 + - *253 responses: '302': description: Response @@ -32410,8 +32770,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *141 - - *248 + - *145 + - *253 responses: '204': description: Response @@ -32434,9 +32794,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - - *141 - - *248 - - &674 + - *145 + - *253 + - &675 name: repo_name description: repo_name parameter in: path @@ -32463,8 +32823,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *141 - - *248 + - *145 + - *253 - *18 - *20 responses: @@ -32474,9 +32834,9 @@ paths: application/json: schema: type: array - items: *159 + items: *163 examples: - default: &260 + default: &265 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -32615,7 +32975,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: - - *141 + - *145 responses: '200': description: Response @@ -32669,7 +33029,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: - - *141 + - *145 responses: '200': description: Response - list of organization roles @@ -32685,7 +33045,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &249 + items: &254 title: Organization Role description: Organization roles type: object @@ -32845,7 +33205,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *141 + - *145 requestBody: required: true content: @@ -32892,7 +33252,7 @@ paths: description: Response content: application/json: - schema: *249 + schema: *254 examples: default: value: @@ -32921,7 +33281,7 @@ paths: updated_at: '2022-07-04T22:19:11Z' '422': *16 '404': *7 - '409': *146 + '409': *150 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -32943,8 +33303,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: - - *141 - - *250 + - *145 + - *255 responses: '204': description: Response @@ -32969,9 +33329,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: - - *141 - - *250 - - *197 + - *145 + - *255 + - *202 responses: '204': description: Response @@ -33000,9 +33360,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: - - *141 - - *250 - - *197 + - *145 + - *255 + - *202 responses: '204': description: Response @@ -33027,8 +33387,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: - - *141 - - *181 + - *145 + - *185 responses: '204': description: Response @@ -33053,9 +33413,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: - - *141 - - *181 - - *197 + - *145 + - *185 + - *202 responses: '204': description: Response @@ -33085,9 +33445,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: - - *141 - - *181 - - *197 + - *145 + - *185 + - *202 responses: '204': description: Response @@ -33115,14 +33475,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - - *141 - - *197 + - *145 + - *202 responses: '200': description: Response content: application/json: - schema: *249 + schema: *254 examples: default: value: @@ -33179,8 +33539,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *141 - - *197 + - *145 + - *202 requestBody: required: true content: @@ -33219,7 +33579,7 @@ paths: description: Response content: application/json: - schema: *249 + schema: *254 examples: default: value: @@ -33247,7 +33607,7 @@ paths: created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:19:11Z' '422': *16 - '409': *146 + '409': *150 '404': *7 x-github: githubCloudOnly: true @@ -33272,8 +33632,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *141 - - *197 + - *145 + - *202 responses: '204': description: Response @@ -33298,8 +33658,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: - - *141 - - *197 + - *145 + - *202 - *18 - *20 responses: @@ -33377,8 +33737,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *251 - required: *252 + properties: *256 + required: *257 nullable: true required: - id @@ -33393,7 +33753,7 @@ paths: - slug - parent examples: - default: *253 + default: *258 headers: Link: *39 '404': @@ -33422,8 +33782,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: - - *141 - - *197 + - *145 + - *202 - *18 - *20 responses: @@ -33451,13 +33811,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &296 + items: &297 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *251 - required: *252 + properties: *256 + required: *257 name: nullable: true type: string @@ -33552,7 +33912,7 @@ paths: - type - url examples: - default: *241 + default: *246 headers: Link: *39 '404': @@ -33576,7 +33936,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: - - *141 + - *145 - 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) @@ -33600,7 +33960,7 @@ paths: type: array items: *19 examples: - default: *241 + default: *246 headers: Link: *39 x-github: @@ -33625,8 +33985,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: - - *141 - - *181 + - *145 + - *185 requestBody: required: false content: @@ -33683,8 +34043,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: - - *141 - - *181 + - *145 + - *185 responses: '204': description: Response @@ -33741,8 +34101,8 @@ paths: - docker - nuget - container - - *141 - - &676 + - *145 + - &677 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -33778,12 +34138,12 @@ paths: application/json: schema: type: array - items: *254 + items: *259 examples: - default: *255 + default: *260 '403': *29 '401': *25 - '400': &678 + '400': &679 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -33805,7 +34165,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &256 + - &261 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 @@ -33823,20 +34183,20 @@ paths: - docker - nuget - container - - &257 + - &262 name: package_name description: The name of the package. in: path required: true schema: type: string - - *141 + - *145 responses: '200': description: Response content: application/json: - schema: *254 + schema: *259 examples: default: value: @@ -33888,9 +34248,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *256 - - *257 - - *141 + - *261 + - *262 + - *145 responses: '204': description: Response @@ -33922,9 +34282,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *256 - - *257 - - *141 + - *261 + - *262 + - *145 - name: token description: package token schema: @@ -33956,9 +34316,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: - - *256 - - *257 - - *141 + - *261 + - *262 + - *145 - *20 - *18 - name: state @@ -33978,7 +34338,7 @@ paths: application/json: schema: type: array - items: &258 + items: &263 title: Package Version description: A version of a software package type: object @@ -34103,10 +34463,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: - - *256 - - *257 - - *141 - - &259 + - *261 + - *262 + - *145 + - &264 name: package_version_id description: Unique identifier of the package version. in: path @@ -34118,7 +34478,7 @@ paths: description: Response content: application/json: - schema: *258 + schema: *263 examples: default: value: @@ -34154,10 +34514,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *256 - - *257 - - *141 - - *259 + - *261 + - *262 + - *145 + - *264 responses: '204': description: Response @@ -34189,10 +34549,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *256 - - *257 - - *141 - - *259 + - *261 + - *262 + - *145 + - *264 responses: '204': description: Response @@ -34219,10 +34579,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: - - *141 + - *145 - *18 - *20 - - &261 + - &266 name: sort description: The property by which to sort the results. in: query @@ -34233,7 +34593,7 @@ paths: - created_at default: created_at - *78 - - &262 + - &267 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -34244,7 +34604,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &263 + - &268 name: repository description: The name of the repository to use to filter the results. in: query @@ -34252,7 +34612,7 @@ paths: schema: type: string example: Hello-World - - &264 + - &269 name: permission description: The permission to use to filter the results. in: query @@ -34260,7 +34620,7 @@ paths: schema: type: string example: issues_read - - &265 + - &270 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) @@ -34270,7 +34630,7 @@ paths: schema: type: string format: date-time - - &266 + - &271 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) @@ -34433,7 +34793,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: - - *141 + - *145 requestBody: required: true content: @@ -34478,7 +34838,7 @@ paths: '422': *16 '404': *7 '403': *29 - '202': *147 + '202': *151 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34499,7 +34859,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: - - *141 + - *145 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -34539,7 +34899,7 @@ paths: '422': *16 '404': *7 '403': *29 - '204': *190 + '204': *192 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34560,7 +34920,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: - - *141 + - *145 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -34580,9 +34940,9 @@ paths: application/json: schema: type: array - items: *159 + items: *163 examples: - default: *260 + default: *265 headers: Link: *39 x-github: @@ -34605,16 +34965,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: - - *141 + - *145 - *18 - *20 - - *261 - - *78 - - *262 - - *263 - - *264 - - *265 - *266 + - *78 + - *267 + - *268 + - *269 + - *270 + - *271 responses: '500': *84 '422': *16 @@ -34763,7 +35123,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: - - *141 + - *145 requestBody: required: true content: @@ -34800,7 +35160,7 @@ paths: responses: '500': *84 '404': *7 - '202': *147 + '202': *151 '403': *29 '422': *16 x-github: @@ -34823,7 +35183,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: - - *141 + - *145 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -34853,7 +35213,7 @@ paths: responses: '500': *84 '404': *7 - '204': *190 + '204': *192 '403': *29 '422': *16 x-github: @@ -34875,7 +35235,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: - - *141 + - *145 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -34894,9 +35254,9 @@ paths: application/json: schema: type: array - items: *159 + items: *163 examples: - default: *260 + default: *265 headers: Link: *39 x-github: @@ -34918,7 +35278,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-organization-projects parameters: - - *141 + - *145 - name: state description: Indicates the state of the projects to return. in: query @@ -34939,7 +35299,7 @@ paths: application/json: schema: type: array - items: &267 + items: &272 title: Project description: Projects are a way to organize columns and cards of work. @@ -35083,7 +35443,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-an-organization-project parameters: - - *141 + - *145 requestBody: required: true content: @@ -35109,7 +35469,7 @@ paths: description: Response content: application/json: - schema: *267 + schema: *272 examples: default: value: @@ -35147,7 +35507,7 @@ paths: '401': *25 '403': *29 '404': *7 - '410': &335 + '410': &336 description: Gone content: application/json: @@ -35171,7 +35531,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: - - *141 + - *145 responses: '200': description: Response @@ -35179,94 +35539,9 @@ paths: application/json: schema: type: array - items: &268 - 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 - example: organization - value_type: - type: string - example: single_select - enum: - - string - - single_select - - multi_select - - true_false - description: The type of the value for the property - required: - type: boolean - description: Whether the property is required. - default_value: - oneOf: - - type: string - - type: array - items: - type: string - nullable: true - description: Default value of the property - description: - type: string - nullable: true - description: Short description of the property - allowed_values: - type: array - items: - type: string - maxLength: 75 - maxItems: 200 - nullable: true - 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 - nullable: true - enum: - - org_actors - - org_and_repo_actors - example: org_actors - description: Who can edit the values of the property - required: - - property_name - - value_type + items: *96 examples: - default: &269 - 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: *97 '403': *29 '404': *7 x-github: @@ -35289,7 +35564,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: - - *141 + - *145 requestBody: required: true content: @@ -35300,7 +35575,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *268 + items: *96 minItems: 1 maxItems: 100 required: @@ -35330,9 +35605,9 @@ paths: application/json: schema: type: array - items: *268 + items: *96 examples: - default: *269 + default: *97 '403': *29 '404': *7 x-github: @@ -35353,33 +35628,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: - - *141 - - &270 - name: custom_property_name - description: The custom property name - in: path - required: true - schema: - type: string + - *145 + - *98 responses: '200': description: Response content: application/json: - schema: *268 + schema: *96 examples: - default: &271 - 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: *99 '403': *29 '404': *7 x-github: @@ -35402,8 +35660,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: - - *141 - - *270 + - *145 + - *98 requestBody: required: true content: @@ -35462,9 +35720,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *96 examples: - default: *271 + default: *99 '403': *29 '404': *7 x-github: @@ -35487,10 +35745,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: - - *141 - - *270 + - *145 + - *98 responses: - '204': *190 + '204': *192 '403': *29 '404': *7 x-github: @@ -35511,7 +35769,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: - - *141 + - *145 - *18 - *20 - name: repository_query @@ -35549,7 +35807,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &272 + items: &273 title: Custom Property Value description: Custom property name and associated value type: object @@ -35616,7 +35874,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: - - *141 + - *145 requestBody: required: true content: @@ -35636,7 +35894,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *272 + items: *273 required: - repository_names - properties @@ -35677,7 +35935,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members parameters: - - *141 + - *145 - *18 - *20 responses: @@ -35689,7 +35947,7 @@ paths: type: array items: *19 examples: - default: *241 + default: *246 headers: Link: *39 x-github: @@ -35708,8 +35966,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: - - *141 - - *181 + - *145 + - *185 responses: '204': description: Response if user is a public member @@ -35733,8 +35991,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: - - *141 - - *181 + - *145 + - *185 responses: '204': description: Response @@ -35755,8 +36013,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: - - *141 - - *181 + - *145 + - *185 responses: '204': description: Response @@ -35780,7 +36038,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories parameters: - - *141 + - *145 - 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 @@ -35827,9 +36085,9 @@ paths: application/json: schema: type: array - items: *159 + items: *163 examples: - default: *260 + default: *265 headers: Link: *39 x-github: @@ -35850,7 +36108,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository parameters: - - *141 + - *145 requestBody: required: true content: @@ -36032,7 +36290,7 @@ paths: description: Response content: application/json: - schema: &337 + schema: &338 title: Full Repository description: Full Repository type: object @@ -36309,8 +36567,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *273 - required: *274 + properties: *274 + required: *275 nullable: true temp_clone_token: type: string @@ -36397,8 +36655,8 @@ paths: title: License Simple description: License Simple type: object - properties: *119 - required: *120 + properties: *123 + required: *124 nullable: true organization: title: Simple User @@ -36425,7 +36683,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &451 + properties: &452 url: type: string format: uri @@ -36441,12 +36699,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &452 + required: &453 - url - key - name - html_url - security_and_analysis: *275 + security_and_analysis: *276 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -36530,7 +36788,7 @@ paths: - network_count - subscribers_count examples: - default: &339 + default: &340 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -37048,7 +37306,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: - - *141 + - *145 responses: '200': description: Response @@ -37056,9 +37314,9 @@ paths: application/json: schema: type: array - items: *276 + items: *277 examples: - default: *277 + default: *278 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -37080,10 +37338,10 @@ paths: category: orgs subcategory: rules parameters: - - *141 + - *145 - *18 - *20 - - &587 + - &588 name: targets description: | A comma-separated list of rule targets to filter by. @@ -37101,7 +37359,7 @@ paths: application/json: schema: type: array - items: &284 + items: &285 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -37134,7 +37392,7 @@ paths: source: type: string description: The name of the source - enforcement: &280 + enforcement: &281 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -37146,7 +37404,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &281 + items: &282 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -37213,7 +37471,7 @@ paths: conditions: nullable: true anyOf: - - &278 + - &279 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -37237,7 +37495,7 @@ paths: match. items: type: string - - &282 + - &283 title: Organization ruleset conditions type: object description: |- @@ -37250,7 +37508,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *278 + - *279 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -37284,7 +37542,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *278 + - *279 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -37306,7 +37564,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *278 + - *279 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -37319,7 +37577,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &279 + items: &280 title: Repository ruleset property targeting definition type: object @@ -37352,17 +37610,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *279 + items: *280 required: - repository_property rules: type: array - items: &283 + items: &284 title: Repository Rule type: object description: A repository rule. oneOf: - - &569 + - &570 title: creation description: Only allow users with bypass permission to create matching refs. @@ -37374,7 +37632,7 @@ paths: type: string enum: - creation - - &570 + - &571 title: update description: Only allow users with bypass permission to update matching refs. @@ -37395,7 +37653,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &572 + - &573 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -37407,7 +37665,7 @@ paths: type: string enum: - deletion - - &573 + - &574 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -37419,7 +37677,7 @@ paths: type: string enum: - required_linear_history - - &574 + - &575 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -37497,7 +37755,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &575 + - &576 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -37521,7 +37779,7 @@ paths: type: string required: - required_deployment_environments - - &576 + - &577 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -37533,7 +37791,7 @@ paths: type: string enum: - required_signatures - - &577 + - &578 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -37579,7 +37837,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &578 + - &579 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -37627,7 +37885,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &579 + - &580 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -37639,7 +37897,7 @@ paths: type: string enum: - non_fast_forward - - &580 + - &581 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -37675,7 +37933,7 @@ paths: required: - operator - pattern - - &581 + - &582 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -37711,7 +37969,7 @@ paths: required: - operator - pattern - - &582 + - &583 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -37747,7 +38005,7 @@ paths: required: - operator - pattern - - &583 + - &584 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -37783,7 +38041,7 @@ paths: required: - operator - pattern - - &584 + - &585 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -37909,7 +38167,7 @@ paths: maximum: 100 required: - max_file_size - - &585 + - &586 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -37959,7 +38217,7 @@ paths: - repository_id required: - workflows - - &586 + - &587 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -38072,7 +38330,7 @@ paths: category: orgs subcategory: rules parameters: - - *141 + - *145 requestBody: description: Request body required: true @@ -38092,16 +38350,16 @@ paths: - tag - push default: branch - enforcement: *280 + enforcement: *281 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *281 - conditions: *282 + items: *282 + conditions: *283 rules: type: array description: An array of rules within the ruleset. - items: *283 + items: *284 required: - name - enforcement @@ -38139,9 +38397,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *285 examples: - default: &285 + default: &286 value: id: 21 name: super cool ruleset @@ -38195,8 +38453,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *141 - - &588 + - *145 + - &589 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 @@ -38211,7 +38469,7 @@ paths: in: query schema: type: string - - &589 + - &590 name: time_period description: |- The time period to filter by. @@ -38227,14 +38485,14 @@ paths: - week - month default: day - - &590 + - &591 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 - - &591 + - &592 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -38254,7 +38512,7 @@ paths: description: Response content: application/json: - schema: &592 + schema: &593 title: Rule Suites description: Response type: array @@ -38309,7 +38567,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &593 + default: &594 value: - id: 21 actor_id: 12 @@ -38352,8 +38610,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *141 - - &594 + - *145 + - &595 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -38369,7 +38627,7 @@ paths: description: Response content: application/json: - schema: &595 + schema: &596 title: Rule Suite description: Response type: object @@ -38468,7 +38726,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &596 + default: &597 value: id: 21 actor_id: 12 @@ -38529,7 +38787,7 @@ paths: category: orgs subcategory: rules parameters: - - *141 + - *145 - name: ruleset_id description: The ID of the ruleset. in: path @@ -38541,9 +38799,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *285 examples: - default: *285 + default: *286 '404': *7 '500': *84 put: @@ -38561,7 +38819,7 @@ paths: category: orgs subcategory: rules parameters: - - *141 + - *145 - name: ruleset_id description: The ID of the ruleset. in: path @@ -38586,16 +38844,16 @@ paths: - branch - tag - push - enforcement: *280 + enforcement: *281 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *281 - conditions: *282 + items: *282 + conditions: *283 rules: description: An array of rules within the ruleset. type: array - items: *283 + items: *284 examples: default: value: @@ -38630,9 +38888,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *285 examples: - default: *285 + default: *286 '404': *7 '500': *84 delete: @@ -38650,7 +38908,7 @@ paths: category: orgs subcategory: rules parameters: - - *141 + - *145 - name: ruleset_id description: The ID of the ruleset. in: path @@ -38678,15 +38936,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: - - *141 - - *286 + - *145 - *287 - *288 - *289 + - *290 - *78 - *20 - *18 - - &598 + - &599 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 @@ -38696,7 +38954,7 @@ paths: required: false schema: type: string - - &599 + - &600 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 @@ -38706,9 +38964,9 @@ paths: required: false schema: type: string - - *290 - *291 - *292 + - *293 responses: '200': description: Response @@ -38716,13 +38974,13 @@ paths: application/json: schema: type: array - items: *293 + items: *294 examples: - default: *294 + default: *295 headers: Link: *39 '404': *7 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38744,7 +39002,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: - - *141 + - *145 - *78 - name: sort description: The property to sort the results by. @@ -38788,7 +39046,7 @@ paths: application/json: schema: type: array - items: &606 + items: &607 description: A repository security advisory. type: object properties: @@ -39008,7 +39266,7 @@ paths: login: type: string description: The username of the user credited. - type: *295 + type: *296 credits_detailed: type: array nullable: true @@ -39018,7 +39276,7 @@ paths: type: object properties: user: *19 - type: *295 + type: *296 state: type: string description: The state of the user's acceptance of the @@ -39042,7 +39300,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *238 + items: *243 private_fork: readOnly: true nullable: true @@ -39079,7 +39337,7 @@ paths: - private_fork additionalProperties: false examples: - default: &607 + default: &608 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -39461,7 +39719,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams parameters: - - *141 + - *145 responses: '200': description: Response @@ -39469,9 +39727,9 @@ paths: application/json: schema: type: array - items: *296 + items: *297 examples: - default: *253 + default: *258 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39494,8 +39752,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - - *141 - - *250 + - *145 + - *255 responses: '204': description: Response @@ -39520,8 +39778,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *141 - - *250 + - *145 + - *255 responses: '204': description: Response @@ -39547,15 +39805,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: - - *141 + - *145 responses: '200': description: Response content: application/json: - schema: *297 + schema: *298 examples: - default: *298 + default: *299 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -39579,7 +39837,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: - - *141 + - *145 - *18 - *20 responses: @@ -39587,9 +39845,9 @@ paths: description: Success content: application/json: - schema: *299 + schema: *300 examples: - default: *300 + default: *301 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -39611,15 +39869,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: - - *141 + - *145 responses: '200': description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -39641,15 +39899,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: - - *141 + - *145 responses: '200': description: Response content: application/json: - schema: *303 + schema: *304 examples: - default: *304 + default: *305 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -39666,7 +39924,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: - - *141 + - *145 - *18 - name: page description: Page token @@ -39685,7 +39943,7 @@ paths: description: Response content: application/json: - schema: &326 + schema: &327 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -39731,7 +39989,7 @@ paths: type: string nullable: true examples: - default: &327 + default: &328 value: groups: - group_id: '123' @@ -39776,8 +40034,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: - - *141 - - *250 + - *145 + - *255 - 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`). @@ -39809,13 +40067,13 @@ paths: application/json: schema: type: array - items: *98 + items: *102 examples: - default: *99 + default: *103 '500': *84 '403': *29 '404': *7 - '422': *100 + '422': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39849,8 +40107,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: - - *141 - - *250 + - *145 + - *255 - 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`). @@ -39882,9 +40140,9 @@ paths: application/json: schema: type: array - items: *101 + items: *105 examples: - default: *194 + default: *199 '500': *84 '401': *25 '403': *29 @@ -39906,7 +40164,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams parameters: - - *141 + - *145 - *18 - *20 responses: @@ -39916,9 +40174,9 @@ paths: application/json: schema: type: array - items: *238 + items: *243 examples: - default: *253 + default: *258 headers: Link: *39 '403': *29 @@ -39940,7 +40198,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team parameters: - - *141 + - *145 requestBody: required: true content: @@ -40012,7 +40270,7 @@ paths: description: Response content: application/json: - schema: &305 + schema: &306 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -40075,8 +40333,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *251 - required: *252 + properties: *256 + required: *257 nullable: true members_count: type: integer @@ -40322,7 +40580,7 @@ paths: - repos_count - organization examples: - default: &306 + default: &307 value: id: 1 node_id: MDQ6VGVhbTE= @@ -40392,16 +40650,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - - *141 - - *250 + - *145 + - *255 responses: '200': description: Response content: application/json: - schema: *305 + schema: *306 examples: - default: *306 + default: *307 '404': *7 x-github: githubCloudOnly: false @@ -40422,8 +40680,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - - *141 - - *250 + - *145 + - *255 requestBody: required: false content: @@ -40485,16 +40743,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *305 + schema: *306 examples: - default: *306 + default: *307 '201': description: Response content: application/json: - schema: *305 + schema: *306 examples: - default: *306 + default: *307 '404': *7 '422': *16 '403': *29 @@ -40519,8 +40777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - - *141 - - *250 + - *145 + - *255 responses: '204': description: Response @@ -40546,8 +40804,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - - *141 - - *250 + - *145 + - *255 - *78 - *18 - *20 @@ -40564,7 +40822,7 @@ paths: application/json: schema: type: array - items: &307 + items: &308 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -40643,7 +40901,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *106 + reactions: *110 required: - author - body @@ -40663,7 +40921,7 @@ paths: - updated_at - url examples: - default: &647 + default: &648 value: - author: login: octocat @@ -40737,8 +40995,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - - *141 - - *250 + - *145 + - *255 requestBody: required: true content: @@ -40772,9 +41030,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: &308 + default: &309 value: author: login: octocat @@ -40846,9 +41104,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - - *141 - - *250 - - &309 + - *145 + - *255 + - &310 name: discussion_number description: The number that identifies the discussion. in: path @@ -40860,9 +41118,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *308 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40884,9 +41142,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - - *141 - - *250 - - *309 + - *145 + - *255 + - *310 requestBody: required: false content: @@ -40909,9 +41167,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: &648 + default: &649 value: author: login: octocat @@ -40981,9 +41239,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - - *141 - - *250 - - *309 + - *145 + - *255 + - *310 responses: '204': description: Response @@ -41009,9 +41267,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - - *141 - - *250 - - *309 + - *145 + - *255 + - *310 - *78 - *18 - *20 @@ -41022,7 +41280,7 @@ paths: application/json: schema: type: array - items: &310 + items: &311 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -41079,7 +41337,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *106 + reactions: *110 required: - author - body @@ -41094,7 +41352,7 @@ paths: - updated_at - url examples: - default: &649 + default: &650 value: - author: login: octocat @@ -41162,9 +41420,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *141 - - *250 - - *309 + - *145 + - *255 + - *310 requestBody: required: true content: @@ -41186,9 +41444,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: &311 + default: &312 value: author: login: octocat @@ -41254,10 +41512,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *141 - - *250 - - *309 - - &312 + - *145 + - *255 + - *310 + - &313 name: comment_number description: The number that identifies the comment. in: path @@ -41269,9 +41527,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: *311 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41293,10 +41551,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *141 - - *250 - - *309 - - *312 + - *145 + - *255 + - *310 + - *313 requestBody: required: true content: @@ -41318,9 +41576,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: &650 + default: &651 value: author: login: octocat @@ -41384,10 +41642,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *141 - - *250 - - *309 - - *312 + - *145 + - *255 + - *310 + - *313 responses: '204': description: Response @@ -41413,10 +41671,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: - - *141 - - *250 - - *309 - - *312 + - *145 + - *255 + - *310 + - *313 - 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. @@ -41442,7 +41700,7 @@ paths: application/json: schema: type: array - items: &313 + items: &314 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -41485,7 +41743,7 @@ paths: - content - created_at examples: - default: &315 + default: &316 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -41535,10 +41793,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: - - *141 - - *250 - - *309 - - *312 + - *145 + - *255 + - *310 + - *313 requestBody: required: true content: @@ -41571,9 +41829,9 @@ paths: team discussion comment content: application/json: - schema: *313 + schema: *314 examples: - default: &314 + default: &315 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -41602,9 +41860,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41627,11 +41885,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *141 - - *250 - - *309 - - *312 - - &316 + - *145 + - *255 + - *310 + - *313 + - &317 name: reaction_id description: The unique identifier of the reaction. in: path @@ -41663,9 +41921,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *141 - - *250 - - *309 + - *145 + - *255 + - *310 - 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. @@ -41691,9 +41949,9 @@ paths: application/json: schema: type: array - items: *313 + items: *314 examples: - default: *315 + default: *316 headers: Link: *39 x-github: @@ -41719,9 +41977,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *141 - - *250 - - *309 + - *145 + - *255 + - *310 requestBody: required: true content: @@ -41753,16 +42011,16 @@ paths: description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 '201': description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -41785,10 +42043,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *141 - - *250 - - *309 - - *316 + - *145 + - *255 + - *310 + - *317 responses: '204': description: Response @@ -41811,16 +42069,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: - - *141 - - *250 + - *145 + - *255 responses: '200': description: Response content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -41839,8 +42097,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: - - *141 - - *250 + - *145 + - *255 requestBody: required: true content: @@ -41863,9 +42121,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *320 examples: - default: *320 + default: *321 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -41884,8 +42142,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: - - *141 - - *250 + - *145 + - *255 responses: '204': description: Response @@ -41909,8 +42167,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - - *141 - - *250 + - *145 + - *255 - *18 - *20 responses: @@ -41920,9 +42178,9 @@ paths: application/json: schema: type: array - items: *235 + items: *240 examples: - default: *236 + default: *241 headers: Link: *39 x-github: @@ -41944,8 +42202,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - - *141 - - *250 + - *145 + - *255 - name: role description: Filters members returned by their role in the team. in: query @@ -41968,7 +42226,7 @@ paths: type: array items: *19 examples: - default: *241 + default: *246 headers: Link: *39 x-github: @@ -41998,15 +42256,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - - *141 - - *250 - - *181 + - *145 + - *255 + - *185 responses: '200': description: Response content: application/json: - schema: &321 + schema: &322 title: Team Membership description: Team Membership type: object @@ -42033,7 +42291,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &651 + response-if-user-is-a-team-maintainer: &652 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -42069,9 +42327,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: - - *141 - - *250 - - *181 + - *145 + - *255 + - *185 requestBody: required: false content: @@ -42096,9 +42354,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - response-if-users-membership-with-team-is-now-pending: &652 + response-if-users-membership-with-team-is-now-pending: &653 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -42133,9 +42391,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - - *141 - - *250 - - *181 + - *145 + - *255 + - *185 responses: '204': description: Response @@ -42161,8 +42419,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - - *141 - - *250 + - *145 + - *255 - *18 - *20 responses: @@ -42172,7 +42430,7 @@ paths: application/json: schema: type: array - items: &322 + items: &323 title: Team Project description: A team's access to a project. type: object @@ -42240,7 +42498,7 @@ paths: - updated_at - permissions examples: - default: &653 + default: &654 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -42301,9 +42559,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - - *141 - - *250 - - &323 + - *145 + - *255 + - &324 name: project_id description: The unique identifier of the project. in: path @@ -42315,9 +42573,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *323 examples: - default: &654 + default: &655 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -42377,9 +42635,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - - *141 - - *250 - - *323 + - *145 + - *255 + - *324 requestBody: required: false content: @@ -42443,9 +42701,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - - *141 - - *250 - - *323 + - *145 + - *255 + - *324 responses: '204': description: Response @@ -42469,8 +42727,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - - *141 - - *250 + - *145 + - *255 - *18 - *20 responses: @@ -42480,9 +42738,9 @@ paths: application/json: schema: type: array - items: *159 + items: *163 examples: - default: *260 + default: *265 headers: Link: *39 x-github: @@ -42511,16 +42769,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *141 - - *250 - - *324 + - *145 + - *255 - *325 + - *326 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &655 + schema: &656 title: Team Repository description: A team's access to a repository. type: object @@ -42543,8 +42801,8 @@ paths: title: License Simple description: License Simple type: object - properties: *119 - required: *120 + properties: *123 + required: *124 nullable: true forks: type: integer @@ -43089,10 +43347,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *141 - - *250 - - *324 + - *145 + - *255 - *325 + - *326 requestBody: required: false content: @@ -43137,10 +43395,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - - *141 - - *250 - - *324 + - *145 + - *255 - *325 + - *326 responses: '204': description: Response @@ -43166,16 +43424,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: - - *141 - - *250 + - *145 + - *255 responses: '200': description: Response content: application/json: - schema: *326 + schema: *327 examples: - default: *327 + default: *328 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -43197,8 +43455,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: - - *141 - - *250 + - *145 + - *255 requestBody: required: true content: @@ -43241,7 +43499,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *327 examples: default: value: @@ -43273,8 +43531,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - - *141 - - *250 + - *145 + - *255 - *18 - *20 responses: @@ -43284,9 +43542,9 @@ paths: application/json: schema: type: array - items: *238 + items: *243 examples: - response-if-child-teams-exist: &656 + response-if-child-teams-exist: &657 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -43339,7 +43597,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: - - *141 + - *145 - name: security_product in: path description: The security feature to enable or disable. @@ -43410,7 +43668,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &328 + - &329 name: card_id description: The unique identifier of the card. in: path @@ -43422,7 +43680,7 @@ paths: description: Response content: application/json: - schema: &329 + schema: &330 title: Project Card description: Project cards represent a scope of work. type: object @@ -43489,7 +43747,7 @@ paths: - created_at - updated_at examples: - default: &330 + default: &331 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -43539,7 +43797,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *328 + - *329 requestBody: required: false content: @@ -43566,9 +43824,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *330 examples: - default: *330 + default: *331 '304': *37 '403': *29 '401': *25 @@ -43589,7 +43847,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *328 + - *329 responses: '204': description: Response @@ -43627,7 +43885,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *328 + - *329 requestBody: required: true content: @@ -43732,7 +43990,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &331 + - &332 name: column_id description: The unique identifier of the column. in: path @@ -43744,7 +44002,7 @@ paths: description: Response content: application/json: - schema: &332 + schema: &333 title: Project Column description: Project columns contain cards of work. type: object @@ -43790,7 +44048,7 @@ paths: - created_at - updated_at examples: - default: &333 + default: &334 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -43819,7 +44077,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *331 + - *332 requestBody: required: true content: @@ -43843,9 +44101,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *333 examples: - default: *333 + default: *334 '304': *37 '403': *29 '401': *25 @@ -43864,7 +44122,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *331 + - *332 responses: '204': description: Response @@ -43887,7 +44145,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *331 + - *332 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -43908,7 +44166,7 @@ paths: application/json: schema: type: array - items: *329 + items: *330 examples: default: value: @@ -43961,7 +44219,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *331 + - *332 requestBody: required: true content: @@ -44001,9 +44259,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *330 examples: - default: *330 + default: *331 '304': *37 '403': *29 '401': *25 @@ -44013,8 +44271,8 @@ paths: application/json: schema: oneOf: - - *144 - - *145 + - *148 + - *149 '503': description: Response content: @@ -44053,7 +44311,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *331 + - *332 requestBody: required: true content: @@ -44109,15 +44367,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *323 + - *324 responses: '200': description: Response content: application/json: - schema: *267 + schema: *272 examples: - default: &334 + default: &335 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -44170,7 +44428,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *323 + - *324 requestBody: required: false content: @@ -44216,9 +44474,9 @@ paths: description: Response content: application/json: - schema: *267 + schema: *272 examples: - default: *334 + default: *335 '404': description: Not Found if the authenticated user does not have access to the project @@ -44239,7 +44497,7 @@ paths: items: type: string '401': *25 - '410': *335 + '410': *336 '422': *8 x-github: githubCloudOnly: false @@ -44257,7 +44515,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *323 + - *324 responses: '204': description: Delete Success @@ -44278,7 +44536,7 @@ paths: items: type: string '401': *25 - '410': *335 + '410': *336 '404': *7 x-github: githubCloudOnly: false @@ -44301,7 +44559,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *323 + - *324 - 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 @@ -44328,7 +44586,7 @@ paths: type: array items: *19 examples: - default: *241 + default: *246 headers: Link: *39 '404': *7 @@ -44353,8 +44611,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *323 - - *181 + - *324 + - *185 requestBody: required: false content: @@ -44401,8 +44659,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *323 - - *181 + - *324 + - *185 responses: '204': description: Response @@ -44430,8 +44688,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *323 - - *181 + - *324 + - *185 responses: '200': description: Response @@ -44498,7 +44756,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *323 + - *324 - *18 - *20 responses: @@ -44508,7 +44766,7 @@ paths: application/json: schema: type: array - items: *332 + items: *333 examples: default: value: @@ -44540,7 +44798,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *323 + - *324 requestBody: required: true content: @@ -44563,7 +44821,7 @@ paths: description: Response content: application/json: - schema: *332 + schema: *333 examples: default: value: @@ -44624,7 +44882,7 @@ paths: resources: type: object properties: - core: &336 + core: &337 title: Rate Limit type: object properties: @@ -44641,19 +44899,19 @@ paths: - remaining - reset - used - graphql: *336 - search: *336 - code_search: *336 - source_import: *336 - integration_manifest: *336 - code_scanning_upload: *336 - actions_runner_registration: *336 - scim: *336 - dependency_snapshots: *336 + graphql: *337 + search: *337 + code_search: *337 + source_import: *337 + integration_manifest: *337 + code_scanning_upload: *337 + actions_runner_registration: *337 + scim: *337 + dependency_snapshots: *337 required: - core - search - rate: *336 + rate: *337 required: - rate - resources @@ -44752,14 +45010,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *337 + schema: *338 examples: default-response: summary: Default response @@ -45264,7 +45522,7 @@ paths: status: disabled '403': *29 '404': *7 - '301': *338 + '301': *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45282,8 +45540,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -45529,10 +45787,10 @@ paths: description: Response content: application/json: - schema: *337 + schema: *338 examples: - default: *339 - '307': &340 + default: *340 + '307': &341 description: Temporary Redirect content: application/json: @@ -45561,8 +45819,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -45584,7 +45842,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': *340 + '307': *341 '404': *7 x-github: githubCloudOnly: false @@ -45607,11 +45865,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *324 - *325 + - *326 - *18 - *20 - - &355 + - &356 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -45634,7 +45892,7 @@ paths: type: integer artifacts: type: array - items: &341 + items: &342 title: Artifact description: An artifact type: object @@ -45705,7 +45963,7 @@ paths: - expires_at - updated_at examples: - default: &356 + default: &357 value: total_count: 2 artifacts: @@ -45764,9 +46022,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *324 - *325 - - &342 + - *326 + - &343 name: artifact_id description: The unique identifier of the artifact. in: path @@ -45778,7 +46036,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *342 examples: default: value: @@ -45815,9 +46073,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *324 - *325 - - *342 + - *326 + - *343 responses: '204': description: Response @@ -45841,9 +46099,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *324 - *325 - - *342 + - *326 + - *343 - name: archive_format in: path required: true @@ -45857,7 +46115,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': *335 + '410': *336 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45880,14 +46138,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: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *343 + schema: *344 examples: default: value: @@ -45913,11 +46171,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: - - *324 - *325 + - *326 - *18 - *20 - - &344 + - &345 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 @@ -45951,7 +46209,7 @@ paths: description: Response content: application/json: - schema: &345 + schema: &346 title: Repository actions caches description: Repository actions caches type: object @@ -45993,7 +46251,7 @@ paths: - total_count - actions_caches examples: - default: &346 + default: &347 value: total_count: 1 actions_caches: @@ -46025,23 +46283,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: - - *324 - *325 + - *326 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *345 + schema: *346 examples: - default: *346 + default: *347 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46061,8 +46319,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: - - *324 - *325 + - *326 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -46093,9 +46351,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: - - *324 - *325 - - &347 + - *326 + - &348 name: job_id description: The unique identifier of the job. in: path @@ -46107,7 +46365,7 @@ paths: description: Response content: application/json: - schema: &359 + schema: &360 title: Job description: Information of a job execution in a workflow run type: object @@ -46414,9 +46672,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: - - *324 - *325 - - *347 + - *326 + - *348 responses: '302': description: Response @@ -46444,9 +46702,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: - - *324 - *325 - - *347 + - *326 + - *348 requestBody: required: false content: @@ -46467,7 +46725,7 @@ paths: description: Response content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -46491,8 +46749,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: - - *324 - *325 + - *326 responses: '200': description: Status response @@ -46542,8 +46800,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -46577,7 +46835,7 @@ paths: description: Empty response content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -46606,8 +46864,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -46625,7 +46883,7 @@ paths: type: integer secrets: type: array - items: &361 + items: &362 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -46645,7 +46903,7 @@ paths: - created_at - updated_at examples: - default: &362 + default: &363 value: total_count: 2 secrets: @@ -46678,9 +46936,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *324 - *325 - - *348 + - *326 + - *349 - *20 responses: '200': @@ -46697,7 +46955,7 @@ paths: type: integer variables: type: array - items: &365 + items: &366 title: Actions Variable type: object properties: @@ -46727,7 +46985,7 @@ paths: - created_at - updated_at examples: - default: &366 + default: &367 value: total_count: 2 variables: @@ -46760,8 +47018,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: - - *324 - *325 + - *326 responses: '200': description: Response @@ -46770,11 +47028,11 @@ paths: schema: type: object properties: - enabled: &349 + enabled: &350 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *42 - selected_actions_url: *152 + selected_actions_url: *156 required: - enabled examples: @@ -46803,8 +47061,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: - - *324 - *325 + - *326 responses: '204': description: Response @@ -46815,7 +47073,7 @@ paths: schema: type: object properties: - enabled: *349 + enabled: *350 allowed_actions: *42 required: - enabled @@ -46846,14 +47104,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: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &350 + schema: &351 type: object properties: access_level: @@ -46871,7 +47129,7 @@ paths: required: - access_level examples: - default: &351 + default: &352 value: access_level: organization x-github: @@ -46896,15 +47154,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: - - *324 - *325 + - *326 requestBody: required: true content: application/json: - schema: *350 + schema: *351 examples: - default: *351 + default: *352 responses: '204': description: Response @@ -46928,8 +47186,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: - - *324 - *325 + - *326 responses: '200': description: Response @@ -46960,8 +47218,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: - - *324 - *325 + - *326 responses: '204': description: Response @@ -46993,14 +47251,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: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *155 + schema: *159 examples: default: *48 x-github: @@ -47023,8 +47281,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: - - *324 - *325 + - *326 responses: '204': description: Success response @@ -47035,7 +47293,7 @@ paths: required: true content: application/json: - schema: *156 + schema: *160 examples: default: *48 x-github: @@ -47064,8 +47322,8 @@ paths: in: query schema: type: string - - *324 - *325 + - *326 - *18 - *20 responses: @@ -47109,8 +47367,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: - - *324 - *325 + - *326 responses: '200': description: Response @@ -47118,9 +47376,9 @@ paths: application/json: schema: type: array - items: *160 + items: *164 examples: - default: *161 + default: *165 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47142,8 +47400,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -47186,7 +47444,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *162 + '201': *166 '404': *7 '422': *8 x-github: @@ -47216,8 +47474,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: - - *324 - *325 + - *326 responses: '201': description: Response @@ -47225,7 +47483,7 @@ paths: application/json: schema: *58 examples: - default: *163 + default: *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47253,8 +47511,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: - - *324 - *325 + - *326 responses: '201': description: Response @@ -47262,7 +47520,7 @@ paths: application/json: schema: *58 examples: - default: *164 + default: *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47284,8 +47542,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: - - *324 - *325 + - *326 - *54 responses: '200': @@ -47294,7 +47552,7 @@ paths: application/json: schema: *55 examples: - default: *165 + default: *169 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47315,8 +47573,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: - - *324 - *325 + - *326 - *54 responses: '204': @@ -47342,8 +47600,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: - - *324 - *325 + - *326 - *54 responses: '200': *60 @@ -47368,8 +47626,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: - - *324 - *325 + - *326 - *54 requestBody: required: true @@ -47418,8 +47676,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: - - *324 - *325 + - *326 - *54 requestBody: required: true @@ -47469,11 +47727,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: - - *324 - *325 + - *326 - *54 responses: - '200': *166 + '200': *170 '404': *7 x-github: githubCloudOnly: false @@ -47500,10 +47758,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: - - *324 - *325 + - *326 - *54 - - *167 + - *171 responses: '200': *60 '404': *7 @@ -47531,9 +47789,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: - - *324 - *325 - - &369 + - *326 + - &370 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. @@ -47541,7 +47799,7 @@ paths: required: false schema: type: string - - &370 + - &371 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -47549,7 +47807,7 @@ paths: required: false schema: type: string - - &371 + - &372 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -47558,7 +47816,7 @@ paths: required: false schema: type: string - - &372 + - &373 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 @@ -47585,7 +47843,7 @@ paths: - pending - *18 - *20 - - &373 + - &374 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)." @@ -47594,7 +47852,7 @@ paths: schema: type: string format: date-time - - &352 + - &353 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -47603,13 +47861,13 @@ paths: schema: type: boolean default: false - - &374 + - &375 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &375 + - &376 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -47632,7 +47890,7 @@ paths: type: integer workflow_runs: type: array - items: &353 + items: &354 title: Workflow Run description: An invocation of a workflow type: object @@ -47727,7 +47985,7 @@ paths: that triggered the run. type: array nullable: true - items: &394 + items: &395 title: Pull Request Minimal type: object properties: @@ -47846,7 +48104,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &398 + properties: &399 id: type: string description: SHA for the commit @@ -47897,7 +48155,7 @@ paths: - name - email nullable: true - required: &399 + required: &400 - id - tree_id - message @@ -47905,8 +48163,8 @@ paths: - author - committer nullable: true - repository: *159 - head_repository: *159 + repository: *163 + head_repository: *163 head_repository_id: type: integer example: 5 @@ -47944,7 +48202,7 @@ paths: - workflow_url - pull_requests examples: - default: &376 + default: &377 value: total_count: 1 workflow_runs: @@ -48180,24 +48438,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *324 - *325 - - &354 + - *326 + - &355 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *352 + - *353 responses: '200': description: Response content: application/json: - schema: *353 + schema: *354 examples: - default: &357 + default: &358 value: id: 30433642 name: Build @@ -48438,9 +48696,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *324 - *325 - - *354 + - *326 + - *355 responses: '204': description: Response @@ -48463,9 +48721,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: - - *324 - *325 - - *354 + - *326 + - *355 responses: '200': description: Response @@ -48584,15 +48842,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: - - *324 - *325 - - *354 + - *326 + - *355 responses: '201': description: Response content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -48619,12 +48877,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *324 - *325 - - *354 + - *326 + - *355 - *18 - *20 - - *355 + - *356 responses: '200': description: Response @@ -48640,9 +48898,9 @@ paths: type: integer artifacts: type: array - items: *341 + items: *342 examples: - default: *356 + default: *357 headers: Link: *39 x-github: @@ -48666,25 +48924,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *324 - *325 - - *354 - - &358 + - *326 + - *355 + - &359 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *352 + - *353 responses: '200': description: Response content: application/json: - schema: *353 + schema: *354 examples: - default: *357 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48707,10 +48965,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: - - *324 - *325 - - *354 - - *358 + - *326 + - *355 + - *359 - *18 - *20 responses: @@ -48728,9 +48986,9 @@ paths: type: integer jobs: type: array - items: *359 + items: *360 examples: - default: &360 + default: &361 value: total_count: 1 jobs: @@ -48843,10 +49101,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *324 - *325 - - *354 - - *358 + - *326 + - *355 + - *359 responses: '302': description: Response @@ -48874,19 +49132,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *324 - *325 - - *354 + - *326 + - *355 responses: '202': description: Response content: application/json: - schema: *170 + schema: *174 examples: default: value: - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48909,9 +49167,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: - - *324 - *325 - - *354 + - *326 + - *355 requestBody: required: true content: @@ -48978,19 +49236,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *324 - *325 - - *354 + - *326 + - *355 responses: '202': description: Response content: application/json: - schema: *170 + schema: *174 examples: default: value: - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49013,9 +49271,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: - - *324 - *325 - - *354 + - *326 + - *355 - 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 @@ -49045,9 +49303,9 @@ paths: type: integer jobs: type: array - items: *359 + items: *360 examples: - default: *360 + default: *361 headers: Link: *39 x-github: @@ -49072,9 +49330,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *324 - *325 - - *354 + - *326 + - *355 responses: '302': description: Response @@ -49101,9 +49359,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *324 - *325 - - *354 + - *326 + - *355 responses: '204': description: Response @@ -49130,9 +49388,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: - - *324 - *325 - - *354 + - *326 + - *355 responses: '200': description: Response @@ -49192,7 +49450,7 @@ paths: items: type: object properties: - type: &472 + type: &473 type: string description: The type of reviewer. enum: @@ -49202,7 +49460,7 @@ paths: reviewer: anyOf: - *19 - - *238 + - *243 required: - environment - wait_timer @@ -49277,9 +49535,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: - - *324 - *325 - - *354 + - *326 + - *355 requestBody: required: true content: @@ -49326,7 +49584,7 @@ paths: application/json: schema: type: array - items: &467 + items: &468 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -49414,8 +49672,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 required: - id - node_id @@ -49432,7 +49690,7 @@ paths: - created_at - updated_at examples: - default: &468 + default: &469 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -49488,9 +49746,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *324 - *325 - - *354 + - *326 + - *355 requestBody: required: false content: @@ -49511,7 +49769,7 @@ paths: description: Response content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -49534,9 +49792,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: - - *324 - *325 - - *354 + - *326 + - *355 requestBody: required: false content: @@ -49557,7 +49815,7 @@ paths: description: Response content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -49582,9 +49840,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *324 - *325 - - *354 + - *326 + - *355 responses: '200': description: Response @@ -49721,8 +49979,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -49740,9 +49998,9 @@ paths: type: integer secrets: type: array - items: *361 + items: *362 examples: - default: *362 + default: *363 headers: Link: *39 x-github: @@ -49767,16 +50025,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *363 + schema: *364 examples: - default: *364 + default: *365 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49798,17 +50056,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *324 - *325 - - *169 + - *326 + - *173 responses: '200': description: Response content: application/json: - schema: *361 + schema: *362 examples: - default: &485 + default: &486 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -49834,9 +50092,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *324 - *325 - - *169 + - *326 + - *173 requestBody: required: true content: @@ -49864,7 +50122,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -49890,9 +50148,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *324 - *325 - - *169 + - *326 + - *173 responses: '204': description: Response @@ -49917,9 +50175,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *324 - *325 - - *348 + - *326 + - *349 - *20 responses: '200': @@ -49936,9 +50194,9 @@ paths: type: integer variables: type: array - items: *365 + items: *366 examples: - default: *366 + default: *367 headers: Link: *39 x-github: @@ -49961,8 +50219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -49989,7 +50247,7 @@ paths: description: Response content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -50014,17 +50272,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *324 - *325 - - *172 + - *326 + - *176 responses: '200': description: Response content: application/json: - schema: *365 + schema: *366 examples: - default: &486 + default: &487 value: name: USERNAME value: octocat @@ -50050,9 +50308,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *324 - *325 - - *172 + - *326 + - *176 requestBody: required: true content: @@ -50094,9 +50352,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *324 - *325 - - *172 + - *326 + - *176 responses: '204': description: Response @@ -50121,8 +50379,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -50140,7 +50398,7 @@ paths: type: integer workflows: type: array - items: &367 + items: &368 title: Workflow description: A GitHub Actions workflow type: object @@ -50247,9 +50505,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *324 - *325 - - &368 + - *326 + - &369 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -50264,7 +50522,7 @@ paths: description: Response content: application/json: - schema: *367 + schema: *368 examples: default: value: @@ -50297,9 +50555,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *324 - *325 - - *368 + - *326 + - *369 responses: '204': description: Response @@ -50324,9 +50582,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *324 - *325 - - *368 + - *326 + - *369 responses: '204': description: Response @@ -50377,9 +50635,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *324 - *325 - - *368 + - *326 + - *369 responses: '204': description: Response @@ -50406,19 +50664,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: - - *324 - *325 - - *368 + - *326 - *369 - *370 - *371 - *372 + - *373 - *18 - *20 - - *373 - - *352 - *374 + - *353 - *375 + - *376 responses: '200': description: Response @@ -50434,9 +50692,9 @@ paths: type: integer workflow_runs: type: array - items: *353 + items: *354 examples: - default: *376 + default: *377 headers: Link: *39 x-github: @@ -50462,9 +50720,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *324 - *325 - - *368 + - *326 + - *369 responses: '200': description: Response @@ -50525,8 +50783,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *324 - *325 + - *326 - *78 - *18 - *76 @@ -50690,8 +50948,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -50703,7 +50961,7 @@ paths: type: array items: *19 examples: - default: *241 + default: *246 headers: Link: *39 '404': *7 @@ -50728,8 +50986,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: - - *324 - *325 + - *326 - name: assignee in: path required: true @@ -50765,8 +51023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -50878,8 +51136,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *324 - *325 + - *326 - *18 - *76 - *77 @@ -50923,7 +51181,7 @@ paths: repository_id: type: integer examples: - default: *377 + default: *378 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50943,8 +51201,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -50952,7 +51210,7 @@ paths: application/json: schema: type: array - items: &378 + items: &379 title: Autolink reference description: An autolink reference. type: object @@ -51002,8 +51260,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -51042,9 +51300,9 @@ paths: description: response content: application/json: - schema: *378 + schema: *379 examples: - default: &379 + default: &380 value: id: 1 key_prefix: TICKET- @@ -51075,9 +51333,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: - - *324 - *325 - - &380 + - *326 + - &381 name: autolink_id description: The unique identifier of the autolink. in: path @@ -51089,9 +51347,9 @@ paths: description: Response content: application/json: - schema: *378 + schema: *379 examples: - default: *379 + default: *380 '404': *7 x-github: githubCloudOnly: false @@ -51111,9 +51369,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: - - *324 - *325 - - *380 + - *326 + - *381 responses: '204': description: Response @@ -51137,8 +51395,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: - - *324 - *325 + - *326 responses: '200': description: Response if Dependabot is enabled @@ -51186,8 +51444,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-automated-security-fixes parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -51208,8 +51466,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-automated-security-fixes parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -51229,8 +51487,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *324 - *325 + - *326 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -51268,7 +51526,7 @@ paths: - url protected: type: boolean - protection: &382 + protection: &383 title: Branch Protection description: Branch Protection type: object @@ -51310,7 +51568,7 @@ paths: required: - contexts - checks - enforce_admins: &385 + enforce_admins: &386 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -51325,7 +51583,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &387 + required_pull_request_reviews: &388 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -51346,7 +51604,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *238 + items: *243 apps: description: The list of apps with review dismissal access. @@ -51375,7 +51633,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *238 + items: *243 apps: description: The list of apps allowed to bypass pull request requirements. @@ -51401,7 +51659,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &384 + restrictions: &385 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -51708,9 +51966,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *324 - *325 - - &383 + - *326 + - &384 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). @@ -51724,14 +51982,14 @@ paths: description: Response content: application/json: - schema: &393 + schema: &394 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &440 + commit: &441 title: Commit description: Commit type: object @@ -51765,7 +52023,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &381 + properties: &382 name: type: string example: '"Chris Wanstrath"' @@ -51780,7 +52038,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *381 + properties: *382 nullable: true message: type: string @@ -51801,7 +52059,7 @@ paths: required: - sha - url - verification: &492 + verification: &493 title: Verification type: object properties: @@ -51834,12 +52092,12 @@ paths: nullable: true oneOf: - *19 - - *170 + - *174 committer: nullable: true oneOf: - *19 - - *170 + - *174 parents: type: array items: @@ -51870,7 +52128,7 @@ paths: type: integer files: type: array - items: &455 + items: &456 title: Diff Entry description: Diff Entry type: object @@ -51953,7 +52211,7 @@ paths: - self protected: type: boolean - protection: *382 + protection: *383 protection_url: type: string format: uri @@ -52060,7 +52318,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *338 + '301': *339 '404': *7 x-github: githubCloudOnly: false @@ -52082,15 +52340,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *324 - *325 - - *383 + - *326 + - *384 responses: '200': description: Response content: application/json: - schema: *382 + schema: *383 examples: default: value: @@ -52284,9 +52542,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *324 - *325 - - *383 + - *326 + - *384 requestBody: required: true content: @@ -52541,7 +52799,7 @@ paths: url: type: string format: uri - required_status_checks: &390 + required_status_checks: &391 title: Status Check Policy description: Status Check Policy type: object @@ -52617,7 +52875,7 @@ paths: items: *19 teams: type: array - items: *238 + items: *243 apps: type: array items: *6 @@ -52635,7 +52893,7 @@ paths: items: *19 teams: type: array - items: *238 + items: *243 apps: type: array items: *6 @@ -52693,7 +52951,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *384 + restrictions: *385 required_conversation_resolution: type: object properties: @@ -52805,9 +53063,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *324 - *325 - - *383 + - *326 + - *384 responses: '204': description: Response @@ -52832,17 +53090,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *324 - *325 - - *383 + - *326 + - *384 responses: '200': description: Response content: application/json: - schema: *385 + schema: *386 examples: - default: &386 + default: &387 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -52864,17 +53122,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *324 - *325 - - *383 + - *326 + - *384 responses: '200': description: Response content: application/json: - schema: *385 + schema: *386 examples: - default: *386 + default: *387 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52893,9 +53151,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *324 - *325 - - *383 + - *326 + - *384 responses: '204': description: Response @@ -52920,17 +53178,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *324 - *325 - - *383 + - *326 + - *384 responses: '200': description: Response content: application/json: - schema: *387 + schema: *388 examples: - default: &388 + default: &389 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -53026,9 +53284,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *324 - *325 - - *383 + - *326 + - *384 requestBody: required: false content: @@ -53126,9 +53384,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *388 examples: - default: *388 + default: *389 '422': *16 x-github: githubCloudOnly: false @@ -53149,9 +53407,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *324 - *325 - - *383 + - *326 + - *384 responses: '204': description: Response @@ -53178,17 +53436,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *324 - *325 - - *383 + - *326 + - *384 responses: '200': description: Response content: application/json: - schema: *385 + schema: *386 examples: - default: &389 + default: &390 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -53211,17 +53469,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *324 - *325 - - *383 + - *326 + - *384 responses: '200': description: Response content: application/json: - schema: *385 + schema: *386 examples: - default: *389 + default: *390 '404': *7 x-github: githubCloudOnly: false @@ -53241,9 +53499,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *324 - *325 - - *383 + - *326 + - *384 responses: '204': description: Response @@ -53268,17 +53526,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *324 - *325 - - *383 + - *326 + - *384 responses: '200': description: Response content: application/json: - schema: *390 + schema: *391 examples: - default: &391 + default: &392 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -53304,9 +53562,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *324 - *325 - - *383 + - *326 + - *384 requestBody: required: false content: @@ -53358,9 +53616,9 @@ paths: description: Response content: application/json: - schema: *390 + schema: *391 examples: - default: *391 + default: *392 '404': *7 '422': *16 x-github: @@ -53382,9 +53640,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *324 - *325 - - *383 + - *326 + - *384 responses: '204': description: Response @@ -53408,9 +53666,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *324 - *325 - - *383 + - *326 + - *384 responses: '200': description: Response @@ -53444,9 +53702,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *324 - *325 - - *383 + - *326 + - *384 requestBody: required: false content: @@ -53513,9 +53771,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *324 - *325 - - *383 + - *326 + - *384 requestBody: required: false content: @@ -53579,9 +53837,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *324 - *325 - - *383 + - *326 + - *384 requestBody: content: application/json: @@ -53647,15 +53905,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *324 - *325 - - *383 + - *326 + - *384 responses: '200': description: Response content: application/json: - schema: *384 + schema: *385 examples: default: value: @@ -53746,9 +54004,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *324 - *325 - - *383 + - *326 + - *384 responses: '204': description: Response @@ -53771,9 +54029,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: - - *324 - *325 - - *383 + - *326 + - *384 responses: '200': description: Response @@ -53783,7 +54041,7 @@ paths: type: array items: *6 examples: - default: &392 + default: &393 value: - id: 1 slug: octoapp @@ -53840,9 +54098,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *324 - *325 - - *383 + - *326 + - *384 requestBody: required: true content: @@ -53876,7 +54134,7 @@ paths: type: array items: *6 examples: - default: *392 + default: *393 '422': *16 x-github: githubCloudOnly: false @@ -53897,9 +54155,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *324 - *325 - - *383 + - *326 + - *384 requestBody: required: true content: @@ -53933,7 +54191,7 @@ paths: type: array items: *6 examples: - default: *392 + default: *393 '422': *16 x-github: githubCloudOnly: false @@ -53954,9 +54212,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *324 - *325 - - *383 + - *326 + - *384 requestBody: required: true content: @@ -53990,7 +54248,7 @@ paths: type: array items: *6 examples: - default: *392 + default: *393 '422': *16 x-github: githubCloudOnly: false @@ -54012,9 +54270,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: - - *324 - *325 - - *383 + - *326 + - *384 responses: '200': description: Response @@ -54022,9 +54280,9 @@ paths: application/json: schema: type: array - items: *238 + items: *243 examples: - default: *253 + default: *258 '404': *7 x-github: githubCloudOnly: false @@ -54044,9 +54302,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *324 - *325 - - *383 + - *326 + - *384 requestBody: required: false content: @@ -54082,9 +54340,9 @@ paths: application/json: schema: type: array - items: *238 + items: *243 examples: - default: *253 + default: *258 '422': *16 x-github: githubCloudOnly: false @@ -54105,9 +54363,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *324 - *325 - - *383 + - *326 + - *384 requestBody: required: false content: @@ -54143,9 +54401,9 @@ paths: application/json: schema: type: array - items: *238 + items: *243 examples: - default: *253 + default: *258 '422': *16 x-github: githubCloudOnly: false @@ -54166,9 +54424,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *324 - *325 - - *383 + - *326 + - *384 requestBody: content: application/json: @@ -54203,9 +54461,9 @@ paths: application/json: schema: type: array - items: *238 + items: *243 examples: - default: *253 + default: *258 '422': *16 x-github: githubCloudOnly: false @@ -54227,9 +54485,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: - - *324 - *325 - - *383 + - *326 + - *384 responses: '200': description: Response @@ -54239,7 +54497,7 @@ paths: type: array items: *19 examples: - default: *241 + default: *246 '404': *7 x-github: githubCloudOnly: false @@ -54263,9 +54521,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *324 - *325 - - *383 + - *326 + - *384 requestBody: required: true content: @@ -54298,7 +54556,7 @@ paths: type: array items: *19 examples: - default: *241 + default: *246 '422': *16 x-github: githubCloudOnly: false @@ -54323,9 +54581,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *324 - *325 - - *383 + - *326 + - *384 requestBody: required: true content: @@ -54358,7 +54616,7 @@ paths: type: array items: *19 examples: - default: *241 + default: *246 '422': *16 x-github: githubCloudOnly: false @@ -54383,9 +54641,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *324 - *325 - - *383 + - *326 + - *384 requestBody: required: true content: @@ -54418,7 +54676,7 @@ paths: type: array items: *19 examples: - default: *241 + default: *246 '422': *16 x-github: githubCloudOnly: false @@ -54445,9 +54703,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *324 - *325 - - *383 + - *326 + - *384 requestBody: required: true content: @@ -54469,7 +54727,7 @@ paths: description: Response content: application/json: - schema: *393 + schema: *394 examples: default: value: @@ -54585,8 +54843,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -54865,7 +55123,7 @@ paths: description: Response content: application/json: - schema: &395 + schema: &396 title: CheckRun description: A check performed on the code of a given code change type: object @@ -54976,16 +55234,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *394 - deployment: &707 + items: *395 + deployment: &708 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -55052,8 +55310,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 required: - id - node_id @@ -55265,9 +55523,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *324 - *325 - - &396 + - *326 + - &397 name: check_run_id description: The unique identifier of the check run. in: path @@ -55279,9 +55537,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *396 examples: - default: &397 + default: &398 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -55381,9 +55639,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *324 - *325 - - *396 + - *326 + - *397 requestBody: required: true content: @@ -55623,9 +55881,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *396 examples: - default: *397 + default: *398 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55645,9 +55903,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *324 - *325 - - *396 + - *326 + - *397 - *18 - *20 responses: @@ -55744,15 +56002,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *324 - *325 - - *396 + - *326 + - *397 responses: '201': description: Response content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -55790,8 +56048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -55813,7 +56071,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &400 + schema: &401 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -55877,7 +56135,7 @@ paths: nullable: true pull_requests: type: array - items: *394 + items: *395 nullable: true app: title: GitHub app @@ -55888,9 +56146,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 - repository: *159 + properties: *107 + required: *108 + repository: *163 created_at: type: string format: date-time @@ -55899,12 +56157,12 @@ paths: type: string format: date-time nullable: true - head_commit: &733 + head_commit: &734 title: Simple Commit description: A commit. type: object - properties: *398 - required: *399 + properties: *399 + required: *400 latest_check_runs_count: type: integer check_runs_url: @@ -55932,7 +56190,7 @@ paths: - check_runs_url - pull_requests examples: - default: &401 + default: &402 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -56223,9 +56481,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *400 + schema: *401 examples: - default: *401 + default: *402 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56244,8 +56502,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -56306,7 +56564,7 @@ paths: required: - app_id - setting - repository: *159 + repository: *163 examples: default: value: @@ -56554,9 +56812,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *324 - *325 - - &402 + - *326 + - &403 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -56568,9 +56826,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *401 examples: - default: *401 + default: *402 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56593,17 +56851,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: - - *324 - *325 - - *402 - - &448 + - *326 + - *403 + - &449 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &449 + - &450 name: status description: Returns check runs with the specified `status`. in: query @@ -56642,9 +56900,9 @@ paths: type: integer check_runs: type: array - items: *395 + items: *396 examples: - default: &450 + default: &451 value: total_count: 1 check_runs: @@ -56746,15 +57004,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *324 - *325 - - *402 + - *326 + - *403 responses: '201': description: Response content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -56781,21 +57039,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: - - *324 - *325 - - *182 - - *183 + - *326 + - *186 + - *187 - *20 - *18 - - &414 + - &415 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: *403 - - &415 + schema: *404 + - &416 name: pr description: The number of the pull request for the results you want to list. in: query @@ -56820,13 +57078,13 @@ paths: be returned. in: query required: false - schema: *184 + schema: *188 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *404 + schema: *405 responses: '200': description: Response @@ -56842,7 +57100,7 @@ paths: updated_at: *92 url: *89 html_url: *90 - instances_url: *405 + instances_url: *406 state: *81 fixed_at: *94 dismissed_by: @@ -56853,11 +57111,11 @@ paths: required: *5 nullable: true dismissed_at: *93 - dismissed_reason: *406 - dismissed_comment: *407 - rule: *408 - tool: *409 - most_recent_instance: *410 + dismissed_reason: *407 + dismissed_comment: *408 + rule: *409 + tool: *410 + most_recent_instance: *411 required: - number - created_at @@ -56973,14 +57231,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &411 + '403': &412 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *7 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57000,9 +57258,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: - - *324 - *325 - - &412 + - *326 + - &413 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -57016,7 +57274,7 @@ paths: description: Response content: application/json: - schema: &413 + schema: &414 type: object properties: number: *85 @@ -57024,7 +57282,7 @@ paths: updated_at: *92 url: *89 html_url: *90 - instances_url: *405 + instances_url: *406 state: *81 fixed_at: *94 dismissed_by: @@ -57035,8 +57293,8 @@ paths: required: *5 nullable: true dismissed_at: *93 - dismissed_reason: *406 - dismissed_comment: *407 + dismissed_reason: *407 + dismissed_comment: *408 rule: type: object properties: @@ -57090,8 +57348,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *409 - most_recent_instance: *410 + tool: *410 + most_recent_instance: *411 required: - number - created_at @@ -57180,9 +57438,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *411 + '403': *412 '404': *7 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57200,9 +57458,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: - - *324 - *325 - - *412 + - *326 + - *413 requestBody: required: true content: @@ -57217,8 +57475,8 @@ paths: enum: - open - dismissed - dismissed_reason: *406 - dismissed_comment: *407 + dismissed_reason: *407 + dismissed_comment: *408 required: - state examples: @@ -57233,7 +57491,7 @@ paths: description: Response content: application/json: - schema: *413 + schema: *414 examples: default: value: @@ -57308,14 +57566,14 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &420 + '403': &421 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *7 - '503': *96 + '503': *100 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -57335,13 +57593,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: - - *324 - *325 - - *412 + - *326 + - *413 - *20 - *18 - - *414 - *415 + - *416 responses: '200': description: Response @@ -57349,7 +57607,7 @@ paths: application/json: schema: type: array - items: *410 + items: *411 examples: default: value: @@ -57388,9 +57646,9 @@ paths: end_column: 50 classifications: - source - '403': *411 + '403': *412 '404': *7 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57422,25 +57680,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: - - *324 - *325 - - *182 - - *183 + - *326 + - *186 + - *187 - *20 - *18 - - *415 + - *416 - 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: *403 + schema: *404 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &418 + schema: &419 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -57461,23 +57719,23 @@ paths: application/json: schema: type: array - items: &419 + items: &420 type: object properties: - ref: *403 - commit_sha: &428 + ref: *404 + commit_sha: &429 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: *416 + analysis_key: *417 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *417 + category: *418 error: type: string example: error reading field xyz @@ -57501,8 +57759,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *418 - tool: *409 + sarif_id: *419 + tool: *410 deletable: type: boolean warning: @@ -57563,9 +57821,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *411 + '403': *412 '404': *7 - '503': *96 + '503': *100 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -57599,8 +57857,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: - - *324 - *325 + - *326 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -57613,7 +57871,7 @@ paths: description: Response content: application/json: - schema: *419 + schema: *420 examples: response: summary: application/json response @@ -57667,9 +57925,9 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *411 + '403': *412 '404': *7 - '503': *96 + '503': *100 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -57749,8 +58007,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: - - *324 - *325 + - *326 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -57803,9 +58061,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': *15 - '403': *420 + '403': *421 '404': *7 - '503': *96 + '503': *100 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -57825,8 +58083,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: - - *324 - *325 + - *326 responses: '200': description: Response @@ -57834,7 +58092,7 @@ paths: application/json: schema: type: array - items: &421 + items: &422 title: CodeQL Database description: A CodeQL database. type: object @@ -57945,9 +58203,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': *411 + '403': *412 '404': *7 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57974,8 +58232,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: - - *324 - *325 + - *326 - name: language in: path description: The language of the CodeQL database. @@ -57987,7 +58245,7 @@ paths: description: Response content: application/json: - schema: *421 + schema: *422 examples: default: value: @@ -58019,11 +58277,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': &457 + '302': &458 description: Found - '403': *411 + '403': *412 '404': *7 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58043,8 +58301,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *324 - *325 + - *326 - name: language in: path description: The language of the CodeQL database. @@ -58054,9 +58312,9 @@ paths: responses: '204': description: Response - '403': *420 + '403': *421 '404': *7 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58082,8 +58340,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -58092,7 +58350,7 @@ paths: type: object additionalProperties: false properties: - language: &422 + language: &423 type: string description: The language targeted by the CodeQL query enum: @@ -58170,7 +58428,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &426 + schema: &427 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -58180,7 +58438,7 @@ paths: description: The ID of the variant analysis. controller_repo: *95 actor: *19 - query_language: *422 + query_language: *423 query_pack_url: type: string description: The download url for the query pack. @@ -58227,7 +58485,7 @@ paths: items: type: object properties: - repository: &423 + repository: &424 title: Repository Identifier description: Repository Identifier type: object @@ -58263,7 +58521,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &427 + analysis_status: &428 type: string description: The new status of the CodeQL variant analysis repository task. @@ -58295,7 +58553,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &424 + access_mismatch_repos: &425 type: object properties: repository_count: @@ -58309,7 +58567,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: *423 + items: *424 required: - repository_count - repositories @@ -58331,8 +58589,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *424 - over_limit_repos: *424 + no_codeql_db_repos: *425 + over_limit_repos: *425 required: - access_mismatch_repos - not_found_repos @@ -58348,7 +58606,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &425 + value: &426 summary: Default response value: id: 1 @@ -58500,17 +58758,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *425 + value: *426 repository_lists: summary: Response for a successful variant analysis submission - value: *425 + value: *426 '404': *7 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58531,8 +58789,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: - - *324 - *325 + - *326 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -58544,11 +58802,11 @@ paths: description: Response content: application/json: - schema: *426 + schema: *427 examples: - default: *425 + default: *426 '404': *7 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58569,7 +58827,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: - - *324 + - *325 - name: repo in: path description: The name of the controller repository. @@ -58604,7 +58862,7 @@ paths: type: object properties: repository: *95 - analysis_status: *427 + analysis_status: *428 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -58708,7 +58966,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *7 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58729,8 +58987,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: - - *324 - *325 + - *326 responses: '200': description: Response @@ -58791,9 +59049,9 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *411 + '403': *412 '404': *7 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58812,8 +59070,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -58828,6 +59086,17 @@ paths: enum: - configured - not-configured + runner_type: + description: Runner type to be used. + type: string + enum: + - standard + - labeled + runner_label: + nullable: true + description: Runner label to be used if the runner type is labeled. + type: string + example: code-scanning query_suite: description: CodeQL query suite to be used. type: string @@ -58858,7 +59127,7 @@ paths: description: Response content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -58883,7 +59152,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *420 + '403': *421 '404': *7 '409': description: Response if there is already a validation run in progress with @@ -58891,7 +59160,7 @@ paths: content: application/json: schema: *3 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58948,8 +59217,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -58957,7 +59226,7 @@ paths: schema: type: object properties: - commit_sha: *428 + commit_sha: *429 ref: type: string description: |- @@ -59015,7 +59284,7 @@ paths: schema: type: object properties: - id: *418 + id: *419 url: type: string description: The REST API URL for checking the status of the upload. @@ -59029,11 +59298,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': *420 + '403': *421 '404': *7 '413': description: Payload Too Large if the sarif field is too large - '503': *96 + '503': *100 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -59052,8 +59321,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: - - *324 - *325 + - *326 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -59099,10 +59368,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': *411 + '403': *412 '404': description: Not Found if the sarif id does not match any upload - '503': *96 + '503': *100 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -59124,8 +59393,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: - - *324 - *325 + - *326 responses: '200': description: Response @@ -59149,7 +59418,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *187 + configuration: *191 examples: default: value: @@ -59178,7 +59447,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': *190 + '204': *192 '304': *37 '403': *29 '404': *7 @@ -59203,8 +59472,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *324 - *325 + - *326 - 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 @@ -59324,8 +59593,8 @@ paths: parameters: - *18 - *20 - - *324 - *325 + - *326 responses: '200': description: Response @@ -59341,7 +59610,7 @@ paths: type: integer codespaces: type: array - items: *242 + items: *247 examples: default: value: @@ -59639,8 +59908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -59703,22 +59972,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *242 + schema: *247 examples: - default: *429 + default: *430 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *242 + schema: *247 examples: - default: *429 + default: *430 '400': *15 '401': *25 '403': *29 '404': *7 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -59742,8 +60011,8 @@ paths: parameters: - *18 - *20 - - *324 - *325 + - *326 responses: '200': description: Response @@ -59807,8 +60076,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: - - *324 - *325 + - *326 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -59843,14 +60112,14 @@ paths: type: integer machines: type: array - items: &663 + items: &664 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *430 - required: *431 + properties: *431 + required: *432 examples: - default: &664 + default: &665 value: total_count: 2 machines: @@ -59890,8 +60159,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *324 - *325 + - *326 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -59975,8 +60244,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: - - *324 - *325 + - *326 - 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 @@ -60021,7 +60290,7 @@ paths: '403': *29 '404': *7 '422': *16 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60042,8 +60311,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -60061,7 +60330,7 @@ paths: type: integer secrets: type: array - items: &435 + items: &436 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -60081,7 +60350,7 @@ paths: - created_at - updated_at examples: - default: *432 + default: *433 headers: Link: *39 x-github: @@ -60104,16 +60373,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *433 + schema: *434 examples: - default: *434 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -60133,17 +60402,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *324 - *325 - - *169 + - *326 + - *173 responses: '200': description: Response content: application/json: - schema: *435 + schema: *436 examples: - default: *436 + default: *437 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60163,9 +60432,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: - - *324 - *325 - - *169 + - *326 + - *173 requestBody: required: true content: @@ -60193,7 +60462,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -60217,9 +60486,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *324 - *325 - - *169 + - *326 + - *173 responses: '204': description: Response @@ -60247,8 +60516,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *324 - *325 + - *326 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -60290,7 +60559,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &437 + properties: &438 login: type: string example: octocat @@ -60383,7 +60652,7 @@ paths: user_view_type: type: string example: public - required: &438 + required: &439 - avatar_url - events_url - followers_url @@ -60457,9 +60726,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: - - *324 - *325 - - *181 + - *326 + - *185 responses: '204': description: Response if user is a collaborator @@ -60501,9 +60770,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *324 - *325 - - *181 + - *326 + - *185 requestBody: required: false content: @@ -60529,7 +60798,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &505 + schema: &506 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -60540,7 +60809,7 @@ paths: example: 42 type: integer format: int64 - repository: *159 + repository: *163 invitee: title: Simple User description: A GitHub user. @@ -60751,9 +61020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *324 - *325 - - *181 + - *326 + - *185 responses: '204': description: No Content when collaborator was removed from the repository. @@ -60782,9 +61051,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *324 - *325 - - *181 + - *326 + - *185 responses: '200': description: if user has admin permissions @@ -60804,8 +61073,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *437 - required: *438 + properties: *438 + required: *439 nullable: true required: - permission @@ -60860,8 +61129,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -60871,7 +61140,7 @@ paths: application/json: schema: type: array - items: &439 + items: &440 title: Commit Comment description: Commit Comment type: object @@ -60912,8 +61181,8 @@ paths: updated_at: type: string format: date-time - author_association: *105 - reactions: *106 + author_association: *109 + reactions: *110 required: - url - html_url @@ -60929,7 +61198,7 @@ paths: - created_at - updated_at examples: - default: &442 + default: &443 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -60988,17 +61257,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *324 - *325 - - *117 + - *326 + - *121 responses: '200': description: Response content: application/json: - schema: *439 + schema: *440 examples: - default: &443 + default: &444 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -61055,9 +61324,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *324 - *325 - - *117 + - *326 + - *121 requestBody: required: true content: @@ -61079,7 +61348,7 @@ paths: description: Response content: application/json: - schema: *439 + schema: *440 examples: default: value: @@ -61130,9 +61399,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *324 - *325 - - *117 + - *326 + - *121 responses: '204': description: Response @@ -61153,9 +61422,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *324 - *325 - - *117 + - *326 + - *121 - 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. @@ -61181,9 +61450,9 @@ paths: application/json: schema: type: array - items: *313 + items: *314 examples: - default: *315 + default: *316 headers: Link: *39 '404': *7 @@ -61204,9 +61473,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *324 - *325 - - *117 + - *326 + - *121 requestBody: required: true content: @@ -61238,16 +61507,16 @@ paths: description: Reaction exists content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 '201': description: Reaction created content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 '422': *16 x-github: githubCloudOnly: false @@ -61269,10 +61538,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *324 - *325 - - *117 - - *316 + - *326 + - *121 + - *317 responses: '204': description: Response @@ -61321,8 +61590,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *324 - *325 + - *326 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -61378,9 +61647,9 @@ paths: application/json: schema: type: array - items: *440 + items: *441 examples: - default: &556 + default: &557 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -61454,7 +61723,7 @@ paths: '500': *84 '400': *15 '404': *7 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61474,9 +61743,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *324 - *325 - - &441 + - *326 + - &442 name: commit_sha description: The SHA of the commit. in: path @@ -61523,7 +61792,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *16 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61548,9 +61817,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *324 - *325 - - *441 + - *326 + - *442 - *18 - *20 responses: @@ -61560,9 +61829,9 @@ paths: application/json: schema: type: array - items: *439 + items: *440 examples: - default: *442 + default: *443 headers: Link: *39 x-github: @@ -61590,9 +61859,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *324 - *325 - - *441 + - *326 + - *442 requestBody: required: true content: @@ -61627,9 +61896,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *440 examples: - default: *443 + default: *444 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -61657,9 +61926,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: - - *324 - *325 - - *441 + - *326 + - *442 - *18 - *20 responses: @@ -61669,7 +61938,7 @@ paths: application/json: schema: type: array - items: &547 + items: &548 title: Pull Request Simple description: Pull Request Simple type: object @@ -61775,8 +62044,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *444 - required: *445 + properties: *445 + required: *446 nullable: true active_lock_reason: type: string @@ -61821,7 +62090,7 @@ paths: nullable: true requested_teams: type: array - items: *238 + items: *243 nullable: true head: type: object @@ -61872,7 +62141,7 @@ paths: _links: type: object properties: - comments: &446 + comments: &447 title: Link description: Hypermedia Link type: object @@ -61881,13 +62150,13 @@ paths: type: string required: - href - commits: *446 - statuses: *446 - html: *446 - issue: *446 - review_comments: *446 - review_comment: *446 - self: *446 + commits: *447 + statuses: *447 + html: *447 + issue: *447 + review_comments: *447 + review_comment: *447 + self: *447 required: - comments - commits @@ -61897,8 +62166,8 @@ paths: - review_comments - review_comment - self - author_association: *105 - auto_merge: &549 + author_association: *109 + auto_merge: &550 title: Auto merge description: The status of auto merging a pull request. type: object @@ -61961,7 +62230,7 @@ paths: - author_association - auto_merge examples: - default: &548 + default: &549 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -62441,7 +62710,7 @@ paths: draft: false headers: Link: *39 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62498,11 +62767,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *324 - *325 + - *326 - *20 - *18 - - &447 + - &448 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)" @@ -62517,9 +62786,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: - default: &534 + default: &535 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -62606,8 +62875,8 @@ paths: '422': *16 '404': *7 '500': *84 - '503': *96 - '409': *146 + '503': *100 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62632,11 +62901,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: - - *324 - *325 - - *447 + - *326 - *448 - *449 + - *450 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -62670,9 +62939,9 @@ paths: type: integer check_runs: type: array - items: *395 + items: *396 examples: - default: *450 + default: *451 headers: Link: *39 x-github: @@ -62697,9 +62966,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: - - *324 - *325 - - *447 + - *326 + - *448 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -62707,7 +62976,7 @@ paths: schema: type: integer example: 1 - - *448 + - *449 - *18 - *20 responses: @@ -62725,7 +62994,7 @@ paths: type: integer check_suites: type: array - items: *400 + items: *401 examples: default: value: @@ -62925,9 +63194,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: - - *324 - *325 - - *447 + - *326 + - *448 - *18 - *20 responses: @@ -62994,7 +63263,7 @@ paths: type: string total_count: type: integer - repository: *159 + repository: *163 commit_url: type: string format: uri @@ -63125,9 +63394,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *324 - *325 - - *447 + - *326 + - *448 - *18 - *20 responses: @@ -63137,7 +63406,7 @@ paths: application/json: schema: type: array - items: &611 + items: &612 title: Status description: The status of a commit. type: object @@ -63218,7 +63487,7 @@ paths: site_admin: false headers: Link: *39 - '301': *338 + '301': *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63246,8 +63515,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -63276,20 +63545,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *451 - required: *452 + properties: *452 + required: *453 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &453 + properties: &454 url: type: string format: uri html_url: type: string format: uri - required: &454 + required: &455 - url - html_url nullable: true @@ -63297,32 +63566,32 @@ paths: title: License Simple description: License Simple type: object - properties: *119 - required: *120 + properties: *123 + required: *124 nullable: true contributing: title: Community Health File type: object - properties: *453 - required: *454 + properties: *454 + required: *455 nullable: true readme: title: Community Health File type: object - properties: *453 - required: *454 + properties: *454 + required: *455 nullable: true issue_template: title: Community Health File type: object - properties: *453 - required: *454 + properties: *454 + required: *455 nullable: true pull_request_template: title: Community Health File type: object - properties: *453 - required: *454 + properties: *454 + required: *455 nullable: true required: - code_of_conduct @@ -63449,8 +63718,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *324 - *325 + - *326 - *20 - *18 - name: basehead @@ -63493,8 +63762,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *440 - merge_base_commit: *440 + base_commit: *441 + merge_base_commit: *441 status: type: string enum: @@ -63514,10 +63783,10 @@ paths: example: 6 commits: type: array - items: *440 + items: *441 files: type: array - items: *455 + items: *456 required: - url - html_url @@ -63761,7 +64030,7 @@ paths: module Test" '404': *7 '500': *84 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63803,8 +64072,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *324 - *325 + - *326 - name: path description: path parameter in: path @@ -63945,7 +64214,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &456 + response-if-content-is-a-file: &457 summary: Response if content is a file value: type: file @@ -64077,7 +64346,7 @@ paths: - size - type - url - - &561 + - &562 title: Content File description: Content File type: object @@ -64278,7 +64547,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *456 + response-if-content-is-a-file: *457 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -64347,7 +64616,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *7 '403': *29 - '302': *457 + '302': *458 '304': *37 x-github: githubCloudOnly: false @@ -64370,8 +64639,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *324 - *325 + - *326 - name: path description: path parameter in: path @@ -64464,7 +64733,7 @@ paths: description: Response content: application/json: - schema: &458 + schema: &459 title: File Commit description: File Commit type: object @@ -64616,7 +64885,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: example-for-creating-a-file: value: @@ -64670,7 +64939,7 @@ paths: schema: oneOf: - *3 - - &487 + - &488 description: Repository rule violation was detected type: object properties: @@ -64691,7 +64960,7 @@ paths: items: type: object properties: - placeholder_id: &603 + placeholder_id: &604 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -64723,8 +64992,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *324 - *325 + - *326 - name: path description: path parameter in: path @@ -64785,7 +65054,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: default: value: @@ -64819,8 +65088,8 @@ paths: verified_at: '422': *16 '404': *7 - '409': *146 - '503': *96 + '409': *150 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64840,8 +65109,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *324 - *325 + - *326 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -64964,20 +65233,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *324 - *325 - - *200 - - *201 - - *202 - - *203 + - *326 + - *205 + - *206 + - *207 + - *208 - 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 - - *204 - - *205 + - *209 + - *210 - *78 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -64997,8 +65266,8 @@ paths: default: 30 - *76 - *77 - - *206 - - *207 + - *211 + - *212 responses: '200': description: Response @@ -65006,7 +65275,7 @@ paths: application/json: schema: type: array - items: &461 + items: &462 type: object description: A Dependabot alert. properties: @@ -65039,7 +65308,7 @@ paths: enum: - development - runtime - security_advisory: *459 + security_advisory: *460 security_vulnerability: *88 url: *89 html_url: *90 @@ -65070,7 +65339,7 @@ paths: nullable: true maxLength: 280 fixed_at: *94 - auto_dismissed_at: *460 + auto_dismissed_at: *461 required: - number - state @@ -65297,9 +65566,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *324 - *325 - - &462 + - *326 + - &463 name: alert_number in: path description: |- @@ -65314,7 +65583,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *462 examples: default: value: @@ -65424,9 +65693,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *324 - *325 - - *462 + - *326 + - *463 requestBody: required: true content: @@ -65471,7 +65740,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *462 examples: default: value: @@ -65577,7 +65846,7 @@ paths: '400': *15 '403': *29 '404': *7 - '409': *146 + '409': *150 '422': *8 x-github: githubCloudOnly: false @@ -65600,8 +65869,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -65619,7 +65888,7 @@ paths: type: integer secrets: type: array - items: &465 + items: &466 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -65672,16 +65941,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *463 + schema: *464 examples: - default: *464 + default: *465 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65701,15 +65970,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *324 - *325 - - *169 + - *326 + - *173 responses: '200': description: Response content: application/json: - schema: *465 + schema: *466 examples: default: value: @@ -65735,9 +66004,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *324 - *325 - - *169 + - *326 + - *173 requestBody: required: true content: @@ -65765,7 +66034,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -65789,9 +66058,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *324 - *325 - - *169 + - *326 + - *173 responses: '204': description: Response @@ -65813,8 +66082,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: - - *324 - *325 + - *326 - 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 @@ -65974,8 +66243,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: - - *324 - *325 + - *326 responses: '200': description: Response @@ -66214,8 +66483,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -66290,7 +66559,7 @@ paths: - version - url additionalProperties: false - metadata: &466 + metadata: &467 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -66323,7 +66592,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *466 + metadata: *467 resolved: type: object description: A collection of resolved package dependencies. @@ -66336,7 +66605,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *466 + metadata: *467 relationship: type: string description: A notation of whether a dependency is requested @@ -66465,8 +66734,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *324 - *325 + - *326 - name: sha description: The SHA recorded at creation time. in: query @@ -66506,9 +66775,9 @@ paths: application/json: schema: type: array - items: *467 + items: *468 examples: - default: *468 + default: *469 headers: Link: *39 x-github: @@ -66574,8 +66843,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -66656,7 +66925,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *468 examples: simple-example: summary: Simple example @@ -66729,9 +66998,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *324 - *325 - - &469 + - *326 + - &470 name: deployment_id description: deployment_id parameter in: path @@ -66743,7 +67012,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *468 examples: default: value: @@ -66808,9 +67077,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *324 - *325 - - *469 + - *326 + - *470 responses: '204': description: Response @@ -66832,9 +67101,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *324 - *325 - - *469 + - *326 + - *470 - *18 - *20 responses: @@ -66844,7 +67113,7 @@ paths: application/json: schema: type: array - items: &470 + items: &471 title: Deployment Status description: The status of a deployment. type: object @@ -66935,8 +67204,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 required: - id - node_id @@ -67005,9 +67274,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *324 - *325 - - *469 + - *326 + - *470 requestBody: required: true content: @@ -67082,9 +67351,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *471 examples: - default: &471 + default: &472 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -67140,9 +67409,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *324 - *325 - - *469 + - *326 + - *470 - name: status_id in: path required: true @@ -67153,9 +67422,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *471 examples: - default: *471 + default: *472 '404': *7 x-github: githubCloudOnly: false @@ -67180,8 +67449,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -67238,8 +67507,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -67256,7 +67525,7 @@ paths: type: integer environments: type: array - items: &473 + items: &474 title: Environment description: Details of a deployment environment type: object @@ -67308,7 +67577,7 @@ paths: type: type: string example: wait_timer - wait_timer: &475 + wait_timer: &476 type: integer example: 30 description: The amount of time to delay a job after @@ -67345,11 +67614,11 @@ paths: items: type: object properties: - type: *472 + type: *473 reviewer: anyOf: - *19 - - *238 + - *243 required: - id - node_id @@ -67369,7 +67638,7 @@ paths: - id - node_id - type - deployment_branch_policy: &476 + deployment_branch_policy: &477 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -67485,9 +67754,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *324 - *325 - - &474 + - *326 + - &475 name: environment_name in: path required: true @@ -67500,9 +67769,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *474 examples: - default: &477 + default: &478 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -67586,9 +67855,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *324 - *325 - - *474 + - *326 + - *475 requestBody: required: false content: @@ -67597,7 +67866,7 @@ paths: type: object nullable: true properties: - wait_timer: *475 + wait_timer: *476 prevent_self_review: type: boolean example: false @@ -67614,13 +67883,13 @@ paths: items: type: object properties: - type: *472 + type: *473 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *476 + deployment_branch_policy: *477 additionalProperties: false examples: default: @@ -67640,9 +67909,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *474 examples: - default: *477 + default: *478 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -67666,9 +67935,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *324 - *325 - - *474 + - *326 + - *475 responses: '204': description: Default response @@ -67693,9 +67962,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *324 - *325 - - *474 + - *326 + - *475 - *18 - *20 responses: @@ -67713,7 +67982,7 @@ paths: example: 2 branch_policies: type: array - items: &478 + items: &479 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -67770,9 +68039,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *324 - *325 - - *474 + - *326 + - *475 requestBody: required: true content: @@ -67818,9 +68087,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *479 examples: - example-wildcard: &479 + example-wildcard: &480 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -67862,10 +68131,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *324 - *325 - - *474 - - &480 + - *326 + - *475 + - &481 name: branch_policy_id in: path required: true @@ -67877,9 +68146,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *479 examples: - default: *479 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67898,10 +68167,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *324 - *325 - - *474 - - *480 + - *326 + - *475 + - *481 requestBody: required: true content: @@ -67929,9 +68198,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *479 examples: - default: *479 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67950,10 +68219,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *324 - *325 - - *474 - - *480 + - *326 + - *475 + - *481 responses: '204': description: Response @@ -67978,9 +68247,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: - - *474 + - *475 + - *326 - *325 - - *324 responses: '200': description: List of deployment protection rules @@ -67996,7 +68265,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &481 + items: &482 title: Deployment protection rule description: Deployment protection rule type: object @@ -68015,7 +68284,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &482 + app: &483 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -68114,9 +68383,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: - - *474 + - *475 + - *326 - *325 - - *324 requestBody: content: application/json: @@ -68137,9 +68406,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *481 + schema: *482 examples: - default: &483 + default: &484 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -68174,9 +68443,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: - - *474 + - *475 + - *326 - *325 - - *324 - *20 - *18 responses: @@ -68195,7 +68464,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *482 + items: *483 examples: default: value: @@ -68230,10 +68499,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: - - *324 - *325 - - *474 - - &484 + - *326 + - *475 + - &485 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -68245,9 +68514,9 @@ paths: description: Response content: application/json: - schema: *481 + schema: *482 examples: - default: *483 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68268,10 +68537,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: - - *474 + - *475 + - *326 - *325 - - *324 - - *484 + - *485 responses: '204': description: Response @@ -68297,9 +68566,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *324 - *325 - - *474 + - *326 + - *475 - *18 - *20 responses: @@ -68317,9 +68586,9 @@ paths: type: integer secrets: type: array - items: *361 + items: *362 examples: - default: *362 + default: *363 headers: Link: *39 x-github: @@ -68344,17 +68613,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *324 - *325 - - *474 + - *326 + - *475 responses: '200': description: Response content: application/json: - schema: *363 + schema: *364 examples: - default: *364 + default: *365 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68376,18 +68645,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *324 - *325 - - *474 - - *169 + - *326 + - *475 + - *173 responses: '200': description: Response content: application/json: - schema: *361 + schema: *362 examples: - default: *485 + default: *486 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68409,10 +68678,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *324 - *325 - - *474 - - *169 + - *326 + - *475 + - *173 requestBody: required: true content: @@ -68443,7 +68712,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -68469,10 +68738,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *324 - *325 - - *474 - - *169 + - *326 + - *475 + - *173 responses: '204': description: Default response @@ -68497,10 +68766,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *324 - *325 - - *474 - - *348 + - *326 + - *475 + - *349 - *20 responses: '200': @@ -68517,9 +68786,9 @@ paths: type: integer variables: type: array - items: *365 + items: *366 examples: - default: *366 + default: *367 headers: Link: *39 x-github: @@ -68542,9 +68811,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *324 - *325 - - *474 + - *326 + - *475 requestBody: required: true content: @@ -68571,7 +68840,7 @@ paths: description: Response content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -68596,18 +68865,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *324 - *325 - - *474 - - *172 + - *326 + - *475 + - *176 responses: '200': description: Response content: application/json: - schema: *365 + schema: *366 examples: - default: *486 + default: *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68628,10 +68897,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *324 - *325 - - *172 - - *474 + - *326 + - *176 + - *475 requestBody: required: true content: @@ -68673,10 +68942,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *324 - *325 - - *172 - - *474 + - *326 + - *176 + - *475 responses: '204': description: Response @@ -68698,8 +68967,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -68709,7 +68978,7 @@ paths: application/json: schema: type: array - items: *130 + items: *134 examples: 200-response: value: @@ -68776,8 +69045,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *324 - *325 + - *326 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -68799,7 +69068,7 @@ paths: application/json: schema: type: array - items: *159 + items: *163 examples: default: value: @@ -68936,8 +69205,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -68969,9 +69238,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *338 examples: - default: *339 + default: *340 '400': *15 '422': *16 '403': *29 @@ -68992,8 +69261,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -69044,7 +69313,7 @@ paths: schema: type: string '404': *7 - '409': *146 + '409': *150 '403': *29 '422': description: Validation failed @@ -69052,8 +69321,8 @@ paths: application/json: schema: oneOf: - - *144 - - *487 + - *148 + - *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69078,8 +69347,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *324 - *325 + - *326 - name: file_sha in: path required: true @@ -69130,7 +69399,7 @@ paths: '404': *7 '422': *16 '403': *29 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69178,8 +69447,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -69288,7 +69557,7 @@ paths: description: Response content: application/json: - schema: &488 + schema: &489 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -69451,7 +69720,7 @@ paths: type: string '422': *16 '404': *7 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69501,15 +69770,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *324 - *325 - - *441 + - *326 + - *442 responses: '200': description: Response content: application/json: - schema: *488 + schema: *489 examples: default: value: @@ -69540,7 +69809,7 @@ paths: payload: verified_at: '404': *7 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69565,9 +69834,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *324 - *325 - - &489 + - *326 + - &490 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. @@ -69584,7 +69853,7 @@ paths: application/json: schema: type: array - items: &490 + items: &491 title: Git Reference description: Git references within a repository type: object @@ -69638,7 +69907,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: Link: *39 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69659,17 +69928,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *324 - *325 - - *489 + - *326 + - *490 responses: '200': description: Response content: application/json: - schema: *490 + schema: *491 examples: - default: &491 + default: &492 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -69679,7 +69948,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *7 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69698,8 +69967,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -69728,16 +69997,16 @@ paths: description: Response content: application/json: - schema: *490 + schema: *491 examples: - default: *491 + default: *492 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA schema: type: string '422': *16 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69756,9 +70025,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *324 - *325 - - *489 + - *326 + - *490 requestBody: required: true content: @@ -69787,11 +70056,11 @@ paths: description: Response content: application/json: - schema: *490 + schema: *491 examples: - default: *491 + default: *492 '422': *16 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69807,14 +70076,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *324 - *325 - - *489 + - *326 + - *490 responses: '204': description: Response '422': *16 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69862,8 +70131,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -69930,7 +70199,7 @@ paths: description: Response content: application/json: - schema: &493 + schema: &494 title: Git Tag description: Metadata for a Git tag type: object @@ -69981,7 +70250,7 @@ paths: - sha - type - url - verification: *492 + verification: *493 required: - sha - url @@ -69991,7 +70260,7 @@ paths: - tag - message examples: - default: &494 + default: &495 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -70018,7 +70287,7 @@ paths: schema: type: string '422': *16 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70064,8 +70333,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *324 - *325 + - *326 - name: tag_sha in: path required: true @@ -70076,11 +70345,11 @@ paths: description: Response content: application/json: - schema: *493 + schema: *494 examples: - default: *494 + default: *495 '404': *7 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70102,8 +70371,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -70176,7 +70445,7 @@ paths: description: Response content: application/json: - schema: &495 + schema: &496 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -70265,7 +70534,7 @@ paths: '422': *16 '404': *7 '403': *29 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70288,8 +70557,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *324 - *325 + - *326 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -70312,7 +70581,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *496 examples: default-response: summary: Default response @@ -70353,7 +70622,7 @@ paths: truncated: false '422': *16 '404': *7 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70371,8 +70640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -70382,7 +70651,7 @@ paths: application/json: schema: type: array - items: &496 + items: &497 title: Webhook description: Webhooks for repositories. type: object @@ -70436,7 +70705,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &741 + last_response: &742 title: Hook Response type: object properties: @@ -70510,8 +70779,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -70563,9 +70832,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *497 examples: - default: &497 + default: &498 value: type: Repository id: 12345678 @@ -70613,17 +70882,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *324 - *325 - - *215 + - *326 + - *220 responses: '200': description: Response content: application/json: - schema: *496 + schema: *497 examples: - default: *497 + default: *498 '404': *7 x-github: githubCloudOnly: false @@ -70643,9 +70912,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *324 - *325 - - *215 + - *326 + - *220 requestBody: required: true content: @@ -70690,9 +70959,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *497 examples: - default: *497 + default: *498 '422': *16 '404': *7 x-github: @@ -70713,9 +70982,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *324 - *325 - - *215 + - *326 + - *220 responses: '204': description: Response @@ -70739,9 +71008,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: - - *324 - *325 - - *215 + - *326 + - *220 responses: '200': description: Response @@ -70768,9 +71037,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: - - *324 - *325 - - *215 + - *326 + - *220 requestBody: required: false content: @@ -70814,11 +71083,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *324 - *325 - - *215 + - *326 + - *220 - *18 - - *216 + - *221 responses: '200': description: Response @@ -70826,9 +71095,9 @@ paths: application/json: schema: type: array - items: *217 + items: *222 examples: - default: *218 + default: *223 '400': *15 '422': *16 x-github: @@ -70847,18 +71116,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: - - *324 - *325 - - *215 + - *326 + - *220 - *17 responses: '200': description: Response content: application/json: - schema: *219 + schema: *224 examples: - default: *220 + default: *225 '400': *15 '422': *16 x-github: @@ -70877,12 +71146,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: - - *324 - *325 - - *215 + - *326 + - *220 - *17 responses: - '202': *147 + '202': *151 '400': *15 '422': *16 x-github: @@ -70902,9 +71171,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *324 - *325 - - *215 + - *326 + - *220 responses: '204': description: Response @@ -70929,9 +71198,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *324 - *325 - - *215 + - *326 + - *220 responses: '204': description: Response @@ -70989,14 +71258,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &498 + schema: &499 title: Import description: A repository import from an external source. type: object @@ -71095,7 +71364,7 @@ paths: - html_url - authors_url examples: - default: &501 + default: &502 value: vcs: subversion use_lfs: true @@ -71111,7 +71380,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *7 - '503': &499 + '503': &500 description: Unavailable due to service under maintenance. content: application/json: @@ -71140,8 +71409,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -71189,7 +71458,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *499 examples: default: value: @@ -71214,7 +71483,7 @@ paths: type: string '422': *16 '404': *7 - '503': *499 + '503': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71242,8 +71511,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -71292,7 +71561,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *499 examples: example-1: summary: Example 1 @@ -71340,7 +71609,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': *499 + '503': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71363,12 +71632,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *324 - *325 + - *326 responses: '204': description: Response - '503': *499 + '503': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71394,9 +71663,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *324 - *325 - - &687 + - *326 + - &688 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -71410,7 +71679,7 @@ paths: application/json: schema: type: array - items: &500 + items: &501 title: Porter Author description: Porter Author type: object @@ -71464,7 +71733,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *7 - '503': *499 + '503': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71489,8 +71758,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *324 - *325 + - *326 - name: author_id in: path required: true @@ -71520,7 +71789,7 @@ paths: description: Response content: application/json: - schema: *500 + schema: *501 examples: default: value: @@ -71533,7 +71802,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *16 '404': *7 - '503': *499 + '503': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71557,8 +71826,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -71599,7 +71868,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *499 + '503': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71627,8 +71896,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -71655,11 +71924,11 @@ paths: description: Response content: application/json: - schema: *498 + schema: *499 examples: - default: *501 + default: *502 '422': *16 - '503': *499 + '503': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71682,8 +71951,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: - - *324 - *325 + - *326 responses: '200': description: Response @@ -71691,8 +71960,8 @@ paths: application/json: schema: *22 examples: - default: *502 - '301': *338 + default: *503 + '301': *339 '404': *7 x-github: githubCloudOnly: false @@ -71712,8 +71981,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -71721,12 +71990,12 @@ paths: application/json: schema: anyOf: - - *233 + - *238 - type: object properties: {} additionalProperties: false examples: - default: &504 + default: &505 value: limit: collaborators_only origin: repository @@ -71751,13 +72020,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: application/json: - schema: *503 + schema: *504 examples: default: summary: Example request body @@ -71769,9 +72038,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *238 examples: - default: *504 + default: *505 '409': description: Response x-github: @@ -71793,8 +72062,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -71817,8 +72086,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -71828,9 +72097,9 @@ paths: application/json: schema: type: array - items: *505 + items: *506 examples: - default: &680 + default: &681 value: - id: 1 repository: @@ -71961,9 +72230,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *324 - *325 - - *237 + - *326 + - *242 requestBody: required: false content: @@ -71992,7 +72261,7 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: default: value: @@ -72123,9 +72392,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *324 - *325 - - *237 + - *326 + - *242 responses: '204': description: Response @@ -72156,8 +72425,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *324 - *325 + - *326 - 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 @@ -72197,7 +72466,7 @@ paths: required: false schema: type: string - - *239 + - *244 - name: sort description: What to sort results by. in: query @@ -72210,7 +72479,7 @@ paths: - comments default: created - *78 - - *108 + - *112 - *18 - *20 responses: @@ -72220,9 +72489,9 @@ paths: application/json: schema: type: array - items: *118 + items: *122 examples: - default: &516 + default: &517 value: - id: 1 node_id: MDU6SXNzdWUx @@ -72370,7 +72639,7 @@ paths: state_reason: completed headers: Link: *39 - '301': *338 + '301': *339 '422': *16 '404': *7 x-github: @@ -72399,8 +72668,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -72475,9 +72744,9 @@ paths: description: Response content: application/json: - schema: *118 + schema: *122 examples: - default: &511 + default: &512 value: id: 1 node_id: MDU6SXNzdWUx @@ -72631,9 +72900,9 @@ paths: '400': *15 '403': *29 '422': *16 - '503': *96 + '503': *100 '404': *7 - '410': *335 + '410': *336 x-github: triggersNotification: true githubCloudOnly: false @@ -72661,9 +72930,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *324 - *325 - - *128 + - *326 + - *132 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -72673,7 +72942,7 @@ paths: enum: - asc - desc - - *108 + - *112 - *18 - *20 responses: @@ -72683,9 +72952,9 @@ paths: application/json: schema: type: array - items: *506 + items: *507 examples: - default: &513 + default: &514 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -72743,17 +73012,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *324 - *325 - - *117 + - *326 + - *121 responses: '200': description: Response content: application/json: - schema: *506 + schema: *507 examples: - default: &507 + default: &508 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -72807,9 +73076,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *324 - *325 - - *117 + - *326 + - *121 requestBody: required: true content: @@ -72831,9 +73100,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *507 examples: - default: *507 + default: *508 '422': *16 x-github: githubCloudOnly: false @@ -72851,9 +73120,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *324 - *325 - - *117 + - *326 + - *121 responses: '204': description: Response @@ -72873,9 +73142,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *324 - *325 - - *117 + - *326 + - *121 - 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. @@ -72901,9 +73170,9 @@ paths: application/json: schema: type: array - items: *313 + items: *314 examples: - default: *315 + default: *316 headers: Link: *39 '404': *7 @@ -72924,9 +73193,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *324 - *325 - - *117 + - *326 + - *121 requestBody: required: true content: @@ -72958,16 +73227,16 @@ paths: description: Reaction exists content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 '201': description: Reaction created content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 '422': *16 x-github: githubCloudOnly: false @@ -72989,10 +73258,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *324 - *325 - - *117 - - *316 + - *326 + - *121 + - *317 responses: '204': description: Response @@ -73012,8 +73281,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -73023,7 +73292,7 @@ paths: application/json: schema: type: array - items: &510 + items: &511 title: Issue Event description: Issue Event type: object @@ -73066,8 +73335,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *508 - required: *509 + properties: *509 + required: *510 nullable: true label: title: Issue Event Label @@ -73111,7 +73380,7 @@ paths: properties: *4 required: *5 nullable: true - requested_team: *238 + requested_team: *243 dismissed_review: title: Issue Event Dismissed Review type: object @@ -73176,7 +73445,7 @@ paths: required: - from - to - author_association: *105 + author_association: *109 lock_reason: type: string nullable: true @@ -73189,8 +73458,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 required: - id - node_id @@ -73374,8 +73643,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *324 - *325 + - *326 - name: event_id in: path required: true @@ -73386,7 +73655,7 @@ paths: description: Response content: application/json: - schema: *510 + schema: *511 examples: default: value: @@ -73579,7 +73848,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *7 - '410': *335 + '410': *336 '403': *29 x-github: githubCloudOnly: false @@ -73613,9 +73882,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *324 - *325 - - &512 + - *326 + - &513 name: issue_number description: The number that identifies the issue. in: path @@ -73627,12 +73896,12 @@ paths: description: Response content: application/json: - schema: *118 + schema: *122 examples: - default: *511 - '301': *338 + default: *512 + '301': *339 '404': *7 - '410': *335 + '410': *336 '304': *37 x-github: githubCloudOnly: false @@ -73657,9 +73926,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *324 - *325 - - *512 + - *326 + - *513 requestBody: required: false content: @@ -73754,15 +74023,15 @@ paths: description: Response content: application/json: - schema: *118 + schema: *122 examples: - default: *511 + default: *512 '422': *16 - '503': *96 + '503': *100 '403': *29 - '301': *338 + '301': *339 '404': *7 - '410': *335 + '410': *336 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73780,9 +74049,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *324 - *325 - - *512 + - *326 + - *513 requestBody: required: false content: @@ -73808,9 +74077,9 @@ paths: description: Response content: application/json: - schema: *118 + schema: *122 examples: - default: *511 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73826,9 +74095,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *324 - *325 - - *512 + - *326 + - *513 requestBody: content: application/json: @@ -73853,9 +74122,9 @@ paths: description: Response content: application/json: - schema: *118 + schema: *122 examples: - default: *511 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73877,9 +74146,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: - - *324 - *325 - - *512 + - *326 + - *513 - name: assignee in: path required: true @@ -73919,10 +74188,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *324 - *325 - - *512 - - *108 + - *326 + - *513 + - *112 - *18 - *20 responses: @@ -73932,13 +74201,13 @@ paths: application/json: schema: type: array - items: *506 + items: *507 examples: - default: *513 + default: *514 headers: Link: *39 '404': *7 - '410': *335 + '410': *336 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73967,9 +74236,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *324 - *325 - - *512 + - *326 + - *513 requestBody: required: true content: @@ -73991,16 +74260,16 @@ paths: description: Response content: application/json: - schema: *506 + schema: *507 examples: - default: *507 + default: *508 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *335 + '410': *336 '422': *16 '404': *7 x-github: @@ -74020,9 +74289,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *324 - *325 - - *512 + - *326 + - *513 - *18 - *20 responses: @@ -74036,7 +74305,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &517 + - &518 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -74067,8 +74336,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 label: type: object properties: @@ -74090,7 +74359,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &518 + - &519 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -74121,8 +74390,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 label: type: object properties: @@ -74210,8 +74479,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 assignee: *19 assigner: *19 required: @@ -74226,7 +74495,7 @@ paths: - performed_via_github_app - assignee - assigner - - &519 + - &520 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -74257,8 +74526,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 milestone: type: object properties: @@ -74277,7 +74546,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &520 + - &521 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -74308,8 +74577,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 milestone: type: object properties: @@ -74328,7 +74597,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &521 + - &522 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -74359,8 +74628,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 rename: type: object properties: @@ -74382,7 +74651,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &522 + - &523 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -74413,10 +74682,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 review_requester: *19 - requested_team: *238 + requested_team: *243 requested_reviewer: *19 required: - review_requester @@ -74429,7 +74698,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &523 + - &524 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -74460,10 +74729,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 review_requester: *19 - requested_team: *238 + requested_team: *243 requested_reviewer: *19 required: - review_requester @@ -74476,7 +74745,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &524 + - &525 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -74507,8 +74776,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 dismissed_review: type: object properties: @@ -74536,7 +74805,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &525 + - &526 title: Locked Issue Event description: Locked Issue Event type: object @@ -74567,8 +74836,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 lock_reason: type: string example: '"off-topic"' @@ -74584,7 +74853,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &526 + - &527 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -74615,8 +74884,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 project_card: type: object properties: @@ -74650,7 +74919,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &527 + - &528 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -74681,8 +74950,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 project_card: type: object properties: @@ -74716,7 +74985,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &528 + - &529 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -74747,8 +75016,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 project_card: type: object properties: @@ -74782,7 +75051,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &529 + - &530 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -74873,7 +75142,7 @@ paths: color: red headers: Link: *39 - '410': *335 + '410': *336 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74890,9 +75159,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *324 - *325 - - *512 + - *326 + - *513 - *18 - *20 responses: @@ -74902,7 +75171,7 @@ paths: application/json: schema: type: array - items: &514 + items: &515 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -74949,7 +75218,7 @@ paths: - color - default examples: - default: &515 + default: &516 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -74967,9 +75236,9 @@ paths: default: false headers: Link: *39 - '301': *338 + '301': *339 '404': *7 - '410': *335 + '410': *336 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74986,9 +75255,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *324 - *325 - - *512 + - *326 + - *513 requestBody: required: false content: @@ -75047,12 +75316,12 @@ paths: application/json: schema: type: array - items: *514 + items: *515 examples: - default: *515 - '301': *338 + default: *516 + '301': *339 '404': *7 - '410': *335 + '410': *336 '422': *16 x-github: githubCloudOnly: false @@ -75069,9 +75338,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *324 - *325 - - *512 + - *326 + - *513 requestBody: required: false content: @@ -75131,12 +75400,12 @@ paths: application/json: schema: type: array - items: *514 + items: *515 examples: - default: *515 - '301': *338 + default: *516 + '301': *339 '404': *7 - '410': *335 + '410': *336 '422': *16 x-github: githubCloudOnly: false @@ -75153,15 +75422,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *324 - *325 - - *512 + - *326 + - *513 responses: '204': description: Response - '301': *338 + '301': *339 '404': *7 - '410': *335 + '410': *336 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75180,9 +75449,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *324 - *325 - - *512 + - *326 + - *513 - name: name in: path required: true @@ -75195,7 +75464,7 @@ paths: application/json: schema: type: array - items: *514 + items: *515 examples: default: value: @@ -75206,9 +75475,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *338 + '301': *339 '404': *7 - '410': *335 + '410': *336 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75228,9 +75497,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *324 - *325 - - *512 + - *326 + - *513 requestBody: required: false content: @@ -75258,7 +75527,7 @@ paths: '204': description: Response '403': *29 - '410': *335 + '410': *336 '404': *7 '422': *16 x-github: @@ -75276,9 +75545,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *324 - *325 - - *512 + - *326 + - *513 responses: '204': description: Response @@ -75300,9 +75569,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *324 - *325 - - *512 + - *326 + - *513 - 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. @@ -75328,13 +75597,13 @@ paths: application/json: schema: type: array - items: *313 + items: *314 examples: - default: *315 + default: *316 headers: Link: *39 '404': *7 - '410': *335 + '410': *336 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75352,9 +75621,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *324 - *325 - - *512 + - *326 + - *513 requestBody: required: true content: @@ -75386,16 +75655,16 @@ paths: description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 '201': description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 '422': *16 x-github: githubCloudOnly: false @@ -75417,10 +75686,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *324 - *325 - - *512 - - *316 + - *326 + - *513 + - *317 responses: '204': description: Response @@ -75449,9 +75718,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *324 - *325 - - *512 + - *326 + - *513 requestBody: required: true content: @@ -75473,9 +75742,9 @@ paths: description: Response content: application/json: - schema: *118 + schema: *122 examples: - default: *511 + default: *512 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -75508,9 +75777,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *324 - *325 - - *512 + - *326 + - *513 - *18 - *20 responses: @@ -75520,13 +75789,13 @@ paths: application/json: schema: type: array - items: *118 + items: *122 examples: - default: *516 + default: *517 headers: Link: *39 '404': *7 - '410': *335 + '410': *336 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75554,9 +75823,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *324 - *325 - - *512 + - *326 + - *513 requestBody: required: true content: @@ -75582,16 +75851,16 @@ paths: description: Response content: application/json: - schema: *118 + schema: *122 examples: - default: *511 + default: *512 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *335 + '410': *336 '422': *16 '404': *7 x-github: @@ -75611,9 +75880,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *324 - *325 - - *512 + - *326 + - *513 requestBody: required: true content: @@ -75644,13 +75913,13 @@ paths: description: Response content: application/json: - schema: *118 + schema: *122 examples: - default: *511 + default: *512 '403': *29 '404': *7 '422': *8 - '503': *96 + '503': *100 x-github: triggersNotification: true githubCloudOnly: false @@ -75668,9 +75937,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *324 - *325 - - *512 + - *326 + - *513 - *18 - *20 responses: @@ -75685,7 +75954,6 @@ paths: description: Timeline Event type: object anyOf: - - *517 - *518 - *519 - *520 @@ -75698,6 +75966,7 @@ paths: - *527 - *528 - *529 + - *530 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -75740,7 +76009,7 @@ paths: issue_url: type: string format: uri - author_association: *105 + author_association: *109 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -75750,9 +76019,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 - reactions: *106 + properties: *107 + required: *108 + reactions: *110 required: - event - actor @@ -75783,7 +76052,7 @@ paths: properties: type: type: string - issue: *118 + issue: *122 required: - event - created_at @@ -75978,7 +76247,7 @@ paths: type: string body_text: type: string - author_association: *105 + author_association: *109 required: - event - id @@ -76001,7 +76270,7 @@ paths: type: string comments: type: array - items: &550 + items: &551 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -76090,7 +76359,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *105 + author_association: *109 _links: type: object properties: @@ -76174,7 +76443,7 @@ paths: enum: - line - file - reactions: *106 + reactions: *110 body_html: type: string example: '"

comment body

"' @@ -76210,7 +76479,7 @@ paths: type: string comments: type: array - items: *439 + items: *440 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -76241,8 +76510,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 assignee: *19 required: - id @@ -76285,8 +76554,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 assignee: *19 required: - id @@ -76329,8 +76598,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 state_reason: type: string nullable: true @@ -76499,7 +76768,7 @@ paths: headers: Link: *39 '404': *7 - '410': *335 + '410': *336 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76516,8 +76785,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -76527,7 +76796,7 @@ paths: application/json: schema: type: array - items: &530 + items: &531 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -76592,8 +76861,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -76629,9 +76898,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *531 examples: - default: &531 + default: &532 value: id: 1 key: ssh-rsa AAA... @@ -76665,9 +76934,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *324 - *325 - - &532 + - *326 + - &533 name: key_id description: The unique identifier of the key. in: path @@ -76679,9 +76948,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *531 examples: - default: *531 + default: *532 '404': *7 x-github: githubCloudOnly: false @@ -76699,9 +76968,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *324 - *325 - - *532 + - *326 + - *533 responses: '204': description: Response @@ -76721,8 +76990,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -76732,9 +77001,9 @@ paths: application/json: schema: type: array - items: *514 + items: *515 examples: - default: *515 + default: *516 headers: Link: *39 '404': *7 @@ -76755,8 +77024,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -76792,9 +77061,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *515 examples: - default: &533 + default: &534 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -76826,8 +77095,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *324 - *325 + - *326 - name: name in: path required: true @@ -76838,9 +77107,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *515 examples: - default: *533 + default: *534 '404': *7 x-github: githubCloudOnly: false @@ -76857,8 +77126,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *324 - *325 + - *326 - name: name in: path required: true @@ -76897,7 +77166,7 @@ paths: description: Response content: application/json: - schema: *514 + schema: *515 examples: default: value: @@ -76923,8 +77192,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *324 - *325 + - *326 - name: name in: path required: true @@ -76950,8 +77219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -76987,10 +77256,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *324 - *325 + - *326 responses: - '202': *147 + '202': *151 '403': description: |- We will return a 403 with one of the following messages: @@ -77016,8 +77285,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -77043,9 +77312,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *324 - *325 - - *414 + - *326 + - *415 responses: '200': description: Response @@ -77107,8 +77376,8 @@ paths: title: License Simple description: License Simple type: object - properties: *119 - required: *120 + properties: *123 + required: *124 nullable: true required: - _links @@ -77190,8 +77459,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -77256,8 +77525,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -77291,9 +77560,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *440 + schema: *441 examples: - default: *534 + default: *535 '204': description: Response when already merged '404': @@ -77318,8 +77587,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *324 - *325 + - *326 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -77360,12 +77629,12 @@ paths: application/json: schema: type: array - items: &535 + items: &536 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *444 - required: *445 + properties: *445 + required: *446 examples: default: value: @@ -77421,8 +77690,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -77462,9 +77731,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *536 examples: - default: &536 + default: &537 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -77523,9 +77792,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *324 - *325 - - &537 + - *326 + - &538 name: milestone_number description: The number that identifies the milestone. in: path @@ -77537,9 +77806,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *536 examples: - default: *536 + default: *537 '404': *7 x-github: githubCloudOnly: false @@ -77556,9 +77825,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *324 - *325 - - *537 + - *326 + - *538 requestBody: required: false content: @@ -77596,9 +77865,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *536 examples: - default: *536 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77614,9 +77883,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *324 - *325 - - *537 + - *326 + - *538 responses: '204': description: Response @@ -77637,9 +77906,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: - - *324 - *325 - - *537 + - *326 + - *538 - *18 - *20 responses: @@ -77649,9 +77918,9 @@ paths: application/json: schema: type: array - items: *514 + items: *515 examples: - default: *515 + default: *516 headers: Link: *39 x-github: @@ -77670,12 +77939,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: - - *324 - *325 - - *538 + - *326 - *539 - - *108 - *540 + - *112 + - *541 - *18 - *20 responses: @@ -77685,9 +77954,9 @@ paths: application/json: schema: type: array - items: *131 + items: *135 examples: - default: *541 + default: *542 headers: Link: *39 x-github: @@ -77711,8 +77980,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -77770,14 +78039,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &542 + schema: &543 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -77902,7 +78171,7 @@ paths: - custom_404 - public examples: - default: &543 + default: &544 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -77943,8 +78212,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -77998,11 +78267,11 @@ paths: description: Response content: application/json: - schema: *542 + schema: *543 examples: - default: *543 + default: *544 '422': *16 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78023,8 +78292,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -78110,7 +78379,7 @@ paths: description: Response '422': *16 '400': *15 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78131,14 +78400,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *324 - *325 + - *326 responses: '204': description: Response '422': *16 '404': *7 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78158,8 +78427,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -78169,7 +78438,7 @@ paths: application/json: schema: type: array - items: &544 + items: &545 title: Page Build description: Page Build type: object @@ -78263,8 +78532,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *324 - *325 + - *326 responses: '201': description: Response @@ -78309,16 +78578,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *544 + schema: *545 examples: - default: &545 + default: &546 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -78366,8 +78635,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *324 - *325 + - *326 - name: build_id in: path required: true @@ -78378,9 +78647,9 @@ paths: description: Response content: application/json: - schema: *544 + schema: *545 examples: - default: *545 + default: *546 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78400,8 +78669,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -78507,9 +78776,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: - - *324 - *325 - - &546 + - *326 + - &547 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -78567,11 +78836,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *324 - *325 - - *546 + - *326 + - *547 responses: - '204': *190 + '204': *192 '404': *7 x-github: githubCloudOnly: false @@ -78596,8 +78865,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: - - *324 - *325 + - *326 responses: '200': description: Response @@ -78828,7 +79097,7 @@ paths: description: Empty response content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -78855,8 +79124,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: - - *324 - *325 + - *326 responses: '200': description: Private vulnerability reporting status @@ -78893,10 +79162,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: - - *324 - *325 + - *326 responses: - '204': *190 + '204': *192 '422': *15 x-github: githubCloudOnly: false @@ -78915,10 +79184,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: - - *324 - *325 + - *326 responses: - '204': *190 + '204': *192 '422': *15 x-github: githubCloudOnly: false @@ -78939,8 +79208,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *324 - *325 + - *326 - name: state description: Indicates the state of the projects to return. in: query @@ -78961,7 +79230,7 @@ paths: application/json: schema: type: array - items: *267 + items: *272 examples: default: value: @@ -79001,7 +79270,7 @@ paths: '401': *25 '403': *29 '404': *7 - '410': *335 + '410': *336 '422': *8 x-github: githubCloudOnly: false @@ -79021,8 +79290,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -79048,13 +79317,13 @@ paths: description: Response content: application/json: - schema: *267 + schema: *272 examples: - default: *334 + default: *335 '401': *25 '403': *29 '404': *7 - '410': *335 + '410': *336 '422': *8 x-github: githubCloudOnly: false @@ -79074,8 +79343,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: - - *324 - *325 + - *326 responses: '200': description: Response @@ -79083,7 +79352,7 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: default: value: @@ -79114,8 +79383,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -79127,7 +79396,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *272 + items: *273 required: - properties examples: @@ -79177,8 +79446,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *324 - *325 + - *326 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -79238,9 +79507,9 @@ paths: application/json: schema: type: array - items: *547 + items: *548 examples: - default: *548 + default: *549 headers: Link: *39 '304': *37 @@ -79272,8 +79541,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -79338,7 +79607,7 @@ paths: description: Response content: application/json: - schema: &552 + schema: &553 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -79449,8 +79718,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *444 - required: *445 + properties: *445 + required: *446 nullable: true active_lock_reason: type: string @@ -79495,7 +79764,7 @@ paths: nullable: true requested_teams: type: array - items: *296 + items: *297 nullable: true head: type: object @@ -79534,14 +79803,14 @@ paths: _links: type: object properties: - comments: *446 - commits: *446 - statuses: *446 - html: *446 - issue: *446 - review_comments: *446 - review_comment: *446 - self: *446 + comments: *447 + commits: *447 + statuses: *447 + html: *447 + issue: *447 + review_comments: *447 + review_comment: *447 + self: *447 required: - comments - commits @@ -79551,8 +79820,8 @@ paths: - review_comments - review_comment - self - author_association: *105 - auto_merge: *549 + author_association: *109 + auto_merge: *550 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -79644,7 +79913,7 @@ paths: - merged_by - review_comments examples: - default: &553 + default: &554 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -80171,8 +80440,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *324 - *325 + - *326 - name: sort in: query required: false @@ -80191,7 +80460,7 @@ paths: enum: - asc - desc - - *108 + - *112 - *18 - *20 responses: @@ -80201,9 +80470,9 @@ paths: application/json: schema: type: array - items: *550 + items: *551 examples: - default: &555 + default: &556 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -80280,17 +80549,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: - - *324 - *325 - - *117 + - *326 + - *121 responses: '200': description: Response content: application/json: - schema: *550 + schema: *551 examples: - default: &551 + default: &552 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -80365,9 +80634,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: - - *324 - *325 - - *117 + - *326 + - *121 requestBody: required: true content: @@ -80389,9 +80658,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *551 examples: - default: *551 + default: *552 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80407,9 +80676,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: - - *324 - *325 - - *117 + - *326 + - *121 responses: '204': description: Response @@ -80430,9 +80699,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: - - *324 - *325 - - *117 + - *326 + - *121 - 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. @@ -80458,9 +80727,9 @@ paths: application/json: schema: type: array - items: *313 + items: *314 examples: - default: *315 + default: *316 headers: Link: *39 '404': *7 @@ -80481,9 +80750,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: - - *324 - *325 - - *117 + - *326 + - *121 requestBody: required: true content: @@ -80515,16 +80784,16 @@ paths: description: Reaction exists content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 '201': description: Reaction created content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 '422': *16 x-github: githubCloudOnly: false @@ -80546,10 +80815,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *324 - *325 - - *117 - - *316 + - *326 + - *121 + - *317 responses: '204': description: Response @@ -80592,9 +80861,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *324 - *325 - - &554 + - *326 + - &555 name: pull_number description: The number that identifies the pull request. in: path @@ -80607,9 +80876,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *552 + schema: *553 examples: - default: *553 + default: *554 '304': *37 '404': *7 '406': @@ -80618,7 +80887,7 @@ paths: application/json: schema: *3 '500': *84 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80644,9 +80913,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *324 - *325 - - *554 + - *326 + - *555 requestBody: required: false content: @@ -80688,9 +80957,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: - default: *553 + default: *554 '422': *16 '403': *29 x-github: @@ -80712,9 +80981,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: - - *324 - *325 - - *554 + - *326 + - *555 requestBody: required: true content: @@ -80774,21 +81043,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *242 + schema: *247 examples: - default: *429 + default: *430 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *242 + schema: *247 examples: - default: *429 + default: *430 '401': *25 '403': *29 '404': *7 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -80814,10 +81083,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: - - *324 - *325 - - *554 - - *128 + - *326 + - *555 + - *132 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -80827,7 +81096,7 @@ paths: enum: - asc - desc - - *108 + - *112 - *18 - *20 responses: @@ -80837,9 +81106,9 @@ paths: application/json: schema: type: array - items: *550 + items: *551 examples: - default: *555 + default: *556 headers: Link: *39 x-github: @@ -80872,9 +81141,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: - - *324 - *325 - - *554 + - *326 + - *555 requestBody: required: true content: @@ -80979,7 +81248,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *551 examples: example-for-a-multi-line-comment: value: @@ -81067,10 +81336,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: - - *324 - *325 - - *554 - - *117 + - *326 + - *555 + - *121 requestBody: required: true content: @@ -81092,7 +81361,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *551 examples: default: value: @@ -81178,9 +81447,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *324 - *325 - - *554 + - *326 + - *555 - *18 - *20 responses: @@ -81190,9 +81459,9 @@ paths: application/json: schema: type: array - items: *440 + items: *441 examples: - default: *556 + default: *557 headers: Link: *39 x-github: @@ -81222,9 +81491,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *324 - *325 - - *554 + - *326 + - *555 - *18 - *20 responses: @@ -81234,7 +81503,7 @@ paths: application/json: schema: type: array - items: *455 + items: *456 examples: default: value: @@ -81253,7 +81522,7 @@ paths: Link: *39 '422': *16 '500': *84 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81272,9 +81541,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: - - *324 - *325 - - *554 + - *326 + - *555 responses: '204': description: Response if pull request has been merged @@ -81297,9 +81566,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *324 - *325 - - *554 + - *326 + - *555 requestBody: required: false content: @@ -81410,9 +81679,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: - - *324 - *325 - - *554 + - *326 + - *555 responses: '200': description: Response @@ -81428,7 +81697,7 @@ paths: items: *19 teams: type: array - items: *238 + items: *243 required: - users - teams @@ -81487,9 +81756,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: - - *324 - *325 - - *554 + - *326 + - *555 requestBody: required: false content: @@ -81526,7 +81795,7 @@ paths: description: Response content: application/json: - schema: *547 + schema: *548 examples: default: value: @@ -82062,9 +82331,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: - - *324 - *325 - - *554 + - *326 + - *555 requestBody: required: true content: @@ -82098,7 +82367,7 @@ paths: description: Response content: application/json: - schema: *547 + schema: *548 examples: default: value: @@ -82603,9 +82872,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *324 - *325 - - *554 + - *326 + - *555 - *18 - *20 responses: @@ -82615,7 +82884,7 @@ paths: application/json: schema: type: array - items: &557 + items: &558 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -82684,7 +82953,7 @@ paths: type: string body_text: type: string - author_association: *105 + author_association: *109 required: - id - node_id @@ -82766,9 +83035,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: - - *324 - *325 - - *554 + - *326 + - *555 requestBody: required: false content: @@ -82854,9 +83123,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *558 examples: - default: &559 + default: &560 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -82919,10 +83188,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: - - *324 - *325 - - *554 - - &558 + - *326 + - *555 + - &559 name: review_id description: The unique identifier of the review. in: path @@ -82934,9 +83203,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *558 examples: - default: &560 + default: &561 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -82995,10 +83264,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: - - *324 - *325 - - *554 - - *558 + - *326 + - *555 + - *559 requestBody: required: true content: @@ -83021,7 +83290,7 @@ paths: description: Response content: application/json: - schema: *557 + schema: *558 examples: default: value: @@ -83083,18 +83352,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: - - *324 - *325 - - *554 - - *558 + - *326 + - *555 + - *559 responses: '200': description: Response content: application/json: - schema: *557 + schema: *558 examples: - default: *559 + default: *560 '422': *8 '404': *7 x-github: @@ -83121,10 +83390,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: - - *324 - *325 - - *554 - - *558 + - *326 + - *555 + - *559 - *18 - *20 responses: @@ -83203,13 +83472,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *105 + author_association: *109 _links: type: object properties: - self: *446 - html: *446 - pull_request: *446 + self: *447 + html: *447 + pull_request: *447 required: - self - html @@ -83218,7 +83487,7 @@ paths: type: string body_html: type: string - reactions: *106 + reactions: *110 side: description: The side of the first line of the range for a multi-line comment. @@ -83352,10 +83621,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: - - *324 - *325 - - *554 - - *558 + - *326 + - *555 + - *559 requestBody: required: true content: @@ -83383,7 +83652,7 @@ paths: description: Response content: application/json: - schema: *557 + schema: *558 examples: default: value: @@ -83446,10 +83715,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: - - *324 - *325 - - *554 - - *558 + - *326 + - *555 + - *559 requestBody: required: true content: @@ -83484,9 +83753,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *558 examples: - default: *560 + default: *561 '404': *7 '422': *8 '403': *29 @@ -83508,9 +83777,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *324 - *325 - - *554 + - *326 + - *555 requestBody: required: false content: @@ -83573,8 +83842,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *324 - *325 + - *326 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -83587,9 +83856,9 @@ paths: description: Response content: application/json: - schema: *561 + schema: *562 examples: - default: &562 + default: &563 value: type: file encoding: base64 @@ -83631,8 +83900,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: - - *324 - *325 + - *326 - name: dir description: The alternate path to look for a README file in: path @@ -83652,9 +83921,9 @@ paths: description: Response content: application/json: - schema: *561 + schema: *562 examples: - default: *562 + default: *563 '404': *7 '422': *16 x-github: @@ -83676,8 +83945,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -83687,7 +83956,7 @@ paths: application/json: schema: type: array - items: &563 + items: &564 title: Release description: A release. type: object @@ -83750,7 +84019,7 @@ paths: author: *19 assets: type: array - items: &564 + items: &565 title: Release Asset description: Data related to a release. type: object @@ -83821,7 +84090,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *106 + reactions: *110 required: - assets_url - upload_url @@ -83931,8 +84200,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -84008,9 +84277,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: &567 + default: &568 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -84113,9 +84382,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *324 - *325 - - &565 + - *326 + - &566 name: asset_id description: The unique identifier of the asset. in: path @@ -84127,9 +84396,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *565 examples: - default: &566 + default: &567 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 @@ -84163,7 +84432,7 @@ paths: type: User site_admin: false '404': *7 - '302': *457 + '302': *458 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84179,9 +84448,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *324 - *325 - - *565 + - *326 + - *566 requestBody: required: false content: @@ -84209,9 +84478,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *565 examples: - default: *566 + default: *567 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84227,9 +84496,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *324 - *325 - - *565 + - *326 + - *566 responses: '204': description: Response @@ -84253,8 +84522,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -84339,16 +84608,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: *567 + default: *568 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84365,8 +84634,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *324 - *325 + - *326 - name: tag description: tag parameter in: path @@ -84379,9 +84648,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: *567 + default: *568 '404': *7 x-github: githubCloudOnly: false @@ -84403,9 +84672,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *324 - *325 - - &568 + - *326 + - &569 name: release_id description: The unique identifier of the release. in: path @@ -84419,9 +84688,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: *563 + schema: *564 examples: - default: *567 + default: *568 '401': description: Unauthorized x-github: @@ -84439,9 +84708,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *324 - *325 - - *568 + - *326 + - *569 requestBody: required: false content: @@ -84505,9 +84774,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: *567 + default: *568 '404': description: Not Found if the discussion category name is invalid content: @@ -84528,9 +84797,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *324 - *325 - - *568 + - *326 + - *569 responses: '204': description: Response @@ -84550,9 +84819,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *324 - *325 - - *568 + - *326 + - *569 - *18 - *20 responses: @@ -84562,7 +84831,7 @@ paths: application/json: schema: type: array - items: *564 + items: *565 examples: default: value: @@ -84643,9 +84912,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: - - *324 - *325 - - *568 + - *326 + - *569 - name: name in: query required: true @@ -84671,7 +84940,7 @@ paths: description: Response for successful upload content: application/json: - schema: *564 + schema: *565 examples: response-for-successful-upload: value: @@ -84725,9 +84994,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *324 - *325 - - *568 + - *326 + - *569 - 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. @@ -84751,9 +85020,9 @@ paths: application/json: schema: type: array - items: *313 + items: *314 examples: - default: *315 + default: *316 headers: Link: *39 '404': *7 @@ -84774,9 +85043,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *324 - *325 - - *568 + - *326 + - *569 requestBody: required: true content: @@ -84806,16 +85075,16 @@ paths: description: Reaction exists content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 '201': description: Reaction created content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 '422': *16 x-github: githubCloudOnly: false @@ -84837,10 +85106,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *324 - *325 - - *568 - - *316 + - *326 + - *569 + - *317 responses: '204': description: Response @@ -84864,9 +85133,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *324 - *325 - - *383 + - *326 + - *384 - *18 - *20 responses: @@ -84882,8 +85151,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *569 - - &571 + - *570 + - &572 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -84903,53 +85172,53 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *570 - *571 - - allOf: - *572 - - *571 - allOf: - *573 - - *571 + - *572 - allOf: - *574 - - *571 + - *572 - allOf: - *575 - - *571 + - *572 - allOf: - *576 - - *571 + - *572 - allOf: - *577 - - *571 + - *572 - allOf: - *578 - - *571 + - *572 - allOf: - *579 - - *571 + - *572 - allOf: - *580 - - *571 + - *572 - allOf: - *581 - - *571 + - *572 - allOf: - *582 - - *571 + - *572 - allOf: - *583 - - *571 + - *572 - allOf: - *584 - - *571 + - *572 - allOf: - *585 - - *571 + - *572 - allOf: - *586 - - *571 + - *572 + - allOf: + - *587 + - *572 examples: default: value: @@ -84988,8 +85257,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 - *18 - *20 - name: includes_parents @@ -85000,7 +85269,7 @@ paths: schema: type: boolean default: true - - *587 + - *588 responses: '200': description: Response @@ -85008,7 +85277,7 @@ paths: application/json: schema: type: array - items: *284 + items: *285 examples: default: value: @@ -85055,8 +85324,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 requestBody: description: Request body required: true @@ -85076,16 +85345,16 @@ paths: - tag - push default: branch - enforcement: *280 + enforcement: *281 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *281 - conditions: *278 + items: *282 + conditions: *279 rules: type: array description: An array of rules within the ruleset. - items: *283 + items: *284 required: - name - enforcement @@ -85116,9 +85385,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *285 examples: - default: &597 + default: &598 value: id: 42 name: super cool ruleset @@ -85165,12 +85434,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *324 - *325 - - *588 + - *326 - *589 - *590 - *591 + - *592 - *18 - *20 responses: @@ -85178,9 +85447,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *593 examples: - default: *593 + default: *594 '404': *7 '500': *84 x-github: @@ -85201,17 +85470,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *324 - *325 - - *594 + - *326 + - *595 responses: '200': description: Response content: application/json: - schema: *595 + schema: *596 examples: - default: *596 + default: *597 '404': *7 '500': *84 x-github: @@ -85239,8 +85508,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -85260,9 +85529,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *285 examples: - default: *597 + default: *598 '404': *7 '500': *84 put: @@ -85280,8 +85549,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -85306,16 +85575,16 @@ paths: - branch - tag - push - enforcement: *280 + enforcement: *281 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *281 - conditions: *278 + items: *282 + conditions: *279 rules: description: An array of rules within the ruleset. type: array - items: *283 + items: *284 examples: default: value: @@ -85343,9 +85612,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *285 examples: - default: *597 + default: *598 '404': *7 '500': *84 delete: @@ -85363,8 +85632,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -85392,20 +85661,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: - - *324 - *325 - - *286 + - *326 - *287 - *288 - *289 + - *290 - *78 - *20 - *18 - - *598 - *599 - - *290 + - *600 - *291 - *292 + - *293 responses: '200': description: Response @@ -85413,7 +85682,7 @@ paths: application/json: schema: type: array - items: &602 + items: &603 type: object properties: number: *85 @@ -85432,8 +85701,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *600 - resolution: *601 + state: *601 + resolution: *602 resolved_at: type: string format: date-time @@ -85617,7 +85886,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85639,15 +85908,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: - - *324 - *325 - - *412 + - *326 + - *413 responses: '200': description: Response content: application/json: - schema: *602 + schema: *603 examples: default: value: @@ -85677,7 +85946,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85698,9 +85967,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: - - *324 - *325 - - *412 + - *326 + - *413 requestBody: required: true content: @@ -85708,8 +85977,8 @@ paths: schema: type: object properties: - state: *600 - resolution: *601 + state: *601 + resolution: *602 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -85727,7 +85996,7 @@ paths: description: Response content: application/json: - schema: *602 + schema: *603 examples: default: value: @@ -85779,7 +86048,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *96 + '503': *100 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -85801,9 +86070,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: - - *324 - *325 - - *412 + - *326 + - *413 - *20 - *18 responses: @@ -85814,7 +86083,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &762 + items: &763 type: object properties: type: @@ -86151,7 +86420,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86173,8 +86442,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -86182,14 +86451,14 @@ paths: schema: type: object properties: - reason: &604 + reason: &605 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *603 + placeholder_id: *604 required: - reason - placeholder_id @@ -86206,7 +86475,7 @@ paths: schema: type: object properties: - reason: *604 + reason: *605 expire_at: type: string format: date-time @@ -86229,7 +86498,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *96 + '503': *100 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -86249,13 +86518,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: - - *324 - *325 + - *326 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *96 + '503': *100 '200': description: Response content: @@ -86265,7 +86534,7 @@ paths: properties: incremental_scans: type: array - items: &605 + items: &606 description: Information on a single scan performed by secret scanning on the repository type: object @@ -86275,29 +86544,31 @@ 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 format: date-time description: The time that the scan was completed. Empty - if the scan is active + if the scan is running nullable: true started_at: type: string 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 + nullable: true pattern_update_scans: type: array - items: *605 + items: *606 backfill_scans: type: array - items: *605 + items: *606 custom_pattern_backfill_scans: type: array items: allOf: - - *605 + - *606 - type: object properties: pattern_name: @@ -86367,8 +86638,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *324 - *325 + - *326 - *78 - name: sort description: The property to sort the results by. @@ -86412,9 +86683,9 @@ paths: application/json: schema: type: array - items: *606 + items: *607 examples: - default: *607 + default: *608 '400': *15 '404': *7 x-github: @@ -86437,8 +86708,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -86511,7 +86782,7 @@ paths: login: type: string description: The username of the user credited. - type: *295 + type: *296 required: - login - type @@ -86598,9 +86869,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *607 examples: - default: &609 + default: &610 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -86833,8 +87104,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -86938,7 +87209,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *607 examples: default: value: @@ -87085,17 +87356,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: - - *324 - *325 - - *608 + - *326 + - *609 responses: '200': description: Response content: application/json: - schema: *606 + schema: *607 examples: - default: *609 + default: *610 '403': *29 '404': *7 x-github: @@ -87119,9 +87390,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: - - *324 - *325 - - *608 + - *326 + - *609 requestBody: required: true content: @@ -87194,7 +87465,7 @@ paths: login: type: string description: The username of the user credited. - type: *295 + type: *296 required: - login - type @@ -87280,17 +87551,17 @@ paths: description: Response content: application/json: - schema: *606 + schema: *607 examples: - default: *609 - add_credit: *609 + default: *610 + add_credit: *610 '403': *29 '404': *7 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *144 + schema: *148 examples: invalid_state_transition: value: @@ -87321,11 +87592,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: - - *324 - *325 - - *608 + - *326 + - *609 responses: - '202': *147 + '202': *151 '400': *15 '403': *29 '404': *7 @@ -87350,17 +87621,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: - - *324 - *325 - - *608 + - *326 + - *609 responses: '202': description: Response content: application/json: - schema: *337 + schema: *338 examples: - default: *339 + default: *340 '400': *15 '422': *16 '403': *29 @@ -87386,8 +87657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -87486,8 +87757,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *324 - *325 + - *326 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -87496,7 +87767,7 @@ paths: application/json: schema: type: array - items: &610 + items: &611 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -87508,8 +87779,8 @@ paths: - - 1302998400 - 1124 - -435 - '202': *147 - '204': *190 + '202': *151 + '204': *192 '422': description: Repository contains more than 10,000 commits x-github: @@ -87529,8 +87800,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: - - *324 - *325 + - *326 responses: '200': description: Response @@ -87578,8 +87849,8 @@ paths: - 0 total: 89 week: 1336280400 - '202': *147 - '204': *190 + '202': *151 + '204': *192 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87606,8 +87877,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -87680,8 +87951,8 @@ paths: a: 6898 d: 77 c: 10 - '202': *147 - '204': *190 + '202': *151 + '204': *192 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87703,8 +87974,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *324 - *325 + - *326 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -87858,8 +88129,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: - - *324 - *325 + - *326 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -87869,7 +88140,7 @@ paths: application/json: schema: type: array - items: *610 + items: *611 examples: default: value: @@ -87882,7 +88153,7 @@ paths: - - 0 - 2 - 21 - '204': *190 + '204': *192 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87902,8 +88173,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *324 - *325 + - *326 - name: sha in: path required: true @@ -87957,7 +88228,7 @@ paths: description: Response content: application/json: - schema: *611 + schema: *612 examples: default: value: @@ -88011,8 +88282,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -88024,7 +88295,7 @@ paths: type: array items: *19 examples: - default: *241 + default: *246 headers: Link: *39 x-github: @@ -88044,14 +88315,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *324 - *325 + - *326 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &612 + schema: &613 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -88119,8 +88390,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -88146,7 +88417,7 @@ paths: description: Response content: application/json: - schema: *612 + schema: *613 examples: default: value: @@ -88173,8 +88444,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -88194,8 +88465,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -88274,8 +88545,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: - - *324 - *325 + - *326 responses: '200': description: Response @@ -88283,7 +88554,7 @@ paths: application/json: schema: type: array - items: &613 + items: &614 title: Tag protection description: Tag protection type: object @@ -88335,8 +88606,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -88359,7 +88630,7 @@ paths: description: Response content: application/json: - schema: *613 + schema: *614 examples: default: value: @@ -88390,8 +88661,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: - - *324 - *325 + - *326 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -88428,8 +88699,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *324 - *325 + - *326 - name: ref in: path required: true @@ -88465,8 +88736,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -88476,9 +88747,9 @@ paths: application/json: schema: type: array - items: *238 + items: *243 examples: - default: *253 + default: *258 headers: Link: *39 '404': *7 @@ -88498,8 +88769,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *324 - *325 + - *326 - *20 - *18 responses: @@ -88507,7 +88778,7 @@ paths: description: Response content: application/json: - schema: &614 + schema: &615 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -88519,7 +88790,7 @@ paths: required: - names examples: - default: &615 + default: &616 value: names: - octocat @@ -88542,8 +88813,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -88574,9 +88845,9 @@ paths: description: Response content: application/json: - schema: *614 + schema: *615 examples: - default: *615 + default: *616 '404': *7 '422': *8 x-github: @@ -88597,9 +88868,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *324 - *325 - - &616 + - *326 + - &617 name: per description: The time frame to display results for. in: query @@ -88628,7 +88899,7 @@ paths: example: 128 clones: type: array - items: &617 + items: &618 title: Traffic type: object properties: @@ -88715,8 +88986,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -88806,8 +89077,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -88867,9 +89138,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *324 - *325 - - *616 + - *326 + - *617 responses: '200': description: Response @@ -88888,7 +89159,7 @@ paths: example: 3782 views: type: array - items: *617 + items: *618 required: - uniques - count @@ -88965,8 +89236,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -89002,7 +89273,7 @@ paths: description: Response content: application/json: - schema: *159 + schema: *163 examples: default: value: @@ -89240,8 +89511,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: - - *324 - *325 + - *326 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -89264,8 +89535,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -89287,8 +89558,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -89314,8 +89585,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *324 - *325 + - *326 - name: ref in: path required: true @@ -89407,9 +89678,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *338 examples: - default: *339 + default: *340 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -89450,7 +89721,7 @@ paths: application/json: schema: type: array - items: *159 + items: *163 examples: default: value: @@ -89560,7 +89831,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &625 + - &626 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -89569,7 +89840,7 @@ paths: schema: type: string example: members - - &630 + - &631 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -89580,7 +89851,7 @@ paths: default: 1 format: int32 example: 1 - - &631 + - &632 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -89622,7 +89893,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &619 + items: &620 allOf: - type: object required: @@ -89697,7 +89968,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: &632 + meta: &633 type: object description: The metadata associated with the creation/updates to the user. @@ -89757,31 +90028,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &620 + '400': &621 description: Bad request content: application/json: - schema: *618 + schema: *619 application/scim+json: - schema: *618 - '401': &621 + schema: *619 + '401': &622 description: Authorization failure - '403': &622 + '403': &623 description: Permission denied - '429': &623 + '429': &624 description: Too many requests content: application/json: - schema: *618 + schema: *619 application/scim+json: - schema: *618 - '500': &624 + schema: *619 + '500': &625 description: Internal server error content: application/json: - schema: *618 + schema: *619 application/scim+json: - schema: *618 + schema: *619 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89805,7 +90076,7 @@ paths: required: true content: application/json: - schema: &628 + schema: &629 type: object required: - schemas @@ -89861,9 +90132,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *619 + schema: *620 examples: - group: &626 + group: &627 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -89882,13 +90153,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': *620 - '401': *621 - '403': *622 - '409': &629 + '400': *621 + '401': *622 + '403': *623 + '409': &630 description: Duplicate record detected - '429': *623 - '500': *624 + '429': *624 + '500': *625 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89905,7 +90176,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: - - &627 + - &628 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -89913,22 +90184,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *625 + - *626 - *40 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *619 + schema: *620 examples: - default: *626 - '400': *620 - '401': *621 - '403': *622 + default: *627 + '400': *621 + '401': *622 + '403': *623 '404': *7 - '429': *623 - '500': *624 + '429': *624 + '500': *625 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89947,13 +90218,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: - - *627 + - *628 - *40 requestBody: required: true content: application/json: - schema: *628 + schema: *629 examples: group: summary: Group @@ -89979,17 +90250,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *619 + schema: *620 examples: - group: *626 - groupWithMembers: *626 - '400': *620 - '401': *621 - '403': *622 + group: *627 + groupWithMembers: *627 + '400': *621 + '401': *622 + '403': *623 '404': *7 - '409': *629 - '429': *623 - '500': *624 + '409': *630 + '429': *624 + '500': *625 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90013,13 +90284,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: - - *627 + - *628 - *40 requestBody: required: true content: application/json: - schema: &639 + schema: &640 type: object required: - Operations @@ -90079,17 +90350,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *619 + schema: *620 examples: - updateGroup: *626 - addMembers: *626 - '400': *620 - '401': *621 - '403': *622 + updateGroup: *627 + addMembers: *627 + '400': *621 + '401': *622 + '403': *623 '404': *7 - '409': *629 - '429': *623 - '500': *624 + '409': *630 + '429': *624 + '500': *625 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90105,17 +90376,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: - - *627 + - *628 - *40 responses: '204': description: Group was deleted, no content - '400': *620 - '401': *621 - '403': *622 + '400': *621 + '401': *622 + '403': *623 '404': *7 - '429': *623 - '500': *624 + '429': *624 + '500': *625 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90149,8 +90420,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *630 - *631 + - *632 - *40 responses: '200': @@ -90183,7 +90454,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &634 + items: &635 allOf: - type: object required: @@ -90262,7 +90533,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &633 + roles: &634 type: array description: The roles assigned to the user. items: @@ -90318,7 +90589,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *632 + meta: *633 startIndex: type: integer description: A starting index for the returned page @@ -90355,11 +90626,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *620 - '401': *621 - '403': *622 - '429': *623 - '500': *624 + '400': *621 + '401': *622 + '403': *623 + '429': *624 + '500': *625 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90383,7 +90654,7 @@ paths: required: true content: application/json: - schema: &637 + schema: &638 type: object required: - schemas @@ -90465,9 +90736,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *633 + roles: *634 examples: - user: &638 + user: &639 summary: User value: schemas: @@ -90514,9 +90785,9 @@ paths: description: User has been created content: application/scim+json: - schema: *634 + schema: *635 examples: - user: &635 + user: &636 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -90542,13 +90813,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: *635 - '400': *620 - '401': *621 - '403': *622 - '409': *629 - '429': *623 - '500': *624 + enterpriseOwner: *636 + '400': *621 + '401': *622 + '403': *623 + '409': *630 + '429': *624 + '500': *625 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90565,7 +90836,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: - - &636 + - &637 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -90578,15 +90849,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *634 + schema: *635 examples: - default: *635 - '400': *620 - '401': *621 - '403': *622 + default: *636 + '400': *621 + '401': *622 + '403': *623 '404': *7 - '429': *623 - '500': *624 + '429': *624 + '500': *625 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90608,30 +90879,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: - - *636 + - *637 - *40 requestBody: required: true content: application/json: - schema: *637 + schema: *638 examples: - user: *638 + user: *639 responses: '200': description: User was updated content: application/scim+json: - schema: *634 + schema: *635 examples: - user: *635 - '400': *620 - '401': *621 - '403': *622 + user: *636 + '400': *621 + '401': *622 + '403': *623 '404': *7 - '409': *629 - '429': *623 - '500': *624 + '409': *630 + '429': *624 + '500': *625 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90666,13 +90937,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: - - *636 + - *637 - *40 requestBody: required: true content: application/json: - schema: *639 + schema: *640 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -90712,18 +90983,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *634 - examples: - userMultiValuedProperties: *635 - userSingleValuedProperties: *635 - disableUser: *635 - '400': *620 - '401': *621 - '403': *622 + schema: *635 + examples: + userMultiValuedProperties: *636 + userSingleValuedProperties: *636 + disableUser: *636 + '400': *621 + '401': *622 + '403': *623 '404': *7 - '409': *629 - '429': *623 - '500': *624 + '409': *630 + '429': *624 + '500': *625 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90743,17 +91014,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: - - *636 + - *637 - *40 responses: '204': description: User was deleted, no content - '400': *620 - '401': *621 - '403': *622 + '400': *621 + '401': *622 + '403': *623 '404': *7 - '429': *623 - '500': *624 + '429': *624 + '500': *625 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90786,7 +91057,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#list-scim-provisioned-identities parameters: - - *141 + - *145 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -90840,7 +91111,7 @@ paths: example: 1 Resources: type: array - items: &640 + items: &641 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -91071,22 +91342,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': *37 - '404': &641 + '404': &642 description: Resource not found content: application/json: - schema: *618 + schema: *619 application/scim+json: - schema: *618 - '403': &642 + schema: *619 + '403': &643 description: Forbidden content: application/json: - schema: *618 + schema: *619 application/scim+json: - schema: *618 - '400': *620 - '429': *623 + schema: *619 + '400': *621 + '429': *624 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -91106,15 +91377,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *141 + - *145 responses: '201': description: Response content: application/scim+json: - schema: *640 + schema: *641 examples: - default: &643 + default: &644 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -91137,17 +91408,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': *37 - '404': *641 - '403': *642 - '500': *624 + '404': *642 + '403': *643 + '500': *625 '409': description: Conflict content: application/json: - schema: *618 + schema: *619 application/scim+json: - schema: *618 - '400': *620 + schema: *619 + '400': *621 requestBody: required: true content: @@ -91239,18 +91510,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: - - *141 - - *636 + - *145 + - *637 responses: '200': description: Response content: application/scim+json: - schema: *640 + schema: *641 examples: - default: *643 - '404': *641 - '403': *642 + default: *644 + '404': *642 + '403': *643 '304': *37 x-github: githubCloudOnly: true @@ -91273,19 +91544,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *141 - - *636 + - *145 + - *637 responses: '200': description: Response content: application/scim+json: - schema: *640 + schema: *641 examples: - default: *643 + default: *644 '304': *37 - '404': *641 - '403': *642 + '404': *642 + '403': *643 requestBody: required: true content: @@ -91393,20 +91664,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: - - *141 - - *636 + - *145 + - *637 responses: '200': description: Response content: application/scim+json: - schema: *640 + schema: *641 examples: - default: *643 + default: *644 '304': *37 - '404': *641 - '403': *642 - '400': *620 + '404': *642 + '403': *643 + '400': *621 '429': description: Response content: @@ -91496,13 +91767,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: - - *141 - - *636 + - *145 + - *637 responses: '204': description: Response - '404': *641 - '403': *642 + '404': *642 + '403': *643 '304': *37 x-github: githubCloudOnly: true @@ -91617,7 +91888,7 @@ paths: html_url: type: string format: uri - repository: *159 + repository: *163 score: type: number file_size: @@ -91635,7 +91906,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &644 + text_matches: &645 title: Search Result Text Matches type: array items: @@ -91749,7 +92020,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *96 + '503': *100 '422': *16 '403': *29 x-github: @@ -91798,7 +92069,7 @@ paths: enum: - author-date - committer-date - - &645 + - &646 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 @@ -91869,7 +92140,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *381 + properties: *382 nullable: true comment_count: type: integer @@ -91889,7 +92160,7 @@ paths: url: type: string format: uri - verification: *492 + verification: *493 required: - author - committer @@ -91908,7 +92179,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *381 + properties: *382 nullable: true parents: type: array @@ -91921,12 +92192,12 @@ paths: type: string sha: type: string - repository: *159 + repository: *163 score: type: number node_id: type: string - text_matches: *644 + text_matches: *645 required: - sha - node_id @@ -92119,7 +92390,7 @@ paths: - interactions - created - updated - - *645 + - *646 - *18 - *20 responses: @@ -92238,8 +92509,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *444 - required: *445 + properties: *445 + required: *446 nullable: true comments: type: integer @@ -92253,7 +92524,7 @@ paths: type: string format: date-time nullable: true - text_matches: *644 + text_matches: *645 pull_request: type: object properties: @@ -92286,7 +92557,7 @@ paths: type: string score: type: number - author_association: *105 + author_association: *109 draft: type: boolean repository: *57 @@ -92306,9 +92577,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 - reactions: *106 + properties: *107 + required: *108 + reactions: *110 required: - assignee - closed_at @@ -92424,7 +92695,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *96 + '503': *100 '422': *16 '304': *37 '403': *29 @@ -92477,7 +92748,7 @@ paths: enum: - created - updated - - *645 + - *646 - *18 - *20 responses: @@ -92521,7 +92792,7 @@ paths: nullable: true score: type: number - text_matches: *644 + text_matches: *645 required: - id - node_id @@ -92607,7 +92878,7 @@ paths: - forks - help-wanted-issues - updated - - *645 + - *646 - *18 - *20 responses: @@ -92826,8 +93097,8 @@ paths: title: License Simple description: License Simple type: object - properties: *119 - required: *120 + properties: *123 + required: *124 nullable: true permissions: type: object @@ -92846,7 +93117,7 @@ paths: - admin - pull - push - text_matches: *644 + text_matches: *645 temp_clone_token: type: string allow_merge_commit: @@ -93048,7 +93319,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *96 + '503': *100 '422': *16 '304': *37 x-github: @@ -93147,7 +93418,7 @@ paths: type: string format: uri nullable: true - text_matches: *644 + text_matches: *645 related: type: array nullable: true @@ -93340,7 +93611,7 @@ paths: - followers - repositories - joined - - *645 + - *646 - *18 - *20 responses: @@ -93444,7 +93715,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *644 + text_matches: *645 blog: type: string nullable: true @@ -93503,7 +93774,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *96 + '503': *100 '422': *16 x-github: githubCloudOnly: false @@ -93523,7 +93794,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &646 + - &647 name: team_id description: The unique identifier of the team. in: path @@ -93535,9 +93806,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *306 examples: - default: *306 + default: *307 '404': *7 x-github: githubCloudOnly: false @@ -93564,7 +93835,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *646 + - *647 requestBody: required: true content: @@ -93627,16 +93898,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *305 + schema: *306 examples: - default: *306 + default: *307 '201': description: Response content: application/json: - schema: *305 + schema: *306 examples: - default: *306 + default: *307 '404': *7 '422': *16 '403': *29 @@ -93664,7 +93935,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *646 + - *647 responses: '204': description: Response @@ -93695,7 +93966,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *646 + - *647 - *78 - *18 - *20 @@ -93706,9 +93977,9 @@ paths: application/json: schema: type: array - items: *307 + items: *308 examples: - default: *647 + default: *648 headers: Link: *39 x-github: @@ -93737,7 +94008,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *646 + - *647 requestBody: required: true content: @@ -93771,9 +94042,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *308 + default: *309 x-github: triggersNotification: true githubCloudOnly: false @@ -93800,16 +94071,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *646 - - *309 + - *647 + - *310 responses: '200': description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *308 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93834,8 +94105,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *646 - - *309 + - *647 + - *310 requestBody: required: false content: @@ -93858,9 +94129,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *648 + default: *649 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93885,8 +94156,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *646 - - *309 + - *647 + - *310 responses: '204': description: Response @@ -93915,8 +94186,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *646 - - *309 + - *647 + - *310 - *78 - *18 - *20 @@ -93927,9 +94198,9 @@ paths: application/json: schema: type: array - items: *310 + items: *311 examples: - default: *649 + default: *650 headers: Link: *39 x-github: @@ -93958,8 +94229,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *646 - - *309 + - *647 + - *310 requestBody: required: true content: @@ -93981,9 +94252,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: *311 + default: *312 x-github: triggersNotification: true githubCloudOnly: false @@ -94010,17 +94281,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *646 - - *309 - - *312 + - *647 + - *310 + - *313 responses: '200': description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: *311 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94045,9 +94316,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *646 - - *309 - - *312 + - *647 + - *310 + - *313 requestBody: required: true content: @@ -94069,9 +94340,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: *650 + default: *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94096,9 +94367,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *646 - - *309 - - *312 + - *647 + - *310 + - *313 responses: '204': description: Response @@ -94127,9 +94398,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: - - *646 - - *309 - - *312 + - *647 + - *310 + - *313 - 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. @@ -94155,9 +94426,9 @@ paths: application/json: schema: type: array - items: *313 + items: *314 examples: - default: *315 + default: *316 headers: Link: *39 x-github: @@ -94186,9 +94457,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: - - *646 - - *309 - - *312 + - *647 + - *310 + - *313 requestBody: required: true content: @@ -94220,9 +94491,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94248,8 +94519,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: - - *646 - - *309 + - *647 + - *310 - 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. @@ -94275,9 +94546,9 @@ paths: application/json: schema: type: array - items: *313 + items: *314 examples: - default: *315 + default: *316 headers: Link: *39 x-github: @@ -94306,8 +94577,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: - - *646 - - *309 + - *647 + - *310 requestBody: required: true content: @@ -94339,9 +94610,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94365,7 +94636,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *646 + - *647 - *18 - *20 responses: @@ -94375,9 +94646,9 @@ paths: application/json: schema: type: array - items: *235 + items: *240 examples: - default: *236 + default: *241 headers: Link: *39 x-github: @@ -94403,7 +94674,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *646 + - *647 - name: role description: Filters members returned by their role in the team. in: query @@ -94426,7 +94697,7 @@ paths: type: array items: *19 examples: - default: *241 + default: *246 headers: Link: *39 '404': *7 @@ -94454,8 +94725,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *646 - - *181 + - *647 + - *185 responses: '204': description: if user is a member @@ -94491,8 +94762,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *646 - - *181 + - *647 + - *185 responses: '204': description: Response @@ -94531,8 +94802,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *646 - - *181 + - *647 + - *185 responses: '204': description: Response @@ -94568,16 +94839,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: - - *646 - - *181 + - *647 + - *185 responses: '200': description: Response content: application/json: - schema: *321 + schema: *322 examples: - response-if-user-is-a-team-maintainer: *651 + response-if-user-is-a-team-maintainer: *652 '404': *7 x-github: githubCloudOnly: false @@ -94610,8 +94881,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: - - *646 - - *181 + - *647 + - *185 requestBody: required: false content: @@ -94636,9 +94907,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - response-if-users-membership-with-team-is-now-pending: *652 + response-if-users-membership-with-team-is-now-pending: *653 '403': description: Forbidden if team synchronization is set up '422': @@ -94672,8 +94943,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: - - *646 - - *181 + - *647 + - *185 responses: '204': description: Response @@ -94702,7 +94973,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *646 + - *647 - *18 - *20 responses: @@ -94712,9 +94983,9 @@ paths: application/json: schema: type: array - items: *322 + items: *323 examples: - default: *653 + default: *654 headers: Link: *39 '404': *7 @@ -94741,16 +95012,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: - - *646 - - *323 + - *647 + - *324 responses: '200': description: Response content: application/json: - schema: *322 + schema: *323 examples: - default: *654 + default: *655 '404': description: Not Found if project is not managed by this team x-github: @@ -94775,8 +95046,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: - - *646 - - *323 + - *647 + - *324 requestBody: required: false content: @@ -94844,8 +95115,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: - - *646 - - *323 + - *647 + - *324 responses: '204': description: Response @@ -94872,7 +95143,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *646 + - *647 - *18 - *20 responses: @@ -94882,9 +95153,9 @@ paths: application/json: schema: type: array - items: *159 + items: *163 examples: - default: *260 + default: *265 headers: Link: *39 '404': *7 @@ -94914,15 +95185,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: - - *646 - - *324 + - *647 - *325 + - *326 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *655 + schema: *656 examples: alternative-response-with-extra-repository-information: value: @@ -95073,9 +95344,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: - - *646 - - *324 + - *647 - *325 + - *326 requestBody: required: false content: @@ -95125,9 +95396,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: - - *646 - - *324 + - *647 - *325 + - *326 responses: '204': description: Response @@ -95156,15 +95427,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: - - *646 + - *647 responses: '200': description: Response content: application/json: - schema: *326 + schema: *327 examples: - default: *327 + default: *328 '403': *29 '404': *7 x-github: @@ -95191,7 +95462,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: - - *646 + - *647 requestBody: required: true content: @@ -95248,7 +95519,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *327 examples: default: value: @@ -95279,7 +95550,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *646 + - *647 - *18 - *20 responses: @@ -95289,9 +95560,9 @@ paths: application/json: schema: type: array - items: *238 + items: *243 examples: - response-if-child-teams-exist: *656 + response-if-child-teams-exist: *657 headers: Link: *39 '404': *7 @@ -95324,7 +95595,7 @@ paths: application/json: schema: oneOf: - - &658 + - &659 title: Private User description: Private User type: object @@ -95527,7 +95798,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *657 + - *658 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -95680,7 +95951,7 @@ paths: description: Response content: application/json: - schema: *658 + schema: *659 examples: default: value: @@ -95759,7 +96030,7 @@ paths: type: array items: *19 examples: - default: *241 + default: *246 '304': *37 '404': *7 '403': *29 @@ -95782,7 +96053,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: - - *181 + - *185 responses: '204': description: If the user is blocked @@ -95810,7 +96081,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *181 + - *185 responses: '204': description: Response @@ -95834,7 +96105,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *181 + - *185 responses: '204': description: Response @@ -95883,9 +96154,9 @@ paths: type: integer codespaces: type: array - items: *242 + items: *247 examples: - default: *243 + default: *248 '304': *37 '500': *84 '401': *25 @@ -96024,21 +96295,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *242 + schema: *247 examples: - default: *429 + default: *430 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *242 + schema: *247 examples: - default: *429 + default: *430 '401': *25 '403': *29 '404': *7 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96078,7 +96349,7 @@ paths: type: integer secrets: type: array - items: &659 + items: &660 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -96118,7 +96389,7 @@ paths: - visibility - selected_repositories_url examples: - default: *432 + default: *433 headers: Link: *39 x-github: @@ -96188,13 +96459,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: - - *169 + - *173 responses: '200': description: Response content: application/json: - schema: *659 + schema: *660 examples: default: value: @@ -96224,7 +96495,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: - - *169 + - *173 requestBody: required: true content: @@ -96269,7 +96540,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -96297,7 +96568,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: - - *169 + - *173 responses: '204': description: Response @@ -96322,7 +96593,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: - - *169 + - *173 responses: '200': description: Response @@ -96338,9 +96609,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *163 examples: - default: *660 + default: *661 '401': *25 '403': *29 '404': *7 @@ -96365,7 +96636,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: - - *169 + - *173 requestBody: required: true content: @@ -96419,7 +96690,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: - - *169 + - *173 - name: repository_id in: path required: true @@ -96452,7 +96723,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: - - *169 + - *173 - name: repository_id in: path required: true @@ -96484,15 +96755,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: - - *244 + - *249 responses: '200': description: Response content: application/json: - schema: *242 + schema: *247 examples: - default: *429 + default: *430 '304': *37 '500': *84 '401': *25 @@ -96518,7 +96789,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: - - *244 + - *249 requestBody: required: false content: @@ -96548,9 +96819,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *247 examples: - default: *429 + default: *430 '401': *25 '403': *29 '404': *7 @@ -96572,9 +96843,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: - - *244 + - *249 responses: - '202': *147 + '202': *151 '304': *37 '500': *84 '401': *25 @@ -96601,13 +96872,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: - - *244 + - *249 responses: '202': description: Response content: application/json: - schema: &661 + schema: &662 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -96648,7 +96919,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &662 + default: &663 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -96680,7 +96951,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *244 + - *249 - name: export_id in: path required: true @@ -96693,9 +96964,9 @@ paths: description: Response content: application/json: - schema: *661 + schema: *662 examples: - default: *662 + default: *663 '404': *7 x-github: githubCloudOnly: false @@ -96716,7 +96987,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *244 + - *249 responses: '200': description: Response @@ -96732,9 +97003,9 @@ paths: type: integer machines: type: array - items: *663 + items: *664 examples: - default: *664 + default: *665 '304': *37 '500': *84 '401': *25 @@ -96763,7 +97034,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: - - *244 + - *249 requestBody: required: true content: @@ -96813,13 +97084,13 @@ paths: nullable: true owner: *19 billable_owner: *19 - repository: *337 + repository: *338 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *430 - required: *431 + properties: *431 + required: *432 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -97593,15 +97864,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: - - *244 + - *249 responses: '200': description: Response content: application/json: - schema: *242 + schema: *247 examples: - default: *429 + default: *430 '304': *37 '500': *84 '400': *15 @@ -97613,7 +97884,7 @@ paths: schema: *3 '403': *29 '404': *7 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97633,15 +97904,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: - - *244 + - *249 responses: '200': description: Response content: application/json: - schema: *242 + schema: *247 examples: - default: *429 + default: *430 '500': *84 '401': *25 '403': *29 @@ -97671,9 +97942,9 @@ paths: application/json: schema: type: array - items: *254 + items: *259 examples: - default: &677 + default: &678 value: - id: 197 name: hello_docker @@ -97774,7 +98045,7 @@ paths: application/json: schema: type: array - items: &665 + items: &666 title: Email description: Email type: object @@ -97839,9 +98110,9 @@ paths: application/json: schema: type: array - items: *665 + items: *666 examples: - default: &679 + default: &680 value: - email: octocat@github.com verified: true @@ -97916,7 +98187,7 @@ paths: application/json: schema: type: array - items: *665 + items: *666 examples: default: value: @@ -98026,7 +98297,7 @@ paths: type: array items: *19 examples: - default: *241 + default: *246 headers: Link: *39 '304': *37 @@ -98059,7 +98330,7 @@ paths: type: array items: *19 examples: - default: *241 + default: *246 headers: Link: *39 '304': *37 @@ -98081,7 +98352,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: - - *181 + - *185 responses: '204': description: if the person is followed by the authenticated user @@ -98111,7 +98382,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *181 + - *185 responses: '204': description: Response @@ -98136,7 +98407,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *181 + - *185 responses: '204': description: Response @@ -98172,7 +98443,7 @@ paths: application/json: schema: type: array - items: &666 + items: &667 title: GPG Key description: A unique encryption key type: object @@ -98303,7 +98574,7 @@ paths: - subkeys - revoked examples: - default: &690 + default: &691 value: - id: 3 name: Octocat's GPG Key @@ -98388,9 +98659,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *667 examples: - default: &667 + default: &668 value: id: 3 name: Octocat's GPG Key @@ -98447,7 +98718,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: - - &668 + - &669 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -98459,9 +98730,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *667 examples: - default: *667 + default: *668 '404': *7 '304': *37 '403': *29 @@ -98484,7 +98755,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: - - *668 + - *669 responses: '204': description: Response @@ -98675,7 +98946,7 @@ paths: type: array items: *57 examples: - default: *669 + default: *670 headers: Link: *39 '404': *7 @@ -98700,7 +98971,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *154 + - *158 responses: '204': description: Response @@ -98726,7 +98997,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *154 + - *158 responses: '204': description: Response @@ -98760,12 +99031,12 @@ paths: application/json: schema: anyOf: - - *233 + - *238 - type: object properties: {} additionalProperties: false examples: - default: *234 + default: *239 '204': description: Response when there are no restrictions x-github: @@ -98789,7 +99060,7 @@ paths: required: true content: application/json: - schema: *503 + schema: *504 examples: default: value: @@ -98800,7 +99071,7 @@ paths: description: Response content: application/json: - schema: *233 + schema: *238 examples: default: value: @@ -98881,7 +99152,7 @@ paths: - closed - all default: open - - *239 + - *244 - name: sort description: What to sort results by. in: query @@ -98894,7 +99165,7 @@ paths: - comments default: created - *78 - - *108 + - *112 - *18 - *20 responses: @@ -98904,9 +99175,9 @@ paths: application/json: schema: type: array - items: *118 + items: *122 examples: - default: *240 + default: *245 headers: Link: *39 '404': *7 @@ -98939,7 +99210,7 @@ paths: application/json: schema: type: array - items: &670 + items: &671 title: Key description: Key type: object @@ -99036,9 +99307,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *671 examples: - default: &671 + default: &672 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -99071,15 +99342,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: - - *532 + - *533 responses: '200': description: Response content: application/json: - schema: *670 + schema: *671 examples: - default: *671 + default: *672 '404': *7 '304': *37 '403': *29 @@ -99102,7 +99373,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: - - *532 + - *533 responses: '204': description: Response @@ -99135,7 +99406,7 @@ paths: application/json: schema: type: array - items: &672 + items: &673 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -99192,7 +99463,7 @@ paths: - id - type - login - plan: *122 + plan: *126 required: - billing_cycle - next_billing_date @@ -99203,7 +99474,7 @@ paths: - account - plan examples: - default: &673 + default: &674 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -99265,9 +99536,9 @@ paths: application/json: schema: type: array - items: *672 + items: *673 examples: - default: *673 + default: *674 headers: Link: *39 '304': *37 @@ -99307,7 +99578,7 @@ paths: application/json: schema: type: array - items: *245 + items: *250 examples: default: value: @@ -99409,13 +99680,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: - - *141 + - *145 responses: '200': description: Response content: application/json: - schema: *245 + schema: *250 examples: default: value: @@ -99473,7 +99744,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: - - *141 + - *145 requestBody: required: true content: @@ -99498,7 +99769,7 @@ paths: description: Response content: application/json: - schema: *245 + schema: *250 examples: default: value: @@ -99566,7 +99837,7 @@ paths: application/json: schema: type: array - items: *247 + items: *252 examples: default: value: @@ -99819,7 +100090,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *252 examples: default: value: @@ -99999,7 +100270,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *248 + - *253 - name: exclude in: query required: false @@ -100012,7 +100283,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *252 examples: default: value: @@ -100206,7 +100477,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *248 + - *253 responses: '302': description: Response @@ -100232,7 +100503,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *248 + - *253 responses: '204': description: Response @@ -100261,8 +100532,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *248 - - *674 + - *253 + - *675 responses: '204': description: Response @@ -100286,7 +100557,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *248 + - *253 - *18 - *20 responses: @@ -100296,9 +100567,9 @@ paths: application/json: schema: type: array - items: *159 + items: *163 examples: - default: *260 + default: *265 headers: Link: *39 '404': *7 @@ -100335,7 +100606,7 @@ paths: type: array items: *52 examples: - default: *675 + default: *676 headers: Link: *39 '304': *37 @@ -100377,7 +100648,7 @@ paths: - docker - nuget - container - - *676 + - *677 - *20 - *18 responses: @@ -100387,10 +100658,10 @@ paths: application/json: schema: type: array - items: *254 + items: *259 examples: - default: *677 - '400': *678 + default: *678 + '400': *679 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100410,16 +100681,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: - - *256 - - *257 + - *261 + - *262 responses: '200': description: Response content: application/json: - schema: *254 + schema: *259 examples: - default: &691 + default: &692 value: id: 40201 name: octo-name @@ -100532,8 +100803,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: - - *256 - - *257 + - *261 + - *262 responses: '204': description: Response @@ -100563,8 +100834,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: - - *256 - - *257 + - *261 + - *262 - name: token description: package token schema: @@ -100596,8 +100867,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: - - *256 - - *257 + - *261 + - *262 - *20 - *18 - name: state @@ -100617,7 +100888,7 @@ paths: application/json: schema: type: array - items: *258 + items: *263 examples: default: value: @@ -100666,15 +100937,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: - - *256 - - *257 - - *259 + - *261 + - *262 + - *264 responses: '200': description: Response content: application/json: - schema: *258 + schema: *263 examples: default: value: @@ -100710,9 +100981,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: - - *256 - - *257 - - *259 + - *261 + - *262 + - *264 responses: '204': description: Response @@ -100742,9 +101013,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: - - *256 - - *257 - - *259 + - *261 + - *262 + - *264 responses: '204': description: Response @@ -100800,7 +101071,7 @@ paths: description: Response content: application/json: - schema: *267 + schema: *272 examples: default: value: @@ -100869,9 +101140,9 @@ paths: application/json: schema: type: array - items: *665 + items: *666 examples: - default: *679 + default: *680 headers: Link: *39 '304': *37 @@ -100984,7 +101255,7 @@ paths: type: array items: *57 examples: - default: &686 + default: &687 summary: Default response value: - id: 1296269 @@ -101286,9 +101557,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *338 examples: - default: *339 + default: *340 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -101326,9 +101597,9 @@ paths: application/json: schema: type: array - items: *505 + items: *506 examples: - default: *680 + default: *681 headers: Link: *39 '304': *37 @@ -101351,12 +101622,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *237 + - *242 responses: '204': description: Response '403': *29 - '409': *146 + '409': *150 '404': *7 '304': *37 x-github: @@ -101374,11 +101645,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *237 + - *242 responses: '204': description: Response - '409': *146 + '409': *150 '304': *37 '404': *7 '403': *29 @@ -101407,7 +101678,7 @@ paths: application/json: schema: type: array - items: &681 + items: &682 title: Social account description: Social media account type: object @@ -101422,7 +101693,7 @@ paths: - provider - url examples: - default: &682 + default: &683 value: - provider: twitter url: https://twitter.com/github @@ -101484,9 +101755,9 @@ paths: application/json: schema: type: array - items: *681 + items: *682 examples: - default: *682 + default: *683 '422': *16 '304': *37 '404': *7 @@ -101573,7 +101844,7 @@ paths: application/json: schema: type: array - items: &683 + items: &684 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -101593,7 +101864,7 @@ paths: - title - created_at examples: - default: &692 + default: &693 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -101659,9 +101930,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *684 examples: - default: &684 + default: &685 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -101692,7 +101963,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: - - &685 + - &686 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -101704,9 +101975,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *684 examples: - default: *684 + default: *685 '404': *7 '304': *37 '403': *29 @@ -101729,7 +102000,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: - - *685 + - *686 responses: '204': description: Response @@ -101758,7 +102029,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: - - &693 + - &694 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 @@ -101783,11 +102054,11 @@ paths: type: array items: *57 examples: - default-response: *686 + default-response: *687 application/vnd.github.v3.star+json: schema: type: array - items: &694 + items: &695 title: Starred Repository description: Starred Repository type: object @@ -101943,8 +102214,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: - - *324 - *325 + - *326 responses: '204': description: Response if this repository is starred by you @@ -101972,8 +102243,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: - - *324 - *325 + - *326 responses: '204': description: Response @@ -101997,8 +102268,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: - - *324 - *325 + - *326 responses: '204': description: Response @@ -102031,9 +102302,9 @@ paths: application/json: schema: type: array - items: *159 + items: *163 examples: - default: *260 + default: *265 headers: Link: *39 '304': *37 @@ -102070,7 +102341,7 @@ paths: application/json: schema: type: array - items: *305 + items: *306 examples: default: value: @@ -102146,7 +102417,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *124 + - *128 responses: '200': description: Response @@ -102154,10 +102425,10 @@ paths: application/json: schema: oneOf: + - *659 - *658 - - *657 examples: - default-response: &688 + default-response: &689 summary: Default response value: login: octocat @@ -102192,7 +102463,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &689 + response-with-git-hub-plan-information: &690 summary: Response with GitHub plan information value: login: octocat @@ -102252,7 +102523,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *687 + - *688 - *18 responses: '200': @@ -102263,7 +102534,7 @@ paths: type: array items: *19 examples: - default: *241 + default: *246 headers: Link: example: ; rel="next" @@ -102291,7 +102562,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *181 + - *185 responses: '200': description: Response @@ -102299,11 +102570,11 @@ paths: application/json: schema: oneOf: + - *659 - *658 - - *657 examples: - default-response: *688 - response-with-git-hub-plan-information: *689 + default-response: *689 + response-with-git-hub-plan-information: *690 '404': *7 x-github: githubCloudOnly: false @@ -102329,7 +102600,7 @@ paths: - *18 - *76 - *77 - - *181 + - *185 - name: subject_digest description: Subject Digest in: path @@ -102429,7 +102700,7 @@ paths: description: Response content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -102455,7 +102726,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: - - *181 + - *185 responses: '200': description: Response @@ -102463,9 +102734,9 @@ paths: application/json: schema: type: array - items: *254 + items: *259 examples: - default: *677 + default: *678 '403': *29 '401': *25 x-github: @@ -102488,7 +102759,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *181 + - *185 - *18 - *20 responses: @@ -102498,7 +102769,7 @@ paths: application/json: schema: type: array - items: *130 + items: *134 examples: default: value: @@ -102569,8 +102840,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: - - *181 - - *141 + - *185 + - *145 - *18 - *20 responses: @@ -102580,7 +102851,7 @@ paths: application/json: schema: type: array - items: *130 + items: *134 examples: default: value: @@ -102659,7 +102930,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *181 + - *185 - *18 - *20 responses: @@ -102669,7 +102940,7 @@ paths: application/json: schema: type: array - items: *130 + items: *134 examples: default: value: @@ -102736,7 +103007,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *181 + - *185 - *18 - *20 responses: @@ -102748,7 +103019,7 @@ paths: type: array items: *19 examples: - default: *241 + default: *246 headers: Link: *39 x-github: @@ -102767,7 +103038,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *181 + - *185 - *18 - *20 responses: @@ -102779,7 +103050,7 @@ paths: type: array items: *19 examples: - default: *241 + default: *246 headers: Link: *39 x-github: @@ -102798,7 +103069,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: - - *181 + - *185 - name: target_user in: path required: true @@ -102825,8 +103096,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *181 - - *108 + - *185 + - *112 - *18 - *20 responses: @@ -102836,9 +103107,9 @@ paths: application/json: schema: type: array - items: *109 + items: *113 examples: - default: *110 + default: *114 headers: Link: *39 '422': *16 @@ -102859,7 +103130,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: - - *181 + - *185 - *18 - *20 responses: @@ -102869,9 +103140,9 @@ paths: application/json: schema: type: array - items: *666 + items: *667 examples: - default: *690 + default: *691 headers: Link: *39 x-github: @@ -102895,7 +103166,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *181 + - *185 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -102967,7 +103238,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: - - *181 + - *185 responses: '200': description: Response @@ -102975,7 +103246,7 @@ paths: application/json: schema: *22 examples: - default: *502 + default: *503 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102993,7 +103264,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *181 + - *185 - *18 - *20 responses: @@ -103041,7 +103312,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *181 + - *185 - *18 - *20 responses: @@ -103053,7 +103324,7 @@ paths: type: array items: *52 examples: - default: *675 + default: *676 headers: Link: *39 x-github: @@ -103092,8 +103363,8 @@ paths: - docker - nuget - container - - *676 - - *181 + - *677 + - *185 - *20 - *18 responses: @@ -103103,12 +103374,12 @@ paths: application/json: schema: type: array - items: *254 + items: *259 examples: - default: *677 + default: *678 '403': *29 '401': *25 - '400': *678 + '400': *679 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103128,17 +103399,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *256 - - *257 - - *181 + - *261 + - *262 + - *185 responses: '200': description: Response content: application/json: - schema: *254 + schema: *259 examples: - default: *691 + default: *692 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103159,9 +103430,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *256 - - *257 - - *181 + - *261 + - *262 + - *185 responses: '204': description: Response @@ -103193,9 +103464,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *256 - - *257 - - *181 + - *261 + - *262 + - *185 - name: token description: package token schema: @@ -103227,9 +103498,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: - - *256 - - *257 - - *181 + - *261 + - *262 + - *185 responses: '200': description: Response @@ -103237,7 +103508,7 @@ paths: application/json: schema: type: array - items: *258 + items: *263 examples: default: value: @@ -103295,16 +103566,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: - - *256 - - *257 - - *259 - - *181 + - *261 + - *262 + - *264 + - *185 responses: '200': description: Response content: application/json: - schema: *258 + schema: *263 examples: default: value: @@ -103339,10 +103610,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *256 - - *257 - - *181 - - *259 + - *261 + - *262 + - *185 + - *264 responses: '204': description: Response @@ -103374,10 +103645,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *256 - - *257 - - *181 - - *259 + - *261 + - *262 + - *185 + - *264 responses: '204': description: Response @@ -103400,7 +103671,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-user-projects parameters: - - *181 + - *185 - name: state description: Indicates the state of the projects to return. in: query @@ -103421,7 +103692,7 @@ paths: application/json: schema: type: array - items: *267 + items: *272 examples: default: value: @@ -103480,7 +103751,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: - - *181 + - *185 - *18 - *20 responses: @@ -103490,7 +103761,7 @@ paths: application/json: schema: type: array - items: *130 + items: *134 examples: default: value: @@ -103569,7 +103840,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: - - *181 + - *185 - *18 - *20 responses: @@ -103579,7 +103850,7 @@ paths: application/json: schema: type: array - items: *130 + items: *134 examples: default: value: @@ -103656,7 +103927,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *181 + - *185 - name: type description: Limit results to repositories of the specified type. in: query @@ -103699,9 +103970,9 @@ paths: application/json: schema: type: array - items: *159 + items: *163 examples: - default: *260 + default: *265 headers: Link: *39 x-github: @@ -103725,15 +103996,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: - - *181 + - *185 responses: '200': description: Response content: application/json: - schema: *297 + schema: *298 examples: - default: *298 + default: *299 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103755,15 +104026,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: - - *181 + - *185 responses: '200': description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103785,15 +104056,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: - - *181 + - *185 responses: '200': description: Response content: application/json: - schema: *303 + schema: *304 examples: - default: *304 + default: *305 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103811,7 +104082,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: - - *181 + - *185 - *18 - *20 responses: @@ -103821,9 +104092,9 @@ paths: application/json: schema: type: array - items: *681 + items: *682 examples: - default: *682 + default: *683 headers: Link: *39 x-github: @@ -103843,7 +104114,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: - - *181 + - *185 - *18 - *20 responses: @@ -103853,9 +104124,9 @@ paths: application/json: schema: type: array - items: *683 + items: *684 examples: - default: *692 + default: *693 headers: Link: *39 x-github: @@ -103879,8 +104150,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *181 - - *693 + - *185 + - *694 - *78 - *18 - *20 @@ -103892,11 +104163,11 @@ paths: schema: anyOf: - type: array - items: *694 + items: *695 - type: array items: *57 examples: - default-response: *686 + default-response: *687 headers: Link: *39 x-github: @@ -103915,7 +104186,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *181 + - *185 - *18 - *20 responses: @@ -103925,9 +104196,9 @@ paths: application/json: schema: type: array - items: *159 + items: *163 examples: - default: *260 + default: *265 headers: Link: *39 x-github: @@ -104055,7 +104326,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &695 + enterprise: &696 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -104113,7 +104384,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &696 + installation: &697 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -104132,7 +104403,7 @@ x-webhooks: required: - id - node_id - organization: &697 + organization: &698 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -104192,13 +104463,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &698 + repository: &699 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &735 + properties: &736 id: description: Unique identifier of the repository example: 42 @@ -104218,8 +104489,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *119 - required: *120 + properties: *123 + required: *124 nullable: true organization: title: Simple User @@ -104881,7 +105152,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &736 + required: &737 - archive_url - assignees_url - blobs_url @@ -105032,10 +105303,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -105111,11 +105382,11 @@ x-webhooks: type: string enum: - created - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 - rule: &699 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + rule: &700 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) @@ -105338,11 +105609,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 - rule: *699 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + rule: *700 sender: *19 required: - action @@ -105525,11 +105796,11 @@ x-webhooks: - everyone required: - from - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 - rule: *699 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + rule: *700 sender: *19 required: - action @@ -105602,7 +105873,7 @@ x-webhooks: required: true content: application/json: - schema: &702 + schema: &703 title: Exemption request cancellation event type: object properties: @@ -105610,11 +105881,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 - exemption_request: &700 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + exemption_request: &701 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -105764,7 +106035,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &701 + items: &702 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -105869,7 +106140,7 @@ x-webhooks: required: true content: application/json: - schema: &703 + schema: &704 title: Exemption request completed event type: object properties: @@ -105877,11 +106148,11 @@ x-webhooks: type: string enum: - completed - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 - exemption_request: *700 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + exemption_request: *701 sender: *19 required: - action @@ -105953,7 +106224,7 @@ x-webhooks: required: true content: application/json: - schema: &704 + schema: &705 title: Exemption request created event type: object properties: @@ -105961,11 +106232,11 @@ x-webhooks: type: string enum: - created - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 - exemption_request: *700 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + exemption_request: *701 sender: *19 required: - action @@ -106037,7 +106308,7 @@ x-webhooks: required: true content: application/json: - schema: &705 + schema: &706 title: Exemption response dismissed event type: object properties: @@ -106045,12 +106316,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 - exemption_request: *700 - exemption_response: *701 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + exemption_request: *701 + exemption_response: *702 sender: *19 required: - action @@ -106124,7 +106395,7 @@ x-webhooks: required: true content: application/json: - schema: &706 + schema: &707 title: Exemption response submitted event type: object properties: @@ -106132,12 +106403,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 - exemption_request: *700 - exemption_response: *701 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + exemption_request: *701 + exemption_response: *702 sender: *19 required: - action @@ -106210,7 +106481,7 @@ x-webhooks: required: true content: application/json: - schema: *702 + schema: *703 responses: '200': description: Return a 200 status to indicate that the data was received @@ -106277,7 +106548,7 @@ x-webhooks: required: true content: application/json: - schema: *703 + schema: *704 responses: '200': description: Return a 200 status to indicate that the data was received @@ -106344,7 +106615,7 @@ x-webhooks: required: true content: application/json: - schema: *704 + schema: *705 responses: '200': description: Return a 200 status to indicate that the data was received @@ -106411,7 +106682,7 @@ x-webhooks: required: true content: application/json: - schema: *705 + schema: *706 responses: '200': description: Return a 200 status to indicate that the data was received @@ -106479,7 +106750,7 @@ x-webhooks: required: true content: application/json: - schema: *706 + schema: *707 responses: '200': description: Return a 200 status to indicate that the data was received @@ -106557,7 +106828,7 @@ x-webhooks: type: string enum: - completed - check_run: &708 + check_run: &709 title: CheckRun description: A check performed on the code of a given code change type: object @@ -106571,8 +106842,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 check_suite: description: A suite of checks performed on the code of a given code change @@ -106620,8 +106891,8 @@ x-webhooks: type: string pull_requests: type: array - items: *394 - repository: *159 + items: *395 + repository: *163 status: example: completed type: string @@ -106658,7 +106929,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *707 + deployment: *708 details_url: example: https://example.com type: string @@ -106708,7 +106979,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *394 + items: *395 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -106743,9 +107014,9 @@ x-webhooks: - output - app - pull_requests - installation: *696 - organization: *697 - repository: *698 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - check_run @@ -107138,10 +107409,10 @@ x-webhooks: type: string enum: - created - check_run: *708 - installation: *696 - organization: *697 - repository: *698 + check_run: *709 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - check_run @@ -107537,10 +107808,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *708 - installation: *696 - organization: *697 - repository: *698 + check_run: *709 + installation: *697 + organization: *698 + repository: *699 requested_action: description: The action requested by the user. type: object @@ -107945,10 +108216,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *708 - installation: *696 - organization: *697 - repository: *698 + check_run: *709 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - check_run @@ -108925,10 +109196,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -109598,10 +109869,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -110265,10 +110536,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -110568,20 +110839,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &709 + commit_oid: &710 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: *695 - installation: *696 - organization: *697 - ref: &710 + enterprise: *696 + installation: *697 + organization: *698 + ref: &711 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: *698 + repository: *699 sender: *19 required: - action @@ -110899,12 +111170,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *709 - enterprise: *695 - installation: *696 - organization: *697 - ref: *710 - repository: *698 + commit_oid: *710 + enterprise: *696 + installation: *697 + organization: *698 + ref: *711 + repository: *699 sender: *19 required: - action @@ -110999,7 +111270,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *407 + dismissed_comment: *408 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -111161,12 +111432,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *709 - enterprise: *695 - installation: *696 - organization: *697 - ref: *710 - repository: *698 + commit_oid: *710 + enterprise: *696 + installation: *697 + organization: *698 + ref: *711 + repository: *699 sender: *19 required: - action @@ -111487,12 +111758,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *709 - enterprise: *695 - installation: *696 - organization: *697 - ref: *710 - repository: *698 + commit_oid: *710 + enterprise: *696 + installation: *697 + organization: *698 + ref: *711 + repository: *699 sender: *19 required: - action @@ -111749,16 +112020,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 ref: 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 nullable: true - repository: *698 + repository: *699 sender: *19 required: - action @@ -111984,12 +112255,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *709 - enterprise: *695 - installation: *696 - organization: *697 - ref: *710 - repository: *698 + commit_oid: *710 + enterprise: *696 + installation: *697 + organization: *698 + ref: *711 + repository: *699 sender: *19 required: - action @@ -112246,10 +112517,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -112329,18 +112600,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *697 - pusher_type: &711 + organization: *698 + pusher_type: &712 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &712 + ref: &713 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -112350,7 +112621,7 @@ x-webhooks: enum: - tag - branch - repository: *698 + repository: *699 sender: *19 required: - ref @@ -112432,10 +112703,10 @@ x-webhooks: type: string enum: - created - definition: *268 - enterprise: *695 - installation: *696 - organization: *697 + definition: *96 + enterprise: *696 + installation: *697 + organization: *698 sender: *19 required: - action @@ -112520,9 +112791,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 sender: *19 required: - action @@ -112599,10 +112870,10 @@ x-webhooks: type: string enum: - updated - definition: *268 - enterprise: *695 - installation: *696 - organization: *697 + definition: *96 + enterprise: *696 + installation: *697 + organization: *698 sender: *19 required: - action @@ -112679,19 +112950,19 @@ x-webhooks: type: string enum: - updated - enterprise: *695 - installation: *696 - repository: *698 - organization: *697 + enterprise: *696 + installation: *697 + repository: *699 + organization: *698 sender: *19 new_property_values: type: array description: The new custom property values for the repository. - items: *272 + items: *273 old_property_values: type: array description: The old custom property values for the repository. - items: *272 + items: *273 required: - action - repository @@ -112767,18 +113038,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *695 - installation: *696 - organization: *697 - pusher_type: *711 - ref: *712 + enterprise: *696 + installation: *697 + organization: *698 + pusher_type: *712 + ref: *713 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *698 + repository: *699 sender: *19 required: - ref @@ -112862,11 +113133,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *461 - installation: *696 - organization: *697 - enterprise: *695 - repository: *698 + alert: *462 + installation: *697 + organization: *698 + enterprise: *696 + repository: *699 sender: *19 required: - action @@ -112950,11 +113221,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *461 - installation: *696 - organization: *697 - enterprise: *695 - repository: *698 + alert: *462 + installation: *697 + organization: *698 + enterprise: *696 + repository: *699 sender: *19 required: - action @@ -113038,11 +113309,11 @@ x-webhooks: type: string enum: - created - alert: *461 - installation: *696 - organization: *697 - enterprise: *695 - repository: *698 + alert: *462 + installation: *697 + organization: *698 + enterprise: *696 + repository: *699 sender: *19 required: - action @@ -113124,11 +113395,11 @@ x-webhooks: type: string enum: - dismissed - alert: *461 - installation: *696 - organization: *697 - enterprise: *695 - repository: *698 + alert: *462 + installation: *697 + organization: *698 + enterprise: *696 + repository: *699 sender: *19 required: - action @@ -113210,11 +113481,11 @@ x-webhooks: type: string enum: - fixed - alert: *461 - installation: *696 - organization: *697 - enterprise: *695 - repository: *698 + alert: *462 + installation: *697 + organization: *698 + enterprise: *696 + repository: *699 sender: *19 required: - action @@ -113297,11 +113568,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *461 - installation: *696 - organization: *697 - enterprise: *695 - repository: *698 + alert: *462 + installation: *697 + organization: *698 + enterprise: *696 + repository: *699 sender: *19 required: - action @@ -113383,11 +113654,11 @@ x-webhooks: type: string enum: - reopened - alert: *461 - installation: *696 - organization: *697 - enterprise: *695 - repository: *698 + alert: *462 + installation: *697 + organization: *698 + enterprise: *696 + repository: *699 sender: *19 required: - action @@ -113464,9 +113735,9 @@ x-webhooks: type: string enum: - created - enterprise: *695 - installation: *696 - key: &713 + enterprise: *696 + installation: *697 + key: &714 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -113502,8 +113773,8 @@ x-webhooks: - verified - created_at - read_only - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 required: - action @@ -113580,11 +113851,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *695 - installation: *696 - key: *713 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + key: *714 + organization: *698 + repository: *699 sender: *19 required: - action @@ -114145,12 +114416,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 - workflow: &717 + workflow: &718 title: Workflow type: object nullable: true @@ -114876,13 +115147,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *467 + deployment: *468 pull_requests: type: array - items: *552 - repository: *698 - organization: *697 - installation: *696 + items: *553 + repository: *699 + organization: *698 + installation: *697 sender: *19 responses: '200': @@ -114953,7 +115224,7 @@ x-webhooks: type: string enum: - approved - approver: &714 + approver: &715 type: object properties: avatar_url: @@ -114996,11 +115267,11 @@ x-webhooks: type: string comment: type: string - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 - reviewers: &715 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + reviewers: &716 type: array items: type: object @@ -115079,7 +115350,7 @@ x-webhooks: sender: *19 since: type: string - workflow_job_run: &716 + workflow_job_run: &717 type: object properties: conclusion: @@ -115810,18 +116081,18 @@ x-webhooks: type: string enum: - rejected - approver: *714 + approver: *715 comment: type: string - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 - reviewers: *715 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + reviewers: *716 sender: *19 since: type: string - workflow_job_run: *716 + workflow_job_run: *717 workflow_job_runs: type: array items: @@ -116525,13 +116796,13 @@ x-webhooks: type: string enum: - requested - enterprise: *695 + enterprise: *696 environment: type: string - installation: *696 - organization: *697 - repository: *698 - requestor: &722 + installation: *697 + organization: *698 + repository: *699 + requestor: &723 title: User type: object nullable: true @@ -118430,12 +118701,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 - workflow: *717 + workflow: *718 workflow_run: title: Deployment Workflow Run type: object @@ -119115,7 +119386,7 @@ x-webhooks: type: string enum: - answered - answer: &720 + answer: &721 type: object properties: author_association: @@ -119272,7 +119543,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &718 + discussion: &719 title: Discussion description: A Discussion in a repository. type: object @@ -119558,7 +119829,7 @@ x-webhooks: - id labels: type: array - items: *514 + items: *515 required: - repository_url - category @@ -119580,10 +119851,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -119710,11 +119981,11 @@ x-webhooks: - from required: - category - discussion: *718 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -119797,11 +120068,11 @@ x-webhooks: type: string enum: - closed - discussion: *718 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -119883,7 +120154,7 @@ x-webhooks: type: string enum: - created - comment: &719 + comment: &720 type: object properties: author_association: @@ -120040,11 +120311,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *718 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -120127,12 +120398,12 @@ x-webhooks: type: string enum: - deleted - comment: *719 - discussion: *718 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + comment: *720 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -120227,12 +120498,12 @@ x-webhooks: - from required: - body - comment: *719 - discussion: *718 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + comment: *720 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -120316,11 +120587,11 @@ x-webhooks: type: string enum: - created - discussion: *718 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -120402,11 +120673,11 @@ x-webhooks: type: string enum: - deleted - discussion: *718 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -120506,11 +120777,11 @@ x-webhooks: type: string required: - from - discussion: *718 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -120592,10 +120863,10 @@ x-webhooks: type: string enum: - labeled - discussion: *718 - enterprise: *695 - installation: *696 - label: &721 + discussion: *719 + enterprise: *696 + installation: *697 + label: &722 title: Label type: object properties: @@ -120627,8 +120898,8 @@ x-webhooks: - color - default - description - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 required: - action @@ -120711,11 +120982,11 @@ x-webhooks: type: string enum: - locked - discussion: *718 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -120797,11 +121068,11 @@ x-webhooks: type: string enum: - pinned - discussion: *718 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -120883,11 +121154,11 @@ x-webhooks: type: string enum: - reopened - discussion: *718 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -120972,16 +121243,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *718 - new_repository: *698 + new_discussion: *719 + new_repository: *699 required: - new_discussion - new_repository - discussion: *718 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -121064,10 +121335,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *718 - old_answer: *720 - organization: *697 - repository: *698 + discussion: *719 + old_answer: *721 + organization: *698 + repository: *699 sender: *19 required: - action @@ -121149,12 +121420,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *718 - enterprise: *695 - installation: *696 - label: *721 - organization: *697 - repository: *698 + discussion: *719 + enterprise: *696 + installation: *697 + label: *722 + organization: *698 + repository: *699 sender: *19 required: - action @@ -121237,11 +121508,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *718 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -121323,11 +121594,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *718 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -121400,7 +121671,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *695 + enterprise: *696 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -122060,9 +122331,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *696 - organization: *697 - repository: *698 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - forkee @@ -122208,9 +122479,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 pages: description: The pages that were updated. type: array @@ -122247,7 +122518,7 @@ x-webhooks: - action - sha - html_url - repository: *698 + repository: *699 sender: *19 required: - pages @@ -122323,10 +122594,10 @@ x-webhooks: type: string enum: - created - enterprise: *695 + enterprise: *696 installation: *22 - organization: *697 - repositories: &723 + organization: *698 + repositories: &724 description: An array of repository objects that the installation can access. type: array @@ -122352,8 +122623,8 @@ x-webhooks: - name - full_name - private - repository: *698 - requester: *722 + repository: *699 + requester: *723 sender: *19 required: - action @@ -122428,11 +122699,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *695 + enterprise: *696 installation: *22 - organization: *697 - repositories: *723 - repository: *698 + organization: *698 + repositories: *724 + repository: *699 requester: nullable: true sender: *19 @@ -122508,11 +122779,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *695 + enterprise: *696 installation: *22 - organization: *697 - repositories: *723 - repository: *698 + organization: *698 + repositories: *724 + repository: *699 requester: nullable: true sender: *19 @@ -122588,10 +122859,10 @@ x-webhooks: type: string enum: - added - enterprise: *695 + enterprise: *696 installation: *22 - organization: *697 - repositories_added: &724 + organization: *698 + repositories_added: &725 description: An array of repository objects, which were added to the installation. type: array @@ -122637,15 +122908,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *698 - repository_selection: &725 + repository: *699 + repository_selection: &726 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *722 + requester: *723 sender: *19 required: - action @@ -122724,10 +122995,10 @@ x-webhooks: type: string enum: - removed - enterprise: *695 + enterprise: *696 installation: *22 - organization: *697 - repositories_added: *724 + organization: *698 + repositories_added: *725 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -122754,9 +123025,9 @@ x-webhooks: - name - full_name - private - repository: *698 - repository_selection: *725 - requester: *722 + repository: *699 + repository_selection: *726 + requester: *723 sender: *19 required: - action @@ -122835,11 +123106,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *695 + enterprise: *696 installation: *22 - organization: *697 - repositories: *723 - repository: *698 + organization: *698 + repositories: *724 + repository: *699 requester: nullable: true sender: *19 @@ -123018,10 +123289,10 @@ x-webhooks: type: string required: - from - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 target_type: type: string @@ -123100,11 +123371,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *695 + enterprise: *696 installation: *22 - organization: *697 - repositories: *723 - repository: *698 + organization: *698 + repositories: *724 + repository: *699 requester: nullable: true sender: *19 @@ -123228,8 +123499,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 reactions: title: Reactions type: object @@ -123356,8 +123627,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -124512,8 +124783,8 @@ x-webhooks: - state - locked - assignee - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 required: - action @@ -124593,7 +124864,7 @@ x-webhooks: type: string enum: - deleted - comment: &726 + comment: &727 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -124758,8 +125029,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -125912,8 +126183,8 @@ x-webhooks: - state - locked - assignee - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 required: - action @@ -125993,7 +126264,7 @@ x-webhooks: type: string enum: - edited - changes: &754 + changes: &755 description: The changes to the comment. type: object properties: @@ -126005,9 +126276,9 @@ x-webhooks: type: string required: - from - comment: *726 - enterprise: *695 - installation: *696 + comment: *727 + enterprise: *696 + installation: *697 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -127161,8 +127432,8 @@ x-webhooks: - state - locked - assignee - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 required: - action @@ -127244,10 +127515,10 @@ x-webhooks: type: string enum: - assigned - assignee: *722 - enterprise: *695 - installation: *696 - issue: &729 + assignee: *723 + enterprise: *696 + installation: *697 + issue: &730 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -128165,8 +128436,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 required: - action @@ -128246,8 +128517,8 @@ x-webhooks: type: string enum: - closed - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -129305,8 +129576,8 @@ x-webhooks: required: - state - closed_at - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 required: - action @@ -129385,8 +129656,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -130297,8 +130568,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 required: - action @@ -130377,8 +130648,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -131292,7 +131563,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &727 + milestone: &728 title: Milestone description: A collection of related issues and pull requests. type: object @@ -131430,8 +131701,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 required: - action @@ -131530,8 +131801,8 @@ x-webhooks: type: string required: - from - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -132449,9 +132720,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *721 - organization: *697 - repository: *698 + label: *722 + organization: *698 + repository: *699 sender: *19 required: - action @@ -132531,8 +132802,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -133449,9 +133720,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *721 - organization: *697 - repository: *698 + label: *722 + organization: *698 + repository: *699 sender: *19 required: - action @@ -133531,8 +133802,8 @@ x-webhooks: type: string enum: - locked - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -134450,8 +134721,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 required: - action @@ -134530,8 +134801,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -135443,9 +135714,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *727 - organization: *697 - repository: *698 + milestone: *728 + organization: *698 + repository: *699 sender: *19 required: - action @@ -136906,8 +137177,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -137824,8 +138095,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 required: - action @@ -137905,9 +138176,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *695 - installation: *696 - issue: &728 + enterprise: *696 + installation: *697 + issue: &729 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -138818,8 +139089,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 required: - action @@ -138898,8 +139169,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -139816,8 +140087,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 required: - action @@ -141279,11 +141550,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *695 - installation: *696 - issue: *728 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + issue: *729 + organization: *698 + repository: *699 sender: *19 required: - action @@ -141364,7 +141635,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &757 + assignee: &758 title: User type: object nullable: true @@ -141434,11 +141705,11 @@ x-webhooks: required: - login - id - enterprise: *695 - installation: *696 - issue: *729 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + issue: *730 + organization: *698 + repository: *699 sender: *19 required: - action @@ -141517,12 +141788,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *695 - installation: *696 - issue: *729 - label: *721 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + issue: *730 + label: *722 + organization: *698 + repository: *699 sender: *19 required: - action @@ -141602,8 +141873,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142519,8 +142790,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 required: - action @@ -142600,11 +142871,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *695 - installation: *696 - issue: *728 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + issue: *729 + organization: *698 + repository: *699 sender: *19 required: - action @@ -142683,11 +142954,11 @@ x-webhooks: type: string enum: - created - enterprise: *695 - installation: *696 - label: *721 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + label: *722 + organization: *698 + repository: *699 sender: *19 required: - action @@ -142765,11 +143036,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *695 - installation: *696 - label: *721 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + label: *722 + organization: *698 + repository: *699 sender: *19 required: - action @@ -142879,11 +143150,11 @@ x-webhooks: type: string required: - from - enterprise: *695 - installation: *696 - label: *721 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + label: *722 + organization: *698 + repository: *699 sender: *19 required: - action @@ -142965,9 +143236,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *695 - installation: *696 - marketplace_purchase: &730 + enterprise: *696 + installation: *697 + marketplace_purchase: &731 title: Marketplace Purchase type: object required: @@ -143050,8 +143321,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *697 - previous_marketplace_purchase: &731 + organization: *698 + previous_marketplace_purchase: &732 title: Marketplace Purchase type: object properties: @@ -143131,7 +143402,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *698 + repository: *699 sender: *19 required: - action @@ -143211,10 +143482,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *695 - installation: *696 - marketplace_purchase: *730 - organization: *697 + enterprise: *696 + installation: *697 + marketplace_purchase: *731 + organization: *698 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -143297,7 +143568,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *698 + repository: *699 sender: *19 required: - action @@ -143379,10 +143650,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *695 - installation: *696 - marketplace_purchase: *730 - organization: *697 + enterprise: *696 + installation: *697 + marketplace_purchase: *731 + organization: *698 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -143464,7 +143735,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *698 + repository: *699 sender: *19 required: - action @@ -143545,8 +143816,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 marketplace_purchase: title: Marketplace Purchase type: object @@ -143628,9 +143899,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *697 - previous_marketplace_purchase: *731 - repository: *698 + organization: *698 + previous_marketplace_purchase: *732 + repository: *699 sender: *19 required: - action @@ -143710,12 +143981,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *695 - installation: *696 - marketplace_purchase: *730 - organization: *697 - previous_marketplace_purchase: *731 - repository: *698 + enterprise: *696 + installation: *697 + marketplace_purchase: *731 + organization: *698 + previous_marketplace_purchase: *732 + repository: *699 sender: *19 required: - action @@ -143817,11 +144088,11 @@ x-webhooks: type: string required: - to - enterprise: *695 - installation: *696 - member: *722 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + member: *723 + organization: *698 + repository: *699 sender: *19 required: - action @@ -143921,11 +144192,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *695 - installation: *696 - member: *722 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + member: *723 + organization: *698 + repository: *699 sender: *19 required: - action @@ -144004,11 +144275,11 @@ x-webhooks: type: string enum: - removed - enterprise: *695 - installation: *696 - member: *722 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + member: *723 + organization: *698 + repository: *699 sender: *19 required: - action @@ -144086,11 +144357,11 @@ x-webhooks: type: string enum: - added - enterprise: *695 - installation: *696 - member: *722 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + member: *723 + organization: *698 + repository: *699 scope: description: The scope of the membership. Currently, can only be `team`. @@ -144166,7 +144437,7 @@ x-webhooks: required: - login - id - team: &732 + team: &733 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -144356,11 +144627,11 @@ x-webhooks: type: string enum: - removed - enterprise: *695 - installation: *696 - member: *722 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + member: *723 + organization: *698 + repository: *699 scope: description: The scope of the membership. Currently, can only be `team`. @@ -144437,7 +144708,7 @@ x-webhooks: required: - login - id - team: *732 + team: *733 required: - action - scope @@ -144519,8 +144790,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *696 - merge_group: &734 + installation: *697 + merge_group: &735 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -144539,15 +144810,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *733 + head_commit: *734 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 required: - action @@ -144633,10 +144904,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *696 - merge_group: *734 - organization: *697 - repository: *698 + installation: *697 + merge_group: *735 + organization: *698 + repository: *699 sender: *19 required: - action @@ -144709,7 +144980,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *695 + enterprise: *696 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -144817,16 +145088,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *696 - organization: *697 + installation: *697 + organization: *698 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *735 - required: *736 + properties: *736 + required: *737 nullable: true sender: *19 required: @@ -144907,11 +145178,11 @@ x-webhooks: type: string enum: - closed - enterprise: *695 - installation: *696 - milestone: *727 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + milestone: *728 + organization: *698 + repository: *699 sender: *19 required: - action @@ -144990,9 +145261,9 @@ x-webhooks: type: string enum: - created - enterprise: *695 - installation: *696 - milestone: &737 + enterprise: *696 + installation: *697 + milestone: &738 title: Milestone description: A collection of related issues and pull requests. type: object @@ -145129,8 +145400,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 required: - action @@ -145209,11 +145480,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *695 - installation: *696 - milestone: *727 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + milestone: *728 + organization: *698 + repository: *699 sender: *19 required: - action @@ -145323,11 +145594,11 @@ x-webhooks: type: string required: - from - enterprise: *695 - installation: *696 - milestone: *727 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + milestone: *728 + organization: *698 + repository: *699 sender: *19 required: - action @@ -145407,11 +145678,11 @@ x-webhooks: type: string enum: - opened - enterprise: *695 - installation: *696 - milestone: *737 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + milestone: *738 + organization: *698 + repository: *699 sender: *19 required: - action @@ -145490,11 +145761,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *722 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + blocked_user: *723 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -145573,11 +145844,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *722 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + blocked_user: *723 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -145656,9 +145927,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *695 - installation: *696 - membership: &738 + enterprise: *696 + installation: *697 + membership: &739 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -145750,8 +146021,8 @@ x-webhooks: - role - organization_url - user - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 required: - action @@ -145829,11 +146100,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *695 - installation: *696 - membership: *738 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + membership: *739 + organization: *698 + repository: *699 sender: *19 required: - action @@ -145912,8 +146183,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -146029,10 +146300,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 - user: *722 + user: *723 required: - action - invitation @@ -146110,11 +146381,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *695 - installation: *696 - membership: *738 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + membership: *739 + organization: *698 + repository: *699 sender: *19 required: - action @@ -146201,11 +146472,11 @@ x-webhooks: properties: from: type: string - enterprise: *695 - installation: *696 - membership: *738 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + membership: *739 + organization: *698 + repository: *699 sender: *19 required: - action @@ -146281,9 +146552,9 @@ x-webhooks: type: string enum: - published - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 package: description: Information about the package. type: object @@ -146782,7 +147053,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &739 + items: &740 title: Ruby Gems metadata type: object properties: @@ -146877,7 +147148,7 @@ x-webhooks: - owner - package_version - registry - repository: *698 + repository: *699 sender: *19 required: - action @@ -146953,9 +147224,9 @@ x-webhooks: type: string enum: - updated - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 package: description: Information about the package. type: object @@ -147308,7 +147579,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *739 + items: *740 source_url: type: string format: uri @@ -147378,7 +147649,7 @@ x-webhooks: - owner - package_version - registry - repository: *698 + repository: *699 sender: *19 required: - action @@ -147555,12 +147826,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *695 + enterprise: *696 id: type: integer - installation: *696 - organization: *697 - repository: *698 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - id @@ -147640,7 +147911,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &740 + personal_access_token_request: &741 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -147786,10 +148057,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *695 - organization: *697 + enterprise: *696 + organization: *698 sender: *19 - installation: *696 + installation: *697 required: - action - personal_access_token_request @@ -147868,11 +148139,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *740 - enterprise: *695 - organization: *697 + personal_access_token_request: *741 + enterprise: *696 + organization: *698 sender: *19 - installation: *696 + installation: *697 required: - action - personal_access_token_request @@ -147950,11 +148221,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *740 - enterprise: *695 - organization: *697 + personal_access_token_request: *741 + enterprise: *696 + organization: *698 sender: *19 - installation: *696 + installation: *697 required: - action - personal_access_token_request @@ -148031,11 +148302,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *740 - organization: *697 - enterprise: *695 + personal_access_token_request: *741 + organization: *698 + enterprise: *696 sender: *19 - installation: *696 + installation: *697 required: - action - personal_access_token_request @@ -148139,7 +148410,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *741 + last_response: *742 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -148171,8 +148442,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 zen: description: Random string of GitHub zen. @@ -148417,10 +148688,10 @@ x-webhooks: - from required: - note - enterprise: *695 - installation: *696 - organization: *697 - project_card: &742 + enterprise: *696 + installation: *697 + organization: *698 + project_card: &743 title: Project Card type: object properties: @@ -148539,7 +148810,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *698 + repository: *699 sender: *19 required: - action @@ -148620,11 +148891,11 @@ x-webhooks: type: string enum: - created - enterprise: *695 - installation: *696 - organization: *697 - project_card: *742 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + project_card: *743 + repository: *699 sender: *19 required: - action @@ -148704,9 +148975,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 project_card: title: Project Card type: object @@ -148834,8 +149105,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *735 - required: *736 + properties: *736 + required: *737 nullable: true sender: *19 required: @@ -148929,11 +149200,11 @@ x-webhooks: - from required: - note - enterprise: *695 - installation: *696 - organization: *697 - project_card: *742 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + project_card: *743 + repository: *699 sender: *19 required: - action @@ -149027,9 +149298,9 @@ x-webhooks: - from required: - column_id - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 project_card: allOf: - title: Project Card @@ -149219,7 +149490,7 @@ x-webhooks: type: string required: - after_id - repository: *698 + repository: *699 sender: *19 required: - action @@ -149299,10 +149570,10 @@ x-webhooks: type: string enum: - closed - enterprise: *695 - installation: *696 - organization: *697 - project: &744 + enterprise: *696 + installation: *697 + organization: *698 + project: &745 title: Project type: object properties: @@ -149426,7 +149697,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *698 + repository: *699 sender: *19 required: - action @@ -149506,10 +149777,10 @@ x-webhooks: type: string enum: - created - enterprise: *695 - installation: *696 - organization: *697 - project_column: &743 + enterprise: *696 + installation: *697 + organization: *698 + project_column: &744 title: Project Column type: object properties: @@ -149548,7 +149819,7 @@ x-webhooks: - name - created_at - updated_at - repository: *698 + repository: *699 sender: *19 required: - action @@ -149627,18 +149898,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *695 - installation: *696 - organization: *697 - project_column: *743 + enterprise: *696 + installation: *697 + organization: *698 + project_column: *744 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *735 - required: *736 + properties: *736 + required: *737 nullable: true sender: *19 required: @@ -149728,11 +149999,11 @@ x-webhooks: type: string required: - from - enterprise: *695 - installation: *696 - organization: *697 - project_column: *743 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + project_column: *744 + repository: *699 sender: *19 required: - action @@ -149812,11 +150083,11 @@ x-webhooks: type: string enum: - moved - enterprise: *695 - installation: *696 - organization: *697 - project_column: *743 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + project_column: *744 + repository: *699 sender: *19 required: - action @@ -149896,11 +150167,11 @@ x-webhooks: type: string enum: - created - enterprise: *695 - installation: *696 - organization: *697 - project: *744 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + project: *745 + repository: *699 sender: *19 required: - action @@ -149980,18 +150251,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *695 - installation: *696 - organization: *697 - project: *744 + enterprise: *696 + installation: *697 + organization: *698 + project: *745 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *735 - required: *736 + properties: *736 + required: *737 nullable: true sender: *19 required: @@ -150093,11 +150364,11 @@ x-webhooks: type: string required: - from - enterprise: *695 - installation: *696 - organization: *697 - project: *744 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + project: *745 + repository: *699 sender: *19 required: - action @@ -150176,11 +150447,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *695 - installation: *696 - organization: *697 - project: *744 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + project: *745 + repository: *699 sender: *19 required: - action @@ -150261,9 +150532,9 @@ x-webhooks: type: string enum: - closed - installation: *696 - organization: *697 - projects_v2: &745 + installation: *697 + organization: *698 + projects_v2: &746 title: Projects v2 Project description: A projects v2 project type: object @@ -150406,9 +150677,9 @@ x-webhooks: type: string enum: - created - installation: *696 - organization: *697 - projects_v2: *745 + installation: *697 + organization: *698 + projects_v2: *746 sender: *19 required: - action @@ -150489,9 +150760,9 @@ x-webhooks: type: string enum: - deleted - installation: *696 - organization: *697 - projects_v2: *745 + installation: *697 + organization: *698 + projects_v2: *746 sender: *19 required: - action @@ -150608,9 +150879,9 @@ x-webhooks: type: string to: type: string - installation: *696 - organization: *697 - projects_v2: *745 + installation: *697 + organization: *698 + projects_v2: *746 sender: *19 required: - action @@ -150693,7 +150964,7 @@ x-webhooks: type: string enum: - archived - changes: &749 + changes: &750 type: object properties: archived_at: @@ -150707,9 +150978,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *696 - organization: *697 - projects_v2_item: &746 + installation: *697 + organization: *698 + projects_v2_item: &747 title: Projects v2 Item description: An item belonging to a project type: object @@ -150843,9 +151114,9 @@ x-webhooks: nullable: true to: type: string - installation: *696 - organization: *697 - projects_v2_item: *746 + installation: *697 + organization: *698 + projects_v2_item: *747 sender: *19 required: - action @@ -150927,9 +151198,9 @@ x-webhooks: type: string enum: - created - installation: *696 - organization: *697 - projects_v2_item: *746 + installation: *697 + organization: *698 + projects_v2_item: *747 sender: *19 required: - action @@ -151010,9 +151281,9 @@ x-webhooks: type: string enum: - deleted - installation: *696 - organization: *697 - projects_v2_item: *746 + installation: *697 + organization: *698 + projects_v2_item: *747 sender: *19 required: - action @@ -151118,7 +151389,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &747 + - &748 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -151136,7 +151407,7 @@ x-webhooks: required: - id - name - - &748 + - &749 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -151159,8 +151430,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *747 - *748 + - *749 required: - field_value - type: object @@ -151176,9 +151447,9 @@ x-webhooks: nullable: true required: - body - installation: *696 - organization: *697 - projects_v2_item: *746 + installation: *697 + organization: *698 + projects_v2_item: *747 sender: *19 required: - action @@ -151273,9 +151544,9 @@ x-webhooks: to: type: string nullable: true - installation: *696 - organization: *697 - projects_v2_item: *746 + installation: *697 + organization: *698 + projects_v2_item: *747 sender: *19 required: - action @@ -151358,10 +151629,10 @@ x-webhooks: type: string enum: - restored - changes: *749 - installation: *696 - organization: *697 - projects_v2_item: *746 + changes: *750 + installation: *697 + organization: *698 + projects_v2_item: *747 sender: *19 required: - action @@ -151443,9 +151714,9 @@ x-webhooks: type: string enum: - reopened - installation: *696 - organization: *697 - projects_v2: *745 + installation: *697 + organization: *698 + projects_v2: *746 sender: *19 required: - action @@ -151526,9 +151797,9 @@ x-webhooks: type: string enum: - created - installation: *696 - organization: *697 - projects_v2_status_update: &750 + installation: *697 + organization: *698 + projects_v2_status_update: &751 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -151655,9 +151926,9 @@ x-webhooks: type: string enum: - deleted - installation: *696 - organization: *697 - projects_v2_status_update: *750 + installation: *697 + organization: *698 + projects_v2_status_update: *751 sender: *19 required: - action @@ -151793,9 +152064,9 @@ x-webhooks: type: string format: date nullable: true - installation: *696 - organization: *697 - projects_v2_status_update: *750 + installation: *697 + organization: *698 + projects_v2_status_update: *751 sender: *19 required: - action @@ -151866,10 +152137,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - repository @@ -151946,13 +152217,13 @@ x-webhooks: type: string enum: - assigned - assignee: *722 - enterprise: *695 - installation: *696 - number: &751 + assignee: *723 + enterprise: *696 + installation: *697 + number: &752 description: The pull request number. type: integer - organization: *697 + organization: *698 pull_request: title: Pull Request type: object @@ -154235,7 +154506,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *698 + repository: *699 sender: *19 required: - action @@ -154317,11 +154588,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 number: type: integer - organization: *697 + organization: *698 pull_request: title: Pull Request type: object @@ -156599,7 +156870,7 @@ x-webhooks: - draft reason: type: string - repository: *698 + repository: *699 sender: *19 required: - action @@ -156681,11 +156952,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 number: type: integer - organization: *697 + organization: *698 pull_request: title: Pull Request type: object @@ -158963,7 +159234,7 @@ x-webhooks: - draft reason: type: string - repository: *698 + repository: *699 sender: *19 required: - action @@ -159045,13 +159316,13 @@ x-webhooks: type: string enum: - closed - enterprise: *695 - installation: *696 - number: *751 - organization: *697 - pull_request: &752 + enterprise: *696 + installation: *697 + number: *752 + organization: *698 + pull_request: &753 allOf: - - *552 + - *553 - type: object properties: allow_auto_merge: @@ -159113,7 +159384,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *698 + repository: *699 sender: *19 required: - action @@ -159194,12 +159465,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *695 - installation: *696 - number: *751 - organization: *697 - pull_request: *752 - repository: *698 + enterprise: *696 + installation: *697 + number: *752 + organization: *698 + pull_request: *753 + repository: *699 sender: *19 required: - action @@ -159279,11 +159550,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *695 - milestone: *535 - number: *751 - organization: *697 - pull_request: &753 + enterprise: *696 + milestone: *536 + number: *752 + organization: *698 + pull_request: &754 title: Pull Request type: object properties: @@ -161546,7 +161817,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *698 + repository: *699 sender: *19 required: - action @@ -161625,11 +161896,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 number: type: integer - organization: *697 + organization: *698 pull_request: title: Pull Request type: object @@ -163911,7 +164182,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *698 + repository: *699 sender: *19 required: - action @@ -164035,12 +164306,12 @@ x-webhooks: type: string required: - from - enterprise: *695 - installation: *696 - number: *751 - organization: *697 - pull_request: *752 - repository: *698 + enterprise: *696 + installation: *697 + number: *752 + organization: *698 + pull_request: *753 + repository: *699 sender: *19 required: - action @@ -164120,11 +164391,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 number: type: integer - organization: *697 + organization: *698 pull_request: title: Pull Request type: object @@ -166391,7 +166662,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *698 + repository: *699 sender: *19 required: - action @@ -166471,11 +166742,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *695 - installation: *696 - label: *721 - number: *751 - organization: *697 + enterprise: *696 + installation: *697 + label: *722 + number: *752 + organization: *698 pull_request: title: Pull Request type: object @@ -168757,7 +169028,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *698 + repository: *699 sender: *19 required: - action @@ -168838,10 +169109,10 @@ x-webhooks: type: string enum: - locked - enterprise: *695 - installation: *696 - number: *751 - organization: *697 + enterprise: *696 + installation: *697 + number: *752 + organization: *698 pull_request: title: Pull Request type: object @@ -171121,7 +171392,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *698 + repository: *699 sender: *19 required: - action @@ -171201,12 +171472,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *695 - milestone: *535 - number: *751 - organization: *697 - pull_request: *753 - repository: *698 + enterprise: *696 + milestone: *536 + number: *752 + organization: *698 + pull_request: *754 + repository: *699 sender: *19 required: - action @@ -171285,12 +171556,12 @@ x-webhooks: type: string enum: - opened - enterprise: *695 - installation: *696 - number: *751 - organization: *697 - pull_request: *752 - repository: *698 + enterprise: *696 + installation: *697 + number: *752 + organization: *698 + pull_request: *753 + repository: *699 sender: *19 required: - action @@ -171371,12 +171642,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *695 - installation: *696 - number: *751 - organization: *697 - pull_request: *752 - repository: *698 + enterprise: *696 + installation: *697 + number: *752 + organization: *698 + pull_request: *753 + repository: *699 sender: *19 required: - action @@ -171456,12 +171727,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *695 - installation: *696 - number: *751 - organization: *697 - pull_request: *752 - repository: *698 + enterprise: *696 + installation: *697 + number: *752 + organization: *698 + pull_request: *753 + repository: *699 sender: *19 required: - action @@ -171827,9 +172098,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 pull_request: type: object properties: @@ -173999,7 +174270,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *698 + repository: *699 sender: *19 required: - action @@ -174079,7 +174350,7 @@ x-webhooks: type: string enum: - deleted - comment: &755 + comment: &756 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. @@ -174364,9 +174635,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 pull_request: type: object properties: @@ -176524,7 +176795,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *698 + repository: *699 sender: *19 required: - action @@ -176604,11 +176875,11 @@ x-webhooks: type: string enum: - edited - changes: *754 - comment: *755 - enterprise: *695 - installation: *696 - organization: *697 + changes: *755 + comment: *756 + enterprise: *696 + installation: *697 + organization: *698 pull_request: type: object properties: @@ -178769,7 +179040,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *698 + repository: *699 sender: *19 required: - action @@ -178850,9 +179121,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 pull_request: title: Simple Pull Request type: object @@ -181025,7 +181296,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *698 + repository: *699 review: description: The review that was affected. type: object @@ -181268,9 +181539,9 @@ x-webhooks: type: string required: - from - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 pull_request: title: Simple Pull Request type: object @@ -183324,8 +183595,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *698 - review: &756 + repository: *699 + review: &757 description: The review that was affected. type: object properties: @@ -183554,12 +183825,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 number: description: The pull request number. type: integer - organization: *697 + organization: *698 pull_request: title: Pull Request type: object @@ -185842,7 +186113,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *698 + repository: *699 requested_reviewer: title: User type: object @@ -185926,12 +186197,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 number: description: The pull request number. type: integer - organization: *697 + organization: *698 pull_request: title: Pull Request type: object @@ -188221,7 +188492,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *698 + repository: *699 requested_team: title: Team description: Groups of organization members that gives permissions @@ -188413,12 +188684,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 number: description: The pull request number. type: integer - organization: *697 + organization: *698 pull_request: title: Pull Request type: object @@ -190703,7 +190974,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *698 + repository: *699 requested_reviewer: title: User type: object @@ -190788,12 +191059,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 number: description: The pull request number. type: integer - organization: *697 + organization: *698 pull_request: title: Pull Request type: object @@ -193069,7 +193340,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *698 + repository: *699 requested_team: title: Team description: Groups of organization members that gives permissions @@ -193250,9 +193521,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 pull_request: title: Simple Pull Request type: object @@ -195427,8 +195698,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *698 - review: *756 + repository: *699 + review: *757 sender: *19 required: - action @@ -195508,9 +195779,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 pull_request: title: Simple Pull Request type: object @@ -197580,7 +197851,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *698 + repository: *699 sender: *19 thread: type: object @@ -197963,9 +198234,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 pull_request: title: Simple Pull Request type: object @@ -200021,7 +200292,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *698 + repository: *699 sender: *19 thread: type: object @@ -200407,10 +200678,10 @@ x-webhooks: type: string before: type: string - enterprise: *695 - installation: *696 - number: *751 - organization: *697 + enterprise: *696 + installation: *697 + number: *752 + organization: *698 pull_request: title: Pull Request type: object @@ -202681,7 +202952,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *698 + repository: *699 sender: *19 required: - action @@ -202763,11 +203034,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *757 - enterprise: *695 - installation: *696 - number: *751 - organization: *697 + assignee: *758 + enterprise: *696 + installation: *697 + number: *752 + organization: *698 pull_request: title: Pull Request type: object @@ -205050,7 +205321,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *698 + repository: *699 sender: *19 required: - action @@ -205129,11 +205400,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *695 - installation: *696 - label: *721 - number: *751 - organization: *697 + enterprise: *696 + installation: *697 + label: *722 + number: *752 + organization: *698 pull_request: title: Pull Request type: object @@ -207406,7 +207677,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *698 + repository: *699 sender: *19 required: - action @@ -207487,10 +207758,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *695 - installation: *696 - number: *751 - organization: *697 + enterprise: *696 + installation: *697 + number: *752 + organization: *698 pull_request: title: Pull Request type: object @@ -209755,7 +210026,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *698 + repository: *699 sender: *19 required: - action @@ -209955,7 +210226,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *695 + enterprise: *696 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -210047,8 +210318,8 @@ x-webhooks: - url - author - committer - installation: *696 - organization: *697 + installation: *697 + organization: *698 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -210623,9 +210894,9 @@ x-webhooks: type: string enum: - published - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 registry_package: type: object properties: @@ -211071,7 +211342,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *739 + items: *740 summary: type: string tag_name: @@ -211125,7 +211396,7 @@ x-webhooks: - owner - package_version - registry - repository: *698 + repository: *699 sender: *19 required: - action @@ -211203,9 +211474,9 @@ x-webhooks: type: string enum: - updated - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 registry_package: type: object properties: @@ -211513,7 +211784,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *739 + items: *740 summary: type: string tag_name: @@ -211562,7 +211833,7 @@ x-webhooks: - owner - package_version - registry - repository: *698 + repository: *699 sender: *19 required: - action @@ -211639,10 +211910,10 @@ x-webhooks: type: string enum: - created - enterprise: *695 - installation: *696 - organization: *697 - release: &758 + enterprise: *696 + installation: *697 + organization: *698 + release: &759 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -211947,7 +212218,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *698 + repository: *699 sender: *19 required: - action @@ -212024,11 +212295,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *695 - installation: *696 - organization: *697 - release: *758 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + release: *759 + repository: *699 sender: *19 required: - action @@ -212136,11 +212407,11 @@ x-webhooks: type: boolean required: - to - enterprise: *695 - installation: *696 - organization: *697 - release: *758 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + release: *759 + repository: *699 sender: *19 required: - action @@ -212218,9 +212489,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -212529,7 +212800,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *698 + repository: *699 sender: *19 required: - action @@ -212605,10 +212876,10 @@ x-webhooks: type: string enum: - published - enterprise: *695 - installation: *696 - organization: *697 - release: &759 + enterprise: *696 + installation: *697 + organization: *698 + release: &760 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -212914,7 +213185,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *698 + repository: *699 sender: *19 required: - action @@ -212990,11 +213261,11 @@ x-webhooks: type: string enum: - released - enterprise: *695 - installation: *696 - organization: *697 - release: *758 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + release: *759 + repository: *699 sender: *19 required: - action @@ -213070,11 +213341,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *695 - installation: *696 - organization: *697 - release: *759 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + release: *760 + repository: *699 sender: *19 required: - action @@ -213150,11 +213421,11 @@ x-webhooks: type: string enum: - published - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 - repository_advisory: *606 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + repository_advisory: *607 sender: *19 required: - action @@ -213230,11 +213501,11 @@ x-webhooks: type: string enum: - reported - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 - repository_advisory: *606 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + repository_advisory: *607 sender: *19 required: - action @@ -213310,10 +213581,10 @@ x-webhooks: type: string enum: - archived - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -213390,10 +213661,10 @@ x-webhooks: type: string enum: - created - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -213471,10 +213742,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -213558,10 +213829,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -213673,10 +213944,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -213748,10 +214019,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 status: type: string @@ -213832,10 +214103,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -213912,10 +214183,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -214009,10 +214280,10 @@ x-webhooks: - name required: - repository - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -214092,11 +214363,11 @@ x-webhooks: type: string enum: - created - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 - repository_ruleset: *284 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + repository_ruleset: *285 sender: *19 required: - action @@ -214174,11 +214445,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 - repository_ruleset: *284 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + repository_ruleset: *285 sender: *19 required: - action @@ -214256,11 +214527,11 @@ x-webhooks: type: string enum: - edited - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 - repository_ruleset: *284 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + repository_ruleset: *285 changes: type: object properties: @@ -214279,16 +214550,16 @@ x-webhooks: properties: added: type: array - items: *278 + items: *279 deleted: type: array - items: *278 + items: *279 updated: type: array items: type: object properties: - condition: *278 + condition: *279 changes: type: object properties: @@ -214321,16 +214592,16 @@ x-webhooks: properties: added: type: array - items: *283 + items: *284 deleted: type: array - items: *283 + items: *284 updated: type: array items: type: object properties: - rule: *283 + rule: *284 changes: type: object properties: @@ -214564,10 +214835,10 @@ x-webhooks: - from required: - owner - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -214645,10 +214916,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -214726,7 +214997,7 @@ x-webhooks: type: string enum: - create - alert: &760 + alert: &761 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -214847,10 +215118,10 @@ x-webhooks: type: string enum: - open - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -215056,10 +215327,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -215137,11 +215408,11 @@ x-webhooks: type: string enum: - reopen - alert: *760 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + alert: *761 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -215340,10 +215611,10 @@ x-webhooks: enum: - fixed - open - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -215421,7 +215692,7 @@ x-webhooks: type: string enum: - created - alert: &761 + alert: &762 type: object properties: number: *85 @@ -215527,10 +215798,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -215611,11 +215882,11 @@ x-webhooks: type: string enum: - created - alert: *761 - installation: *696 - location: *762 - organization: *697 - repository: *698 + alert: *762 + installation: *697 + location: *763 + organization: *698 + repository: *699 sender: *19 required: - location @@ -215853,11 +216124,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *761 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + alert: *762 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -215935,11 +216206,11 @@ x-webhooks: type: string enum: - reopened - alert: *761 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + alert: *762 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -216017,11 +216288,11 @@ x-webhooks: type: string enum: - resolved - alert: *761 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + alert: *762 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -216099,11 +216370,11 @@ x-webhooks: type: string enum: - validated - alert: *761 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + alert: *762 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -216179,11 +216450,11 @@ x-webhooks: type: string enum: - published - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 - security_advisory: &763 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + security_advisory: &764 description: The details of the security advisory, including summary, description, and severity. type: object @@ -216366,11 +216637,11 @@ x-webhooks: type: string enum: - updated - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 - security_advisory: *763 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + security_advisory: *764 sender: *19 required: - action @@ -216443,10 +216714,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -216630,11 +216901,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *275 - enterprise: *695 - installation: *696 - organization: *697 - repository: *337 + security_and_analysis: *276 + enterprise: *696 + installation: *697 + organization: *698 + repository: *338 sender: *19 required: - changes @@ -216712,12 +216983,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 - sponsorship: &764 + sponsorship: &765 type: object properties: created_at: @@ -217018,12 +217289,12 @@ x-webhooks: type: string enum: - created - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 - sponsorship: *764 + sponsorship: *765 required: - action - sponsorship @@ -217111,12 +217382,12 @@ x-webhooks: type: string required: - from - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 - sponsorship: *764 + sponsorship: *765 required: - action - changes @@ -217193,17 +217464,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &765 + effective_date: &766 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: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 - sponsorship: *764 + sponsorship: *765 required: - action - sponsorship @@ -217277,7 +217548,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &766 + changes: &767 type: object properties: tier: @@ -217321,13 +217592,13 @@ x-webhooks: - from required: - tier - effective_date: *765 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + effective_date: *766 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 - sponsorship: *764 + sponsorship: *765 required: - action - changes @@ -217404,13 +217675,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *766 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + changes: *767 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 - sponsorship: *764 + sponsorship: *765 required: - action - changes @@ -217484,10 +217755,10 @@ x-webhooks: type: string enum: - created - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -217570,10 +217841,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -217992,15 +218263,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *695 + enterprise: *696 id: description: The unique identifier of the status. type: integer - installation: *696 + installation: *697 name: type: string - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 sha: description: The Commit SHA. @@ -218109,15 +218380,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *118 + parent_issue: *122 parent_issue_repo: *57 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *118 - installation: *696 - organization: *697 - repository: *698 + sub_issue: *122 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -218201,15 +218472,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *118 + parent_issue: *122 parent_issue_repo: *57 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *118 - installation: *696 - organization: *697 - repository: *698 + sub_issue: *122 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -218293,15 +218564,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *118 + sub_issue: *122 sub_issue_repo: *57 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *118 - installation: *696 - organization: *697 - repository: *698 + parent_issue: *122 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -218385,15 +218656,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *118 + sub_issue: *122 sub_issue_repo: *57 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *118 - installation: *696 - organization: *697 - repository: *698 + parent_issue: *122 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -218470,12 +218741,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 - team: &767 + team: &768 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -218665,9 +218936,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 repository: title: Repository description: A git repository @@ -219125,7 +219396,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *767 + team: *768 required: - action - team @@ -219201,9 +219472,9 @@ x-webhooks: type: string enum: - created - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 repository: title: Repository description: A git repository @@ -219661,7 +219932,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *767 + team: *768 required: - action - team @@ -219738,9 +220009,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 repository: title: Repository description: A git repository @@ -220198,7 +220469,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *767 + team: *768 required: - action - team @@ -220342,9 +220613,9 @@ x-webhooks: - from required: - permissions - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 repository: title: Repository description: A git repository @@ -220802,7 +221073,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *767 + team: *768 required: - action - changes @@ -220880,9 +221151,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 repository: title: Repository description: A git repository @@ -221340,7 +221611,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *767 + team: *768 required: - action - team @@ -221416,10 +221687,10 @@ x-webhooks: type: string enum: - started - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -221492,16 +221763,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *695 + enterprise: *696 inputs: type: object nullable: true additionalProperties: true - installation: *696 - organization: *697 + installation: *697 + organization: *698 ref: type: string - repository: *698 + repository: *699 sender: *19 workflow: type: string @@ -221583,10 +221854,10 @@ x-webhooks: type: string enum: - completed - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 workflow_job: allOf: @@ -221823,7 +222094,7 @@ x-webhooks: type: string required: - conclusion - deployment: *467 + deployment: *468 required: - action - repository @@ -221902,10 +222173,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 workflow_job: allOf: @@ -222165,7 +222436,7 @@ x-webhooks: required: - status - steps - deployment: *467 + deployment: *468 required: - action - repository @@ -222244,10 +222515,10 @@ x-webhooks: type: string enum: - queued - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 workflow_job: type: object @@ -222382,7 +222653,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *467 + deployment: *468 required: - action - repository @@ -222461,10 +222732,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 workflow_job: type: object @@ -222600,7 +222871,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *467 + deployment: *468 required: - action - repository @@ -222680,12 +222951,12 @@ x-webhooks: type: string enum: - completed - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 - workflow: *717 + workflow: *718 workflow_run: title: Workflow Run type: object @@ -223684,12 +223955,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 - workflow: *717 + workflow: *718 workflow_run: title: Workflow Run type: object @@ -224673,12 +224944,12 @@ x-webhooks: type: string enum: - requested - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 - workflow: *717 + workflow: *718 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/dereferenced/ghec.deref.json b/descriptions/ghec/dereferenced/ghec.deref.json index cef2aedaf6..a384df3385 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.json +++ b/descriptions/ghec/dereferenced/ghec.deref.json @@ -29009,6 +29009,1059 @@ } } }, + "/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" + ], + "example": "organization" + }, + "value_type": { + "type": "string", + "example": "single_select", + "enum": [ + "string", + "single_select", + "multi_select", + "true_false" + ], + "description": "The type of the value for the property" + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "nullable": true, + "description": "Default value of the property" + }, + "description": { + "type": "string", + "nullable": true, + "description": "Short description of the property" + }, + "allowed_values": { + "type": "array", + "items": { + "type": "string", + "maxLength": 75 + }, + "maxItems": 200, + "nullable": true, + "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", + "nullable": true, + "enum": [ + "org_actors", + "org_and_repo_actors" + ], + "example": "org_actors", + "description": "Who can edit the values of the property" + } + }, + "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" + ], + "example": "organization" + }, + "value_type": { + "type": "string", + "example": "single_select", + "enum": [ + "string", + "single_select", + "multi_select", + "true_false" + ], + "description": "The type of the value for the property" + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "nullable": true, + "description": "Default value of the property" + }, + "description": { + "type": "string", + "nullable": true, + "description": "Short description of the property" + }, + "allowed_values": { + "type": "array", + "items": { + "type": "string", + "maxLength": 75 + }, + "maxItems": 200, + "nullable": true, + "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", + "nullable": true, + "enum": [ + "org_actors", + "org_and_repo_actors" + ], + "example": "org_actors", + "description": "Who can edit the values of the property" + } + }, + "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" + ], + "example": "organization" + }, + "value_type": { + "type": "string", + "example": "single_select", + "enum": [ + "string", + "single_select", + "multi_select", + "true_false" + ], + "description": "The type of the value for the property" + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "nullable": true, + "description": "Default value of the property" + }, + "description": { + "type": "string", + "nullable": true, + "description": "Short description of the property" + }, + "allowed_values": { + "type": "array", + "items": { + "type": "string", + "maxLength": 75 + }, + "maxItems": 200, + "nullable": true, + "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", + "nullable": true, + "enum": [ + "org_actors", + "org_and_repo_actors" + ], + "example": "org_actors", + "description": "Who can edit the values of the property" + } + }, + "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" + ], + "example": "organization" + }, + "value_type": { + "type": "string", + "example": "single_select", + "enum": [ + "string", + "single_select", + "multi_select", + "true_false" + ], + "description": "The type of the value for the property" + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "nullable": true, + "description": "Default value of the property" + }, + "description": { + "type": "string", + "nullable": true, + "description": "Short description of the property" + }, + "allowed_values": { + "type": "array", + "items": { + "type": "string", + "maxLength": 75 + }, + "maxItems": 200, + "nullable": true, + "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", + "nullable": true, + "enum": [ + "org_actors", + "org_and_repo_actors" + ], + "example": "org_actors", + "description": "Who can edit the values of the property" + } + }, + "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" + ], + "example": "organization" + }, + "value_type": { + "type": "string", + "example": "single_select", + "enum": [ + "string", + "single_select", + "multi_select", + "true_false" + ], + "description": "The type of the value for the property" + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "nullable": true, + "description": "Default value of the property" + }, + "description": { + "type": "string", + "nullable": true, + "description": "Short description of the property" + }, + "allowed_values": { + "type": "array", + "items": { + "type": "string", + "maxLength": 75 + }, + "maxItems": 200, + "nullable": true, + "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", + "nullable": true, + "enum": [ + "org_actors", + "org_and_repo_actors" + ], + "example": "org_actors", + "description": "Who can edit the values of the property" + } + }, + "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", @@ -31864,7 +32917,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" ], @@ -32513,7 +33566,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" ], @@ -74365,6 +75418,28 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "nullable": true, + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -74718,6 +75793,27 @@ ], "default": "disabled" }, + "code_scanning_default_setup_options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -74933,6 +76029,28 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "nullable": true, + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -75062,6 +76180,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", @@ -75218,6 +76340,28 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "nullable": true, + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -75353,6 +76497,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", @@ -75391,6 +76539,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", @@ -75804,527 +76956,596 @@ "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": { + "code_scanning_default_setup_options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "nullable": true, + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", - "description": "Feature options for secret scanning delegated bypass", + "description": "Feature options for code scanning default setup", + "nullable": true, "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": { + "nullable": true, + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" ], - "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." + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -76454,6 +77675,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", @@ -76936,6 +78161,28 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "nullable": true, + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -77070,6 +78317,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", @@ -83152,7 +84403,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" ], @@ -83350,7 +84601,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" ], @@ -83550,7 +84801,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" ], @@ -83748,7 +84999,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" ], @@ -98039,6 +99290,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": { @@ -98197,6 +99457,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": { @@ -99047,6 +100316,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": { @@ -235828,6 +237106,20 @@ "not-configured" ] }, + "runner_type": { + "description": "Runner type to be used.", + "type": "string", + "enum": [ + "standard", + "labeled" + ] + }, + "runner_label": { + "nullable": true, + "description": "Runner label to be used if the runner type is labeled.", + "type": "string", + "example": "code-scanning" + }, "query_suite": { "description": "CodeQL query suite to be used.", "type": "string", @@ -236530,6 +237822,28 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "nullable": true, + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -419881,18 +421195,19 @@ }, "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", "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", "nullable": true }, "started_at": { "type": "string", "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", + "nullable": true } } } @@ -419909,18 +421224,19 @@ }, "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", "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", "nullable": true }, "started_at": { "type": "string", "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", + "nullable": true } } } @@ -419937,18 +421253,19 @@ }, "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", "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", "nullable": true }, "started_at": { "type": "string", "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", + "nullable": true } } } @@ -419967,18 +421284,19 @@ }, "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", "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", "nullable": true }, "started_at": { "type": "string", "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", + "nullable": true } } }, diff --git a/descriptions/ghec/dereferenced/ghec.deref.yaml b/descriptions/ghec/dereferenced/ghec.deref.yaml index 5278c1989d..e425959a7c 100644 --- a/descriptions/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions/ghec/dereferenced/ghec.deref.yaml @@ -846,7 +846,7 @@ paths: - subscriptions_url - type - url - type: &295 + type: &296 type: string description: The type of credit the user is receiving. enum: @@ -979,7 +979,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &145 + schema: &149 title: Validation Error Simple description: Validation Error Simple type: object @@ -1012,7 +1012,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: - - &608 + - &609 name: ghsa_id description: The GHSA (GitHub Security Advisory) identifier of the advisory. in: path @@ -1130,7 +1130,7 @@ paths: GitHub. type: object nullable: true - properties: &103 + properties: &107 id: description: Unique identifier of the GitHub app example: 37 @@ -1219,7 +1219,7 @@ paths: type: string example: '"-----BEGIN RSA PRIVATE KEY-----\nMIIEogIBAAKCAQEArYxrNYD/iT5CZVpRJu4rBKmmze3PVmT/gCo2ATUvDvZTPTey\nxcGJ3vvrJXazKk06pN05TN29o98jrYz4cengG3YGsXPNEpKsIrEl8NhbnxapEnM9\nJCMRe0P5JcPsfZlX6hmiT7136GRWiGOUba2X9+HKh8QJVLG5rM007TBER9/z9mWm\nrJuNh+m5l320oBQY/Qq3A7wzdEfZw8qm/mIN0FCeoXH1L6B8xXWaAYBwhTEh6SSn\nZHlO1Xu1JWDmAvBCi0RO5aRSKM8q9QEkvvHP4yweAtK3N8+aAbZ7ovaDhyGz8r6r\nzhU1b8Uo0Z2ysf503WqzQgIajr7Fry7/kUwpgQIDAQABAoIBADwJp80Ko1xHPZDy\nfcCKBDfIuPvkmSW6KumbsLMaQv1aGdHDwwTGv3t0ixSay8CGlxMRtRDyZPib6SvQ\n6OH/lpfpbMdW2ErkksgtoIKBVrDilfrcAvrNZu7NxRNbhCSvN8q0s4ICecjbbVQh\nnueSdlA6vGXbW58BHMq68uRbHkP+k+mM9U0mDJ1HMch67wlg5GbayVRt63H7R2+r\nVxcna7B80J/lCEjIYZznawgiTvp3MSanTglqAYi+m1EcSsP14bJIB9vgaxS79kTu\noiSo93leJbBvuGo8QEiUqTwMw4tDksmkLsoqNKQ1q9P7LZ9DGcujtPy4EZsamSJT\ny8OJt0ECgYEA2lxOxJsQk2kI325JgKFjo92mQeUObIvPfSNWUIZQDTjniOI6Gv63\nGLWVFrZcvQBWjMEQraJA9xjPbblV8PtfO87MiJGLWCHFxmPz2dzoedN+2Coxom8m\nV95CLz8QUShuao6u/RYcvUaZEoYs5bHcTmy5sBK80JyEmafJPtCQVxMCgYEAy3ar\nZr3yv4xRPEPMat4rseswmuMooSaK3SKub19WFI5IAtB/e7qR1Rj9JhOGcZz+OQrl\nT78O2OFYlgOIkJPvRMrPpK5V9lslc7tz1FSh3BZMRGq5jSyD7ETSOQ0c8T2O/s7v\nbeEPbVbDe4mwvM24XByH0GnWveVxaDl51ABD65sCgYB3ZAspUkOA5egVCh8kNpnd\nSd6SnuQBE3ySRlT2WEnCwP9Ph6oPgn+oAfiPX4xbRqkL8q/k0BdHQ4h+zNwhk7+h\nWtPYRAP1Xxnc/F+jGjb+DVaIaKGU18MWPg7f+FI6nampl3Q0KvfxwX0GdNhtio8T\nTj1E+SnFwh56SRQuxSh2gwKBgHKjlIO5NtNSflsUYFM+hyQiPiqnHzddfhSG+/3o\nm5nNaSmczJesUYreH5San7/YEy2UxAugvP7aSY2MxB+iGsiJ9WD2kZzTUlDZJ7RV\nUzWsoqBR+eZfVJ2FUWWvy8TpSG6trh4dFxImNtKejCR1TREpSiTV3Zb1dmahK9GV\nrK9NAoGAbBxRLoC01xfxCTgt5BDiBcFVh4fp5yYKwavJPLzHSpuDOrrI9jDn1oKN\nonq5sDU1i391zfQvdrbX4Ova48BN+B7p63FocP/MK5tyyBoT8zQEk2+vWDOw7H/Z\nu5dTCPxTIsoIwUw1I+7yIxqJzLPFgR2gVBwY1ra/8iAqCj+zeBw=\n-----END RSA PRIVATE KEY-----\n"' - required: &104 + required: &108 - id - node_id - owner @@ -1524,7 +1524,7 @@ paths: schema: type: integer default: 30 - - &216 + - &221 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 @@ -1540,7 +1540,7 @@ paths: application/json: schema: type: array - items: &217 + items: &222 title: Simple webhook delivery description: Delivery made by a webhook, without request and response information. @@ -1617,7 +1617,7 @@ paths: - installation_id - repository_id examples: - default: &218 + default: &223 value: - id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1649,7 +1649,7 @@ paths: application/json: schema: *3 application/scim+json: - schema: &618 + schema: &619 title: Scim Error description: Scim Error type: object @@ -1676,7 +1676,7 @@ paths: description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: &144 + schema: &148 title: Validation Error description: Validation Error type: object @@ -1745,7 +1745,7 @@ paths: description: Response content: application/json: - schema: &219 + schema: &224 title: Webhook delivery description: Delivery made by a webhook. type: object @@ -1859,7 +1859,7 @@ paths: - request - response examples: - default: &220 + default: &225 value: id: 12345678 guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516 @@ -1919,7 +1919,7 @@ paths: parameters: - *17 responses: - '202': &147 + '202': &151 description: Accepted content: application/json: @@ -2114,7 +2114,7 @@ paths: parameters: - *18 - *20 - - &108 + - &112 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) @@ -2840,7 +2840,7 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: &273 + properties: &274 id: description: Unique identifier of the repository example: 42 @@ -2860,7 +2860,7 @@ paths: title: License Simple description: License Simple type: object - properties: &119 + properties: &123 key: type: string example: mit @@ -2882,7 +2882,7 @@ paths: html_url: type: string format: uri - required: &120 + required: &124 - key - name - url @@ -3269,7 +3269,7 @@ paths: type: boolean description: Whether anonymous git access is enabled for this repository - required: &274 + required: &275 - archive_url - assignees_url - blobs_url @@ -7282,7 +7282,7 @@ paths: description: Response content: application/json: - schema: &148 + schema: &152 type: object properties: total_active_caches_count: @@ -7297,7 +7297,7 @@ paths: - total_active_caches_count - total_active_caches_size_in_bytes examples: - default: &149 + default: &153 value: total_active_caches_size_in_bytes: 3344284 total_active_caches_count: 5 @@ -7391,7 +7391,7 @@ paths: - all - local_only - selected - selected_actions_url: &152 + selected_actions_url: &156 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` @@ -7759,7 +7759,7 @@ paths: description: Success response content: application/json: - schema: &155 + schema: &159 type: object properties: default_workflow_permissions: &46 @@ -7807,7 +7807,7 @@ paths: required: true content: application/json: - schema: &156 + schema: &160 type: object properties: default_workflow_permissions: *46 @@ -8628,7 +8628,7 @@ paths: application/json: schema: type: array - items: &160 + items: &164 title: Runner Application description: Runner Application type: object @@ -8653,7 +8653,7 @@ paths: - download_url - filename examples: - default: &161 + default: &165 value: - os: osx architecture: x64 @@ -8737,7 +8737,7 @@ paths: - no-gpu work_folder: _work responses: - '201': &162 + '201': &166 description: Response content: application/json: @@ -8847,7 +8847,7 @@ paths: - token - expires_at examples: - default: &163 + default: &167 value: token: LLBF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-22T12:13:35.123-08:00' @@ -8887,7 +8887,7 @@ paths: application/json: schema: *58 examples: - default: &164 + default: &168 value: token: AABF3JGZDX3P5PMEXLND6TS6FCWO6 expires_at: '2020-01-29T12:13:35.123-08:00' @@ -8919,7 +8919,7 @@ paths: application/json: schema: *55 examples: - default: &165 + default: &169 value: id: 23 name: MBP @@ -9133,7 +9133,7 @@ paths: - *40 - *54 responses: - '200': &166 + '200': &170 description: Response content: application/json: @@ -9189,7 +9189,7 @@ paths: parameters: - *40 - *54 - - &167 + - &171 name: name description: The name of a self-hosted runner's custom label. in: path @@ -9280,7 +9280,7 @@ paths: required: true content: application/json: - schema: &174 + schema: &178 title: Enterprise Announcement description: Enterprise global announcement type: object @@ -9351,7 +9351,7 @@ paths: required: false schema: type: string - - &175 + - &179 name: include description: |- The event types to include: @@ -9369,7 +9369,7 @@ paths: - web - git - all - - &176 + - &180 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. @@ -9377,7 +9377,7 @@ paths: required: false schema: type: string - - &177 + - &181 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. @@ -9385,7 +9385,7 @@ paths: required: false schema: type: string - - &178 + - &182 name: order description: |- The order of audit log events. To list newest events first, specify `desc`. To list oldest events first, specify `asc`. @@ -9407,7 +9407,7 @@ paths: application/json: schema: type: array - items: &179 + items: &183 type: object properties: "@timestamp": @@ -9529,7 +9529,7 @@ paths: description: The repository visibility, for example `public` or `private`. examples: - default: &180 + default: &184 value: - "@timestamp": 1606929874512 action: team.add_member @@ -10091,7 +10091,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#list-code-scanning-alerts-for-an-enterprise parameters: - *40 - - &182 + - &186 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`, @@ -10101,7 +10101,7 @@ paths: schema: &79 type: string description: The name of the tool used to generate the code scanning analysis. - - &183 + - &187 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 @@ -10124,7 +10124,7 @@ paths: be returned. in: query required: false - schema: &184 + schema: &188 type: string description: State of a code scanning alert. enum: @@ -10149,7 +10149,7 @@ paths: application/json: schema: type: array - items: &185 + items: &189 type: object properties: number: &85 @@ -10178,7 +10178,7 @@ paths: description: The GitHub URL of the alert resource. format: uri readOnly: true - instances_url: &405 + instances_url: &406 type: string description: The REST API URL for fetching the list of instances for an alert. @@ -10213,7 +10213,7 @@ paths: format: date-time readOnly: true nullable: true - dismissed_reason: &406 + dismissed_reason: &407 type: string description: "**Required when the state is dismissed.** The reason for dismissing or closing the alert." @@ -10222,13 +10222,13 @@ paths: - false positive - won't fix - used in tests - dismissed_comment: &407 + dismissed_comment: &408 type: string description: The dismissal comment associated with the dismissal of the alert. nullable: true maxLength: 280 - rule: &408 + rule: &409 type: object properties: id: @@ -10281,7 +10281,7 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: &409 + tool: &410 type: object properties: name: *79 @@ -10291,15 +10291,15 @@ paths: description: The version of the tool used to generate the code scanning analysis. guid: *80 - most_recent_instance: &410 + most_recent_instance: &411 type: object properties: - ref: &403 + ref: &404 type: string description: |- The Git reference, formatted as `refs/pull//merge`, `refs/pull//head`, `refs/heads/` or simply ``. - analysis_key: &416 + analysis_key: &417 type: string description: Identifies the configuration under which the analysis was executed. For example, in GitHub Actions @@ -10310,7 +10310,7 @@ paths: the environment in which the analysis that generated this alert instance was performed, such as the language that was analyzed. - category: &417 + category: &418 type: string description: Identifies the configuration under which the analysis was executed. Used to distinguish between multiple @@ -10648,7 +10648,7 @@ paths: - most_recent_instance - repository examples: - default: &186 + default: &190 value: - number: 4 created_at: '2020-02-13T12:29:18Z' @@ -10879,7 +10879,7 @@ paths: headers: Link: *39 '404': *7 - '503': &96 + '503': &100 description: Service unavailable content: application/json: @@ -11288,7 +11288,7 @@ paths: or enterprise teams are only counted once. seats: type: array - items: &192 + items: &197 title: Copilot Business Seat Detail description: Information about a Copilot Business seat assignment for a user, team, or organization. @@ -11306,7 +11306,7 @@ paths: description: The team through which the assignee is granted access to GitHub Copilot, if applicable. oneOf: - - &238 + - &243 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -11365,7 +11365,7 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: &251 + properties: &256 id: description: Unique identifier of the team type: integer @@ -11421,7 +11421,7 @@ paths: maps to within LDAP environment example: uid=example,ou=users,dc=github,dc=com type: string - required: &252 + required: &257 - id - node_id - url @@ -11532,7 +11532,7 @@ paths: - created_at additionalProperties: false examples: - default: &193 + default: &198 value: total_seats: 2 seats: @@ -11667,7 +11667,7 @@ paths: application/json: schema: type: array - items: &98 + items: &102 title: Copilot Usage Metrics description: Copilot usage metrics for a given day. type: object @@ -11975,7 +11975,7 @@ paths: - date additionalProperties: true examples: - default: &99 + default: &103 value: - date: '2024-06-24' total_active_users: 24 @@ -12077,7 +12077,7 @@ paths: '500': *84 '403': *29 '404': *7 - '422': &100 + '422': &104 description: Copilot Usage Merics API setting is disabled at the organization or enterprise level. content: @@ -12147,7 +12147,7 @@ paths: application/json: schema: type: array - items: &101 + items: &105 title: Copilot Usage Metrics description: Summary of Copilot usage. type: object @@ -12326,7 +12326,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-enterprise parameters: - *40 - - &200 + - &205 name: state in: query description: |- @@ -12335,7 +12335,7 @@ paths: Can be: `auto_dismissed`, `dismissed`, `fixed`, `open` schema: type: string - - &201 + - &206 name: severity in: query description: |- @@ -12344,7 +12344,7 @@ paths: Can be: `low`, `medium`, `high`, `critical` schema: type: string - - &202 + - &207 name: ecosystem in: query description: |- @@ -12353,14 +12353,14 @@ paths: Can be: `composer`, `go`, `maven`, `npm`, `nuget`, `pip`, `pub`, `rubygems`, `rust` schema: type: string - - &203 + - &208 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 - - &204 + - &209 name: scope in: query description: The scope of the vulnerable dependency. If specified, only alerts @@ -12370,7 +12370,7 @@ paths: enum: - development - runtime - - &205 + - &210 name: sort in: query description: |- @@ -12386,7 +12386,7 @@ paths: - *78 - *76 - *77 - - &206 + - &211 name: first description: |- **Deprecated**. The number of results per page (max 100), starting from the first matching result. @@ -12399,7 +12399,7 @@ paths: minimum: 1 maximum: 100 default: 30 - - &207 + - &212 name: last description: |- **Deprecated**. The number of results per page (max 100), starting from the last matching result. @@ -12419,7 +12419,7 @@ paths: application/json: schema: type: array - items: &208 + items: &213 type: object description: A Dependabot alert. properties: @@ -12469,7 +12469,7 @@ paths: enum: - development - runtime - security_advisory: &459 + security_advisory: &460 type: object description: Details for the GitHub Security Advisory. readOnly: true @@ -12700,7 +12700,7 @@ paths: nullable: true maxLength: 280 fixed_at: *94 - auto_dismissed_at: &460 + auto_dismissed_at: &461 type: string description: 'The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -12726,7 +12726,7 @@ paths: - repository additionalProperties: false examples: - default: &209 + default: &214 value: - number: 2 state: dismissed @@ -13118,6 +13118,303 @@ 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: + - *40 + responses: + '200': + description: Response + content: + application/json: + schema: + type: array + items: &96 + 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 + example: organization + value_type: + type: string + example: single_select + enum: + - string + - single_select + - multi_select + - true_false + description: The type of the value for the property + required: + type: boolean + description: Whether the property is required. + default_value: + oneOf: + - type: string + - type: array + items: + type: string + nullable: true + description: Default value of the property + description: + type: string + nullable: true + description: Short description of the property + allowed_values: + type: array + items: + type: string + maxLength: 75 + maxItems: 200 + nullable: true + 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 + nullable: true + enum: + - org_actors + - org_and_repo_actors + example: org_actors + description: Who can edit the values of the property + required: + - property_name + - value_type + examples: + default: &97 + 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': *29 + '404': *7 + 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: + - *40 + requestBody: + required: true + content: + application/json: + schema: + type: object + properties: + properties: + type: array + description: The array of custom properties to create or update. + items: *96 + 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: *96 + examples: + default: *97 + '403': *29 + '404': *7 + 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: + - *40 + - &98 + name: custom_property_name + description: The custom property name + in: path + required: true + schema: + type: string + responses: + '200': + description: Response + content: + application/json: + schema: *96 + examples: + default: &99 + 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': *29 + '404': *7 + 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: + - *40 + - *98 + responses: + '200': + description: Response + content: + application/json: + schema: *96 + examples: + default: *99 + '403': *29 + '404': *7 + 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: + - *40 + - *98 + responses: + '204': &192 + description: A header with no content is returned. + '403': *29 + '404': *7 + 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 @@ -13132,7 +13429,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise parameters: - *40 - - &286 + - &287 name: state in: query description: Set to `open` or `resolved` to only list secret scanning alerts @@ -13143,7 +13440,7 @@ paths: enum: - open - resolved - - &287 + - &288 name: secret_type in: query description: |- @@ -13153,7 +13450,7 @@ paths: required: false schema: type: string - - &288 + - &289 name: resolution in: query description: A comma-separated list of resolutions. Only secret scanning alerts @@ -13162,7 +13459,7 @@ paths: required: false schema: type: string - - &289 + - &290 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. @@ -13178,7 +13475,7 @@ paths: - *18 - *76 - *77 - - &290 + - &291 name: validity in: query description: A comma-separated list of validities that, when present, will @@ -13187,7 +13484,7 @@ paths: required: false schema: type: string - - &291 + - &292 name: is_publicly_leaked in: query description: A boolean value representing whether or not to filter alerts @@ -13196,7 +13493,7 @@ paths: schema: type: boolean default: false - - &292 + - &293 name: is_multi_repo in: query description: A boolean value representing whether or not to filter alerts @@ -13212,7 +13509,7 @@ paths: application/json: schema: type: array - items: &293 + items: &294 type: object properties: number: *85 @@ -13231,14 +13528,14 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: &600 + state: &601 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: &601 + resolution: &602 type: string description: "**Required when the `state` is `resolved`.** The reason for resolving the alert." @@ -13330,7 +13627,7 @@ paths: repositories in the same organization or enterprise. nullable: true examples: - default: &294 + default: &295 value: - number: 2 created_at: '2020-11-06T18:48:51Z' @@ -13563,7 +13860,7 @@ paths: headers: Link: *39 '404': *7 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -13591,7 +13888,7 @@ paths: description: Response content: application/json: - schema: &297 + schema: &298 type: object properties: total_minutes_used: @@ -13661,7 +13958,7 @@ paths: - included_minutes - minutes_used_breakdown examples: - default: &298 + default: &299 value: total_minutes_used: 305 total_paid_minutes_used: 0 @@ -13699,7 +13996,7 @@ paths: description: Success content: application/json: - schema: &299 + schema: &300 type: object properties: total_advanced_security_committers: @@ -13754,7 +14051,7 @@ paths: required: - repositories examples: - default: &300 + default: &301 value: total_advanced_security_committers: 2 total_count: 2 @@ -13842,7 +14139,7 @@ paths: '400': *15 '403': *29 '500': *84 - '503': *96 + '503': *100 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -13863,7 +14160,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#add-users-to-a-cost-center parameters: - *40 - - &97 + - &101 name: cost_center_id description: The ID corresponding to the cost center. in: path @@ -13905,13 +14202,13 @@ paths: message: Resources successfully added to the cost center. '400': *15 '403': *29 - '409': &146 + '409': &150 description: Conflict content: application/json: schema: *3 '500': *84 - '503': *96 + '503': *100 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -13931,7 +14228,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#remove-users-from-a-cost-center parameters: - *40 - - *97 + - *101 requestBody: required: true content: @@ -13969,7 +14266,7 @@ paths: '400': *15 '403': *29 '500': *84 - '503': *96 + '503': *100 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -13997,7 +14294,7 @@ paths: description: Response content: application/json: - schema: &301 + schema: &302 type: object properties: total_gigabytes_bandwidth_used: @@ -14015,7 +14312,7 @@ paths: - total_paid_gigabytes_bandwidth_used - included_gigabytes_bandwidth examples: - default: &302 + default: &303 value: total_gigabytes_bandwidth_used: 50 total_paid_gigabytes_bandwidth_used: 40 @@ -14047,7 +14344,7 @@ paths: description: Response content: application/json: - schema: &303 + schema: &304 type: object properties: days_left_in_billing_cycle: @@ -14065,7 +14362,7 @@ paths: - estimated_paid_storage_for_month - estimated_storage_for_month examples: - default: &304 + default: &305 value: days_left_in_billing_cycle: 20 estimated_paid_storage_for_month: 15 @@ -14090,7 +14387,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/enterprise-admin/billing#get-billing-usage-report-for-an-enterprise parameters: - *40 - - &135 + - &139 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, @@ -14099,7 +14396,7 @@ paths: required: false schema: type: integer - - &136 + - &140 name: month description: If specified, only return results for a single month. The value of `month` is an integer between `1` and `12`. @@ -14107,7 +14404,7 @@ paths: required: false schema: type: integer - - &137 + - &141 name: day description: If specified, only return results for a single day. The value of `day` is an integer between `1` and `31`. @@ -14115,7 +14412,7 @@ paths: required: false schema: type: integer - - &138 + - &142 name: hour description: If specified, only return results for a single hour. The value of `hour` is an integer between `0` and `23`. @@ -14135,7 +14432,7 @@ paths: description: Response when getting a billing usage report content: application/json: - schema: &139 + schema: &143 type: object properties: usageItems: @@ -14188,7 +14485,7 @@ paths: - netAmount - organizationName examples: - default: &140 + default: &144 value: usageItems: - date: '2023-08-01' @@ -14205,7 +14502,7 @@ paths: '400': *15 '403': *29 '500': *84 - '503': *96 + '503': *100 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -14215,6 +14512,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, @@ -14273,13 +14573,13 @@ paths: application/json: schema: type: array - items: *98 + items: *102 examples: - default: *99 + default: *103 '500': *84 '403': *29 '404': *7 - '422': *100 + '422': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -14290,7 +14590,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. @@ -14314,7 +14614,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: - *40 - - &250 + - &255 name: team_slug description: The slug of the team name. in: path @@ -14352,9 +14652,9 @@ paths: application/json: schema: type: array - items: *101 + items: *105 examples: - default: &194 + default: &199 value: - day: '2023-10-15' total_suggestions_count: 1000 @@ -14510,7 +14810,7 @@ paths: application/json: schema: type: array - items: &130 + items: &134 title: Event description: Event type: object @@ -14520,7 +14820,7 @@ paths: type: type: string nullable: true - actor: &102 + actor: &106 title: Actor description: Actor type: object @@ -14560,18 +14860,18 @@ paths: - id - name - url - org: *102 + org: *106 payload: type: object properties: action: type: string - issue: &118 + issue: &122 title: Issue description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: &508 + properties: &509 id: type: integer format: int64 @@ -14682,7 +14982,7 @@ paths: description: A collection of related issues and pull requests. type: object - properties: &444 + properties: &445 url: type: string format: uri @@ -14752,7 +15052,7 @@ paths: format: date-time example: '2012-10-09T23:39:01Z' nullable: true - required: &445 + required: &446 - closed_issues - creator - description @@ -14841,9 +15141,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 - author_association: &105 + properties: *107 + required: *108 + author_association: &109 title: author_association type: string example: OWNER @@ -14857,7 +15157,7 @@ paths: - MEMBER - NONE - OWNER - reactions: &106 + reactions: &110 title: Reaction Rollup type: object properties: @@ -14907,7 +15207,7 @@ paths: - total - completed - percent_completed - required: &509 + required: &510 - assignee - closed_at - comments @@ -14929,7 +15229,7 @@ paths: - author_association - created_at - updated_at - comment: &506 + comment: &507 title: Issue Comment description: Comments provide a way for people to collaborate on an issue. @@ -14977,7 +15277,7 @@ paths: issue_url: type: string format: uri - author_association: *105 + author_association: *109 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. @@ -14987,9 +15287,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 - reactions: *106 + properties: *107 + required: *108 + reactions: *110 required: - id - node_id @@ -15084,7 +15384,7 @@ paths: created_at: '2022-06-07T07:50:26Z' '304': *37 '403': *29 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -15165,7 +15465,7 @@ paths: _links: type: object properties: - timeline: &107 + timeline: &111 title: Link With Type description: Hypermedia Link with Type type: object @@ -15177,17 +15477,17 @@ paths: required: - href - type - user: *107 - security_advisories: *107 - current_user: *107 - current_user_public: *107 - current_user_actor: *107 - current_user_organization: *107 + user: *111 + security_advisories: *111 + current_user: *111 + current_user_public: *111 + current_user_actor: *111 + current_user_organization: *111 current_user_organizations: type: array - items: *107 - repository_discussions: *107 - repository_discussions_category: *107 + items: *111 + repository_discussions: *111 + repository_discussions_category: *111 required: - timeline - user @@ -15249,7 +15549,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-the-authenticated-user parameters: - - *108 + - *112 - *18 - *20 responses: @@ -15259,7 +15559,7 @@ paths: application/json: schema: type: array - items: &109 + items: &113 title: Base Gist description: Base Gist type: object @@ -15356,7 +15656,7 @@ paths: - created_at - updated_at examples: - default: &110 + default: &114 value: - url: https://api.github.com/gists/aa5a315d61ae9438b18d forks_url: https://api.github.com/gists/aa5a315d61ae9438b18d/forks @@ -15477,7 +15777,7 @@ paths: description: Response content: application/json: - schema: &111 + schema: &115 title: Gist Simple description: Gist Simple type: object @@ -15494,7 +15794,7 @@ paths: url: type: string format: uri - user: &657 + user: &658 title: Public User description: Public User type: object @@ -15852,7 +16152,7 @@ paths: truncated: type: boolean examples: - default: &112 + default: &116 value: url: https://api.github.com/gists/2decf6c462d9b4418f2 forks_url: https://api.github.com/gists/2decf6c462d9b4418f2/forks @@ -15955,7 +16255,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-public-gists parameters: - - *108 + - *112 - *18 - *20 responses: @@ -15965,9 +16265,9 @@ paths: application/json: schema: type: array - items: *109 + items: *113 examples: - default: *110 + default: *114 headers: Link: *39 '422': *16 @@ -15989,7 +16289,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-starred-gists parameters: - - *108 + - *112 - *18 - *20 responses: @@ -15999,9 +16299,9 @@ paths: application/json: schema: type: array - items: *109 + items: *113 examples: - default: *110 + default: *114 headers: Link: *39 '401': *25 @@ -16029,7 +16329,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist parameters: - - &113 + - &117 name: gist_id description: The unique identifier of the gist. in: path @@ -16041,10 +16341,10 @@ paths: description: Response content: application/json: - schema: *111 + schema: *115 examples: - default: *112 - '403': &116 + default: *116 + '403': &120 description: Forbidden Gist content: application/json: @@ -16092,7 +16392,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#update-a-gist parameters: - - *113 + - *117 requestBody: required: true content: @@ -16152,9 +16452,9 @@ paths: description: Response content: application/json: - schema: *111 + schema: *115 examples: - updateGist: *112 + updateGist: *116 deleteFile: value: url: https://api.github.com/gists/2decf6c462d9b4418f2 @@ -16312,7 +16612,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#delete-a-gist parameters: - - *113 + - *117 responses: '204': description: Response @@ -16341,7 +16641,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#list-gist-comments parameters: - - *113 + - *117 - *18 - *20 responses: @@ -16351,7 +16651,7 @@ paths: application/json: schema: type: array - items: &114 + items: &118 title: Gist Comment description: A comment made to a gist. type: object @@ -16386,7 +16686,7 @@ paths: type: string format: date-time example: '2011-04-18T23:23:56Z' - author_association: *105 + author_association: *109 required: - url - id @@ -16451,7 +16751,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#create-a-gist-comment parameters: - - *113 + - *117 requestBody: required: true content: @@ -16476,9 +16776,9 @@ paths: description: Response content: application/json: - schema: *114 + schema: *118 examples: - default: &115 + default: &119 value: id: 1 node_id: MDExOkdpc3RDb21tZW50MQ== @@ -16536,8 +16836,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#get-a-gist-comment parameters: - - *113 - - &117 + - *117 + - &121 name: comment_id description: The unique identifier of the comment. in: path @@ -16550,12 +16850,12 @@ paths: description: Response content: application/json: - schema: *114 + schema: *118 examples: - default: *115 + default: *119 '304': *37 '404': *7 - '403': *116 + '403': *120 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -16577,8 +16877,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#update-a-gist-comment parameters: - - *113 - *117 + - *121 requestBody: required: true content: @@ -16603,9 +16903,9 @@ paths: description: Response content: application/json: - schema: *114 + schema: *118 examples: - default: *115 + default: *119 '404': *7 x-github: githubCloudOnly: false @@ -16622,8 +16922,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/comments#delete-a-gist-comment parameters: - - *113 - *117 + - *121 responses: '204': description: Response @@ -16646,7 +16946,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-commits parameters: - - *113 + - *117 - *18 - *20 responses: @@ -16747,7 +17047,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gist-forks parameters: - - *113 + - *117 - *18 - *20 responses: @@ -16757,7 +17057,7 @@ paths: application/json: schema: type: array - items: *111 + items: *115 examples: default: value: @@ -16822,13 +17122,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#fork-a-gist parameters: - - *113 + - *117 responses: '201': description: Response content: application/json: - schema: *109 + schema: *113 examples: default: value: @@ -16899,7 +17199,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#check-if-a-gist-is-starred parameters: - - *113 + - *117 responses: '204': description: Response if gist is starred @@ -16929,7 +17229,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#star-a-gist parameters: - - *113 + - *117 responses: '204': description: Response @@ -16951,7 +17251,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#unstar-a-gist parameters: - - *113 + - *117 responses: '204': description: Response @@ -16980,7 +17280,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#get-a-gist-revision parameters: - - *113 + - *117 - name: sha in: path required: true @@ -16991,9 +17291,9 @@ paths: description: Response content: application/json: - schema: *111 + schema: *115 examples: - default: *112 + default: *116 '422': *16 '404': *7 '403': *29 @@ -17359,7 +17659,7 @@ paths: - closed - all default: open - - &239 + - &244 name: labels description: 'A list of comma separated label names. Example: `bug,ui,@high`' in: query @@ -17378,7 +17678,7 @@ paths: - comments default: created - *78 - - *108 + - *112 - name: collab in: query required: false @@ -17408,9 +17708,9 @@ paths: application/json: schema: type: array - items: *118 + items: *122 examples: - default: &240 + default: &245 value: - id: 1 node_id: MDU6SXNzdWUx @@ -17694,8 +17994,8 @@ paths: title: License Simple description: License Simple type: object - properties: *119 - required: *120 + properties: *123 + required: *124 examples: default: value: @@ -17979,7 +18279,7 @@ paths: example: '279' schema: type: string - X-CommonMarker-Version: &121 + X-CommonMarker-Version: &125 example: 0.17.4 schema: type: string @@ -18034,7 +18334,7 @@ paths: '200': description: Response headers: - X-CommonMarker-Version: *121 + X-CommonMarker-Version: *125 content: text/html: schema: @@ -18063,7 +18363,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: - - &124 + - &128 name: account_id description: account_id parameter in: path @@ -18075,7 +18375,7 @@ paths: description: Response content: application/json: - schema: &123 + schema: &127 title: Marketplace Purchase description: Marketplace Purchase type: object @@ -18105,7 +18405,7 @@ paths: nullable: true id: type: integer - plan: &122 + plan: &126 title: Marketplace Listing Plan description: Marketplace Listing Plan type: object @@ -18194,7 +18494,7 @@ paths: nullable: true updated_at: type: string - plan: *122 + plan: *126 required: - url - id @@ -18202,7 +18502,7 @@ paths: - login - marketplace_purchase examples: - default: &125 + default: &129 value: url: https://api.github.com/orgs/github type: Organization @@ -18287,9 +18587,9 @@ paths: application/json: schema: type: array - items: *122 + items: *126 examples: - default: &126 + default: &130 value: - url: https://api.github.com/marketplace_listing/plans/1313 accounts_url: https://api.github.com/marketplace_listing/plans/1313/accounts @@ -18329,14 +18629,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan parameters: - - &127 + - &131 name: plan_id description: The unique identifier of the plan. in: path required: true schema: type: integer - - &128 + - &132 name: sort description: The property to sort the results by. in: query @@ -18366,9 +18666,9 @@ paths: application/json: schema: type: array - items: *123 + items: *127 examples: - default: &129 + default: &133 value: - url: https://api.github.com/orgs/github type: Organization @@ -18442,15 +18742,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: - - *124 + - *128 responses: '200': description: Response content: application/json: - schema: *123 + schema: *127 examples: - default: *125 + default: *129 '404': description: Not Found when the account has not purchased the listing '401': *25 @@ -18482,9 +18782,9 @@ paths: application/json: schema: type: array - items: *122 + items: *126 examples: - default: *126 + default: *130 headers: Link: *39 '401': *25 @@ -18507,8 +18807,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/apps/marketplace#list-accounts-for-a-plan-stubbed parameters: - - *127 - - *128 + - *131 + - *132 - name: direction description: To return the oldest accounts first, set to `asc`. Ignored without the `sort` parameter. @@ -18528,9 +18828,9 @@ paths: application/json: schema: type: array - items: *123 + items: *127 examples: - default: *129 + default: *133 headers: Link: *39 '401': *25 @@ -18779,14 +19079,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: - - &324 + - &325 name: owner description: The account owner of the repository. The name is not case sensitive. in: path required: true schema: type: string - - &325 + - &326 name: repo description: The name of the repository without the `.git` extension. The name is not case sensitive. @@ -18803,7 +19103,7 @@ paths: application/json: schema: type: array - items: *130 + items: *134 examples: default: value: @@ -18857,7 +19157,7 @@ paths: '404': *7 '403': *29 '304': *37 - '301': &338 + '301': &339 description: Moved permanently content: application/json: @@ -18879,7 +19179,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#list-notifications-for-the-authenticated-user parameters: - - &538 + - &539 name: all description: If `true`, show notifications marked as read. in: query @@ -18887,7 +19187,7 @@ paths: schema: type: boolean default: false - - &539 + - &540 name: participating description: If `true`, only shows notifications in which the user is directly participating or mentioned. @@ -18896,8 +19196,8 @@ paths: schema: type: boolean default: false - - *108 - - &540 + - *112 + - &541 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: @@ -18922,18 +19222,18 @@ paths: application/json: schema: type: array - items: &131 + items: &135 title: Thread description: Thread type: object properties: id: type: string - repository: &159 + repository: &163 title: Minimal Repository description: Minimal Repository type: object - properties: &211 + properties: &216 id: type: integer format: int64 @@ -19209,7 +19509,7 @@ paths: web_commit_signoff_required: type: boolean example: false - security_and_analysis: &275 + security_and_analysis: &276 nullable: true type: object properties: @@ -19273,7 +19573,7 @@ paths: enum: - enabled - disabled - required: &212 + required: &217 - archive_url - assignees_url - blobs_url @@ -19361,7 +19661,7 @@ paths: - url - subscription_url examples: - default: &541 + default: &542 value: - id: '1' repository: @@ -19527,7 +19827,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#get-a-thread parameters: - - &132 + - &136 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 @@ -19541,7 +19841,7 @@ paths: description: Response content: application/json: - schema: *131 + schema: *135 examples: default: value: @@ -19644,7 +19944,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-read parameters: - - *132 + - *136 responses: '205': description: Reset Content @@ -19667,7 +19967,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-a-thread-as-done parameters: - - *132 + - *136 responses: '204': description: No content @@ -19690,13 +19990,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: - - *132 + - *136 responses: '200': description: Response content: application/json: - schema: &133 + schema: &137 title: Thread Subscription description: Thread Subscription type: object @@ -19733,7 +20033,7 @@ paths: - url - subscribed examples: - default: &134 + default: &138 value: subscribed: true ignored: false @@ -19764,7 +20064,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#set-a-thread-subscription parameters: - - *132 + - *136 requestBody: required: false content: @@ -19785,9 +20085,9 @@ paths: description: Response content: application/json: - schema: *133 + schema: *137 examples: - default: *134 + default: *138 '304': *37 '403': *29 '401': *25 @@ -19810,7 +20110,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#delete-a-thread-subscription parameters: - - *132 + - *136 responses: '204': description: Response @@ -19907,7 +20207,7 @@ paths: type: array items: *52 examples: - default: &675 + default: &676 value: - login: github id: 1 @@ -19971,7 +20271,7 @@ paths: type: integer custom_roles: type: array - items: &195 + items: &200 title: Organization Custom Repository Role description: Custom repository roles created by organization owners @@ -20019,7 +20319,7 @@ paths: - created_at - updated_at examples: - default: &196 + default: &201 value: id: 8030 name: Security Engineer @@ -20065,29 +20365,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: - - &141 + - &145 name: org description: The organization name. The name is not case sensitive. in: path required: true schema: type: string - - *135 - - *136 - - *137 - - *138 + - *139 + - *140 + - *141 + - *142 responses: '200': description: Billing usage report response for an organization content: application/json: - schema: *139 + schema: *143 examples: - default: *140 + default: *144 '400': *15 '403': *29 '500': *84 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20113,13 +20413,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#get-an-organization parameters: - - *141 + - *145 responses: '200': description: Response content: application/json: - schema: &142 + schema: &146 title: Organization Full description: |- Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement. @@ -20422,7 +20722,7 @@ paths: - updated_at - archived_at examples: - default-response: &143 + default-response: &147 value: login: github id: 1 @@ -20515,7 +20815,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#update-an-organization parameters: - - *141 + - *145 requestBody: required: false content: @@ -20738,18 +21038,18 @@ paths: description: Response content: application/json: - schema: *142 + schema: *146 examples: - default: *143 + default: *147 '422': description: Validation failed content: application/json: schema: oneOf: - - *144 - - *145 - '409': *146 + - *148 + - *149 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -20772,9 +21072,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#delete-an-organization parameters: - - *141 + - *145 responses: - '202': *147 + '202': *151 '404': *7 '403': *29 x-github: @@ -20797,15 +21097,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: - - *141 + - *145 responses: '200': description: Response content: application/json: - schema: *148 + schema: *152 examples: - default: *149 + default: *153 headers: Link: *39 x-github: @@ -20828,7 +21128,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: - - *141 + - *145 - *18 - *20 responses: @@ -20846,7 +21146,7 @@ paths: type: integer repository_cache_usages: type: array - items: &343 + items: &344 title: Actions Cache Usage by repository description: GitHub Actions Cache Usage by repository. type: object @@ -20901,13 +21201,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: - - *141 + - *145 responses: '200': description: A JSON serialized template for OIDC subject claim customization content: application/json: - schema: &150 + schema: &154 title: Actions OIDC Subject customization description: Actions OIDC Subject customization type: object @@ -20921,7 +21221,7 @@ paths: required: - include_claim_keys examples: - default: &151 + default: &155 value: include_claim_keys: - repo @@ -20943,20 +21243,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: - - *141 + - *145 requestBody: required: true content: application/json: - schema: *150 + schema: *154 examples: - default: *151 + default: *155 responses: '201': description: Empty response content: application/json: - schema: &170 + schema: &174 title: Empty Object description: An object without any properties. type: object @@ -20986,7 +21286,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: - - *141 + - *145 responses: '200': description: Response @@ -20995,7 +21295,7 @@ paths: schema: type: object properties: - enabled_repositories: &153 + enabled_repositories: &157 type: string description: The policy that controls the repositories in the organization that are allowed to run GitHub Actions. @@ -21009,7 +21309,7 @@ paths: that are allowed to run GitHub Actions, when `enabled_repositories` is set to `selected`. allowed_actions: *42 - selected_actions_url: *152 + selected_actions_url: *156 required: - enabled_repositories examples: @@ -21038,7 +21338,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: - - *141 + - *145 responses: '204': description: Response @@ -21049,7 +21349,7 @@ paths: schema: type: object properties: - enabled_repositories: *153 + enabled_repositories: *157 allowed_actions: *42 required: - enabled_repositories @@ -21077,7 +21377,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: - - *141 + - *145 - *18 - *20 responses: @@ -21097,7 +21397,7 @@ paths: type: array items: *57 examples: - default: &669 + default: &670 value: total_count: 1 repositories: @@ -21237,7 +21537,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: - - *141 + - *145 responses: '204': description: Response @@ -21281,8 +21581,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: - - *141 - - &154 + - *145 + - &158 name: repository_id description: The unique identifier of the repository. in: path @@ -21310,8 +21610,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: - - *141 - - *154 + - *145 + - *158 responses: '204': description: Response @@ -21334,7 +21634,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: - - *141 + - *145 responses: '200': description: Response @@ -21365,7 +21665,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: - - *141 + - *145 responses: '204': description: Response @@ -21397,13 +21697,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: - - *141 + - *145 responses: '200': description: Response content: application/json: - schema: *155 + schema: *159 examples: default: *48 x-github: @@ -21426,7 +21726,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: - - *141 + - *145 responses: '204': description: Success response @@ -21437,7 +21737,7 @@ paths: required: false content: application/json: - schema: *156 + schema: *160 examples: default: *48 x-github: @@ -21459,7 +21759,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: - - *141 + - *145 - *18 - *20 - name: visible_to_repository @@ -21484,7 +21784,7 @@ paths: type: number runner_groups: type: array - items: &157 + items: &161 type: object properties: id: @@ -21596,7 +21896,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: - - *141 + - *145 requestBody: required: true content: @@ -21665,9 +21965,9 @@ paths: description: Response content: application/json: - schema: *157 + schema: *161 examples: - default: &158 + default: &162 value: id: 2 name: octo-runner-group @@ -21702,14 +22002,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: - - *141 + - *145 - *51 responses: '200': description: Response content: application/json: - schema: *157 + schema: *161 examples: default: value: @@ -21745,7 +22045,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: - - *141 + - *145 - *51 requestBody: required: true @@ -21796,9 +22096,9 @@ paths: description: Response content: application/json: - schema: *157 + schema: *161 examples: - default: *158 + default: *162 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -21817,7 +22117,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: - - *141 + - *145 - *51 responses: '204': @@ -21841,7 +22141,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: - - *141 + - *145 - *51 - *20 - *18 @@ -21860,9 +22160,9 @@ paths: type: number repositories: type: array - items: *159 + items: *163 examples: - default: &660 + default: &661 value: total_count: 1 repositories: @@ -22114,7 +22414,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: - - *141 + - *145 - *51 requestBody: required: true @@ -22159,9 +22459,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: - - *141 + - *145 - *51 - - *154 + - *158 responses: '204': description: Response @@ -22183,9 +22483,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: - - *141 + - *145 - *51 - - *154 + - *158 responses: '204': description: Response @@ -22208,7 +22508,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: - - *141 + - *145 - *51 - *18 - *20 @@ -22250,7 +22550,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: - - *141 + - *145 - *51 requestBody: required: true @@ -22295,7 +22595,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: - - *141 + - *145 - *51 - *54 responses: @@ -22319,7 +22619,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: - - *141 + - *145 - *51 - *54 responses: @@ -22351,7 +22651,7 @@ paths: in: query schema: type: string - - *141 + - *145 - *18 - *20 responses: @@ -22395,7 +22695,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: - - *141 + - *145 responses: '200': description: Response @@ -22403,9 +22703,9 @@ paths: application/json: schema: type: array - items: *160 + items: *164 examples: - default: *161 + default: *165 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22427,7 +22727,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: - - *141 + - *145 requestBody: required: true content: @@ -22470,7 +22770,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *162 + '201': *166 '404': *7 '422': *8 x-github: @@ -22500,7 +22800,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: - - *141 + - *145 responses: '201': description: Response @@ -22508,7 +22808,7 @@ paths: application/json: schema: *58 examples: - default: *163 + default: *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22536,7 +22836,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: - - *141 + - *145 responses: '201': description: Response @@ -22544,7 +22844,7 @@ paths: application/json: schema: *58 examples: - default: *164 + default: *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22566,7 +22866,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: - - *141 + - *145 - *54 responses: '200': @@ -22575,7 +22875,7 @@ paths: application/json: schema: *55 examples: - default: *165 + default: *169 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -22596,7 +22896,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: - - *141 + - *145 - *54 responses: '204': @@ -22622,7 +22922,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: - - *141 + - *145 - *54 responses: '200': *60 @@ -22647,7 +22947,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: - - *141 + - *145 - *54 requestBody: required: true @@ -22696,7 +22996,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: - - *141 + - *145 - *54 requestBody: required: true @@ -22746,10 +23046,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: - - *141 + - *145 - *54 responses: - '200': *166 + '200': *170 '404': *7 x-github: githubCloudOnly: false @@ -22776,9 +23076,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: - - *141 + - *145 - *54 - - *167 + - *171 responses: '200': *60 '404': *7 @@ -22805,7 +23105,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-organization-secrets parameters: - - *141 + - *145 - *18 - *20 responses: @@ -22823,7 +23123,7 @@ paths: type: integer secrets: type: array - items: &168 + items: &172 title: Actions Secret for an Organization description: Secrets for GitHub Actions for an organization. type: object @@ -22896,13 +23196,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-public-key parameters: - - *141 + - *145 responses: '200': description: Response content: application/json: - schema: &363 + schema: &364 title: ActionsPublicKey description: The public key used for setting Actions Secrets. type: object @@ -22931,7 +23231,7 @@ paths: - key_id - key examples: - default: &364 + default: &365 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -22956,8 +23256,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-organization-secret parameters: - - *141 - - &169 + - *145 + - &173 name: secret_name description: The name of the secret. in: path @@ -22969,7 +23269,7 @@ paths: description: Response content: application/json: - schema: *168 + schema: *172 examples: default: value: @@ -22999,8 +23299,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-organization-secret parameters: - - *141 - - *169 + - *145 + - *173 requestBody: required: true content: @@ -23055,7 +23355,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -23081,8 +23381,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-organization-secret parameters: - - *141 - - *169 + - *145 + - *173 responses: '204': description: Response @@ -23108,8 +23408,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: - - *141 - - *169 + - *145 + - *173 - *20 - *18 responses: @@ -23127,9 +23427,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *163 examples: - default: &173 + default: &177 value: total_count: 1 repositories: @@ -23221,8 +23521,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: - - *141 - - *169 + - *145 + - *173 requestBody: required: true content: @@ -23274,8 +23574,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: - - *141 - - *169 + - *145 + - *173 - name: repository_id in: path required: true @@ -23308,8 +23608,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: - - *141 - - *169 + - *145 + - *173 - name: repository_id in: path required: true @@ -23341,8 +23641,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-organization-variables parameters: - - *141 - - &348 + - *145 + - &349 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)." @@ -23366,7 +23666,7 @@ paths: type: integer variables: type: array - items: &171 + items: &175 title: Actions Variable for an Organization description: Organization variable for GitHub Actions. type: object @@ -23451,7 +23751,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-organization-variable parameters: - - *141 + - *145 requestBody: required: true content: @@ -23499,7 +23799,7 @@ paths: description: Response when creating a variable content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -23524,8 +23824,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-organization-variable parameters: - - *141 - - &172 + - *145 + - &176 name: name description: The name of the variable. in: path @@ -23537,7 +23837,7 @@ paths: description: Response content: application/json: - schema: *171 + schema: *175 examples: default: value: @@ -23567,8 +23867,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-organization-variable parameters: - - *141 - - *172 + - *145 + - *176 requestBody: required: true content: @@ -23630,8 +23930,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-organization-variable parameters: - - *141 - - *172 + - *145 + - *176 responses: '204': description: Response @@ -23657,8 +23957,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: - - *141 - - *172 + - *145 + - *176 - *20 - *18 responses: @@ -23676,9 +23976,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *163 examples: - default: *173 + default: *177 '409': description: Response when the visibility of the variable is not set to `selected` @@ -23704,8 +24004,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: - - *141 - - *172 + - *145 + - *176 requestBody: required: true content: @@ -23754,8 +24054,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: - - *141 - - *172 + - *145 + - *176 - name: repository_id in: path required: true @@ -23789,8 +24089,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: - - *141 - - *172 + - *145 + - *176 - name: repository_id in: path required: true @@ -23821,7 +24121,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#get-announcement-banner-for-organization parameters: - - *141 + - *145 responses: '200': description: Response @@ -23848,11 +24148,11 @@ paths: required: true content: application/json: - schema: *174 + schema: *178 examples: default: *63 parameters: - - *141 + - *145 responses: '200': description: Response @@ -23876,7 +24176,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/announcement-banners/organizations#remove-announcement-banner-from-organization parameters: - - *141 + - *145 responses: '204': description: Response @@ -23904,7 +24204,7 @@ paths: - *18 - *76 - *77 - - *141 + - *145 - name: subject_digest description: The parameter should be set to the attestation's subject's SHA256 digest, in the form `sha256:HEX_DIGEST`. @@ -23945,7 +24245,7 @@ paths: repository_id: type: integer examples: - default: &377 + default: &378 value: attestations: - bundle: @@ -24063,7 +24363,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: - - *141 + - *145 - 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). @@ -24071,10 +24371,10 @@ paths: required: false schema: type: string - - *175 - - *176 - - *177 - - *178 + - *179 + - *180 + - *181 + - *182 - *18 responses: '200': @@ -24083,9 +24383,9 @@ paths: application/json: schema: type: array - items: *179 + items: *183 examples: - default: *180 + default: *184 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -24102,7 +24402,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#list-users-blocked-by-an-organization parameters: - - *141 + - *145 - *18 - *20 responses: @@ -24114,7 +24414,7 @@ paths: type: array items: *19 examples: - default: &241 + default: &246 value: - login: octocat id: 1 @@ -24152,8 +24452,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: - - *141 - - &181 + - *145 + - &185 name: username description: The handle for the GitHub user account. in: path @@ -24184,8 +24484,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#block-a-user-from-an-organization parameters: - - *141 - - *181 + - *145 + - *185 responses: '204': description: Response @@ -24205,8 +24505,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/blocking#unblock-a-user-from-an-organization parameters: - - *141 - - *181 + - *145 + - *185 responses: '204': description: Response @@ -24231,9 +24531,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: - - *141 - - *182 - - *183 + - *145 + - *186 + - *187 - *76 - *77 - *20 @@ -24244,7 +24544,7 @@ paths: be returned. in: query required: false - schema: *184 + schema: *188 - name: sort description: The property by which to sort the results. in: query @@ -24260,7 +24560,7 @@ paths: be returned. in: query required: false - schema: &404 + schema: &405 type: string description: Severity of a code scanning alert. enum: @@ -24278,13 +24578,13 @@ paths: application/json: schema: type: array - items: *185 + items: *189 examples: - default: *186 + default: *190 headers: Link: *39 '404': *7 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24306,7 +24606,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: - - *141 + - *145 - name: target_type in: query description: The target type of the code security configuration @@ -24334,7 +24634,7 @@ paths: application/json: schema: type: array - items: &187 + items: &191 type: object description: A code security configuration properties: @@ -24405,6 +24705,25 @@ paths: - enabled - disabled - not_set + code_scanning_default_setup_options: + type: object + description: Feature options for code scanning default setup + nullable: true + properties: + runner_type: + nullable: true + type: string + enum: + - standard + - labeled + - not_set + description: Whether to use labeled runners or standard + GitHub runners. + runner_label: + nullable: true + type: string + 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 @@ -24573,7 +24892,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#create-a-code-security-configuration parameters: - - *141 + - *145 requestBody: required: true content: @@ -24646,6 +24965,24 @@ paths: - disabled - not_set default: disabled + code_scanning_default_setup_options: &195 + type: object + description: Feature options for code scanning default setup + nullable: true + properties: + runner_type: + type: string + enum: + - standard + - labeled + - not_set + description: Whether to use labeled runners or standard GitHub + runners. + runner_label: + nullable: true + type: string + 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 @@ -24745,9 +25082,9 @@ paths: description: Successfully created code security configuration content: application/json: - schema: *187 + schema: *191 examples: - default: &188 + default: &193 value: id: 1325 target_type: organization @@ -24761,6 +25098,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 @@ -24793,7 +25133,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-default-code-security-configurations parameters: - - *141 + - *145 responses: '200': description: Response @@ -24813,7 +25153,7 @@ paths: description: The visibility of newly created repositories for which the code security configuration will be applied to by default - configuration: *187 + configuration: *191 examples: default: value: @@ -24831,6 +25171,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 @@ -24862,6 +25205,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 @@ -24897,7 +25243,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#detach-configurations-from-repositories parameters: - - *141 + - *145 requestBody: required: true content: @@ -24920,12 +25266,11 @@ paths: - 32 - 91 responses: - '204': &190 - description: A header with no content is returned. + '204': *192 '400': *15 '403': *29 '404': *7 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -24947,8 +25292,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#get-a-code-security-configuration parameters: - - *141 - - &189 + - *145 + - &194 name: configuration_id description: The unique identifier of the code security configuration. in: path @@ -24960,9 +25305,9 @@ paths: description: Response content: application/json: - schema: *187 + schema: *191 examples: - default: *188 + default: *193 '304': *37 '403': *29 '404': *7 @@ -24986,8 +25331,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#update-a-code-security-configuration parameters: - - *141 - - *189 + - *145 + - *194 requestBody: required: true content: @@ -25053,6 +25398,7 @@ paths: - enabled - disabled - not_set + code_scanning_default_setup_options: *195 secret_scanning: type: string description: The enablement status of secret scanning @@ -25139,7 +25485,7 @@ paths: description: Response when a configuration is updated content: application/json: - schema: *187 + schema: *191 examples: default: value: @@ -25155,6 +25501,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 @@ -25190,14 +25539,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#delete-a-code-security-configuration parameters: - - *141 - - *189 + - *145 + - *194 responses: - '204': *190 + '204': *192 '400': *15 '403': *29 '404': *7 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25221,8 +25570,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-security/configurations#attach-a-configuration-to-repositories parameters: - - *141 - - *189 + - *145 + - *194 requestBody: required: true content: @@ -25261,7 +25610,7 @@ paths: - 32 - 91 responses: - '202': *147 + '202': *151 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -25285,8 +25634,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: - - *141 - - *189 + - *145 + - *194 requestBody: required: true content: @@ -25326,12 +25675,12 @@ paths: - none - private_and_internal - public - configuration: *187 + configuration: *191 examples: default: value: default_for_new_repos: all - configuration: *188 + configuration: *193 '403': *29 '404': *7 x-github: @@ -25355,8 +25704,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: - - *141 - - *189 + - *145 + - *194 - 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)." @@ -25499,7 +25848,7 @@ paths: parameters: - *18 - *20 - - *141 + - *145 responses: '200': description: Response @@ -25515,7 +25864,7 @@ paths: type: integer codespaces: type: array - items: &242 + items: &247 type: object title: Codespace description: A codespace. @@ -25540,12 +25889,12 @@ paths: nullable: true owner: *19 billable_owner: *19 - repository: *159 + repository: *163 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: &430 + properties: &431 name: type: string description: The name of the machine. @@ -25587,7 +25936,7 @@ paths: - ready - in_progress nullable: true - required: &431 + required: &432 - name - display_name - operating_system @@ -25792,7 +26141,7 @@ paths: - pulls_url - recent_folders examples: - default: &243 + default: &248 value: total_count: 3 codespaces: @@ -26224,7 +26573,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#manage-access-control-for-organization-codespaces parameters: - - *141 + - *145 deprecated: true requestBody: required: true @@ -26291,7 +26640,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: - - *141 + - *145 deprecated: true requestBody: required: true @@ -26346,7 +26695,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#remove-users-from-codespaces-access-for-an-organization deprecated: true parameters: - - *141 + - *145 requestBody: required: true content: @@ -26398,7 +26747,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#list-organization-secrets parameters: - - *141 + - *145 - *18 - *20 responses: @@ -26416,7 +26765,7 @@ paths: type: integer secrets: type: array - items: &191 + items: &196 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -26455,7 +26804,7 @@ paths: - updated_at - visibility examples: - default: &432 + default: &433 value: total_count: 2 secrets: @@ -26487,13 +26836,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-public-key parameters: - - *141 + - *145 responses: '200': description: Response content: application/json: - schema: &433 + schema: &434 title: CodespacesPublicKey description: The public key used for setting Codespaces secrets. type: object @@ -26522,7 +26871,7 @@ paths: - key_id - key examples: - default: &434 + default: &435 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -26545,16 +26894,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#get-an-organization-secret parameters: - - *141 - - *169 + - *145 + - *173 responses: '200': description: Response content: application/json: - schema: *191 + schema: *196 examples: - default: &436 + default: &437 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -26581,8 +26930,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: - - *141 - - *169 + - *145 + - *173 requestBody: required: true content: @@ -26637,7 +26986,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -26663,8 +27012,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organization-secrets#delete-an-organization-secret parameters: - - *141 - - *169 + - *145 + - *173 responses: '204': description: Response @@ -26689,8 +27038,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: - - *141 - - *169 + - *145 + - *173 - *20 - *18 responses: @@ -26708,9 +27057,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *163 examples: - default: *173 + default: *177 '404': *7 x-github: githubCloudOnly: false @@ -26732,8 +27081,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: - - *141 - - *169 + - *145 + - *173 requestBody: required: true content: @@ -26783,8 +27132,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: - - *141 - - *169 + - *145 + - *173 - name: repository_id in: path required: true @@ -26817,8 +27166,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: - - *141 - - *169 + - *145 + - *173 - name: repository_id in: path required: true @@ -26857,7 +27206,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: - - *141 + - *145 responses: '200': description: OK @@ -27000,7 +27349,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: - - *141 + - *145 - *20 - name: per_page description: The number of results per page (max 100). For more information, @@ -27023,9 +27372,9 @@ paths: currently being billed. seats: type: array - items: *192 + items: *197 examples: - default: *193 + default: *198 headers: Link: *39 '500': *84 @@ -27047,13 +27396,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: @@ -27063,7 +27410,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: - - *141 + - *145 requestBody: content: application/json: @@ -27127,14 +27474,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: @@ -27144,7 +27488,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: - - *141 + - *145 requestBody: content: application/json: @@ -27210,13 +27554,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: @@ -27226,7 +27568,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: - - *141 + - *145 requestBody: content: application/json: @@ -27289,14 +27631,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: @@ -27306,7 +27645,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: - - *141 + - *145 requestBody: content: application/json: @@ -27387,7 +27726,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: - - *141 + - *145 - 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`). @@ -27419,13 +27758,13 @@ paths: application/json: schema: type: array - items: *98 + items: *102 examples: - default: *99 + default: *103 '500': *84 '403': *29 '404': *7 - '422': *100 + '422': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -27456,7 +27795,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: - - *141 + - *145 - 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`). @@ -27488,9 +27827,9 @@ paths: application/json: schema: type: array - items: *101 + items: *105 examples: - default: *194 + default: *199 '500': *84 '401': *25 '403': *29 @@ -27516,7 +27855,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: - - *141 + - *145 - *18 - name: page description: Page token @@ -27660,7 +27999,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: - - *141 + - *145 - name: credential_id in: path required: true @@ -27691,7 +28030,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: - - *141 + - *145 responses: '200': description: Response - list of custom role names @@ -27706,7 +28045,7 @@ paths: type: integer custom_roles: type: array - items: *195 + items: *200 examples: default: value: @@ -27793,12 +28132,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#create-a-custom-repository-role parameters: - - *141 + - *145 requestBody: required: true content: application/json: - schema: &198 + schema: &203 type: object properties: name: @@ -27839,9 +28178,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *200 examples: - default: *196 + default: *201 '422': *16 '404': *7 x-github: @@ -27865,8 +28204,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#get-a-custom-repository-role parameters: - - *141 - - &197 + - *145 + - &202 name: role_id description: The unique identifier of the role. in: path @@ -27878,9 +28217,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *200 examples: - default: *196 + default: *201 '404': *7 x-github: githubCloudOnly: true @@ -27902,13 +28241,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#update-a-custom-repository-role parameters: - - *141 - - *197 + - *145 + - *202 requestBody: required: true content: application/json: - schema: &199 + schema: &204 type: object properties: name: @@ -27946,9 +28285,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *200 examples: - default: *196 + default: *201 '422': *16 '404': *7 x-github: @@ -27972,8 +28311,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/custom-roles#delete-a-custom-repository-role parameters: - - *141 - - *197 + - *145 + - *202 responses: '204': description: Response @@ -28001,12 +28340,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: - - *141 + - *145 requestBody: required: true content: application/json: - schema: *198 + schema: *203 examples: default: value: @@ -28020,9 +28359,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *200 examples: - default: *196 + default: *201 '422': *16 '404': *7 x-github: @@ -28052,16 +28391,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: - - *141 - - *197 + - *145 + - *202 responses: '200': description: Response content: application/json: - schema: *195 + schema: *200 examples: - default: *196 + default: *201 '404': *7 x-github: githubCloudOnly: true @@ -28089,13 +28428,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: - - *141 - - *197 + - *145 + - *202 requestBody: required: true content: application/json: - schema: *199 + schema: *204 examples: default: value: @@ -28110,9 +28449,9 @@ paths: description: Response content: application/json: - schema: *195 + schema: *200 examples: - default: *196 + default: *201 '422': *16 '404': *7 x-github: @@ -28142,8 +28481,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: - - *141 - - *197 + - *145 + - *202 responses: '204': description: Response @@ -28171,18 +28510,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-an-organization parameters: - - *141 - - *200 - - *201 - - *202 - - *203 - - *204 + - *145 - *205 + - *206 + - *207 + - *208 + - *209 + - *210 - *78 - *76 - *77 - - *206 - - *207 + - *211 + - *212 - *18 responses: '200': @@ -28191,9 +28530,9 @@ paths: application/json: schema: type: array - items: *208 + items: *213 examples: - default: *209 + default: *214 '304': *37 '400': *15 '403': *29 @@ -28219,7 +28558,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-organization-secrets parameters: - - *141 + - *145 - *18 - *20 responses: @@ -28237,7 +28576,7 @@ paths: type: integer secrets: type: array - items: &210 + items: &215 title: Dependabot Secret for an Organization description: Secrets for GitHub Dependabot for an organization. type: object @@ -28308,13 +28647,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-public-key parameters: - - *141 + - *145 responses: '200': description: Response content: application/json: - schema: &463 + schema: &464 title: DependabotPublicKey description: The public key used for setting Dependabot Secrets. type: object @@ -28331,7 +28670,7 @@ paths: - key_id - key examples: - default: &464 + default: &465 value: key_id: '012345678912345678' key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 @@ -28354,14 +28693,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-an-organization-secret parameters: - - *141 - - *169 + - *145 + - *173 responses: '200': description: Response content: application/json: - schema: *210 + schema: *215 examples: default: value: @@ -28389,8 +28728,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-an-organization-secret parameters: - - *141 - - *169 + - *145 + - *173 requestBody: required: true content: @@ -28445,7 +28784,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -28469,8 +28808,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-an-organization-secret parameters: - - *141 - - *169 + - *145 + - *173 responses: '204': description: Response @@ -28494,8 +28833,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: - - *141 - - *169 + - *145 + - *173 - *20 - *18 responses: @@ -28513,9 +28852,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *163 examples: - default: *173 + default: *177 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -28536,8 +28875,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: - - *141 - - *169 + - *145 + - *173 requestBody: required: true content: @@ -28587,8 +28926,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: - - *141 - - *169 + - *145 + - *173 - name: repository_id in: path required: true @@ -28619,8 +28958,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: - - *141 - - *169 + - *145 + - *173 - name: repository_id in: path required: true @@ -28650,7 +28989,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: - - *141 + - *145 responses: '200': description: Response @@ -28658,7 +28997,7 @@ paths: application/json: schema: type: array - items: &254 + items: &259 title: Package description: A software package type: object @@ -28708,8 +29047,8 @@ paths: title: Minimal Repository description: Minimal Repository type: object - properties: *211 - required: *212 + properties: *216 + required: *217 nullable: true created_at: type: string @@ -28728,7 +29067,7 @@ paths: - created_at - updated_at examples: - default: &255 + default: &260 value: - id: 197 name: hello_docker @@ -28806,7 +29145,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-organization-events parameters: - - *141 + - *145 - *18 - *20 responses: @@ -28816,7 +29155,7 @@ paths: application/json: schema: type: array - items: *130 + items: *134 examples: 200-response: value: @@ -28886,7 +29225,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/external-groups#get-an-external-group parameters: - - *141 + - *145 - name: group_id description: The unique identifier of the group. in: path @@ -28912,7 +29251,7 @@ paths: description: Response content: application/json: - schema: &319 + schema: &320 title: ExternalGroup description: Information about an external group's usage and its members type: object @@ -28993,7 +29332,7 @@ paths: example: mona_lisa@github.com type: string examples: - default: &320 + default: &321 value: group_id: '123' group_name: Octocat admins @@ -29031,7 +29370,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: - - *141 + - *145 - *18 - name: page description: Page token @@ -29048,7 +29387,7 @@ paths: description: Response content: application/json: - schema: &317 + schema: &318 title: ExternalGroups description: A list of external groups available to be connected to a team @@ -29085,7 +29424,7 @@ paths: example: 2019-06-03 22:27:15:000 -700 type: string examples: - default: &318 + default: &319 value: groups: - group_id: '123' @@ -29119,7 +29458,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-failed-organization-invitations parameters: - - *141 + - *145 - *18 - *20 responses: @@ -29129,7 +29468,7 @@ paths: application/json: schema: type: array - items: &235 + items: &240 title: Organization Invitation description: Organization Invitation type: object @@ -29176,7 +29515,7 @@ paths: - invitation_teams_url - node_id examples: - default: &236 + default: &241 value: - id: 1 login: monalisa @@ -29235,7 +29574,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: - - *141 + - *145 responses: '200': description: Response @@ -29243,7 +29582,7 @@ paths: application/json: schema: type: array - items: &276 + items: &277 title: Repository Fine-Grained Permission description: A fine-grained permission that protects repository resources. @@ -29257,7 +29596,7 @@ paths: - name - description examples: - default: &277 + default: &278 value: - name: add_assignee description: Assign or remove a user @@ -29288,7 +29627,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-organization-webhooks parameters: - - *141 + - *145 - *18 - *20 responses: @@ -29298,7 +29637,7 @@ paths: application/json: schema: type: array - items: &213 + items: &218 title: Org Hook description: Org Hook type: object @@ -29407,7 +29746,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#create-an-organization-webhook parameters: - - *141 + - *145 requestBody: required: true content: @@ -29467,9 +29806,9 @@ paths: description: Response content: application/json: - schema: *213 + schema: *218 examples: - default: &214 + default: &219 value: id: 1 url: https://api.github.com/orgs/octocat/hooks/1 @@ -29513,8 +29852,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#get-an-organization-webhook parameters: - - *141 - - &215 + - *145 + - &220 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. @@ -29527,9 +29866,9 @@ paths: description: Response content: application/json: - schema: *213 + schema: *218 examples: - default: *214 + default: *219 '404': *7 x-github: githubCloudOnly: false @@ -29550,8 +29889,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#update-an-organization-webhook parameters: - - *141 - - *215 + - *145 + - *220 requestBody: required: false content: @@ -29596,7 +29935,7 @@ paths: description: Response content: application/json: - schema: *213 + schema: *218 examples: default: value: @@ -29635,8 +29974,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#delete-an-organization-webhook parameters: - - *141 - - *215 + - *145 + - *220 responses: '204': description: Response @@ -29661,8 +30000,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: - - *141 - - *215 + - *145 + - *220 responses: '200': description: Response @@ -29690,8 +30029,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: - - *141 - - *215 + - *145 + - *220 requestBody: required: false content: @@ -29739,10 +30078,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#list-deliveries-for-an-organization-webhook parameters: - - *141 - - *215 + - *145 + - *220 - *18 - - *216 + - *221 responses: '200': description: Response @@ -29750,9 +30089,9 @@ paths: application/json: schema: type: array - items: *217 + items: *222 examples: - default: *218 + default: *223 '400': *15 '422': *16 x-github: @@ -29775,17 +30114,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: - - *141 - - *215 + - *145 + - *220 - *17 responses: '200': description: Response content: application/json: - schema: *219 + schema: *224 examples: - default: *220 + default: *225 '400': *15 '422': *16 x-github: @@ -29808,11 +30147,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: - - *141 - - *215 + - *145 + - *220 - *17 responses: - '202': *147 + '202': *151 '400': *15 '422': *16 x-github: @@ -29835,8 +30174,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/webhooks#ping-an-organization-webhook parameters: - - *141 - - *215 + - *145 + - *220 responses: '204': description: Response @@ -29858,8 +30197,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-route-stats-by-actor parameters: - - *141 - - &225 + - *145 + - &230 name: actor_type in: path description: The type of the actor @@ -29872,14 +30211,14 @@ paths: - fine_grained_pats - oauth_apps - github_apps_user_to_server - - &226 + - &231 name: actor_id in: path description: The ID of the actor required: true schema: type: integer - - &221 + - &226 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`.' @@ -29887,7 +30226,7 @@ paths: required: true schema: type: string - - &222 + - &227 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) @@ -29915,6 +30254,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 @@ -29973,13 +30319,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-subject-stats parameters: - - *141 - - *221 - - *222 + - *145 + - *226 + - *227 - *20 - *18 - *78 - - &231 + - &236 name: sort description: The property to sort the results by. in: query @@ -29995,6 +30341,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 @@ -30050,15 +30403,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats parameters: - - *141 - - *221 - - *222 + - *145 + - *226 + - *227 responses: '200': description: Response content: application/json: - schema: &223 + schema: &228 title: Summary Stats description: API Insights usage summary stats for an organization type: object @@ -30074,7 +30427,7 @@ paths: type: integer format: int64 examples: - default: &224 + default: &229 value: total_request_count: 34225 rate_limited_request_count: 23 @@ -30094,24 +30447,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-user parameters: - - *141 - - &227 + - *145 + - &232 name: user_id in: path description: The ID of the user to query for stats required: true schema: type: string - - *221 - - *222 + - *226 + - *227 responses: '200': description: Response content: application/json: - schema: *223 + schema: *228 examples: - default: *224 + default: *229 x-github: enabledForGitHubApps: true category: orgs @@ -30129,19 +30482,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-summary-stats-by-actor parameters: - - *141 - - *221 - - *222 - - *225 + - *145 - *226 + - *227 + - *230 + - *231 responses: '200': description: Response content: application/json: - schema: *223 + schema: *228 examples: - default: *224 + default: *229 x-github: enabledForGitHubApps: true category: orgs @@ -30158,10 +30511,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats parameters: - - *141 - - *221 - - *222 - - &228 + - *145 + - *226 + - *227 + - &233 name: timestamp_increment description: The increment of time used to breakdown the query results (5m, 10m, 1h, etc.) @@ -30174,7 +30527,7 @@ paths: description: Response content: application/json: - schema: &229 + schema: &234 title: Time Stats description: API Insights usage time stats for an organization type: array @@ -30190,7 +30543,7 @@ paths: type: integer format: int64 examples: - default: &230 + default: &235 value: - timestamp: '2024-09-11T15:00:00Z' total_request_count: 34225 @@ -30226,19 +30579,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-user parameters: - - *141 + - *145 + - *232 + - *226 - *227 - - *221 - - *222 - - *228 + - *233 responses: '200': description: Response content: application/json: - schema: *229 + schema: *234 examples: - default: *230 + default: *235 x-github: enabledForGitHubApps: true category: orgs @@ -30255,20 +30608,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-time-stats-by-actor parameters: - - *141 - - *225 + - *145 + - *230 + - *231 - *226 - - *221 - - *222 - - *228 + - *227 + - *233 responses: '200': description: Response content: application/json: - schema: *229 + schema: *234 examples: - default: *230 + default: *235 x-github: enabledForGitHubApps: true category: orgs @@ -30285,14 +30638,21 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/api-insights#get-user-stats parameters: - - *141 + - *145 + - *232 + - *226 - *227 - - *221 - - *222 - *20 - *18 - *78 - - *231 + - *236 + - 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 @@ -30358,7 +30718,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: - - *141 + - *145 responses: '200': description: Response @@ -30366,7 +30726,7 @@ paths: application/json: schema: *22 examples: - default: &502 + default: &503 value: id: 1 account: @@ -30435,7 +30795,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-app-installations-for-an-organization parameters: - - *141 + - *145 - *18 - *20 responses: @@ -30524,7 +30884,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#get-interaction-restrictions-for-an-organization parameters: - - *141 + - *145 responses: '200': description: Response @@ -30532,12 +30892,12 @@ paths: application/json: schema: anyOf: - - &233 + - &238 title: Interaction Limits description: Interaction limit settings. type: object properties: - limit: &232 + limit: &237 type: string description: The type of GitHub user that can comment, open issues, or create pull requests while the interaction limit @@ -30562,7 +30922,7 @@ paths: properties: {} additionalProperties: false examples: - default: &234 + default: &239 value: limit: collaborators_only origin: organization @@ -30586,18 +30946,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#set-interaction-restrictions-for-an-organization parameters: - - *141 + - *145 requestBody: required: true content: application/json: - schema: &503 + schema: &504 title: Interaction Restrictions description: Limit interactions to a specific type of user for a specified duration type: object properties: - limit: *232 + limit: *237 expiry: type: string description: 'The duration of the interaction restriction. Default: @@ -30621,9 +30981,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *238 examples: - default: *234 + default: *239 '422': *16 x-github: githubCloudOnly: false @@ -30641,7 +31001,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/orgs#remove-interaction-restrictions-for-an-organization parameters: - - *141 + - *145 responses: '204': description: Response @@ -30667,7 +31027,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-pending-organization-invitations parameters: - - *141 + - *145 - *18 - *20 - name: role @@ -30701,9 +31061,9 @@ paths: application/json: schema: type: array - items: *235 + items: *240 examples: - default: *236 + default: *241 headers: Link: *39 '404': *7 @@ -30727,7 +31087,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#create-an-organization-invitation parameters: - - *141 + - *145 requestBody: required: false content: @@ -30781,7 +31141,7 @@ paths: description: Response content: application/json: - schema: *235 + schema: *240 examples: default: value: @@ -30837,8 +31197,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#cancel-an-organization-invitation parameters: - - *141 - - &237 + - *145 + - &242 name: invitation_id description: The unique identifier of the invitation. in: path @@ -30871,8 +31231,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-invitation-teams parameters: - - *141 - - *237 + - *145 + - *242 - *18 - *20 responses: @@ -30882,9 +31242,9 @@ paths: application/json: schema: type: array - items: *238 + items: *243 examples: - default: &253 + default: &258 value: - id: 1 node_id: MDQ6VGVhbTE= @@ -30929,7 +31289,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: - - *141 + - *145 - name: filter description: Indicates which sorts of issues to return. `assigned` means issues assigned to you. `created` means issues created by you. `mentioned` means @@ -30959,7 +31319,7 @@ paths: - closed - all default: open - - *239 + - *244 - name: sort description: What to sort results by. in: query @@ -30972,7 +31332,7 @@ paths: - comments default: created - *78 - - *108 + - *112 - *18 - *20 responses: @@ -30982,9 +31342,9 @@ paths: application/json: schema: type: array - items: *118 + items: *122 examples: - default: *240 + default: *245 headers: Link: *39 '404': *7 @@ -31006,7 +31366,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-organization-members parameters: - - *141 + - *145 - 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) @@ -31042,7 +31402,7 @@ paths: type: array items: *19 examples: - default: *241 + default: *246 headers: Link: *39 '422': *16 @@ -31062,8 +31422,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#check-organization-membership-for-a-user parameters: - - *141 - - *181 + - *145 + - *185 responses: '204': description: Response if requester is an organization member and user is @@ -31094,8 +31454,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-an-organization-member parameters: - - *141 - - *181 + - *145 + - *185 responses: '204': description: Response @@ -31121,8 +31481,8 @@ paths: parameters: - *18 - *20 - - *141 - - *181 + - *145 + - *185 responses: '200': description: Response @@ -31138,9 +31498,9 @@ paths: type: integer codespaces: type: array - items: *242 + items: *247 examples: - default: *243 + default: *248 '304': *37 '500': *84 '401': *25 @@ -31165,9 +31525,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/organizations#delete-a-codespace-from-the-organization parameters: - - *141 - - *181 - - &244 + - *145 + - *185 + - &249 name: codespace_name in: path required: true @@ -31175,7 +31535,7 @@ paths: schema: type: string responses: - '202': *147 + '202': *151 '304': *37 '500': *84 '401': *25 @@ -31200,17 +31560,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: - - *141 - - *181 - - *244 + - *145 + - *185 + - *249 responses: '200': description: Response content: application/json: - schema: *242 + schema: *247 examples: - default: &429 + default: &430 value: id: 1 name: monalisa-octocat-hello-world-g4wpq6h95q @@ -31383,14 +31743,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: - - *141 - - *181 + - *145 + - *185 responses: '200': description: The user's GitHub Copilot seat details, including usage. content: application/json: - schema: *192 + schema: *197 examples: default: value: @@ -31458,14 +31818,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#get-organization-membership-for-a-user parameters: - - *141 - - *181 + - *145 + - *185 responses: '200': description: Response content: application/json: - schema: &245 + schema: &250 title: Org Membership description: Org Membership type: object @@ -31517,7 +31877,7 @@ paths: - organization - user examples: - response-if-user-has-an-active-admin-membership-with-organization: &246 + response-if-user-has-an-active-admin-membership-with-organization: &251 summary: Response if user has an active admin membership with organization value: url: https://api.github.com/orgs/octocat/memberships/defunkt @@ -31585,8 +31945,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#set-organization-membership-for-a-user parameters: - - *141 - - *181 + - *145 + - *185 requestBody: required: false content: @@ -31614,9 +31974,9 @@ paths: description: Response content: application/json: - schema: *245 + schema: *250 examples: - response-if-user-already-had-membership-with-organization: *246 + response-if-user-already-had-membership-with-organization: *251 '422': *16 '403': *29 x-github: @@ -31637,8 +31997,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#remove-organization-membership-for-a-user parameters: - - *141 - - *181 + - *145 + - *185 responses: '204': description: Response @@ -31663,7 +32023,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-organization-migrations parameters: - - *141 + - *145 - *18 - *20 - name: exclude @@ -31684,7 +32044,7 @@ paths: application/json: schema: type: array - items: &247 + items: &252 title: Migration description: A migration. type: object @@ -31937,7 +32297,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#start-an-organization-migration parameters: - - *141 + - *145 requestBody: required: true content: @@ -32013,7 +32373,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *252 examples: default: value: @@ -32191,8 +32551,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#get-an-organization-migration-status parameters: - - *141 - - &248 + - *145 + - &253 name: migration_id description: The unique identifier of the migration. in: path @@ -32219,7 +32579,7 @@ paths: * `failed`, which means the migration failed. content: application/json: - schema: *247 + schema: *252 examples: default: value: @@ -32388,8 +32748,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#download-an-organization-migration-archive parameters: - - *141 - - *248 + - *145 + - *253 responses: '302': description: Response @@ -32410,8 +32770,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#delete-an-organization-migration-archive parameters: - - *141 - - *248 + - *145 + - *253 responses: '204': description: Response @@ -32434,9 +32794,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#unlock-an-organization-repository parameters: - - *141 - - *248 - - &674 + - *145 + - *253 + - &675 name: repo_name description: repo_name parameter in: path @@ -32463,8 +32823,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/orgs#list-repositories-in-an-organization-migration parameters: - - *141 - - *248 + - *145 + - *253 - *18 - *20 responses: @@ -32474,9 +32834,9 @@ paths: application/json: schema: type: array - items: *159 + items: *163 examples: - default: &260 + default: &265 value: - id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -32615,7 +32975,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: - - *141 + - *145 responses: '200': description: Response @@ -32669,7 +33029,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: - - *141 + - *145 responses: '200': description: Response - list of organization roles @@ -32685,7 +33045,7 @@ paths: roles: type: array description: The list of organization roles available to the organization. - items: &249 + items: &254 title: Organization Role description: Organization roles type: object @@ -32845,7 +33205,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#create-a-custom-organization-role parameters: - - *141 + - *145 requestBody: required: true content: @@ -32892,7 +33252,7 @@ paths: description: Response content: application/json: - schema: *249 + schema: *254 examples: default: value: @@ -32921,7 +33281,7 @@ paths: updated_at: '2022-07-04T22:19:11Z' '422': *16 '404': *7 - '409': *146 + '409': *150 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -32943,8 +33303,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: - - *141 - - *250 + - *145 + - *255 responses: '204': description: Response @@ -32969,9 +33329,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: - - *141 - - *250 - - *197 + - *145 + - *255 + - *202 responses: '204': description: Response @@ -33000,9 +33360,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: - - *141 - - *250 - - *197 + - *145 + - *255 + - *202 responses: '204': description: Response @@ -33027,8 +33387,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: - - *141 - - *181 + - *145 + - *185 responses: '204': description: Response @@ -33053,9 +33413,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: - - *141 - - *181 - - *197 + - *145 + - *185 + - *202 responses: '204': description: Response @@ -33085,9 +33445,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: - - *141 - - *181 - - *197 + - *145 + - *185 + - *202 responses: '204': description: Response @@ -33115,14 +33475,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#get-an-organization-role parameters: - - *141 - - *197 + - *145 + - *202 responses: '200': description: Response content: application/json: - schema: *249 + schema: *254 examples: default: value: @@ -33179,8 +33539,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#update-a-custom-organization-role parameters: - - *141 - - *197 + - *145 + - *202 requestBody: required: true content: @@ -33219,7 +33579,7 @@ paths: description: Response content: application/json: - schema: *249 + schema: *254 examples: default: value: @@ -33247,7 +33607,7 @@ paths: created_at: '2022-07-04T22:19:11Z' updated_at: '2022-07-04T22:19:11Z' '422': *16 - '409': *146 + '409': *150 '404': *7 x-github: githubCloudOnly: true @@ -33272,8 +33632,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/organization-roles#delete-a-custom-organization-role parameters: - - *141 - - *197 + - *145 + - *202 responses: '204': description: Response @@ -33298,8 +33658,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: - - *141 - - *197 + - *145 + - *202 - *18 - *20 responses: @@ -33377,8 +33737,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *251 - required: *252 + properties: *256 + required: *257 nullable: true required: - id @@ -33393,7 +33753,7 @@ paths: - slug - parent examples: - default: *253 + default: *258 headers: Link: *39 '404': @@ -33422,8 +33782,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: - - *141 - - *197 + - *145 + - *202 - *18 - *20 responses: @@ -33451,13 +33811,13 @@ paths: inherited_from: description: Team the user has gotten the role through type: array - items: &296 + items: &297 title: Team Simple description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *251 - required: *252 + properties: *256 + required: *257 name: nullable: true type: string @@ -33552,7 +33912,7 @@ paths: - type - url examples: - default: *241 + default: *246 headers: Link: *39 '404': @@ -33576,7 +33936,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: - - *141 + - *145 - 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) @@ -33600,7 +33960,7 @@ paths: type: array items: *19 examples: - default: *241 + default: *246 headers: Link: *39 x-github: @@ -33625,8 +33985,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: - - *141 - - *181 + - *145 + - *185 requestBody: required: false content: @@ -33683,8 +34043,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: - - *141 - - *181 + - *145 + - *185 responses: '204': description: Response @@ -33741,8 +34101,8 @@ paths: - docker - nuget - container - - *141 - - &676 + - *145 + - &677 name: visibility description: |- The selected visibility of the packages. This parameter is optional and only filters an existing result set. @@ -33778,12 +34138,12 @@ paths: application/json: schema: type: array - items: *254 + items: *259 examples: - default: *255 + default: *260 '403': *29 '401': *25 - '400': &678 + '400': &679 description: The value of `per_page` multiplied by `page` cannot be greater than 10000. x-github: @@ -33805,7 +34165,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-an-organization parameters: - - &256 + - &261 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 @@ -33823,20 +34183,20 @@ paths: - docker - nuget - container - - &257 + - &262 name: package_name description: The name of the package. in: path required: true schema: type: string - - *141 + - *145 responses: '200': description: Response content: application/json: - schema: *254 + schema: *259 examples: default: value: @@ -33888,9 +34248,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-an-organization parameters: - - *256 - - *257 - - *141 + - *261 + - *262 + - *145 responses: '204': description: Response @@ -33922,9 +34282,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-an-organization parameters: - - *256 - - *257 - - *141 + - *261 + - *262 + - *145 - name: token description: package token schema: @@ -33956,9 +34316,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: - - *256 - - *257 - - *141 + - *261 + - *262 + - *145 - *20 - *18 - name: state @@ -33978,7 +34338,7 @@ paths: application/json: schema: type: array - items: &258 + items: &263 title: Package Version description: A version of a software package type: object @@ -34103,10 +34463,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: - - *256 - - *257 - - *141 - - &259 + - *261 + - *262 + - *145 + - &264 name: package_version_id description: Unique identifier of the package version. in: path @@ -34118,7 +34478,7 @@ paths: description: Response content: application/json: - schema: *258 + schema: *263 examples: default: value: @@ -34154,10 +34514,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-an-organization parameters: - - *256 - - *257 - - *141 - - *259 + - *261 + - *262 + - *145 + - *264 responses: '204': description: Response @@ -34189,10 +34549,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-an-organization parameters: - - *256 - - *257 - - *141 - - *259 + - *261 + - *262 + - *145 + - *264 responses: '204': description: Response @@ -34219,10 +34579,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: - - *141 + - *145 - *18 - *20 - - &261 + - &266 name: sort description: The property by which to sort the results. in: query @@ -34233,7 +34593,7 @@ paths: - created_at default: created_at - *78 - - &262 + - &267 name: owner description: A list of owner usernames to use to filter the results. in: query @@ -34244,7 +34604,7 @@ paths: items: type: string example: owner[]=octocat1,owner[]=octocat2 - - &263 + - &268 name: repository description: The name of the repository to use to filter the results. in: query @@ -34252,7 +34612,7 @@ paths: schema: type: string example: Hello-World - - &264 + - &269 name: permission description: The permission to use to filter the results. in: query @@ -34260,7 +34620,7 @@ paths: schema: type: string example: issues_read - - &265 + - &270 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) @@ -34270,7 +34630,7 @@ paths: schema: type: string format: date-time - - &266 + - &271 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) @@ -34433,7 +34793,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: - - *141 + - *145 requestBody: required: true content: @@ -34478,7 +34838,7 @@ paths: '422': *16 '404': *7 '403': *29 - '202': *147 + '202': *151 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34499,7 +34859,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: - - *141 + - *145 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -34539,7 +34899,7 @@ paths: '422': *16 '404': *7 '403': *29 - '204': *190 + '204': *192 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -34560,7 +34920,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: - - *141 + - *145 - name: pat_request_id in: path description: Unique identifier of the request for access via fine-grained @@ -34580,9 +34940,9 @@ paths: application/json: schema: type: array - items: *159 + items: *163 examples: - default: *260 + default: *265 headers: Link: *39 x-github: @@ -34605,16 +34965,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: - - *141 + - *145 - *18 - *20 - - *261 - - *78 - - *262 - - *263 - - *264 - - *265 - *266 + - *78 + - *267 + - *268 + - *269 + - *270 + - *271 responses: '500': *84 '422': *16 @@ -34763,7 +35123,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: - - *141 + - *145 requestBody: required: true content: @@ -34800,7 +35160,7 @@ paths: responses: '500': *84 '404': *7 - '202': *147 + '202': *151 '403': *29 '422': *16 x-github: @@ -34823,7 +35183,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: - - *141 + - *145 - name: pat_id description: The unique identifier of the fine-grained personal access token. in: path @@ -34853,7 +35213,7 @@ paths: responses: '500': *84 '404': *7 - '204': *190 + '204': *192 '403': *29 '422': *16 x-github: @@ -34875,7 +35235,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: - - *141 + - *145 - name: pat_id in: path description: Unique identifier of the fine-grained personal access token. @@ -34894,9 +35254,9 @@ paths: application/json: schema: type: array - items: *159 + items: *163 examples: - default: *260 + default: *265 headers: Link: *39 x-github: @@ -34918,7 +35278,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-organization-projects parameters: - - *141 + - *145 - name: state description: Indicates the state of the projects to return. in: query @@ -34939,7 +35299,7 @@ paths: application/json: schema: type: array - items: &267 + items: &272 title: Project description: Projects are a way to organize columns and cards of work. @@ -35083,7 +35443,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-an-organization-project parameters: - - *141 + - *145 requestBody: required: true content: @@ -35109,7 +35469,7 @@ paths: description: Response content: application/json: - schema: *267 + schema: *272 examples: default: value: @@ -35147,7 +35507,7 @@ paths: '401': *25 '403': *29 '404': *7 - '410': &335 + '410': &336 description: Gone content: application/json: @@ -35171,7 +35531,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: - - *141 + - *145 responses: '200': description: Response @@ -35179,94 +35539,9 @@ paths: application/json: schema: type: array - items: &268 - 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 - example: organization - value_type: - type: string - example: single_select - enum: - - string - - single_select - - multi_select - - true_false - description: The type of the value for the property - required: - type: boolean - description: Whether the property is required. - default_value: - oneOf: - - type: string - - type: array - items: - type: string - nullable: true - description: Default value of the property - description: - type: string - nullable: true - description: Short description of the property - allowed_values: - type: array - items: - type: string - maxLength: 75 - maxItems: 200 - nullable: true - 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 - nullable: true - enum: - - org_actors - - org_and_repo_actors - example: org_actors - description: Who can edit the values of the property - required: - - property_name - - value_type + items: *96 examples: - default: &269 - 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: *97 '403': *29 '404': *7 x-github: @@ -35289,7 +35564,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: - - *141 + - *145 requestBody: required: true content: @@ -35300,7 +35575,7 @@ paths: properties: type: array description: The array of custom properties to create or update. - items: *268 + items: *96 minItems: 1 maxItems: 100 required: @@ -35330,9 +35605,9 @@ paths: application/json: schema: type: array - items: *268 + items: *96 examples: - default: *269 + default: *97 '403': *29 '404': *7 x-github: @@ -35353,33 +35628,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: - - *141 - - &270 - name: custom_property_name - description: The custom property name - in: path - required: true - schema: - type: string + - *145 + - *98 responses: '200': description: Response content: application/json: - schema: *268 + schema: *96 examples: - default: &271 - 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: *99 '403': *29 '404': *7 x-github: @@ -35402,8 +35660,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: - - *141 - - *270 + - *145 + - *98 requestBody: required: true content: @@ -35462,9 +35720,9 @@ paths: description: Response content: application/json: - schema: *268 + schema: *96 examples: - default: *271 + default: *99 '403': *29 '404': *7 x-github: @@ -35487,10 +35745,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: - - *141 - - *270 + - *145 + - *98 responses: - '204': *190 + '204': *192 '403': *29 '404': *7 x-github: @@ -35511,7 +35769,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: - - *141 + - *145 - *18 - *20 - name: repository_query @@ -35549,7 +35807,7 @@ paths: example: octocat/Hello-World properties: type: array - items: &272 + items: &273 title: Custom Property Value description: Custom property name and associated value type: object @@ -35616,7 +35874,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: - - *141 + - *145 requestBody: required: true content: @@ -35636,7 +35894,7 @@ paths: type: array description: List of custom property names and associated values to apply to the repositories. - items: *272 + items: *273 required: - repository_names - properties @@ -35677,7 +35935,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/members#list-public-organization-members parameters: - - *141 + - *145 - *18 - *20 responses: @@ -35689,7 +35947,7 @@ paths: type: array items: *19 examples: - default: *241 + default: *246 headers: Link: *39 x-github: @@ -35708,8 +35966,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: - - *141 - - *181 + - *145 + - *185 responses: '204': description: Response if user is a public member @@ -35733,8 +35991,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: - - *141 - - *181 + - *145 + - *185 responses: '204': description: Response @@ -35755,8 +36013,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: - - *141 - - *181 + - *145 + - *185 responses: '204': description: Response @@ -35780,7 +36038,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-organization-repositories parameters: - - *141 + - *145 - 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 @@ -35827,9 +36085,9 @@ paths: application/json: schema: type: array - items: *159 + items: *163 examples: - default: *260 + default: *265 headers: Link: *39 x-github: @@ -35850,7 +36108,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-organization-repository parameters: - - *141 + - *145 requestBody: required: true content: @@ -36032,7 +36290,7 @@ paths: description: Response content: application/json: - schema: &337 + schema: &338 title: Full Repository description: Full Repository type: object @@ -36309,8 +36567,8 @@ paths: title: Repository description: A repository on GitHub. type: object - properties: *273 - required: *274 + properties: *274 + required: *275 nullable: true temp_clone_token: type: string @@ -36397,8 +36655,8 @@ paths: title: License Simple description: License Simple type: object - properties: *119 - required: *120 + properties: *123 + required: *124 nullable: true organization: title: Simple User @@ -36425,7 +36683,7 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: &451 + properties: &452 url: type: string format: uri @@ -36441,12 +36699,12 @@ paths: nullable: true format: uri example: https://github.com/github/docs/blob/main/CODE_OF_CONDUCT.md - required: &452 + required: &453 - url - key - name - html_url - security_and_analysis: *275 + security_and_analysis: *276 custom_properties: type: object description: The custom properties that were defined for the repository. @@ -36530,7 +36788,7 @@ paths: - network_count - subscribers_count examples: - default: &339 + default: &340 value: id: 1296269 node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5 @@ -37048,7 +37306,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: - - *141 + - *145 responses: '200': description: Response @@ -37056,9 +37314,9 @@ paths: application/json: schema: type: array - items: *276 + items: *277 examples: - default: *277 + default: *278 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -37080,10 +37338,10 @@ paths: category: orgs subcategory: rules parameters: - - *141 + - *145 - *18 - *20 - - &587 + - &588 name: targets description: | A comma-separated list of rule targets to filter by. @@ -37101,7 +37359,7 @@ paths: application/json: schema: type: array - items: &284 + items: &285 title: Repository ruleset type: object description: A set of rules to apply when specified conditions are @@ -37134,7 +37392,7 @@ paths: source: type: string description: The name of the source - enforcement: &280 + enforcement: &281 type: string description: The enforcement level of the ruleset. `evaluate` allows admins to test rules before enforcing them. Admins @@ -37146,7 +37404,7 @@ paths: bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: &281 + items: &282 title: Repository Ruleset Bypass Actor type: object description: An actor that can bypass rules in a ruleset @@ -37213,7 +37471,7 @@ paths: conditions: nullable: true anyOf: - - &278 + - &279 title: Repository ruleset conditions for ref names type: object description: Parameters for a repository ruleset ref name @@ -37237,7 +37495,7 @@ paths: match. items: type: string - - &282 + - &283 title: Organization ruleset conditions type: object description: |- @@ -37250,7 +37508,7 @@ paths: description: Conditions to target repositories by name and refs by name allOf: - - *278 + - *279 - title: Repository ruleset conditions for repository names type: object description: Parameters for a repository name condition @@ -37284,7 +37542,7 @@ paths: description: Conditions to target repositories by id and refs by name allOf: - - *278 + - *279 - title: Repository ruleset conditions for repository IDs type: object description: Parameters for a repository ID condition @@ -37306,7 +37564,7 @@ paths: description: Conditions to target repositories by property and refs by name allOf: - - *278 + - *279 - title: Repository ruleset conditions for repository properties type: object description: Parameters for a repository property condition @@ -37319,7 +37577,7 @@ paths: description: The repository properties and values to include. All of these properties must match for the condition to pass. - items: &279 + items: &280 title: Repository ruleset property targeting definition type: object @@ -37352,17 +37610,17 @@ paths: description: The repository properties and values to exclude. The condition will not pass if any of these properties match. - items: *279 + items: *280 required: - repository_property rules: type: array - items: &283 + items: &284 title: Repository Rule type: object description: A repository rule. oneOf: - - &569 + - &570 title: creation description: Only allow users with bypass permission to create matching refs. @@ -37374,7 +37632,7 @@ paths: type: string enum: - creation - - &570 + - &571 title: update description: Only allow users with bypass permission to update matching refs. @@ -37395,7 +37653,7 @@ paths: repository required: - update_allows_fetch_and_merge - - &572 + - &573 title: deletion description: Only allow users with bypass permissions to delete matching refs. @@ -37407,7 +37665,7 @@ paths: type: string enum: - deletion - - &573 + - &574 title: required_linear_history description: Prevent merge commits from being pushed to matching refs. @@ -37419,7 +37677,7 @@ paths: type: string enum: - required_linear_history - - &574 + - &575 title: merge_queue description: Merges must be performed via a merge queue. type: object @@ -37497,7 +37755,7 @@ paths: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - - &575 + - &576 title: required_deployments description: Choose which environments must be successfully deployed to before refs can be pushed into a ref that @@ -37521,7 +37779,7 @@ paths: type: string required: - required_deployment_environments - - &576 + - &577 title: required_signatures description: Commits pushed to matching refs must have verified signatures. @@ -37533,7 +37791,7 @@ paths: type: string enum: - required_signatures - - &577 + - &578 title: pull_request description: Require all commits be made to a non-target branch and submitted via a pull request before they can @@ -37579,7 +37837,7 @@ paths: - require_last_push_approval - required_approving_review_count - required_review_thread_resolution - - &578 + - &579 title: required_status_checks description: Choose which status checks must pass before the ref is updated. When enabled, commits must first be @@ -37627,7 +37885,7 @@ paths: required: - required_status_checks - strict_required_status_checks_policy - - &579 + - &580 title: non_fast_forward description: Prevent users with push access from force pushing to refs. @@ -37639,7 +37897,7 @@ paths: type: string enum: - non_fast_forward - - &580 + - &581 title: commit_message_pattern description: Parameters to be used for the commit_message_pattern rule @@ -37675,7 +37933,7 @@ paths: required: - operator - pattern - - &581 + - &582 title: commit_author_email_pattern description: Parameters to be used for the commit_author_email_pattern rule @@ -37711,7 +37969,7 @@ paths: required: - operator - pattern - - &582 + - &583 title: committer_email_pattern description: Parameters to be used for the committer_email_pattern rule @@ -37747,7 +38005,7 @@ paths: required: - operator - pattern - - &583 + - &584 title: branch_name_pattern description: Parameters to be used for the branch_name_pattern rule @@ -37783,7 +38041,7 @@ paths: required: - operator - pattern - - &584 + - &585 title: tag_name_pattern description: Parameters to be used for the tag_name_pattern rule @@ -37909,7 +38167,7 @@ paths: maximum: 100 required: - max_file_size - - &585 + - &586 title: workflows description: Require all changes made to a targeted branch to pass the specified workflows before they can be merged. @@ -37959,7 +38217,7 @@ paths: - repository_id required: - workflows - - &586 + - &587 title: code_scanning description: Choose which tools must provide code scanning results before the reference is updated. When configured, @@ -38072,7 +38330,7 @@ paths: category: orgs subcategory: rules parameters: - - *141 + - *145 requestBody: description: Request body required: true @@ -38092,16 +38350,16 @@ paths: - tag - push default: branch - enforcement: *280 + enforcement: *281 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *281 - conditions: *282 + items: *282 + conditions: *283 rules: type: array description: An array of rules within the ruleset. - items: *283 + items: *284 required: - name - enforcement @@ -38139,9 +38397,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *285 examples: - default: &285 + default: &286 value: id: 21 name: super cool ruleset @@ -38195,8 +38453,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#list-organization-rule-suites parameters: - - *141 - - &588 + - *145 + - &589 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 @@ -38211,7 +38469,7 @@ paths: in: query schema: type: string - - &589 + - &590 name: time_period description: |- The time period to filter by. @@ -38227,14 +38485,14 @@ paths: - week - month default: day - - &590 + - &591 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 - - &591 + - &592 name: rule_suite_result description: The rule results to filter on. When specified, only suites with this result will be returned. @@ -38254,7 +38512,7 @@ paths: description: Response content: application/json: - schema: &592 + schema: &593 title: Rule Suites description: Response type: array @@ -38309,7 +38567,7 @@ paths: whether rules would pass or fail if all rules in the rule suite were `active`. examples: - default: &593 + default: &594 value: - id: 21 actor_id: 12 @@ -38352,8 +38610,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/rule-suites#get-an-organization-rule-suite parameters: - - *141 - - &594 + - *145 + - &595 name: rule_suite_id description: |- The unique identifier of the rule suite result. @@ -38369,7 +38627,7 @@ paths: description: Response content: application/json: - schema: &595 + schema: &596 title: Rule Suite description: Response type: object @@ -38468,7 +38726,7 @@ paths: description: The detailed failure message for the rule. Null if the rule passed. examples: - default: &596 + default: &597 value: id: 21 actor_id: 12 @@ -38529,7 +38787,7 @@ paths: category: orgs subcategory: rules parameters: - - *141 + - *145 - name: ruleset_id description: The ID of the ruleset. in: path @@ -38541,9 +38799,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *285 examples: - default: *285 + default: *286 '404': *7 '500': *84 put: @@ -38561,7 +38819,7 @@ paths: category: orgs subcategory: rules parameters: - - *141 + - *145 - name: ruleset_id description: The ID of the ruleset. in: path @@ -38586,16 +38844,16 @@ paths: - branch - tag - push - enforcement: *280 + enforcement: *281 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *281 - conditions: *282 + items: *282 + conditions: *283 rules: description: An array of rules within the ruleset. type: array - items: *283 + items: *284 examples: default: value: @@ -38630,9 +38888,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *285 examples: - default: *285 + default: *286 '404': *7 '500': *84 delete: @@ -38650,7 +38908,7 @@ paths: category: orgs subcategory: rules parameters: - - *141 + - *145 - name: ruleset_id description: The ID of the ruleset. in: path @@ -38678,15 +38936,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: - - *141 - - *286 + - *145 - *287 - *288 - *289 + - *290 - *78 - *20 - *18 - - &598 + - &599 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 @@ -38696,7 +38954,7 @@ paths: required: false schema: type: string - - &599 + - &600 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 @@ -38706,9 +38964,9 @@ paths: required: false schema: type: string - - *290 - *291 - *292 + - *293 responses: '200': description: Response @@ -38716,13 +38974,13 @@ paths: application/json: schema: type: array - items: *293 + items: *294 examples: - default: *294 + default: *295 headers: Link: *39 '404': *7 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -38744,7 +39002,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: - - *141 + - *145 - *78 - name: sort description: The property to sort the results by. @@ -38788,7 +39046,7 @@ paths: application/json: schema: type: array - items: &606 + items: &607 description: A repository security advisory. type: object properties: @@ -39008,7 +39266,7 @@ paths: login: type: string description: The username of the user credited. - type: *295 + type: *296 credits_detailed: type: array nullable: true @@ -39018,7 +39276,7 @@ paths: type: object properties: user: *19 - type: *295 + type: *296 state: type: string description: The state of the user's acceptance of the @@ -39042,7 +39300,7 @@ paths: type: array description: A list of teams that collaborate on the advisory. nullable: true - items: *238 + items: *243 private_fork: readOnly: true nullable: true @@ -39079,7 +39337,7 @@ paths: - private_fork additionalProperties: false examples: - default: &607 + default: &608 value: - ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -39461,7 +39719,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#list-security-manager-teams parameters: - - *141 + - *145 responses: '200': description: Response @@ -39469,9 +39727,9 @@ paths: application/json: schema: type: array - items: *296 + items: *297 examples: - default: *253 + default: *258 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39494,8 +39752,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#add-a-security-manager-team parameters: - - *141 - - *250 + - *145 + - *255 responses: '204': description: Response @@ -39520,8 +39778,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/security-managers#remove-a-security-manager-team parameters: - - *141 - - *250 + - *145 + - *255 responses: '204': description: Response @@ -39547,15 +39805,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: - - *141 + - *145 responses: '200': description: Response content: application/json: - schema: *297 + schema: *298 examples: - default: *298 + default: *299 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -39579,7 +39837,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: - - *141 + - *145 - *18 - *20 responses: @@ -39587,9 +39845,9 @@ paths: description: Success content: application/json: - schema: *299 + schema: *300 examples: - default: *300 + default: *301 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -39611,15 +39869,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: - - *141 + - *145 responses: '200': description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -39641,15 +39899,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: - - *141 + - *145 responses: '200': description: Response content: application/json: - schema: *303 + schema: *304 examples: - default: *304 + default: *305 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -39666,7 +39924,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: - - *141 + - *145 - *18 - name: page description: Page token @@ -39685,7 +39943,7 @@ paths: description: Response content: application/json: - schema: &326 + schema: &327 title: GroupMapping description: External Groups to be mapped to a team for membership type: object @@ -39731,7 +39989,7 @@ paths: type: string nullable: true examples: - default: &327 + default: &328 value: groups: - group_id: '123' @@ -39776,8 +40034,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: - - *141 - - *250 + - *145 + - *255 - 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`). @@ -39809,13 +40067,13 @@ paths: application/json: schema: type: array - items: *98 + items: *102 examples: - default: *99 + default: *103 '500': *84 '403': *29 '404': *7 - '422': *100 + '422': *104 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -39849,8 +40107,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: - - *141 - - *250 + - *145 + - *255 - 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`). @@ -39882,9 +40140,9 @@ paths: application/json: schema: type: array - items: *101 + items: *105 examples: - default: *194 + default: *199 '500': *84 '401': *25 '403': *29 @@ -39906,7 +40164,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-teams parameters: - - *141 + - *145 - *18 - *20 responses: @@ -39916,9 +40174,9 @@ paths: application/json: schema: type: array - items: *238 + items: *243 examples: - default: *253 + default: *258 headers: Link: *39 '403': *29 @@ -39940,7 +40198,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#create-a-team parameters: - - *141 + - *145 requestBody: required: true content: @@ -40012,7 +40270,7 @@ paths: description: Response content: application/json: - schema: &305 + schema: &306 title: Full Team description: Groups of organization members that gives permissions on specified repositories. @@ -40075,8 +40333,8 @@ paths: description: Groups of organization members that gives permissions on specified repositories. type: object - properties: *251 - required: *252 + properties: *256 + required: *257 nullable: true members_count: type: integer @@ -40322,7 +40580,7 @@ paths: - repos_count - organization examples: - default: &306 + default: &307 value: id: 1 node_id: MDQ6VGVhbTE= @@ -40392,16 +40650,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-by-name parameters: - - *141 - - *250 + - *145 + - *255 responses: '200': description: Response content: application/json: - schema: *305 + schema: *306 examples: - default: *306 + default: *307 '404': *7 x-github: githubCloudOnly: false @@ -40422,8 +40680,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team parameters: - - *141 - - *250 + - *145 + - *255 requestBody: required: false content: @@ -40485,16 +40743,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *305 + schema: *306 examples: - default: *306 + default: *307 '201': description: Response content: application/json: - schema: *305 + schema: *306 examples: - default: *306 + default: *307 '404': *7 '422': *16 '403': *29 @@ -40519,8 +40777,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team parameters: - - *141 - - *250 + - *145 + - *255 responses: '204': description: Response @@ -40546,8 +40804,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions parameters: - - *141 - - *250 + - *145 + - *255 - *78 - *18 - *20 @@ -40564,7 +40822,7 @@ paths: application/json: schema: type: array - items: &307 + items: &308 title: Team Discussion description: A team discussion is a persistent record of a free-form conversation within a team. @@ -40643,7 +40901,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2343027/discussions/1 - reactions: *106 + reactions: *110 required: - author - body @@ -40663,7 +40921,7 @@ paths: - updated_at - url examples: - default: &647 + default: &648 value: - author: login: octocat @@ -40737,8 +40995,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion parameters: - - *141 - - *250 + - *145 + - *255 requestBody: required: true content: @@ -40772,9 +41030,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: &308 + default: &309 value: author: login: octocat @@ -40846,9 +41104,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion parameters: - - *141 - - *250 - - &309 + - *145 + - *255 + - &310 name: discussion_number description: The number that identifies the discussion. in: path @@ -40860,9 +41118,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *308 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -40884,9 +41142,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion parameters: - - *141 - - *250 - - *309 + - *145 + - *255 + - *310 requestBody: required: false content: @@ -40909,9 +41167,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: &648 + default: &649 value: author: login: octocat @@ -40981,9 +41239,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion parameters: - - *141 - - *250 - - *309 + - *145 + - *255 + - *310 responses: '204': description: Response @@ -41009,9 +41267,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments parameters: - - *141 - - *250 - - *309 + - *145 + - *255 + - *310 - *78 - *18 - *20 @@ -41022,7 +41280,7 @@ paths: application/json: schema: type: array - items: &310 + items: &311 title: Team Discussion Comment description: A reply to a discussion within a team. type: object @@ -41079,7 +41337,7 @@ paths: type: string format: uri example: https://api.github.com/organizations/1/team/2403582/discussions/1/comments/1 - reactions: *106 + reactions: *110 required: - author - body @@ -41094,7 +41352,7 @@ paths: - updated_at - url examples: - default: &649 + default: &650 value: - author: login: octocat @@ -41162,9 +41420,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment parameters: - - *141 - - *250 - - *309 + - *145 + - *255 + - *310 requestBody: required: true content: @@ -41186,9 +41444,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: &311 + default: &312 value: author: login: octocat @@ -41254,10 +41512,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment parameters: - - *141 - - *250 - - *309 - - &312 + - *145 + - *255 + - *310 + - &313 name: comment_number description: The number that identifies the comment. in: path @@ -41269,9 +41527,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: *311 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41293,10 +41551,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment parameters: - - *141 - - *250 - - *309 - - *312 + - *145 + - *255 + - *310 + - *313 requestBody: required: true content: @@ -41318,9 +41576,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: &650 + default: &651 value: author: login: octocat @@ -41384,10 +41642,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment parameters: - - *141 - - *250 - - *309 - - *312 + - *145 + - *255 + - *310 + - *313 responses: '204': description: Response @@ -41413,10 +41671,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: - - *141 - - *250 - - *309 - - *312 + - *145 + - *255 + - *310 + - *313 - 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. @@ -41442,7 +41700,7 @@ paths: application/json: schema: type: array - items: &313 + items: &314 title: Reaction description: Reactions to conversations provide a way to help people express their feelings more simply and effectively. @@ -41485,7 +41743,7 @@ paths: - content - created_at examples: - default: &315 + default: &316 value: - id: 1 node_id: MDg6UmVhY3Rpb24x @@ -41535,10 +41793,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: - - *141 - - *250 - - *309 - - *312 + - *145 + - *255 + - *310 + - *313 requestBody: required: true content: @@ -41571,9 +41829,9 @@ paths: team discussion comment content: application/json: - schema: *313 + schema: *314 examples: - default: &314 + default: &315 value: id: 1 node_id: MDg6UmVhY3Rpb24x @@ -41602,9 +41860,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -41627,11 +41885,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-comment-reaction parameters: - - *141 - - *250 - - *309 - - *312 - - &316 + - *145 + - *255 + - *310 + - *313 + - &317 name: reaction_id description: The unique identifier of the reaction. in: path @@ -41663,9 +41921,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-team-discussion parameters: - - *141 - - *250 - - *309 + - *145 + - *255 + - *310 - 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. @@ -41691,9 +41949,9 @@ paths: application/json: schema: type: array - items: *313 + items: *314 examples: - default: *315 + default: *316 headers: Link: *39 x-github: @@ -41719,9 +41977,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-team-discussion parameters: - - *141 - - *250 - - *309 + - *145 + - *255 + - *310 requestBody: required: true content: @@ -41753,16 +42011,16 @@ paths: description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 '201': description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -41785,10 +42043,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-team-discussion-reaction parameters: - - *141 - - *250 - - *309 - - *316 + - *145 + - *255 + - *310 + - *317 responses: '204': description: Response @@ -41811,16 +42069,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: - - *141 - - *250 + - *145 + - *255 responses: '200': description: Response content: application/json: - schema: *317 + schema: *318 examples: - default: *318 + default: *319 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -41839,8 +42097,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: - - *141 - - *250 + - *145 + - *255 requestBody: required: true content: @@ -41863,9 +42121,9 @@ paths: description: Response content: application/json: - schema: *319 + schema: *320 examples: - default: *320 + default: *321 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -41884,8 +42142,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: - - *141 - - *250 + - *145 + - *255 responses: '204': description: Response @@ -41909,8 +42167,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations parameters: - - *141 - - *250 + - *145 + - *255 - *18 - *20 responses: @@ -41920,9 +42178,9 @@ paths: application/json: schema: type: array - items: *235 + items: *240 examples: - default: *236 + default: *241 headers: Link: *39 x-github: @@ -41944,8 +42202,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members parameters: - - *141 - - *250 + - *145 + - *255 - name: role description: Filters members returned by their role in the team. in: query @@ -41968,7 +42226,7 @@ paths: type: array items: *19 examples: - default: *241 + default: *246 headers: Link: *39 x-github: @@ -41998,15 +42256,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-membership-for-a-user parameters: - - *141 - - *250 - - *181 + - *145 + - *255 + - *185 responses: '200': description: Response content: application/json: - schema: &321 + schema: &322 title: Team Membership description: Team Membership type: object @@ -42033,7 +42291,7 @@ paths: - state - url examples: - response-if-user-is-a-team-maintainer: &651 + response-if-user-is-a-team-maintainer: &652 summary: Response if user is a team maintainer value: url: https://api.github.com/teams/1/memberships/octocat @@ -42069,9 +42327,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: - - *141 - - *250 - - *181 + - *145 + - *255 + - *185 requestBody: required: false content: @@ -42096,9 +42354,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - response-if-users-membership-with-team-is-now-pending: &652 + response-if-users-membership-with-team-is-now-pending: &653 summary: Response if user's membership with team is now pending value: url: https://api.github.com/teams/1/memberships/octocat @@ -42133,9 +42391,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-membership-for-a-user parameters: - - *141 - - *250 - - *181 + - *145 + - *255 + - *185 responses: '204': description: Response @@ -42161,8 +42419,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects parameters: - - *141 - - *250 + - *145 + - *255 - *18 - *20 responses: @@ -42172,7 +42430,7 @@ paths: application/json: schema: type: array - items: &322 + items: &323 title: Team Project description: A team's access to a project. type: object @@ -42240,7 +42498,7 @@ paths: - updated_at - permissions examples: - default: &653 + default: &654 value: - owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -42301,9 +42559,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-project parameters: - - *141 - - *250 - - &323 + - *145 + - *255 + - &324 name: project_id description: The unique identifier of the project. in: path @@ -42315,9 +42573,9 @@ paths: description: Response content: application/json: - schema: *322 + schema: *323 examples: - default: &654 + default: &655 value: owner_url: https://api.github.com/orgs/octocat url: https://api.github.com/projects/1002605 @@ -42377,9 +42635,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-project-permissions parameters: - - *141 - - *250 - - *323 + - *145 + - *255 + - *324 requestBody: required: false content: @@ -42443,9 +42701,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-project-from-a-team parameters: - - *141 - - *250 - - *323 + - *145 + - *255 + - *324 responses: '204': description: Response @@ -42469,8 +42727,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories parameters: - - *141 - - *250 + - *145 + - *255 - *18 - *20 responses: @@ -42480,9 +42738,9 @@ paths: application/json: schema: type: array - items: *159 + items: *163 examples: - default: *260 + default: *265 headers: Link: *39 x-github: @@ -42511,16 +42769,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#check-team-permissions-for-a-repository parameters: - - *141 - - *250 - - *324 + - *145 + - *255 - *325 + - *326 responses: '200': description: Alternative response with repository permissions content: application/json: - schema: &655 + schema: &656 title: Team Repository description: A team's access to a repository. type: object @@ -42543,8 +42801,8 @@ paths: title: License Simple description: License Simple type: object - properties: *119 - required: *120 + properties: *123 + required: *124 nullable: true forks: type: integer @@ -43089,10 +43347,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#add-or-update-team-repository-permissions parameters: - - *141 - - *250 - - *324 + - *145 + - *255 - *325 + - *326 requestBody: required: false content: @@ -43137,10 +43395,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#remove-a-repository-from-a-team parameters: - - *141 - - *250 - - *324 + - *145 + - *255 - *325 + - *326 responses: '204': description: Response @@ -43166,16 +43424,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: - - *141 - - *250 + - *145 + - *255 responses: '200': description: Response content: application/json: - schema: *326 + schema: *327 examples: - default: *327 + default: *328 x-github: githubCloudOnly: true enabledForGitHubApps: false @@ -43197,8 +43455,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: - - *141 - - *250 + - *145 + - *255 requestBody: required: true content: @@ -43241,7 +43499,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *327 examples: default: value: @@ -43273,8 +43531,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams parameters: - - *141 - - *250 + - *145 + - *255 - *18 - *20 responses: @@ -43284,9 +43542,9 @@ paths: application/json: schema: type: array - items: *238 + items: *243 examples: - response-if-child-teams-exist: &656 + response-if-child-teams-exist: &657 value: - id: 2 node_id: MDQ6VGVhbTI= @@ -43339,7 +43597,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: - - *141 + - *145 - name: security_product in: path description: The security feature to enable or disable. @@ -43410,7 +43668,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#get-a-project-card parameters: - - &328 + - &329 name: card_id description: The unique identifier of the card. in: path @@ -43422,7 +43680,7 @@ paths: description: Response content: application/json: - schema: &329 + schema: &330 title: Project Card description: Project cards represent a scope of work. type: object @@ -43489,7 +43747,7 @@ paths: - created_at - updated_at examples: - default: &330 + default: &331 value: url: https://api.github.com/projects/columns/cards/1478 id: 1478 @@ -43539,7 +43797,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#update-an-existing-project-card parameters: - - *328 + - *329 requestBody: required: false content: @@ -43566,9 +43824,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *330 examples: - default: *330 + default: *331 '304': *37 '403': *29 '401': *25 @@ -43589,7 +43847,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#delete-a-project-card parameters: - - *328 + - *329 responses: '204': description: Response @@ -43627,7 +43885,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#move-a-project-card parameters: - - *328 + - *329 requestBody: required: true content: @@ -43732,7 +43990,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#get-a-project-column parameters: - - &331 + - &332 name: column_id description: The unique identifier of the column. in: path @@ -43744,7 +44002,7 @@ paths: description: Response content: application/json: - schema: &332 + schema: &333 title: Project Column description: Project columns contain cards of work. type: object @@ -43790,7 +44048,7 @@ paths: - created_at - updated_at examples: - default: &333 + default: &334 value: url: https://api.github.com/projects/columns/367 project_url: https://api.github.com/projects/120 @@ -43819,7 +44077,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#update-an-existing-project-column parameters: - - *331 + - *332 requestBody: required: true content: @@ -43843,9 +44101,9 @@ paths: description: Response content: application/json: - schema: *332 + schema: *333 examples: - default: *333 + default: *334 '304': *37 '403': *29 '401': *25 @@ -43864,7 +44122,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#delete-a-project-column parameters: - - *331 + - *332 responses: '204': description: Response @@ -43887,7 +44145,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#list-project-cards parameters: - - *331 + - *332 - name: archived_state description: Filters the project cards that are returned by the card's state. in: query @@ -43908,7 +44166,7 @@ paths: application/json: schema: type: array - items: *329 + items: *330 examples: default: value: @@ -43961,7 +44219,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/cards#create-a-project-card parameters: - - *331 + - *332 requestBody: required: true content: @@ -44001,9 +44259,9 @@ paths: description: Response content: application/json: - schema: *329 + schema: *330 examples: - default: *330 + default: *331 '304': *37 '403': *29 '401': *25 @@ -44013,8 +44271,8 @@ paths: application/json: schema: oneOf: - - *144 - - *145 + - *148 + - *149 '503': description: Response content: @@ -44053,7 +44311,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#move-a-project-column parameters: - - *331 + - *332 requestBody: required: true content: @@ -44109,15 +44367,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#get-a-project parameters: - - *323 + - *324 responses: '200': description: Response content: application/json: - schema: *267 + schema: *272 examples: - default: &334 + default: &335 value: owner_url: https://api.github.com/repos/api-playground/projects-test url: https://api.github.com/projects/1002604 @@ -44170,7 +44428,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#update-a-project parameters: - - *323 + - *324 requestBody: required: false content: @@ -44216,9 +44474,9 @@ paths: description: Response content: application/json: - schema: *267 + schema: *272 examples: - default: *334 + default: *335 '404': description: Not Found if the authenticated user does not have access to the project @@ -44239,7 +44497,7 @@ paths: items: type: string '401': *25 - '410': *335 + '410': *336 '422': *8 x-github: githubCloudOnly: false @@ -44257,7 +44515,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#delete-a-project parameters: - - *323 + - *324 responses: '204': description: Delete Success @@ -44278,7 +44536,7 @@ paths: items: type: string '401': *25 - '410': *335 + '410': *336 '404': *7 x-github: githubCloudOnly: false @@ -44301,7 +44559,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#list-project-collaborators parameters: - - *323 + - *324 - 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 @@ -44328,7 +44586,7 @@ paths: type: array items: *19 examples: - default: *241 + default: *246 headers: Link: *39 '404': *7 @@ -44353,8 +44611,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#add-project-collaborator parameters: - - *323 - - *181 + - *324 + - *185 requestBody: required: false content: @@ -44401,8 +44659,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#remove-user-as-a-collaborator parameters: - - *323 - - *181 + - *324 + - *185 responses: '204': description: Response @@ -44430,8 +44688,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/collaborators#get-project-permission-for-a-user parameters: - - *323 - - *181 + - *324 + - *185 responses: '200': description: Response @@ -44498,7 +44756,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#list-project-columns parameters: - - *323 + - *324 - *18 - *20 responses: @@ -44508,7 +44766,7 @@ paths: application/json: schema: type: array - items: *332 + items: *333 examples: default: value: @@ -44540,7 +44798,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/columns#create-a-project-column parameters: - - *323 + - *324 requestBody: required: true content: @@ -44563,7 +44821,7 @@ paths: description: Response content: application/json: - schema: *332 + schema: *333 examples: default: value: @@ -44624,7 +44882,7 @@ paths: resources: type: object properties: - core: &336 + core: &337 title: Rate Limit type: object properties: @@ -44641,19 +44899,19 @@ paths: - remaining - reset - used - graphql: *336 - search: *336 - code_search: *336 - source_import: *336 - integration_manifest: *336 - code_scanning_upload: *336 - actions_runner_registration: *336 - scim: *336 - dependency_snapshots: *336 + graphql: *337 + search: *337 + code_search: *337 + source_import: *337 + integration_manifest: *337 + code_scanning_upload: *337 + actions_runner_registration: *337 + scim: *337 + dependency_snapshots: *337 required: - core - search - rate: *336 + rate: *337 required: - rate - resources @@ -44752,14 +45010,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *337 + schema: *338 examples: default-response: summary: Default response @@ -45264,7 +45522,7 @@ paths: status: disabled '403': *29 '404': *7 - '301': *338 + '301': *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45282,8 +45540,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#update-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -45529,10 +45787,10 @@ paths: description: Response content: application/json: - schema: *337 + schema: *338 examples: - default: *339 - '307': &340 + default: *340 + '307': &341 description: Temporary Redirect content: application/json: @@ -45561,8 +45819,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#delete-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -45584,7 +45842,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': *340 + '307': *341 '404': *7 x-github: githubCloudOnly: false @@ -45607,11 +45865,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-artifacts-for-a-repository parameters: - - *324 - *325 + - *326 - *18 - *20 - - &355 + - &356 name: name description: The name field of an artifact. When specified, only artifacts with this name will be returned. @@ -45634,7 +45892,7 @@ paths: type: integer artifacts: type: array - items: &341 + items: &342 title: Artifact description: An artifact type: object @@ -45705,7 +45963,7 @@ paths: - expires_at - updated_at examples: - default: &356 + default: &357 value: total_count: 2 artifacts: @@ -45764,9 +46022,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#get-an-artifact parameters: - - *324 - *325 - - &342 + - *326 + - &343 name: artifact_id description: The unique identifier of the artifact. in: path @@ -45778,7 +46036,7 @@ paths: description: Response content: application/json: - schema: *341 + schema: *342 examples: default: value: @@ -45815,9 +46073,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#delete-an-artifact parameters: - - *324 - *325 - - *342 + - *326 + - *343 responses: '204': description: Response @@ -45841,9 +46099,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#download-an-artifact parameters: - - *324 - *325 - - *342 + - *326 + - *343 - name: archive_format in: path required: true @@ -45857,7 +46115,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': *335 + '410': *336 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -45880,14 +46138,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: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *343 + schema: *344 examples: default: value: @@ -45913,11 +46171,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: - - *324 - *325 + - *326 - *18 - *20 - - &344 + - &345 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 @@ -45951,7 +46209,7 @@ paths: description: Response content: application/json: - schema: &345 + schema: &346 title: Repository actions caches description: Repository actions caches type: object @@ -45993,7 +46251,7 @@ paths: - total_count - actions_caches examples: - default: &346 + default: &347 value: total_count: 1 actions_caches: @@ -46025,23 +46283,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: - - *324 - *325 + - *326 - name: key description: A key for identifying the cache. in: query required: true schema: type: string - - *344 + - *345 responses: '200': description: Response content: application/json: - schema: *345 + schema: *346 examples: - default: *346 + default: *347 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -46061,8 +46319,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: - - *324 - *325 + - *326 - name: cache_id description: The unique identifier of the GitHub Actions cache. in: path @@ -46093,9 +46351,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: - - *324 - *325 - - &347 + - *326 + - &348 name: job_id description: The unique identifier of the job. in: path @@ -46107,7 +46365,7 @@ paths: description: Response content: application/json: - schema: &359 + schema: &360 title: Job description: Information of a job execution in a workflow run type: object @@ -46414,9 +46672,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: - - *324 - *325 - - *347 + - *326 + - *348 responses: '302': description: Response @@ -46444,9 +46702,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: - - *324 - *325 - - *347 + - *326 + - *348 requestBody: required: false content: @@ -46467,7 +46725,7 @@ paths: description: Response content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -46491,8 +46749,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: - - *324 - *325 + - *326 responses: '200': description: Status response @@ -46542,8 +46800,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -46577,7 +46835,7 @@ paths: description: Empty response content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -46606,8 +46864,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-organization-secrets parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -46625,7 +46883,7 @@ paths: type: integer secrets: type: array - items: &361 + items: &362 title: Actions Secret description: Set secrets for GitHub Actions. type: object @@ -46645,7 +46903,7 @@ paths: - created_at - updated_at examples: - default: &362 + default: &363 value: total_count: 2 secrets: @@ -46678,9 +46936,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-organization-variables parameters: - - *324 - *325 - - *348 + - *326 + - *349 - *20 responses: '200': @@ -46697,7 +46955,7 @@ paths: type: integer variables: type: array - items: &365 + items: &366 title: Actions Variable type: object properties: @@ -46727,7 +46985,7 @@ paths: - created_at - updated_at examples: - default: &366 + default: &367 value: total_count: 2 variables: @@ -46760,8 +47018,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: - - *324 - *325 + - *326 responses: '200': description: Response @@ -46770,11 +47028,11 @@ paths: schema: type: object properties: - enabled: &349 + enabled: &350 type: boolean description: Whether GitHub Actions is enabled on the repository. allowed_actions: *42 - selected_actions_url: *152 + selected_actions_url: *156 required: - enabled examples: @@ -46803,8 +47061,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: - - *324 - *325 + - *326 responses: '204': description: Response @@ -46815,7 +47073,7 @@ paths: schema: type: object properties: - enabled: *349 + enabled: *350 allowed_actions: *42 required: - enabled @@ -46846,14 +47104,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: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &350 + schema: &351 type: object properties: access_level: @@ -46871,7 +47129,7 @@ paths: required: - access_level examples: - default: &351 + default: &352 value: access_level: organization x-github: @@ -46896,15 +47154,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: - - *324 - *325 + - *326 requestBody: required: true content: application/json: - schema: *350 + schema: *351 examples: - default: *351 + default: *352 responses: '204': description: Response @@ -46928,8 +47186,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: - - *324 - *325 + - *326 responses: '200': description: Response @@ -46960,8 +47218,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: - - *324 - *325 + - *326 responses: '204': description: Response @@ -46993,14 +47251,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: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *155 + schema: *159 examples: default: *48 x-github: @@ -47023,8 +47281,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: - - *324 - *325 + - *326 responses: '204': description: Success response @@ -47035,7 +47293,7 @@ paths: required: true content: application/json: - schema: *156 + schema: *160 examples: default: *48 x-github: @@ -47064,8 +47322,8 @@ paths: in: query schema: type: string - - *324 - *325 + - *326 - *18 - *20 responses: @@ -47109,8 +47367,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: - - *324 - *325 + - *326 responses: '200': description: Response @@ -47118,9 +47376,9 @@ paths: application/json: schema: type: array - items: *160 + items: *164 examples: - default: *161 + default: *165 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47142,8 +47400,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -47186,7 +47444,7 @@ paths: - no-gpu work_folder: _work responses: - '201': *162 + '201': *166 '404': *7 '422': *8 x-github: @@ -47216,8 +47474,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: - - *324 - *325 + - *326 responses: '201': description: Response @@ -47225,7 +47483,7 @@ paths: application/json: schema: *58 examples: - default: *163 + default: *167 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47253,8 +47511,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: - - *324 - *325 + - *326 responses: '201': description: Response @@ -47262,7 +47520,7 @@ paths: application/json: schema: *58 examples: - default: *164 + default: *168 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47284,8 +47542,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: - - *324 - *325 + - *326 - *54 responses: '200': @@ -47294,7 +47552,7 @@ paths: application/json: schema: *55 examples: - default: *165 + default: *169 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -47315,8 +47573,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: - - *324 - *325 + - *326 - *54 responses: '204': @@ -47342,8 +47600,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: - - *324 - *325 + - *326 - *54 responses: '200': *60 @@ -47368,8 +47626,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: - - *324 - *325 + - *326 - *54 requestBody: required: true @@ -47418,8 +47676,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: - - *324 - *325 + - *326 - *54 requestBody: required: true @@ -47469,11 +47727,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: - - *324 - *325 + - *326 - *54 responses: - '200': *166 + '200': *170 '404': *7 x-github: githubCloudOnly: false @@ -47500,10 +47758,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: - - *324 - *325 + - *326 - *54 - - *167 + - *171 responses: '200': *60 '404': *7 @@ -47531,9 +47789,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: - - *324 - *325 - - &369 + - *326 + - &370 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. @@ -47541,7 +47799,7 @@ paths: required: false schema: type: string - - &370 + - &371 name: branch description: Returns workflow runs associated with a branch. Use the name of the branch of the `push`. @@ -47549,7 +47807,7 @@ paths: required: false schema: type: string - - &371 + - &372 name: event description: Returns workflow run triggered by the event you specify. For example, `push`, `pull_request` or `issue`. For more information, see "[Events @@ -47558,7 +47816,7 @@ paths: required: false schema: type: string - - &372 + - &373 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 @@ -47585,7 +47843,7 @@ paths: - pending - *18 - *20 - - &373 + - &374 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)." @@ -47594,7 +47852,7 @@ paths: schema: type: string format: date-time - - &352 + - &353 name: exclude_pull_requests description: If `true` pull requests are omitted from the response (empty array). @@ -47603,13 +47861,13 @@ paths: schema: type: boolean default: false - - &374 + - &375 name: check_suite_id description: Returns workflow runs with the `check_suite_id` that you specify. in: query schema: type: integer - - &375 + - &376 name: head_sha description: Only returns workflow runs that are associated with the specified `head_sha`. @@ -47632,7 +47890,7 @@ paths: type: integer workflow_runs: type: array - items: &353 + items: &354 title: Workflow Run description: An invocation of a workflow type: object @@ -47727,7 +47985,7 @@ paths: that triggered the run. type: array nullable: true - items: &394 + items: &395 title: Pull Request Minimal type: object properties: @@ -47846,7 +48104,7 @@ paths: title: Simple Commit description: A commit. type: object - properties: &398 + properties: &399 id: type: string description: SHA for the commit @@ -47897,7 +48155,7 @@ paths: - name - email nullable: true - required: &399 + required: &400 - id - tree_id - message @@ -47905,8 +48163,8 @@ paths: - author - committer nullable: true - repository: *159 - head_repository: *159 + repository: *163 + head_repository: *163 head_repository_id: type: integer example: 5 @@ -47944,7 +48202,7 @@ paths: - workflow_url - pull_requests examples: - default: &376 + default: &377 value: total_count: 1 workflow_runs: @@ -48180,24 +48438,24 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run parameters: - - *324 - *325 - - &354 + - *326 + - &355 name: run_id description: The unique identifier of the workflow run. in: path required: true schema: type: integer - - *352 + - *353 responses: '200': description: Response content: application/json: - schema: *353 + schema: *354 examples: - default: &357 + default: &358 value: id: 30433642 name: Build @@ -48438,9 +48696,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-a-workflow-run parameters: - - *324 - *325 - - *354 + - *326 + - *355 responses: '204': description: Response @@ -48463,9 +48721,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: - - *324 - *325 - - *354 + - *326 + - *355 responses: '200': description: Response @@ -48584,15 +48842,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: - - *324 - *325 - - *354 + - *326 + - *355 responses: '201': description: Response content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -48619,12 +48877,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/artifacts#list-workflow-run-artifacts parameters: - - *324 - *325 - - *354 + - *326 + - *355 - *18 - *20 - - *355 + - *356 responses: '200': description: Response @@ -48640,9 +48898,9 @@ paths: type: integer artifacts: type: array - items: *341 + items: *342 examples: - default: *356 + default: *357 headers: Link: *39 x-github: @@ -48666,25 +48924,25 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-a-workflow-run-attempt parameters: - - *324 - *325 - - *354 - - &358 + - *326 + - *355 + - &359 name: attempt_number description: The attempt number of the workflow run. in: path required: true schema: type: integer - - *352 + - *353 responses: '200': description: Response content: application/json: - schema: *353 + schema: *354 examples: - default: *357 + default: *358 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48707,10 +48965,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: - - *324 - *325 - - *354 - - *358 + - *326 + - *355 + - *359 - *18 - *20 responses: @@ -48728,9 +48986,9 @@ paths: type: integer jobs: type: array - items: *359 + items: *360 examples: - default: &360 + default: &361 value: total_count: 1 jobs: @@ -48843,10 +49101,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-attempt-logs parameters: - - *324 - *325 - - *354 - - *358 + - *326 + - *355 + - *359 responses: '302': description: Response @@ -48874,19 +49132,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#cancel-a-workflow-run parameters: - - *324 - *325 - - *354 + - *326 + - *355 responses: '202': description: Response content: application/json: - schema: *170 + schema: *174 examples: default: value: - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -48909,9 +49167,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: - - *324 - *325 - - *354 + - *326 + - *355 requestBody: required: true content: @@ -48978,19 +49236,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#force-cancel-a-workflow-run parameters: - - *324 - *325 - - *354 + - *326 + - *355 responses: '202': description: Response content: application/json: - schema: *170 + schema: *174 examples: default: value: - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49013,9 +49271,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: - - *324 - *325 - - *354 + - *326 + - *355 - 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 @@ -49045,9 +49303,9 @@ paths: type: integer jobs: type: array - items: *359 + items: *360 examples: - default: *360 + default: *361 headers: Link: *39 x-github: @@ -49072,9 +49330,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#download-workflow-run-logs parameters: - - *324 - *325 - - *354 + - *326 + - *355 responses: '302': description: Response @@ -49101,9 +49359,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#delete-workflow-run-logs parameters: - - *324 - *325 - - *354 + - *326 + - *355 responses: '204': description: Response @@ -49130,9 +49388,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: - - *324 - *325 - - *354 + - *326 + - *355 responses: '200': description: Response @@ -49192,7 +49450,7 @@ paths: items: type: object properties: - type: &472 + type: &473 type: string description: The type of reviewer. enum: @@ -49202,7 +49460,7 @@ paths: reviewer: anyOf: - *19 - - *238 + - *243 required: - environment - wait_timer @@ -49277,9 +49535,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: - - *324 - *325 - - *354 + - *326 + - *355 requestBody: required: true content: @@ -49326,7 +49584,7 @@ paths: application/json: schema: type: array - items: &467 + items: &468 title: Deployment description: A request for a specific ref(branch,sha,tag) to be deployed @@ -49414,8 +49672,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 required: - id - node_id @@ -49432,7 +49690,7 @@ paths: - created_at - updated_at examples: - default: &468 + default: &469 value: - url: https://api.github.com/repos/octocat/example/deployments/1 id: 1 @@ -49488,9 +49746,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#re-run-a-workflow parameters: - - *324 - *325 - - *354 + - *326 + - *355 requestBody: required: false content: @@ -49511,7 +49769,7 @@ paths: description: Response content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -49534,9 +49792,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: - - *324 - *325 - - *354 + - *326 + - *355 requestBody: required: false content: @@ -49557,7 +49815,7 @@ paths: description: Response content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -49582,9 +49840,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflow-runs#get-workflow-run-usage parameters: - - *324 - *325 - - *354 + - *326 + - *355 responses: '200': description: Response @@ -49721,8 +49979,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-repository-secrets parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -49740,9 +49998,9 @@ paths: type: integer secrets: type: array - items: *361 + items: *362 examples: - default: *362 + default: *363 headers: Link: *39 x-github: @@ -49767,16 +50025,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-public-key parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *363 + schema: *364 examples: - default: *364 + default: *365 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -49798,17 +50056,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-a-repository-secret parameters: - - *324 - *325 - - *169 + - *326 + - *173 responses: '200': description: Response content: application/json: - schema: *361 + schema: *362 examples: - default: &485 + default: &486 value: name: GH_TOKEN created_at: '2019-08-10T14:59:22Z' @@ -49834,9 +50092,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-a-repository-secret parameters: - - *324 - *325 - - *169 + - *326 + - *173 requestBody: required: true content: @@ -49864,7 +50122,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -49890,9 +50148,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-a-repository-secret parameters: - - *324 - *325 - - *169 + - *326 + - *173 responses: '204': description: Response @@ -49917,9 +50175,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-repository-variables parameters: - - *324 - *325 - - *348 + - *326 + - *349 - *20 responses: '200': @@ -49936,9 +50194,9 @@ paths: type: integer variables: type: array - items: *365 + items: *366 examples: - default: *366 + default: *367 headers: Link: *39 x-github: @@ -49961,8 +50219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-a-repository-variable parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -49989,7 +50247,7 @@ paths: description: Response content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -50014,17 +50272,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-a-repository-variable parameters: - - *324 - *325 - - *172 + - *326 + - *176 responses: '200': description: Response content: application/json: - schema: *365 + schema: *366 examples: - default: &486 + default: &487 value: name: USERNAME value: octocat @@ -50050,9 +50308,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-a-repository-variable parameters: - - *324 - *325 - - *172 + - *326 + - *176 requestBody: required: true content: @@ -50094,9 +50352,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-a-repository-variable parameters: - - *324 - *325 - - *172 + - *326 + - *176 responses: '204': description: Response @@ -50121,8 +50379,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#list-repository-workflows parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -50140,7 +50398,7 @@ paths: type: integer workflows: type: array - items: &367 + items: &368 title: Workflow description: A GitHub Actions workflow type: object @@ -50247,9 +50505,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-a-workflow parameters: - - *324 - *325 - - &368 + - *326 + - &369 name: workflow_id in: path description: The ID of the workflow. You can also pass the workflow file name @@ -50264,7 +50522,7 @@ paths: description: Response content: application/json: - schema: *367 + schema: *368 examples: default: value: @@ -50297,9 +50555,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#disable-a-workflow parameters: - - *324 - *325 - - *368 + - *326 + - *369 responses: '204': description: Response @@ -50324,9 +50582,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#create-a-workflow-dispatch-event parameters: - - *324 - *325 - - *368 + - *326 + - *369 responses: '204': description: Response @@ -50377,9 +50635,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#enable-a-workflow parameters: - - *324 - *325 - - *368 + - *326 + - *369 responses: '204': description: Response @@ -50406,19 +50664,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: - - *324 - *325 - - *368 + - *326 - *369 - *370 - *371 - *372 + - *373 - *18 - *20 - - *373 - - *352 - *374 + - *353 - *375 + - *376 responses: '200': description: Response @@ -50434,9 +50692,9 @@ paths: type: integer workflow_runs: type: array - items: *353 + items: *354 examples: - default: *376 + default: *377 headers: Link: *39 x-github: @@ -50462,9 +50720,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/workflows#get-workflow-usage parameters: - - *324 - *325 - - *368 + - *326 + - *369 responses: '200': description: Response @@ -50525,8 +50783,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-activities parameters: - - *324 - *325 + - *326 - *78 - *18 - *76 @@ -50690,8 +50948,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#list-assignees parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -50703,7 +50961,7 @@ paths: type: array items: *19 examples: - default: *241 + default: *246 headers: Link: *39 '404': *7 @@ -50728,8 +50986,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: - - *324 - *325 + - *326 - name: assignee in: path required: true @@ -50765,8 +51023,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-an-attestation parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -50878,8 +51136,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-attestations parameters: - - *324 - *325 + - *326 - *18 - *76 - *77 @@ -50923,7 +51181,7 @@ paths: repository_id: type: integer examples: - default: *377 + default: *378 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -50943,8 +51201,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/autolinks#get-all-autolinks-of-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -50952,7 +51210,7 @@ paths: application/json: schema: type: array - items: &378 + items: &379 title: Autolink reference description: An autolink reference. type: object @@ -51002,8 +51260,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -51042,9 +51300,9 @@ paths: description: response content: application/json: - schema: *378 + schema: *379 examples: - default: &379 + default: &380 value: id: 1 key_prefix: TICKET- @@ -51075,9 +51333,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: - - *324 - *325 - - &380 + - *326 + - &381 name: autolink_id description: The unique identifier of the autolink. in: path @@ -51089,9 +51347,9 @@ paths: description: Response content: application/json: - schema: *378 + schema: *379 examples: - default: *379 + default: *380 '404': *7 x-github: githubCloudOnly: false @@ -51111,9 +51369,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: - - *324 - *325 - - *380 + - *326 + - *381 responses: '204': description: Response @@ -51137,8 +51395,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: - - *324 - *325 + - *326 responses: '200': description: Response if Dependabot is enabled @@ -51186,8 +51444,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-automated-security-fixes parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -51208,8 +51466,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-automated-security-fixes parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -51229,8 +51487,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#list-branches parameters: - - *324 - *325 + - *326 - name: protected description: Setting to `true` returns only branches protected by branch protections or rulesets. When set to `false`, only unprotected branches are returned. @@ -51268,7 +51526,7 @@ paths: - url protected: type: boolean - protection: &382 + protection: &383 title: Branch Protection description: Branch Protection type: object @@ -51310,7 +51568,7 @@ paths: required: - contexts - checks - enforce_admins: &385 + enforce_admins: &386 title: Protected Branch Admin Enforced description: Protected Branch Admin Enforced type: object @@ -51325,7 +51583,7 @@ paths: required: - url - enabled - required_pull_request_reviews: &387 + required_pull_request_reviews: &388 title: Protected Branch Pull Request Review description: Protected Branch Pull Request Review type: object @@ -51346,7 +51604,7 @@ paths: description: The list of teams with review dismissal access. type: array - items: *238 + items: *243 apps: description: The list of apps with review dismissal access. @@ -51375,7 +51633,7 @@ paths: description: The list of teams allowed to bypass pull request requirements. type: array - items: *238 + items: *243 apps: description: The list of apps allowed to bypass pull request requirements. @@ -51401,7 +51659,7 @@ paths: required: - dismiss_stale_reviews - require_code_owner_reviews - restrictions: &384 + restrictions: &385 title: Branch Restriction Policy description: Branch Restriction Policy type: object @@ -51708,9 +51966,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#get-a-branch parameters: - - *324 - *325 - - &383 + - *326 + - &384 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). @@ -51724,14 +51982,14 @@ paths: description: Response content: application/json: - schema: &393 + schema: &394 title: Branch With Protection description: Branch With Protection type: object properties: name: type: string - commit: &440 + commit: &441 title: Commit description: Commit type: object @@ -51765,7 +52023,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: &381 + properties: &382 name: type: string example: '"Chris Wanstrath"' @@ -51780,7 +52038,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *381 + properties: *382 nullable: true message: type: string @@ -51801,7 +52059,7 @@ paths: required: - sha - url - verification: &492 + verification: &493 title: Verification type: object properties: @@ -51834,12 +52092,12 @@ paths: nullable: true oneOf: - *19 - - *170 + - *174 committer: nullable: true oneOf: - *19 - - *170 + - *174 parents: type: array items: @@ -51870,7 +52128,7 @@ paths: type: integer files: type: array - items: &455 + items: &456 title: Diff Entry description: Diff Entry type: object @@ -51953,7 +52211,7 @@ paths: - self protected: type: boolean - protection: *382 + protection: *383 protection_url: type: string format: uri @@ -52060,7 +52318,7 @@ paths: contexts: [] checks: [] protection_url: https://api.github.com/repos/octocat/Hello-World/branches/main/protection - '301': *338 + '301': *339 '404': *7 x-github: githubCloudOnly: false @@ -52082,15 +52340,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-branch-protection parameters: - - *324 - *325 - - *383 + - *326 + - *384 responses: '200': description: Response content: application/json: - schema: *382 + schema: *383 examples: default: value: @@ -52284,9 +52542,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-branch-protection parameters: - - *324 - *325 - - *383 + - *326 + - *384 requestBody: required: true content: @@ -52541,7 +52799,7 @@ paths: url: type: string format: uri - required_status_checks: &390 + required_status_checks: &391 title: Status Check Policy description: Status Check Policy type: object @@ -52617,7 +52875,7 @@ paths: items: *19 teams: type: array - items: *238 + items: *243 apps: type: array items: *6 @@ -52635,7 +52893,7 @@ paths: items: *19 teams: type: array - items: *238 + items: *243 apps: type: array items: *6 @@ -52693,7 +52951,7 @@ paths: additionalProperties: false required: - enabled - restrictions: *384 + restrictions: *385 required_conversation_resolution: type: object properties: @@ -52805,9 +53063,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-branch-protection parameters: - - *324 - *325 - - *383 + - *326 + - *384 responses: '204': description: Response @@ -52832,17 +53090,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-admin-branch-protection parameters: - - *324 - *325 - - *383 + - *326 + - *384 responses: '200': description: Response content: application/json: - schema: *385 + schema: *386 examples: - default: &386 + default: &387 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/enforce_admins enabled: true @@ -52864,17 +53122,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-admin-branch-protection parameters: - - *324 - *325 - - *383 + - *326 + - *384 responses: '200': description: Response content: application/json: - schema: *385 + schema: *386 examples: - default: *386 + default: *387 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -52893,9 +53151,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-admin-branch-protection parameters: - - *324 - *325 - - *383 + - *326 + - *384 responses: '204': description: Response @@ -52920,17 +53178,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-pull-request-review-protection parameters: - - *324 - *325 - - *383 + - *326 + - *384 responses: '200': description: Response content: application/json: - schema: *387 + schema: *388 examples: - default: &388 + default: &389 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_pull_request_reviews dismissal_restrictions: @@ -53026,9 +53284,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-pull-request-review-protection parameters: - - *324 - *325 - - *383 + - *326 + - *384 requestBody: required: false content: @@ -53126,9 +53384,9 @@ paths: description: Response content: application/json: - schema: *387 + schema: *388 examples: - default: *388 + default: *389 '422': *16 x-github: githubCloudOnly: false @@ -53149,9 +53407,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-pull-request-review-protection parameters: - - *324 - *325 - - *383 + - *326 + - *384 responses: '204': description: Response @@ -53178,17 +53436,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-commit-signature-protection parameters: - - *324 - *325 - - *383 + - *326 + - *384 responses: '200': description: Response content: application/json: - schema: *385 + schema: *386 examples: - default: &389 + default: &390 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_signatures enabled: true @@ -53211,17 +53469,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#create-commit-signature-protection parameters: - - *324 - *325 - - *383 + - *326 + - *384 responses: '200': description: Response content: application/json: - schema: *385 + schema: *386 examples: - default: *389 + default: *390 '404': *7 x-github: githubCloudOnly: false @@ -53241,9 +53499,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-commit-signature-protection parameters: - - *324 - *325 - - *383 + - *326 + - *384 responses: '204': description: Response @@ -53268,17 +53526,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-status-checks-protection parameters: - - *324 - *325 - - *383 + - *326 + - *384 responses: '200': description: Response content: application/json: - schema: *390 + schema: *391 examples: - default: &391 + default: &392 value: url: https://api.github.com/repos/octocat/Hello-World/branches/master/protection/required_status_checks strict: true @@ -53304,9 +53562,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#update-status-check-protection parameters: - - *324 - *325 - - *383 + - *326 + - *384 requestBody: required: false content: @@ -53358,9 +53616,9 @@ paths: description: Response content: application/json: - schema: *390 + schema: *391 examples: - default: *391 + default: *392 '404': *7 '422': *16 x-github: @@ -53382,9 +53640,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-protection parameters: - - *324 - *325 - - *383 + - *326 + - *384 responses: '204': description: Response @@ -53408,9 +53666,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-all-status-check-contexts parameters: - - *324 - *325 - - *383 + - *326 + - *384 responses: '200': description: Response @@ -53444,9 +53702,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-status-check-contexts parameters: - - *324 - *325 - - *383 + - *326 + - *384 requestBody: required: false content: @@ -53513,9 +53771,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-status-check-contexts parameters: - - *324 - *325 - - *383 + - *326 + - *384 requestBody: required: false content: @@ -53579,9 +53837,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-status-check-contexts parameters: - - *324 - *325 - - *383 + - *326 + - *384 requestBody: content: application/json: @@ -53647,15 +53905,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#get-access-restrictions parameters: - - *324 - *325 - - *383 + - *326 + - *384 responses: '200': description: Response content: application/json: - schema: *384 + schema: *385 examples: default: value: @@ -53746,9 +54004,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#delete-access-restrictions parameters: - - *324 - *325 - - *383 + - *326 + - *384 responses: '204': description: Response @@ -53771,9 +54029,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: - - *324 - *325 - - *383 + - *326 + - *384 responses: '200': description: Response @@ -53783,7 +54041,7 @@ paths: type: array items: *6 examples: - default: &392 + default: &393 value: - id: 1 slug: octoapp @@ -53840,9 +54098,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-app-access-restrictions parameters: - - *324 - *325 - - *383 + - *326 + - *384 requestBody: required: true content: @@ -53876,7 +54134,7 @@ paths: type: array items: *6 examples: - default: *392 + default: *393 '422': *16 x-github: githubCloudOnly: false @@ -53897,9 +54155,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-app-access-restrictions parameters: - - *324 - *325 - - *383 + - *326 + - *384 requestBody: required: true content: @@ -53933,7 +54191,7 @@ paths: type: array items: *6 examples: - default: *392 + default: *393 '422': *16 x-github: githubCloudOnly: false @@ -53954,9 +54212,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-app-access-restrictions parameters: - - *324 - *325 - - *383 + - *326 + - *384 requestBody: required: true content: @@ -53990,7 +54248,7 @@ paths: type: array items: *6 examples: - default: *392 + default: *393 '422': *16 x-github: githubCloudOnly: false @@ -54012,9 +54270,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: - - *324 - *325 - - *383 + - *326 + - *384 responses: '200': description: Response @@ -54022,9 +54280,9 @@ paths: application/json: schema: type: array - items: *238 + items: *243 examples: - default: *253 + default: *258 '404': *7 x-github: githubCloudOnly: false @@ -54044,9 +54302,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-team-access-restrictions parameters: - - *324 - *325 - - *383 + - *326 + - *384 requestBody: required: false content: @@ -54082,9 +54340,9 @@ paths: application/json: schema: type: array - items: *238 + items: *243 examples: - default: *253 + default: *258 '422': *16 x-github: githubCloudOnly: false @@ -54105,9 +54363,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-team-access-restrictions parameters: - - *324 - *325 - - *383 + - *326 + - *384 requestBody: required: false content: @@ -54143,9 +54401,9 @@ paths: application/json: schema: type: array - items: *238 + items: *243 examples: - default: *253 + default: *258 '422': *16 x-github: githubCloudOnly: false @@ -54166,9 +54424,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-team-access-restrictions parameters: - - *324 - *325 - - *383 + - *326 + - *384 requestBody: content: application/json: @@ -54203,9 +54461,9 @@ paths: application/json: schema: type: array - items: *238 + items: *243 examples: - default: *253 + default: *258 '422': *16 x-github: githubCloudOnly: false @@ -54227,9 +54485,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: - - *324 - *325 - - *383 + - *326 + - *384 responses: '200': description: Response @@ -54239,7 +54497,7 @@ paths: type: array items: *19 examples: - default: *241 + default: *246 '404': *7 x-github: githubCloudOnly: false @@ -54263,9 +54521,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#add-user-access-restrictions parameters: - - *324 - *325 - - *383 + - *326 + - *384 requestBody: required: true content: @@ -54298,7 +54556,7 @@ paths: type: array items: *19 examples: - default: *241 + default: *246 '422': *16 x-github: githubCloudOnly: false @@ -54323,9 +54581,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#set-user-access-restrictions parameters: - - *324 - *325 - - *383 + - *326 + - *384 requestBody: required: true content: @@ -54358,7 +54616,7 @@ paths: type: array items: *19 examples: - default: *241 + default: *246 '422': *16 x-github: githubCloudOnly: false @@ -54383,9 +54641,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branch-protection#remove-user-access-restrictions parameters: - - *324 - *325 - - *383 + - *326 + - *384 requestBody: required: true content: @@ -54418,7 +54676,7 @@ paths: type: array items: *19 examples: - default: *241 + default: *246 '422': *16 x-github: githubCloudOnly: false @@ -54445,9 +54703,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#rename-a-branch parameters: - - *324 - *325 - - *383 + - *326 + - *384 requestBody: required: true content: @@ -54469,7 +54727,7 @@ paths: description: Response content: application/json: - schema: *393 + schema: *394 examples: default: value: @@ -54585,8 +54843,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#create-a-check-run parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -54865,7 +55123,7 @@ paths: description: Response content: application/json: - schema: &395 + schema: &396 title: CheckRun description: A check performed on the code of a given code change type: object @@ -54976,16 +55234,16 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 pull_requests: description: Pull requests that are open with a `head_sha` or `head_branch` that matches the check. The returned pull requests do not necessarily indicate pull requests that triggered the check. type: array - items: *394 - deployment: &707 + items: *395 + deployment: &708 title: Deployment description: A deployment created as the result of an Actions check run from a workflow that references an environment @@ -55052,8 +55310,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 required: - id - node_id @@ -55265,9 +55523,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#get-a-check-run parameters: - - *324 - *325 - - &396 + - *326 + - &397 name: check_run_id description: The unique identifier of the check run. in: path @@ -55279,9 +55537,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *396 examples: - default: &397 + default: &398 value: id: 4 head_sha: ce587453ced02b1526dfb4cb910479d431683101 @@ -55381,9 +55639,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#update-a-check-run parameters: - - *324 - *325 - - *396 + - *326 + - *397 requestBody: required: true content: @@ -55623,9 +55881,9 @@ paths: description: Response content: application/json: - schema: *395 + schema: *396 examples: - default: *397 + default: *398 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -55645,9 +55903,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#list-check-run-annotations parameters: - - *324 - *325 - - *396 + - *326 + - *397 - *18 - *20 responses: @@ -55744,15 +56002,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/runs#rerequest-a-check-run parameters: - - *324 - *325 - - *396 + - *326 + - *397 responses: '201': description: Response content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -55790,8 +56048,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#create-a-check-suite parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -55813,7 +56071,7 @@ paths: description: Response when the suite already exists content: application/json: - schema: &400 + schema: &401 title: CheckSuite description: A suite of checks performed on the code of a given code change @@ -55877,7 +56135,7 @@ paths: nullable: true pull_requests: type: array - items: *394 + items: *395 nullable: true app: title: GitHub app @@ -55888,9 +56146,9 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 - repository: *159 + properties: *107 + required: *108 + repository: *163 created_at: type: string format: date-time @@ -55899,12 +56157,12 @@ paths: type: string format: date-time nullable: true - head_commit: &733 + head_commit: &734 title: Simple Commit description: A commit. type: object - properties: *398 - required: *399 + properties: *399 + required: *400 latest_check_runs_count: type: integer check_runs_url: @@ -55932,7 +56190,7 @@ paths: - check_runs_url - pull_requests examples: - default: &401 + default: &402 value: id: 5 node_id: MDEwOkNoZWNrU3VpdGU1 @@ -56223,9 +56481,9 @@ paths: description: Response when the suite was created content: application/json: - schema: *400 + schema: *401 examples: - default: *401 + default: *402 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56244,8 +56502,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#update-repository-preferences-for-check-suites parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -56306,7 +56564,7 @@ paths: required: - app_id - setting - repository: *159 + repository: *163 examples: default: value: @@ -56554,9 +56812,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#get-a-check-suite parameters: - - *324 - *325 - - &402 + - *326 + - &403 name: check_suite_id description: The unique identifier of the check suite. in: path @@ -56568,9 +56826,9 @@ paths: description: Response content: application/json: - schema: *400 + schema: *401 examples: - default: *401 + default: *402 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -56593,17 +56851,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: - - *324 - *325 - - *402 - - &448 + - *326 + - *403 + - &449 name: check_name description: Returns check runs with the specified `name`. in: query required: false schema: type: string - - &449 + - &450 name: status description: Returns check runs with the specified `status`. in: query @@ -56642,9 +56900,9 @@ paths: type: integer check_runs: type: array - items: *395 + items: *396 examples: - default: &450 + default: &451 value: total_count: 1 check_runs: @@ -56746,15 +57004,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/checks/suites#rerequest-a-check-suite parameters: - - *324 - *325 - - *402 + - *326 + - *403 responses: '201': description: Response content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -56781,21 +57039,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: - - *324 - *325 - - *182 - - *183 + - *326 + - *186 + - *187 - *20 - *18 - - &414 + - &415 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: *403 - - &415 + schema: *404 + - &416 name: pr description: The number of the pull request for the results you want to list. in: query @@ -56820,13 +57078,13 @@ paths: be returned. in: query required: false - schema: *184 + schema: *188 - name: severity description: If specified, only code scanning alerts with this severity will be returned. in: query required: false - schema: *404 + schema: *405 responses: '200': description: Response @@ -56842,7 +57100,7 @@ paths: updated_at: *92 url: *89 html_url: *90 - instances_url: *405 + instances_url: *406 state: *81 fixed_at: *94 dismissed_by: @@ -56853,11 +57111,11 @@ paths: required: *5 nullable: true dismissed_at: *93 - dismissed_reason: *406 - dismissed_comment: *407 - rule: *408 - tool: *409 - most_recent_instance: *410 + dismissed_reason: *407 + dismissed_comment: *408 + rule: *409 + tool: *410 + most_recent_instance: *411 required: - number - created_at @@ -56973,14 +57231,14 @@ paths: classifications: [] instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/3/instances '304': *37 - '403': &411 + '403': &412 description: Response if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *7 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57000,9 +57258,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: - - *324 - *325 - - &412 + - *326 + - &413 name: alert_number in: path description: The number that identifies an alert. You can find this at the @@ -57016,7 +57274,7 @@ paths: description: Response content: application/json: - schema: &413 + schema: &414 type: object properties: number: *85 @@ -57024,7 +57282,7 @@ paths: updated_at: *92 url: *89 html_url: *90 - instances_url: *405 + instances_url: *406 state: *81 fixed_at: *94 dismissed_by: @@ -57035,8 +57293,8 @@ paths: required: *5 nullable: true dismissed_at: *93 - dismissed_reason: *406 - dismissed_comment: *407 + dismissed_reason: *407 + dismissed_comment: *408 rule: type: object properties: @@ -57090,8 +57348,8 @@ paths: type: string description: A link to the documentation for the rule used to detect the alert. - tool: *409 - most_recent_instance: *410 + tool: *410 + most_recent_instance: *411 required: - number - created_at @@ -57180,9 +57438,9 @@ paths: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances '304': *37 - '403': *411 + '403': *412 '404': *7 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57200,9 +57458,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: - - *324 - *325 - - *412 + - *326 + - *413 requestBody: required: true content: @@ -57217,8 +57475,8 @@ paths: enum: - open - dismissed - dismissed_reason: *406 - dismissed_comment: *407 + dismissed_reason: *407 + dismissed_comment: *408 required: - state examples: @@ -57233,7 +57491,7 @@ paths: description: Response content: application/json: - schema: *413 + schema: *414 examples: default: value: @@ -57308,14 +57566,14 @@ paths: classifications: - test instances_url: https://api.github.com/repos/octocat/hello-world/code-scanning/alerts/42/instances - '403': &420 + '403': &421 description: Response if the repository is archived or if GitHub Advanced Security is not enabled for this repository content: application/json: schema: *3 '404': *7 - '503': *96 + '503': *100 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -57335,13 +57593,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: - - *324 - *325 - - *412 + - *326 + - *413 - *20 - *18 - - *414 - *415 + - *416 responses: '200': description: Response @@ -57349,7 +57607,7 @@ paths: application/json: schema: type: array - items: *410 + items: *411 examples: default: value: @@ -57388,9 +57646,9 @@ paths: end_column: 50 classifications: - source - '403': *411 + '403': *412 '404': *7 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57422,25 +57680,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: - - *324 - *325 - - *182 - - *183 + - *326 + - *186 + - *187 - *20 - *18 - - *415 + - *416 - 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: *403 + schema: *404 - name: sarif_id in: query description: Filter analyses belonging to the same SARIF upload. required: false - schema: &418 + schema: &419 type: string description: An identifier for the upload. example: 6c81cd8e-b078-4ac3-a3be-1dad7dbd0b53 @@ -57461,23 +57719,23 @@ paths: application/json: schema: type: array - items: &419 + items: &420 type: object properties: - ref: *403 - commit_sha: &428 + ref: *404 + commit_sha: &429 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: *416 + analysis_key: *417 environment: type: string description: Identifies the variable values associated with the environment in which this analysis was performed. - category: *417 + category: *418 error: type: string example: error reading field xyz @@ -57501,8 +57759,8 @@ paths: description: The REST API URL of the analysis resource. format: uri readOnly: true - sarif_id: *418 - tool: *409 + sarif_id: *419 + tool: *410 deletable: type: boolean warning: @@ -57563,9 +57821,9 @@ paths: version: 1.2.0 deletable: true warning: '' - '403': *411 + '403': *412 '404': *7 - '503': *96 + '503': *100 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -57599,8 +57857,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: - - *324 - *325 + - *326 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -57613,7 +57871,7 @@ paths: description: Response content: application/json: - schema: *419 + schema: *420 examples: response: summary: application/json response @@ -57667,9 +57925,9 @@ paths: properties: - github/alertNumber: 2 - github/alertUrl: https://api.github.com/repos/monalisa/monalisa/code-scanning/alerts/2 - '403': *411 + '403': *412 '404': *7 - '503': *96 + '503': *100 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -57749,8 +58007,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: - - *324 - *325 + - *326 - name: analysis_id in: path description: The ID of the analysis, as returned from the `GET /repos/{owner}/{repo}/code-scanning/analyses` @@ -57803,9 +58061,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': *15 - '403': *420 + '403': *421 '404': *7 - '503': *96 + '503': *100 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -57825,8 +58083,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: - - *324 - *325 + - *326 responses: '200': description: Response @@ -57834,7 +58092,7 @@ paths: application/json: schema: type: array - items: &421 + items: &422 title: CodeQL Database description: A CodeQL database. type: object @@ -57945,9 +58203,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': *411 + '403': *412 '404': *7 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -57974,8 +58232,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: - - *324 - *325 + - *326 - name: language in: path description: The language of the CodeQL database. @@ -57987,7 +58245,7 @@ paths: description: Response content: application/json: - schema: *421 + schema: *422 examples: default: value: @@ -58019,11 +58277,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': &457 + '302': &458 description: Found - '403': *411 + '403': *412 '404': *7 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58043,8 +58301,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/code-scanning/code-scanning#delete-a-codeql-database parameters: - - *324 - *325 + - *326 - name: language in: path description: The language of the CodeQL database. @@ -58054,9 +58312,9 @@ paths: responses: '204': description: Response - '403': *420 + '403': *421 '404': *7 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58082,8 +58340,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -58092,7 +58350,7 @@ paths: type: object additionalProperties: false properties: - language: &422 + language: &423 type: string description: The language targeted by the CodeQL query enum: @@ -58170,7 +58428,7 @@ paths: description: Variant analysis submitted for processing content: application/json: - schema: &426 + schema: &427 title: Variant Analysis description: A run of a CodeQL query against one or more repositories. type: object @@ -58180,7 +58438,7 @@ paths: description: The ID of the variant analysis. controller_repo: *95 actor: *19 - query_language: *422 + query_language: *423 query_pack_url: type: string description: The download url for the query pack. @@ -58227,7 +58485,7 @@ paths: items: type: object properties: - repository: &423 + repository: &424 title: Repository Identifier description: Repository Identifier type: object @@ -58263,7 +58521,7 @@ paths: - private - stargazers_count - updated_at - analysis_status: &427 + analysis_status: &428 type: string description: The new status of the CodeQL variant analysis repository task. @@ -58295,7 +58553,7 @@ paths: from processing. This information is only available to the user that initiated the variant analysis. properties: - access_mismatch_repos: &424 + access_mismatch_repos: &425 type: object properties: repository_count: @@ -58309,7 +58567,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: *423 + items: *424 required: - repository_count - repositories @@ -58331,8 +58589,8 @@ paths: required: - repository_count - repository_full_names - no_codeql_db_repos: *424 - over_limit_repos: *424 + no_codeql_db_repos: *425 + over_limit_repos: *425 required: - access_mismatch_repos - not_found_repos @@ -58348,7 +58606,7 @@ paths: examples: repositories_parameter: summary: Response for a successful variant analysis submission - value: &425 + value: &426 summary: Default response value: id: 1 @@ -58500,17 +58758,17 @@ paths: private: false repository_owners: summary: Response for a successful variant analysis submission - value: *425 + value: *426 repository_lists: summary: Response for a successful variant analysis submission - value: *425 + value: *426 '404': *7 '422': description: Unable to process variant analysis submission content: application/json: schema: *3 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58531,8 +58789,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: - - *324 - *325 + - *326 - name: codeql_variant_analysis_id in: path description: The unique identifier of the variant analysis. @@ -58544,11 +58802,11 @@ paths: description: Response content: application/json: - schema: *426 + schema: *427 examples: - default: *425 + default: *426 '404': *7 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58569,7 +58827,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: - - *324 + - *325 - name: repo in: path description: The name of the controller repository. @@ -58604,7 +58862,7 @@ paths: type: object properties: repository: *95 - analysis_status: *427 + analysis_status: *428 artifact_size_in_bytes: type: integer description: The size of the artifact. This is only available @@ -58708,7 +58966,7 @@ paths: source_location_prefix: "/" artifact_url: https://example.com '404': *7 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58729,8 +58987,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: - - *324 - *325 + - *326 responses: '200': description: Response @@ -58791,9 +59049,9 @@ paths: query_suite: default updated_at: '2023-01-19T11:21:34Z' schedule: weekly - '403': *411 + '403': *412 '404': *7 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58812,8 +59070,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -58828,6 +59086,17 @@ paths: enum: - configured - not-configured + runner_type: + description: Runner type to be used. + type: string + enum: + - standard + - labeled + runner_label: + nullable: true + description: Runner label to be used if the runner type is labeled. + type: string + example: code-scanning query_suite: description: CodeQL query suite to be used. type: string @@ -58858,7 +59127,7 @@ paths: description: Response content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -58883,7 +59152,7 @@ paths: value: run_id: 42 run_url: https://api.github.com/repos/octoorg/octocat/actions/runs/42 - '403': *420 + '403': *421 '404': *7 '409': description: Response if there is already a validation run in progress with @@ -58891,7 +59160,7 @@ paths: content: application/json: schema: *3 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -58948,8 +59217,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -58957,7 +59226,7 @@ paths: schema: type: object properties: - commit_sha: *428 + commit_sha: *429 ref: type: string description: |- @@ -59015,7 +59284,7 @@ paths: schema: type: object properties: - id: *418 + id: *419 url: type: string description: The REST API URL for checking the status of the upload. @@ -59029,11 +59298,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': *420 + '403': *421 '404': *7 '413': description: Payload Too Large if the sarif field is too large - '503': *96 + '503': *100 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -59052,8 +59321,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: - - *324 - *325 + - *326 - name: sarif_id description: The SARIF ID obtained after uploading. in: path @@ -59099,10 +59368,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': *411 + '403': *412 '404': description: Not Found if the sarif id does not match any upload - '503': *96 + '503': *100 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -59124,8 +59393,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: - - *324 - *325 + - *326 responses: '200': description: Response @@ -59149,7 +59418,7 @@ paths: - failed - updating - removed_by_enterprise - configuration: *187 + configuration: *191 examples: default: value: @@ -59178,7 +59447,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': *190 + '204': *192 '304': *37 '403': *29 '404': *7 @@ -59203,8 +59472,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-codeowners-errors parameters: - - *324 - *325 + - *326 - 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 @@ -59324,8 +59593,8 @@ paths: parameters: - *18 - *20 - - *324 - *325 + - *326 responses: '200': description: Response @@ -59341,7 +59610,7 @@ paths: type: integer codespaces: type: array - items: *242 + items: *247 examples: default: value: @@ -59639,8 +59908,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#create-a-codespace-in-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -59703,22 +59972,22 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *242 + schema: *247 examples: - default: *429 + default: *430 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *242 + schema: *247 examples: - default: *429 + default: *430 '400': *15 '401': *25 '403': *29 '404': *7 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -59742,8 +60011,8 @@ paths: parameters: - *18 - *20 - - *324 - *325 + - *326 responses: '200': description: Response @@ -59807,8 +60076,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: - - *324 - *325 + - *326 - name: location description: The location to check for available machines. Assigned by IP if not provided. @@ -59843,14 +60112,14 @@ paths: type: integer machines: type: array - items: &663 + items: &664 type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *430 - required: *431 + properties: *431 + required: *432 examples: - default: &664 + default: &665 value: total_count: 2 machines: @@ -59890,8 +60159,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-default-attributes-for-a-codespace parameters: - - *324 - *325 + - *326 - name: ref description: The branch or commit to check for a default devcontainer path. If not specified, the default branch will be checked. @@ -59975,8 +60244,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: - - *324 - *325 + - *326 - 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 @@ -60021,7 +60290,7 @@ paths: '403': *29 '404': *7 '422': *16 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60042,8 +60311,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#list-repository-secrets parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -60061,7 +60330,7 @@ paths: type: integer secrets: type: array - items: &435 + items: &436 title: Codespaces Secret description: Set repository secrets for GitHub Codespaces. type: object @@ -60081,7 +60350,7 @@ paths: - created_at - updated_at examples: - default: *432 + default: *433 headers: Link: *39 x-github: @@ -60104,16 +60373,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-public-key parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *433 + schema: *434 examples: - default: *434 + default: *435 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -60133,17 +60402,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#get-a-repository-secret parameters: - - *324 - *325 - - *169 + - *326 + - *173 responses: '200': description: Response content: application/json: - schema: *435 + schema: *436 examples: - default: *436 + default: *437 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -60163,9 +60432,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: - - *324 - *325 - - *169 + - *326 + - *173 requestBody: required: true content: @@ -60193,7 +60462,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -60217,9 +60486,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/repository-secrets#delete-a-repository-secret parameters: - - *324 - *325 - - *169 + - *326 + - *173 responses: '204': description: Response @@ -60247,8 +60516,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#list-repository-collaborators parameters: - - *324 - *325 + - *326 - name: affiliation description: Filter collaborators returned by their affiliation. `outside` means all outside collaborators of an organization-owned repository. `direct` @@ -60290,7 +60559,7 @@ paths: title: Collaborator description: Collaborator type: object - properties: &437 + properties: &438 login: type: string example: octocat @@ -60383,7 +60652,7 @@ paths: user_view_type: type: string example: public - required: &438 + required: &439 - avatar_url - events_url - followers_url @@ -60457,9 +60726,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: - - *324 - *325 - - *181 + - *326 + - *185 responses: '204': description: Response if user is a collaborator @@ -60501,9 +60770,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#add-a-repository-collaborator parameters: - - *324 - *325 - - *181 + - *326 + - *185 requestBody: required: false content: @@ -60529,7 +60798,7 @@ paths: description: Response when a new invitation is created content: application/json: - schema: &505 + schema: &506 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -60540,7 +60809,7 @@ paths: example: 42 type: integer format: int64 - repository: *159 + repository: *163 invitee: title: Simple User description: A GitHub user. @@ -60751,9 +61020,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#remove-a-repository-collaborator parameters: - - *324 - *325 - - *181 + - *326 + - *185 responses: '204': description: No Content when collaborator was removed from the repository. @@ -60782,9 +61051,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/collaborators#get-repository-permissions-for-a-user parameters: - - *324 - *325 - - *181 + - *326 + - *185 responses: '200': description: if user has admin permissions @@ -60804,8 +61073,8 @@ paths: title: Collaborator description: Collaborator type: object - properties: *437 - required: *438 + properties: *438 + required: *439 nullable: true required: - permission @@ -60860,8 +61129,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments-for-a-repository parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -60871,7 +61140,7 @@ paths: application/json: schema: type: array - items: &439 + items: &440 title: Commit Comment description: Commit Comment type: object @@ -60912,8 +61181,8 @@ paths: updated_at: type: string format: date-time - author_association: *105 - reactions: *106 + author_association: *109 + reactions: *110 required: - url - html_url @@ -60929,7 +61198,7 @@ paths: - created_at - updated_at examples: - default: &442 + default: &443 value: - html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -60988,17 +61257,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#get-a-commit-comment parameters: - - *324 - *325 - - *117 + - *326 + - *121 responses: '200': description: Response content: application/json: - schema: *439 + schema: *440 examples: - default: &443 + default: &444 value: html_url: https://github.com/octocat/Hello-World/commit/6dcb09b5b57875f334f61aebed695e2e4193db5e#commitcomment-1 url: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -61055,9 +61324,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#update-a-commit-comment parameters: - - *324 - *325 - - *117 + - *326 + - *121 requestBody: required: true content: @@ -61079,7 +61348,7 @@ paths: description: Response content: application/json: - schema: *439 + schema: *440 examples: default: value: @@ -61130,9 +61399,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#delete-a-commit-comment parameters: - - *324 - *325 - - *117 + - *326 + - *121 responses: '204': description: Response @@ -61153,9 +61422,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-commit-comment parameters: - - *324 - *325 - - *117 + - *326 + - *121 - 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. @@ -61181,9 +61450,9 @@ paths: application/json: schema: type: array - items: *313 + items: *314 examples: - default: *315 + default: *316 headers: Link: *39 '404': *7 @@ -61204,9 +61473,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-commit-comment parameters: - - *324 - *325 - - *117 + - *326 + - *121 requestBody: required: true content: @@ -61238,16 +61507,16 @@ paths: description: Reaction exists content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 '201': description: Reaction created content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 '422': *16 x-github: githubCloudOnly: false @@ -61269,10 +61538,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-commit-comment-reaction parameters: - - *324 - *325 - - *117 - - *316 + - *326 + - *121 + - *317 responses: '204': description: Response @@ -61321,8 +61590,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-commits parameters: - - *324 - *325 + - *326 - name: sha description: 'SHA or branch to start listing commits from. Default: the repository’s default branch (usually `main`).' @@ -61378,9 +61647,9 @@ paths: application/json: schema: type: array - items: *440 + items: *441 examples: - default: &556 + default: &557 value: - url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -61454,7 +61723,7 @@ paths: '500': *84 '400': *15 '404': *7 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61474,9 +61743,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#list-branches-for-head-commit parameters: - - *324 - *325 - - &441 + - *326 + - &442 name: commit_sha description: The SHA of the commit. in: path @@ -61523,7 +61792,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/commits/c5b97d5ae6c19d5c5df71a34c7fbeeda2479ccbc protected: false '422': *16 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -61548,9 +61817,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#list-commit-comments parameters: - - *324 - *325 - - *441 + - *326 + - *442 - *18 - *20 responses: @@ -61560,9 +61829,9 @@ paths: application/json: schema: type: array - items: *439 + items: *440 examples: - default: *442 + default: *443 headers: Link: *39 x-github: @@ -61590,9 +61859,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/comments#create-a-commit-comment parameters: - - *324 - *325 - - *441 + - *326 + - *442 requestBody: required: true content: @@ -61627,9 +61896,9 @@ paths: description: Response content: application/json: - schema: *439 + schema: *440 examples: - default: *443 + default: *444 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/comments/1 @@ -61657,9 +61926,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: - - *324 - *325 - - *441 + - *326 + - *442 - *18 - *20 responses: @@ -61669,7 +61938,7 @@ paths: application/json: schema: type: array - items: &547 + items: &548 title: Pull Request Simple description: Pull Request Simple type: object @@ -61775,8 +62044,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *444 - required: *445 + properties: *445 + required: *446 nullable: true active_lock_reason: type: string @@ -61821,7 +62090,7 @@ paths: nullable: true requested_teams: type: array - items: *238 + items: *243 nullable: true head: type: object @@ -61872,7 +62141,7 @@ paths: _links: type: object properties: - comments: &446 + comments: &447 title: Link description: Hypermedia Link type: object @@ -61881,13 +62150,13 @@ paths: type: string required: - href - commits: *446 - statuses: *446 - html: *446 - issue: *446 - review_comments: *446 - review_comment: *446 - self: *446 + commits: *447 + statuses: *447 + html: *447 + issue: *447 + review_comments: *447 + review_comment: *447 + self: *447 required: - comments - commits @@ -61897,8 +62166,8 @@ paths: - review_comments - review_comment - self - author_association: *105 - auto_merge: &549 + author_association: *109 + auto_merge: &550 title: Auto merge description: The status of auto merging a pull request. type: object @@ -61961,7 +62230,7 @@ paths: - author_association - auto_merge examples: - default: &548 + default: &549 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -62441,7 +62710,7 @@ paths: draft: false headers: Link: *39 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62498,11 +62767,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#get-a-commit parameters: - - *324 - *325 + - *326 - *20 - *18 - - &447 + - &448 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)" @@ -62517,9 +62786,9 @@ paths: description: Response content: application/json: - schema: *440 + schema: *441 examples: - default: &534 + default: &535 value: url: https://api.github.com/repos/octocat/Hello-World/commits/6dcb09b5b57875f334f61aebed695e2e4193db5e sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e @@ -62606,8 +62875,8 @@ paths: '422': *16 '404': *7 '500': *84 - '503': *96 - '409': *146 + '503': *100 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -62632,11 +62901,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: - - *324 - *325 - - *447 + - *326 - *448 - *449 + - *450 - name: filter description: Filters check runs by their `completed_at` timestamp. `latest` returns the most recent check runs. @@ -62670,9 +62939,9 @@ paths: type: integer check_runs: type: array - items: *395 + items: *396 examples: - default: *450 + default: *451 headers: Link: *39 x-github: @@ -62697,9 +62966,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: - - *324 - *325 - - *447 + - *326 + - *448 - name: app_id description: Filters check suites by GitHub App `id`. in: query @@ -62707,7 +62976,7 @@ paths: schema: type: integer example: 1 - - *448 + - *449 - *18 - *20 responses: @@ -62725,7 +62994,7 @@ paths: type: integer check_suites: type: array - items: *400 + items: *401 examples: default: value: @@ -62925,9 +63194,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: - - *324 - *325 - - *447 + - *326 + - *448 - *18 - *20 responses: @@ -62994,7 +63263,7 @@ paths: type: string total_count: type: integer - repository: *159 + repository: *163 commit_url: type: string format: uri @@ -63125,9 +63394,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#list-commit-statuses-for-a-reference parameters: - - *324 - *325 - - *447 + - *326 + - *448 - *18 - *20 responses: @@ -63137,7 +63406,7 @@ paths: application/json: schema: type: array - items: &611 + items: &612 title: Status description: The status of a commit. type: object @@ -63218,7 +63487,7 @@ paths: site_admin: false headers: Link: *39 - '301': *338 + '301': *339 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63246,8 +63515,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/community#get-community-profile-metrics parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -63276,20 +63545,20 @@ paths: title: Code Of Conduct Simple description: Code of Conduct Simple type: object - properties: *451 - required: *452 + properties: *452 + required: *453 nullable: true code_of_conduct_file: title: Community Health File type: object - properties: &453 + properties: &454 url: type: string format: uri html_url: type: string format: uri - required: &454 + required: &455 - url - html_url nullable: true @@ -63297,32 +63566,32 @@ paths: title: License Simple description: License Simple type: object - properties: *119 - required: *120 + properties: *123 + required: *124 nullable: true contributing: title: Community Health File type: object - properties: *453 - required: *454 + properties: *454 + required: *455 nullable: true readme: title: Community Health File type: object - properties: *453 - required: *454 + properties: *454 + required: *455 nullable: true issue_template: title: Community Health File type: object - properties: *453 - required: *454 + properties: *454 + required: *455 nullable: true pull_request_template: title: Community Health File type: object - properties: *453 - required: *454 + properties: *454 + required: *455 nullable: true required: - code_of_conduct @@ -63449,8 +63718,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/commits#compare-two-commits parameters: - - *324 - *325 + - *326 - *20 - *18 - name: basehead @@ -63493,8 +63762,8 @@ paths: type: string format: uri example: https://github.com/octocat/Hello-World/compare/master...topic.patch - base_commit: *440 - merge_base_commit: *440 + base_commit: *441 + merge_base_commit: *441 status: type: string enum: @@ -63514,10 +63783,10 @@ paths: example: 6 commits: type: array - items: *440 + items: *441 files: type: array - items: *455 + items: *456 required: - url - html_url @@ -63761,7 +64030,7 @@ paths: module Test" '404': *7 '500': *84 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -63803,8 +64072,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-repository-content parameters: - - *324 - *325 + - *326 - name: path description: path parameter in: path @@ -63945,7 +64214,7 @@ paths: - type - url examples: - response-if-content-is-a-file: &456 + response-if-content-is-a-file: &457 summary: Response if content is a file value: type: file @@ -64077,7 +64346,7 @@ paths: - size - type - url - - &561 + - &562 title: Content File description: Content File type: object @@ -64278,7 +64547,7 @@ paths: - url - submodule_git_url examples: - response-if-content-is-a-file: *456 + response-if-content-is-a-file: *457 response-if-content-is-a-directory: summary: Response if content is a directory and the application/json media type is requested @@ -64347,7 +64616,7 @@ paths: html: https://github.com/jquery/qunit/tree/6ca3721222109997540bd6d9ccd396902e0ad2f9 '404': *7 '403': *29 - '302': *457 + '302': *458 '304': *37 x-github: githubCloudOnly: false @@ -64370,8 +64639,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#create-or-update-file-contents parameters: - - *324 - *325 + - *326 - name: path description: path parameter in: path @@ -64464,7 +64733,7 @@ paths: description: Response content: application/json: - schema: &458 + schema: &459 title: File Commit description: File Commit type: object @@ -64616,7 +64885,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: example-for-creating-a-file: value: @@ -64670,7 +64939,7 @@ paths: schema: oneOf: - *3 - - &487 + - &488 description: Repository rule violation was detected type: object properties: @@ -64691,7 +64960,7 @@ paths: items: type: object properties: - placeholder_id: &603 + placeholder_id: &604 description: The ID of the push protection bypass placeholder. This value is returned on any push protected routes. @@ -64723,8 +64992,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#delete-a-file parameters: - - *324 - *325 + - *326 - name: path description: path parameter in: path @@ -64785,7 +65054,7 @@ paths: description: Response content: application/json: - schema: *458 + schema: *459 examples: default: value: @@ -64819,8 +65088,8 @@ paths: verified_at: '422': *16 '404': *7 - '409': *146 - '503': *96 + '409': *150 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -64840,8 +65109,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-contributors parameters: - - *324 - *325 + - *326 - name: anon description: Set to `1` or `true` to include anonymous contributors in results. in: query @@ -64964,20 +65233,20 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#list-dependabot-alerts-for-a-repository parameters: - - *324 - *325 - - *200 - - *201 - - *202 - - *203 + - *326 + - *205 + - *206 + - *207 + - *208 - 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 - - *204 - - *205 + - *209 + - *210 - *78 - name: page description: "**Closing down notice**. Page number of the results to fetch. @@ -64997,8 +65266,8 @@ paths: default: 30 - *76 - *77 - - *206 - - *207 + - *211 + - *212 responses: '200': description: Response @@ -65006,7 +65275,7 @@ paths: application/json: schema: type: array - items: &461 + items: &462 type: object description: A Dependabot alert. properties: @@ -65039,7 +65308,7 @@ paths: enum: - development - runtime - security_advisory: *459 + security_advisory: *460 security_vulnerability: *88 url: *89 html_url: *90 @@ -65070,7 +65339,7 @@ paths: nullable: true maxLength: 280 fixed_at: *94 - auto_dismissed_at: *460 + auto_dismissed_at: *461 required: - number - state @@ -65297,9 +65566,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#get-a-dependabot-alert parameters: - - *324 - *325 - - &462 + - *326 + - &463 name: alert_number in: path description: |- @@ -65314,7 +65583,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *462 examples: default: value: @@ -65424,9 +65693,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/alerts#update-a-dependabot-alert parameters: - - *324 - *325 - - *462 + - *326 + - *463 requestBody: required: true content: @@ -65471,7 +65740,7 @@ paths: description: Response content: application/json: - schema: *461 + schema: *462 examples: default: value: @@ -65577,7 +65846,7 @@ paths: '400': *15 '403': *29 '404': *7 - '409': *146 + '409': *150 '422': *8 x-github: githubCloudOnly: false @@ -65600,8 +65869,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#list-repository-secrets parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -65619,7 +65888,7 @@ paths: type: integer secrets: type: array - items: &465 + items: &466 title: Dependabot Secret description: Set secrets for Dependabot. type: object @@ -65672,16 +65941,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-public-key parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *463 + schema: *464 examples: - default: *464 + default: *465 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -65701,15 +65970,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#get-a-repository-secret parameters: - - *324 - *325 - - *169 + - *326 + - *173 responses: '200': description: Response content: application/json: - schema: *465 + schema: *466 examples: default: value: @@ -65735,9 +66004,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#create-or-update-a-repository-secret parameters: - - *324 - *325 - - *169 + - *326 + - *173 requestBody: required: true content: @@ -65765,7 +66034,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -65789,9 +66058,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/dependabot/secrets#delete-a-repository-secret parameters: - - *324 - *325 - - *169 + - *326 + - *173 responses: '204': description: Response @@ -65813,8 +66082,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: - - *324 - *325 + - *326 - 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 @@ -65974,8 +66243,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: - - *324 - *325 + - *326 responses: '200': description: Response @@ -66214,8 +66483,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -66290,7 +66559,7 @@ paths: - version - url additionalProperties: false - metadata: &466 + metadata: &467 title: metadata description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -66323,7 +66592,7 @@ paths: the root of the Git repository. example: "/src/build/package-lock.json" additionalProperties: false - metadata: *466 + metadata: *467 resolved: type: object description: A collection of resolved package dependencies. @@ -66336,7 +66605,7 @@ paths: for more details. example: pkg:/npm/%40actions/http-client@1.0.11 pattern: "^pkg" - metadata: *466 + metadata: *467 relationship: type: string description: A notation of whether a dependency is requested @@ -66465,8 +66734,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#list-deployments parameters: - - *324 - *325 + - *326 - name: sha description: The SHA recorded at creation time. in: query @@ -66506,9 +66775,9 @@ paths: application/json: schema: type: array - items: *467 + items: *468 examples: - default: *468 + default: *469 headers: Link: *39 x-github: @@ -66574,8 +66843,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#create-a-deployment parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -66656,7 +66925,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *468 examples: simple-example: summary: Simple example @@ -66729,9 +66998,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#get-a-deployment parameters: - - *324 - *325 - - &469 + - *326 + - &470 name: deployment_id description: deployment_id parameter in: path @@ -66743,7 +67012,7 @@ paths: description: Response content: application/json: - schema: *467 + schema: *468 examples: default: value: @@ -66808,9 +67077,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/deployments#delete-a-deployment parameters: - - *324 - *325 - - *469 + - *326 + - *470 responses: '204': description: Response @@ -66832,9 +67101,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#list-deployment-statuses parameters: - - *324 - *325 - - *469 + - *326 + - *470 - *18 - *20 responses: @@ -66844,7 +67113,7 @@ paths: application/json: schema: type: array - items: &470 + items: &471 title: Deployment Status description: The status of a deployment. type: object @@ -66935,8 +67204,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 required: - id - node_id @@ -67005,9 +67274,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#create-a-deployment-status parameters: - - *324 - *325 - - *469 + - *326 + - *470 requestBody: required: true content: @@ -67082,9 +67351,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *471 examples: - default: &471 + default: &472 value: url: https://api.github.com/repos/octocat/example/deployments/42/statuses/1 id: 1 @@ -67140,9 +67409,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/statuses#get-a-deployment-status parameters: - - *324 - *325 - - *469 + - *326 + - *470 - name: status_id in: path required: true @@ -67153,9 +67422,9 @@ paths: description: Response content: application/json: - schema: *470 + schema: *471 examples: - default: *471 + default: *472 '404': *7 x-github: githubCloudOnly: false @@ -67180,8 +67449,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#create-a-repository-dispatch-event parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -67238,8 +67507,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#list-environments parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -67256,7 +67525,7 @@ paths: type: integer environments: type: array - items: &473 + items: &474 title: Environment description: Details of a deployment environment type: object @@ -67308,7 +67577,7 @@ paths: type: type: string example: wait_timer - wait_timer: &475 + wait_timer: &476 type: integer example: 30 description: The amount of time to delay a job after @@ -67345,11 +67614,11 @@ paths: items: type: object properties: - type: *472 + type: *473 reviewer: anyOf: - *19 - - *238 + - *243 required: - id - node_id @@ -67369,7 +67638,7 @@ paths: - id - node_id - type - deployment_branch_policy: &476 + deployment_branch_policy: &477 type: object description: The type of deployment branch policy for this environment. To allow all branches to deploy, set to `null`. @@ -67485,9 +67754,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#get-an-environment parameters: - - *324 - *325 - - &474 + - *326 + - &475 name: environment_name in: path required: true @@ -67500,9 +67769,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *474 examples: - default: &477 + default: &478 value: id: 161088068 node_id: MDExOkVudmlyb25tZW50MTYxMDg4MDY4 @@ -67586,9 +67855,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#create-or-update-an-environment parameters: - - *324 - *325 - - *474 + - *326 + - *475 requestBody: required: false content: @@ -67597,7 +67866,7 @@ paths: type: object nullable: true properties: - wait_timer: *475 + wait_timer: *476 prevent_self_review: type: boolean example: false @@ -67614,13 +67883,13 @@ paths: items: type: object properties: - type: *472 + type: *473 id: type: integer description: The id of the user or team who can review the deployment example: 4532992 - deployment_branch_policy: *476 + deployment_branch_policy: *477 additionalProperties: false examples: default: @@ -67640,9 +67909,9 @@ paths: description: Response content: application/json: - schema: *473 + schema: *474 examples: - default: *477 + default: *478 '422': description: Validation error when the environment name is invalid or when `protected_branches` and `custom_branch_policies` in `deployment_branch_policy` @@ -67666,9 +67935,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/environments#delete-an-environment parameters: - - *324 - *325 - - *474 + - *326 + - *475 responses: '204': description: Default response @@ -67693,9 +67962,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#list-deployment-branch-policies parameters: - - *324 - *325 - - *474 + - *326 + - *475 - *18 - *20 responses: @@ -67713,7 +67982,7 @@ paths: example: 2 branch_policies: type: array - items: &478 + items: &479 title: Deployment branch policy description: Details of a deployment branch or tag policy. type: object @@ -67770,9 +68039,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#create-a-deployment-branch-policy parameters: - - *324 - *325 - - *474 + - *326 + - *475 requestBody: required: true content: @@ -67818,9 +68087,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *479 examples: - example-wildcard: &479 + example-wildcard: &480 value: id: 364662 node_id: MDE2OkdhdGVCcmFuY2hQb2xpY3kzNjQ2NjI= @@ -67862,10 +68131,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#get-a-deployment-branch-policy parameters: - - *324 - *325 - - *474 - - &480 + - *326 + - *475 + - &481 name: branch_policy_id in: path required: true @@ -67877,9 +68146,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *479 examples: - default: *479 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67898,10 +68167,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#update-a-deployment-branch-policy parameters: - - *324 - *325 - - *474 - - *480 + - *326 + - *475 + - *481 requestBody: required: true content: @@ -67929,9 +68198,9 @@ paths: description: Response content: application/json: - schema: *478 + schema: *479 examples: - default: *479 + default: *480 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -67950,10 +68219,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deployments/branch-policies#delete-a-deployment-branch-policy parameters: - - *324 - *325 - - *474 - - *480 + - *326 + - *475 + - *481 responses: '204': description: Response @@ -67978,9 +68247,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: - - *474 + - *475 + - *326 - *325 - - *324 responses: '200': description: List of deployment protection rules @@ -67996,7 +68265,7 @@ paths: example: 10 custom_deployment_protection_rules: type: array - items: &481 + items: &482 title: Deployment protection rule description: Deployment protection rule type: object @@ -68015,7 +68284,7 @@ paths: example: true description: Whether the deployment protection rule is enabled for the environment. - app: &482 + app: &483 title: Custom deployment protection rule app description: A GitHub App that is providing a custom deployment protection rule. @@ -68114,9 +68383,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: - - *474 + - *475 + - *326 - *325 - - *324 requestBody: content: application/json: @@ -68137,9 +68406,9 @@ paths: description: The enabled custom deployment protection rule content: application/json: - schema: *481 + schema: *482 examples: - default: &483 + default: &484 value: id: 3 node_id: IEH37kRlcGxveW1lbnRTdGF0ddiv @@ -68174,9 +68443,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: - - *474 + - *475 + - *326 - *325 - - *324 - *20 - *18 responses: @@ -68195,7 +68464,7 @@ paths: example: 35 available_custom_deployment_protection_rule_integrations: type: array - items: *482 + items: *483 examples: default: value: @@ -68230,10 +68499,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: - - *324 - *325 - - *474 - - &484 + - *326 + - *475 + - &485 name: protection_rule_id description: The unique identifier of the protection rule. in: path @@ -68245,9 +68514,9 @@ paths: description: Response content: application/json: - schema: *481 + schema: *482 examples: - default: *483 + default: *484 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68268,10 +68537,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: - - *474 + - *475 + - *326 - *325 - - *324 - - *484 + - *485 responses: '204': description: Response @@ -68297,9 +68566,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#list-environment-secrets parameters: - - *324 - *325 - - *474 + - *326 + - *475 - *18 - *20 responses: @@ -68317,9 +68586,9 @@ paths: type: integer secrets: type: array - items: *361 + items: *362 examples: - default: *362 + default: *363 headers: Link: *39 x-github: @@ -68344,17 +68613,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-public-key parameters: - - *324 - *325 - - *474 + - *326 + - *475 responses: '200': description: Response content: application/json: - schema: *363 + schema: *364 examples: - default: *364 + default: *365 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68376,18 +68645,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#get-an-environment-secret parameters: - - *324 - *325 - - *474 - - *169 + - *326 + - *475 + - *173 responses: '200': description: Response content: application/json: - schema: *361 + schema: *362 examples: - default: *485 + default: *486 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68409,10 +68678,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#create-or-update-an-environment-secret parameters: - - *324 - *325 - - *474 - - *169 + - *326 + - *475 + - *173 requestBody: required: true content: @@ -68443,7 +68712,7 @@ paths: description: Response when creating a secret content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -68469,10 +68738,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/secrets#delete-an-environment-secret parameters: - - *324 - *325 - - *474 - - *169 + - *326 + - *475 + - *173 responses: '204': description: Default response @@ -68497,10 +68766,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#list-environment-variables parameters: - - *324 - *325 - - *474 - - *348 + - *326 + - *475 + - *349 - *20 responses: '200': @@ -68517,9 +68786,9 @@ paths: type: integer variables: type: array - items: *365 + items: *366 examples: - default: *366 + default: *367 headers: Link: *39 x-github: @@ -68542,9 +68811,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#create-an-environment-variable parameters: - - *324 - *325 - - *474 + - *326 + - *475 requestBody: required: true content: @@ -68571,7 +68840,7 @@ paths: description: Response content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -68596,18 +68865,18 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#get-an-environment-variable parameters: - - *324 - *325 - - *474 - - *172 + - *326 + - *475 + - *176 responses: '200': description: Response content: application/json: - schema: *365 + schema: *366 examples: - default: *486 + default: *487 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -68628,10 +68897,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#update-an-environment-variable parameters: - - *324 - *325 - - *172 - - *474 + - *326 + - *176 + - *475 requestBody: required: true content: @@ -68673,10 +68942,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/actions/variables#delete-an-environment-variable parameters: - - *324 - *325 - - *172 - - *474 + - *326 + - *176 + - *475 responses: '204': description: Response @@ -68698,8 +68967,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-repository-events parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -68709,7 +68978,7 @@ paths: application/json: schema: type: array - items: *130 + items: *134 examples: 200-response: value: @@ -68776,8 +69045,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#list-forks parameters: - - *324 - *325 + - *326 - name: sort description: The sort order. `stargazers` will sort by star count. in: query @@ -68799,7 +69068,7 @@ paths: application/json: schema: type: array - items: *159 + items: *163 examples: default: value: @@ -68936,8 +69205,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/forks#create-a-fork parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -68969,9 +69238,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *338 examples: - default: *339 + default: *340 '400': *15 '422': *16 '403': *29 @@ -68992,8 +69261,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#create-a-blob parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -69044,7 +69313,7 @@ paths: schema: type: string '404': *7 - '409': *146 + '409': *150 '403': *29 '422': description: Validation failed @@ -69052,8 +69321,8 @@ paths: application/json: schema: oneOf: - - *144 - - *487 + - *148 + - *488 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69078,8 +69347,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/blobs#get-a-blob parameters: - - *324 - *325 + - *326 - name: file_sha in: path required: true @@ -69130,7 +69399,7 @@ paths: '404': *7 '422': *16 '403': *29 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69178,8 +69447,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#create-a-commit parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -69288,7 +69557,7 @@ paths: description: Response content: application/json: - schema: &488 + schema: &489 title: Git Commit description: Low-level Git commit operations within a repository type: object @@ -69451,7 +69720,7 @@ paths: type: string '422': *16 '404': *7 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69501,15 +69770,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/commits#get-a-commit-object parameters: - - *324 - *325 - - *441 + - *326 + - *442 responses: '200': description: Response content: application/json: - schema: *488 + schema: *489 examples: default: value: @@ -69540,7 +69809,7 @@ paths: payload: verified_at: '404': *7 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69565,9 +69834,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#list-matching-references parameters: - - *324 - *325 - - &489 + - *326 + - &490 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. @@ -69584,7 +69853,7 @@ paths: application/json: schema: type: array - items: &490 + items: &491 title: Git Reference description: Git references within a repository type: object @@ -69638,7 +69907,7 @@ paths: url: https://api.github.com/repos/octocat/Hello-World/git/commits/612077ae6dffb4d2fbd8ce0cccaa58893b07b5ac headers: Link: *39 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69659,17 +69928,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference parameters: - - *324 - *325 - - *489 + - *326 + - *490 responses: '200': description: Response content: application/json: - schema: *490 + schema: *491 examples: - default: &491 + default: &492 value: ref: refs/heads/featureA node_id: MDM6UmVmcmVmcy9oZWFkcy9mZWF0dXJlQQ== @@ -69679,7 +69948,7 @@ paths: sha: aa218f56b14c9653891f9e74264a383fa43fefbd url: https://api.github.com/repos/octocat/Hello-World/git/commits/aa218f56b14c9653891f9e74264a383fa43fefbd '404': *7 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69698,8 +69967,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#create-a-reference parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -69728,16 +69997,16 @@ paths: description: Response content: application/json: - schema: *490 + schema: *491 examples: - default: *491 + default: *492 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/git/refs/heads/featureA schema: type: string '422': *16 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69756,9 +70025,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#update-a-reference parameters: - - *324 - *325 - - *489 + - *326 + - *490 requestBody: required: true content: @@ -69787,11 +70056,11 @@ paths: description: Response content: application/json: - schema: *490 + schema: *491 examples: - default: *491 + default: *492 '422': *16 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69807,14 +70076,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/refs#delete-a-reference parameters: - - *324 - *325 - - *489 + - *326 + - *490 responses: '204': description: Response '422': *16 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -69862,8 +70131,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#create-a-tag-object parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -69930,7 +70199,7 @@ paths: description: Response content: application/json: - schema: &493 + schema: &494 title: Git Tag description: Metadata for a Git tag type: object @@ -69981,7 +70250,7 @@ paths: - sha - type - url - verification: *492 + verification: *493 required: - sha - url @@ -69991,7 +70260,7 @@ paths: - tag - message examples: - default: &494 + default: &495 value: node_id: MDM6VGFnOTQwYmQzMzYyNDhlZmFlMGY5ZWU1YmM3YjJkNWM5ODU4ODdiMTZhYw== tag: v0.0.1 @@ -70018,7 +70287,7 @@ paths: schema: type: string '422': *16 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70064,8 +70333,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/tags#get-a-tag parameters: - - *324 - *325 + - *326 - name: tag_sha in: path required: true @@ -70076,11 +70345,11 @@ paths: description: Response content: application/json: - schema: *493 + schema: *494 examples: - default: *494 + default: *495 '404': *7 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70102,8 +70371,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#create-a-tree parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -70176,7 +70445,7 @@ paths: description: Response content: application/json: - schema: &495 + schema: &496 title: Git Tree description: The hierarchy between files in a Git repository. type: object @@ -70265,7 +70534,7 @@ paths: '422': *16 '404': *7 '403': *29 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70288,8 +70557,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/git/trees#get-a-tree parameters: - - *324 - *325 + - *326 - name: tree_sha description: The SHA1 value or ref (branch or tag) name of the tree. in: path @@ -70312,7 +70581,7 @@ paths: description: Response content: application/json: - schema: *495 + schema: *496 examples: default-response: summary: Default response @@ -70353,7 +70622,7 @@ paths: truncated: false '422': *16 '404': *7 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -70371,8 +70640,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-repository-webhooks parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -70382,7 +70651,7 @@ paths: application/json: schema: type: array - items: &496 + items: &497 title: Webhook description: Webhooks for repositories. type: object @@ -70436,7 +70705,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/hooks/1/deliveries - last_response: &741 + last_response: &742 title: Hook Response type: object properties: @@ -70510,8 +70779,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#create-a-repository-webhook parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -70563,9 +70832,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *497 examples: - default: &497 + default: &498 value: type: Repository id: 12345678 @@ -70613,17 +70882,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#get-a-repository-webhook parameters: - - *324 - *325 - - *215 + - *326 + - *220 responses: '200': description: Response content: application/json: - schema: *496 + schema: *497 examples: - default: *497 + default: *498 '404': *7 x-github: githubCloudOnly: false @@ -70643,9 +70912,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#update-a-repository-webhook parameters: - - *324 - *325 - - *215 + - *326 + - *220 requestBody: required: true content: @@ -70690,9 +70959,9 @@ paths: description: Response content: application/json: - schema: *496 + schema: *497 examples: - default: *497 + default: *498 '422': *16 '404': *7 x-github: @@ -70713,9 +70982,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#delete-a-repository-webhook parameters: - - *324 - *325 - - *215 + - *326 + - *220 responses: '204': description: Response @@ -70739,9 +71008,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: - - *324 - *325 - - *215 + - *326 + - *220 responses: '200': description: Response @@ -70768,9 +71037,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: - - *324 - *325 - - *215 + - *326 + - *220 requestBody: required: false content: @@ -70814,11 +71083,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#list-deliveries-for-a-repository-webhook parameters: - - *324 - *325 - - *215 + - *326 + - *220 - *18 - - *216 + - *221 responses: '200': description: Response @@ -70826,9 +71095,9 @@ paths: application/json: schema: type: array - items: *217 + items: *222 examples: - default: *218 + default: *223 '400': *15 '422': *16 x-github: @@ -70847,18 +71116,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: - - *324 - *325 - - *215 + - *326 + - *220 - *17 responses: '200': description: Response content: application/json: - schema: *219 + schema: *224 examples: - default: *220 + default: *225 '400': *15 '422': *16 x-github: @@ -70877,12 +71146,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: - - *324 - *325 - - *215 + - *326 + - *220 - *17 responses: - '202': *147 + '202': *151 '400': *15 '422': *16 x-github: @@ -70902,9 +71171,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#ping-a-repository-webhook parameters: - - *324 - *325 - - *215 + - *326 + - *220 responses: '204': description: Response @@ -70929,9 +71198,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/webhooks#test-the-push-repository-webhook parameters: - - *324 - *325 - - *215 + - *326 + - *220 responses: '204': description: Response @@ -70989,14 +71258,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-an-import-status parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &498 + schema: &499 title: Import description: A repository import from an external source. type: object @@ -71095,7 +71364,7 @@ paths: - html_url - authors_url examples: - default: &501 + default: &502 value: vcs: subversion use_lfs: true @@ -71111,7 +71380,7 @@ paths: authors_url: https://api.github.com/repos/octocat/socm/import/authors repository_url: https://api.github.com/repos/octocat/socm '404': *7 - '503': &499 + '503': &500 description: Unavailable due to service under maintenance. content: application/json: @@ -71140,8 +71409,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#start-an-import parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -71189,7 +71458,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *499 examples: default: value: @@ -71214,7 +71483,7 @@ paths: type: string '422': *16 '404': *7 - '503': *499 + '503': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71242,8 +71511,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-an-import parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -71292,7 +71561,7 @@ paths: description: Response content: application/json: - schema: *498 + schema: *499 examples: example-1: summary: Example 1 @@ -71340,7 +71609,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': *499 + '503': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71363,12 +71632,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#cancel-an-import parameters: - - *324 - *325 + - *326 responses: '204': description: Response - '503': *499 + '503': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71394,9 +71663,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-commit-authors parameters: - - *324 - *325 - - &687 + - *326 + - &688 name: since description: A user ID. Only return users with an ID greater than this ID. in: query @@ -71410,7 +71679,7 @@ paths: application/json: schema: type: array - items: &500 + items: &501 title: Porter Author description: Porter Author type: object @@ -71464,7 +71733,7 @@ paths: url: https://api.github.com/repos/octocat/socm/import/authors/2268559 import_url: https://api.github.com/repos/octocat/socm/import '404': *7 - '503': *499 + '503': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71489,8 +71758,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#map-a-commit-author parameters: - - *324 - *325 + - *326 - name: author_id in: path required: true @@ -71520,7 +71789,7 @@ paths: description: Response content: application/json: - schema: *500 + schema: *501 examples: default: value: @@ -71533,7 +71802,7 @@ paths: import_url: https://api.github.com/repos/octocat/socm/import '422': *16 '404': *7 - '503': *499 + '503': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71557,8 +71826,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#get-large-files parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -71599,7 +71868,7 @@ paths: path: foo/bar/3 oid: c20ad4d76fe97759aa27a0c99bff6710 size: 12582912 - '503': *499 + '503': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71627,8 +71896,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/source-imports#update-git-lfs-preference parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -71655,11 +71924,11 @@ paths: description: Response content: application/json: - schema: *498 + schema: *499 examples: - default: *501 + default: *502 '422': *16 - '503': *499 + '503': *500 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -71682,8 +71951,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: - - *324 - *325 + - *326 responses: '200': description: Response @@ -71691,8 +71960,8 @@ paths: application/json: schema: *22 examples: - default: *502 - '301': *338 + default: *503 + '301': *339 '404': *7 x-github: githubCloudOnly: false @@ -71712,8 +71981,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#get-interaction-restrictions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -71721,12 +71990,12 @@ paths: application/json: schema: anyOf: - - *233 + - *238 - type: object properties: {} additionalProperties: false examples: - default: &504 + default: &505 value: limit: collaborators_only origin: repository @@ -71751,13 +72020,13 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#set-interaction-restrictions-for-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: application/json: - schema: *503 + schema: *504 examples: default: summary: Example request body @@ -71769,9 +72038,9 @@ paths: description: Response content: application/json: - schema: *233 + schema: *238 examples: - default: *504 + default: *505 '409': description: Response x-github: @@ -71793,8 +72062,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/interactions/repos#remove-interaction-restrictions-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -71817,8 +72086,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#list-repository-invitations parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -71828,9 +72097,9 @@ paths: application/json: schema: type: array - items: *505 + items: *506 examples: - default: &680 + default: &681 value: - id: 1 repository: @@ -71961,9 +72230,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#update-a-repository-invitation parameters: - - *324 - *325 - - *237 + - *326 + - *242 requestBody: required: false content: @@ -71992,7 +72261,7 @@ paths: description: Response content: application/json: - schema: *505 + schema: *506 examples: default: value: @@ -72123,9 +72392,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#delete-a-repository-invitation parameters: - - *324 - *325 - - *237 + - *326 + - *242 responses: '204': description: Response @@ -72156,8 +72425,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#list-repository-issues parameters: - - *324 - *325 + - *326 - 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 @@ -72197,7 +72466,7 @@ paths: required: false schema: type: string - - *239 + - *244 - name: sort description: What to sort results by. in: query @@ -72210,7 +72479,7 @@ paths: - comments default: created - *78 - - *108 + - *112 - *18 - *20 responses: @@ -72220,9 +72489,9 @@ paths: application/json: schema: type: array - items: *118 + items: *122 examples: - default: &516 + default: &517 value: - id: 1 node_id: MDU6SXNzdWUx @@ -72370,7 +72639,7 @@ paths: state_reason: completed headers: Link: *39 - '301': *338 + '301': *339 '422': *16 '404': *7 x-github: @@ -72399,8 +72668,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#create-an-issue parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -72475,9 +72744,9 @@ paths: description: Response content: application/json: - schema: *118 + schema: *122 examples: - default: &511 + default: &512 value: id: 1 node_id: MDU6SXNzdWUx @@ -72631,9 +72900,9 @@ paths: '400': *15 '403': *29 '422': *16 - '503': *96 + '503': *100 '404': *7 - '410': *335 + '410': *336 x-github: triggersNotification: true githubCloudOnly: false @@ -72661,9 +72930,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments-for-a-repository parameters: - - *324 - *325 - - *128 + - *326 + - *132 - name: direction description: Either `asc` or `desc`. Ignored without the `sort` parameter. in: query @@ -72673,7 +72942,7 @@ paths: enum: - asc - desc - - *108 + - *112 - *18 - *20 responses: @@ -72683,9 +72952,9 @@ paths: application/json: schema: type: array - items: *506 + items: *507 examples: - default: &513 + default: &514 value: - id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -72743,17 +73012,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment parameters: - - *324 - *325 - - *117 + - *326 + - *121 responses: '200': description: Response content: application/json: - schema: *506 + schema: *507 examples: - default: &507 + default: &508 value: id: 1 node_id: MDEyOklzc3VlQ29tbWVudDE= @@ -72807,9 +73076,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#update-an-issue-comment parameters: - - *324 - *325 - - *117 + - *326 + - *121 requestBody: required: true content: @@ -72831,9 +73100,9 @@ paths: description: Response content: application/json: - schema: *506 + schema: *507 examples: - default: *507 + default: *508 '422': *16 x-github: githubCloudOnly: false @@ -72851,9 +73120,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#delete-an-issue-comment parameters: - - *324 - *325 - - *117 + - *326 + - *121 responses: '204': description: Response @@ -72873,9 +73142,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue-comment parameters: - - *324 - *325 - - *117 + - *326 + - *121 - 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. @@ -72901,9 +73170,9 @@ paths: application/json: schema: type: array - items: *313 + items: *314 examples: - default: *315 + default: *316 headers: Link: *39 '404': *7 @@ -72924,9 +73193,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue-comment parameters: - - *324 - *325 - - *117 + - *326 + - *121 requestBody: required: true content: @@ -72958,16 +73227,16 @@ paths: description: Reaction exists content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 '201': description: Reaction created content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 '422': *16 x-github: githubCloudOnly: false @@ -72989,10 +73258,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-comment-reaction parameters: - - *324 - *325 - - *117 - - *316 + - *326 + - *121 + - *317 responses: '204': description: Response @@ -73012,8 +73281,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events-for-a-repository parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -73023,7 +73292,7 @@ paths: application/json: schema: type: array - items: &510 + items: &511 title: Issue Event description: Issue Event type: object @@ -73066,8 +73335,8 @@ paths: description: Issues are a great way to keep track of tasks, enhancements, and bugs for your projects. type: object - properties: *508 - required: *509 + properties: *509 + required: *510 nullable: true label: title: Issue Event Label @@ -73111,7 +73380,7 @@ paths: properties: *4 required: *5 nullable: true - requested_team: *238 + requested_team: *243 dismissed_review: title: Issue Event Dismissed Review type: object @@ -73176,7 +73445,7 @@ paths: required: - from - to - author_association: *105 + author_association: *109 lock_reason: type: string nullable: true @@ -73189,8 +73458,8 @@ paths: first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 required: - id - node_id @@ -73374,8 +73643,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#get-an-issue-event parameters: - - *324 - *325 + - *326 - name: event_id in: path required: true @@ -73386,7 +73655,7 @@ paths: description: Response content: application/json: - schema: *510 + schema: *511 examples: default: value: @@ -73579,7 +73848,7 @@ paths: author_association: COLLABORATOR state_reason: completed '404': *7 - '410': *335 + '410': *336 '403': *29 x-github: githubCloudOnly: false @@ -73613,9 +73882,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue parameters: - - *324 - *325 - - &512 + - *326 + - &513 name: issue_number description: The number that identifies the issue. in: path @@ -73627,12 +73896,12 @@ paths: description: Response content: application/json: - schema: *118 + schema: *122 examples: - default: *511 - '301': *338 + default: *512 + '301': *339 '404': *7 - '410': *335 + '410': *336 '304': *37 x-github: githubCloudOnly: false @@ -73657,9 +73926,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#update-an-issue parameters: - - *324 - *325 - - *512 + - *326 + - *513 requestBody: required: false content: @@ -73754,15 +74023,15 @@ paths: description: Response content: application/json: - schema: *118 + schema: *122 examples: - default: *511 + default: *512 '422': *16 - '503': *96 + '503': *100 '403': *29 - '301': *338 + '301': *339 '404': *7 - '410': *335 + '410': *336 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73780,9 +74049,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#add-assignees-to-an-issue parameters: - - *324 - *325 - - *512 + - *326 + - *513 requestBody: required: false content: @@ -73808,9 +74077,9 @@ paths: description: Response content: application/json: - schema: *118 + schema: *122 examples: - default: *511 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73826,9 +74095,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/assignees#remove-assignees-from-an-issue parameters: - - *324 - *325 - - *512 + - *326 + - *513 requestBody: content: application/json: @@ -73853,9 +74122,9 @@ paths: description: Response content: application/json: - schema: *118 + schema: *122 examples: - default: *511 + default: *512 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73877,9 +74146,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: - - *324 - *325 - - *512 + - *326 + - *513 - name: assignee in: path required: true @@ -73919,10 +74188,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#list-issue-comments parameters: - - *324 - *325 - - *512 - - *108 + - *326 + - *513 + - *112 - *18 - *20 responses: @@ -73932,13 +74201,13 @@ paths: application/json: schema: type: array - items: *506 + items: *507 examples: - default: *513 + default: *514 headers: Link: *39 '404': *7 - '410': *335 + '410': *336 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -73967,9 +74236,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#create-an-issue-comment parameters: - - *324 - *325 - - *512 + - *326 + - *513 requestBody: required: true content: @@ -73991,16 +74260,16 @@ paths: description: Response content: application/json: - schema: *506 + schema: *507 examples: - default: *507 + default: *508 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/comments/1 schema: type: string '403': *29 - '410': *335 + '410': *336 '422': *16 '404': *7 x-github: @@ -74020,9 +74289,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/events#list-issue-events parameters: - - *324 - *325 - - *512 + - *326 + - *513 - *18 - *20 responses: @@ -74036,7 +74305,7 @@ paths: title: Issue Event for Issue description: Issue Event for Issue anyOf: - - &517 + - &518 title: Labeled Issue Event description: Labeled Issue Event type: object @@ -74067,8 +74336,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 label: type: object properties: @@ -74090,7 +74359,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &518 + - &519 title: Unlabeled Issue Event description: Unlabeled Issue Event type: object @@ -74121,8 +74390,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 label: type: object properties: @@ -74210,8 +74479,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 assignee: *19 assigner: *19 required: @@ -74226,7 +74495,7 @@ paths: - performed_via_github_app - assignee - assigner - - &519 + - &520 title: Milestoned Issue Event description: Milestoned Issue Event type: object @@ -74257,8 +74526,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 milestone: type: object properties: @@ -74277,7 +74546,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &520 + - &521 title: Demilestoned Issue Event description: Demilestoned Issue Event type: object @@ -74308,8 +74577,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 milestone: type: object properties: @@ -74328,7 +74597,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &521 + - &522 title: Renamed Issue Event description: Renamed Issue Event type: object @@ -74359,8 +74628,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 rename: type: object properties: @@ -74382,7 +74651,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &522 + - &523 title: Review Requested Issue Event description: Review Requested Issue Event type: object @@ -74413,10 +74682,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 review_requester: *19 - requested_team: *238 + requested_team: *243 requested_reviewer: *19 required: - review_requester @@ -74429,7 +74698,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &523 + - &524 title: Review Request Removed Issue Event description: Review Request Removed Issue Event type: object @@ -74460,10 +74729,10 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 review_requester: *19 - requested_team: *238 + requested_team: *243 requested_reviewer: *19 required: - review_requester @@ -74476,7 +74745,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &524 + - &525 title: Review Dismissed Issue Event description: Review Dismissed Issue Event type: object @@ -74507,8 +74776,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 dismissed_review: type: object properties: @@ -74536,7 +74805,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &525 + - &526 title: Locked Issue Event description: Locked Issue Event type: object @@ -74567,8 +74836,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 lock_reason: type: string example: '"off-topic"' @@ -74584,7 +74853,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &526 + - &527 title: Added to Project Issue Event description: Added to Project Issue Event type: object @@ -74615,8 +74884,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 project_card: type: object properties: @@ -74650,7 +74919,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &527 + - &528 title: Moved Column in Project Issue Event description: Moved Column in Project Issue Event type: object @@ -74681,8 +74950,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 project_card: type: object properties: @@ -74716,7 +74985,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &528 + - &529 title: Removed from Project Issue Event description: Removed from Project Issue Event type: object @@ -74747,8 +75016,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 project_card: type: object properties: @@ -74782,7 +75051,7 @@ paths: - commit_url - created_at - performed_via_github_app - - &529 + - &530 title: Converted Note to Issue Issue Event description: Converted Note to Issue Issue Event type: object @@ -74873,7 +75142,7 @@ paths: color: red headers: Link: *39 - '410': *335 + '410': *336 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74890,9 +75159,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-an-issue parameters: - - *324 - *325 - - *512 + - *326 + - *513 - *18 - *20 responses: @@ -74902,7 +75171,7 @@ paths: application/json: schema: type: array - items: &514 + items: &515 title: Label description: Color-coded labels help you categorize and filter your issues (just like labels in Gmail). @@ -74949,7 +75218,7 @@ paths: - color - default examples: - default: &515 + default: &516 value: - id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -74967,9 +75236,9 @@ paths: default: false headers: Link: *39 - '301': *338 + '301': *339 '404': *7 - '410': *335 + '410': *336 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -74986,9 +75255,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#add-labels-to-an-issue parameters: - - *324 - *325 - - *512 + - *326 + - *513 requestBody: required: false content: @@ -75047,12 +75316,12 @@ paths: application/json: schema: type: array - items: *514 + items: *515 examples: - default: *515 - '301': *338 + default: *516 + '301': *339 '404': *7 - '410': *335 + '410': *336 '422': *16 x-github: githubCloudOnly: false @@ -75069,9 +75338,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#set-labels-for-an-issue parameters: - - *324 - *325 - - *512 + - *326 + - *513 requestBody: required: false content: @@ -75131,12 +75400,12 @@ paths: application/json: schema: type: array - items: *514 + items: *515 examples: - default: *515 - '301': *338 + default: *516 + '301': *339 '404': *7 - '410': *335 + '410': *336 '422': *16 x-github: githubCloudOnly: false @@ -75153,15 +75422,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-all-labels-from-an-issue parameters: - - *324 - *325 - - *512 + - *326 + - *513 responses: '204': description: Response - '301': *338 + '301': *339 '404': *7 - '410': *335 + '410': *336 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75180,9 +75449,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#remove-a-label-from-an-issue parameters: - - *324 - *325 - - *512 + - *326 + - *513 - name: name in: path required: true @@ -75195,7 +75464,7 @@ paths: application/json: schema: type: array - items: *514 + items: *515 examples: default: value: @@ -75206,9 +75475,9 @@ paths: description: Something isn't working color: f29513 default: true - '301': *338 + '301': *339 '404': *7 - '410': *335 + '410': *336 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75228,9 +75497,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#lock-an-issue parameters: - - *324 - *325 - - *512 + - *326 + - *513 requestBody: required: false content: @@ -75258,7 +75527,7 @@ paths: '204': description: Response '403': *29 - '410': *335 + '410': *336 '404': *7 '422': *16 x-github: @@ -75276,9 +75545,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#unlock-an-issue parameters: - - *324 - *325 - - *512 + - *326 + - *513 responses: '204': description: Response @@ -75300,9 +75569,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-an-issue parameters: - - *324 - *325 - - *512 + - *326 + - *513 - 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. @@ -75328,13 +75597,13 @@ paths: application/json: schema: type: array - items: *313 + items: *314 examples: - default: *315 + default: *316 headers: Link: *39 '404': *7 - '410': *335 + '410': *336 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75352,9 +75621,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-an-issue parameters: - - *324 - *325 - - *512 + - *326 + - *513 requestBody: required: true content: @@ -75386,16 +75655,16 @@ paths: description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 '201': description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 '422': *16 x-github: githubCloudOnly: false @@ -75417,10 +75686,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-an-issue-reaction parameters: - - *324 - *325 - - *512 - - *316 + - *326 + - *513 + - *317 responses: '204': description: Response @@ -75449,9 +75718,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#remove-sub-issue parameters: - - *324 - *325 - - *512 + - *326 + - *513 requestBody: required: true content: @@ -75473,9 +75742,9 @@ paths: description: Response content: application/json: - schema: *118 + schema: *122 examples: - default: *511 + default: *512 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/1/sub-issue @@ -75508,9 +75777,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#list-sub-issues parameters: - - *324 - *325 - - *512 + - *326 + - *513 - *18 - *20 responses: @@ -75520,13 +75789,13 @@ paths: application/json: schema: type: array - items: *118 + items: *122 examples: - default: *516 + default: *517 headers: Link: *39 '404': *7 - '410': *335 + '410': *336 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -75554,9 +75823,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#add-sub-issue parameters: - - *324 - *325 - - *512 + - *326 + - *513 requestBody: required: true content: @@ -75582,16 +75851,16 @@ paths: description: Response content: application/json: - schema: *118 + schema: *122 examples: - default: *511 + default: *512 headers: Location: example: https://api.github.com/repos/octocat/Hello-World/issues/sub-issues/1 schema: type: string '403': *29 - '410': *335 + '410': *336 '422': *16 '404': *7 x-github: @@ -75611,9 +75880,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/sub-issues#reprioritize-sub-issue parameters: - - *324 - *325 - - *512 + - *326 + - *513 requestBody: required: true content: @@ -75644,13 +75913,13 @@ paths: description: Response content: application/json: - schema: *118 + schema: *122 examples: - default: *511 + default: *512 '403': *29 '404': *7 '422': *8 - '503': *96 + '503': *100 x-github: triggersNotification: true githubCloudOnly: false @@ -75668,9 +75937,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/timeline#list-timeline-events-for-an-issue parameters: - - *324 - *325 - - *512 + - *326 + - *513 - *18 - *20 responses: @@ -75685,7 +75954,6 @@ paths: description: Timeline Event type: object anyOf: - - *517 - *518 - *519 - *520 @@ -75698,6 +75966,7 @@ paths: - *527 - *528 - *529 + - *530 - title: Timeline Comment Event description: Timeline Comment Event type: object @@ -75740,7 +76009,7 @@ paths: issue_url: type: string format: uri - author_association: *105 + author_association: *109 performed_via_github_app: title: GitHub app description: GitHub apps are a new way to extend GitHub. They @@ -75750,9 +76019,9 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 - reactions: *106 + properties: *107 + required: *108 + reactions: *110 required: - event - actor @@ -75783,7 +76052,7 @@ paths: properties: type: type: string - issue: *118 + issue: *122 required: - event - created_at @@ -75978,7 +76247,7 @@ paths: type: string body_text: type: string - author_association: *105 + author_association: *109 required: - event - id @@ -76001,7 +76270,7 @@ paths: type: string comments: type: array - items: &550 + items: &551 title: Pull Request Review Comment description: Pull Request Review Comments are comments on a portion of the Pull Request's diff. @@ -76090,7 +76359,7 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *105 + author_association: *109 _links: type: object properties: @@ -76174,7 +76443,7 @@ paths: enum: - line - file - reactions: *106 + reactions: *110 body_html: type: string example: '"

comment body

"' @@ -76210,7 +76479,7 @@ paths: type: string comments: type: array - items: *439 + items: *440 - title: Timeline Assigned Issue Event description: Timeline Assigned Issue Event type: object @@ -76241,8 +76510,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 assignee: *19 required: - id @@ -76285,8 +76554,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 assignee: *19 required: - id @@ -76329,8 +76598,8 @@ paths: are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 state_reason: type: string nullable: true @@ -76499,7 +76768,7 @@ paths: headers: Link: *39 '404': *7 - '410': *335 + '410': *336 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -76516,8 +76785,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#list-deploy-keys parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -76527,7 +76796,7 @@ paths: application/json: schema: type: array - items: &530 + items: &531 title: Deploy Key description: An SSH key granting access to a single repository. type: object @@ -76592,8 +76861,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#create-a-deploy-key parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -76629,9 +76898,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *531 examples: - default: &531 + default: &532 value: id: 1 key: ssh-rsa AAA... @@ -76665,9 +76934,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key parameters: - - *324 - *325 - - &532 + - *326 + - &533 name: key_id description: The unique identifier of the key. in: path @@ -76679,9 +76948,9 @@ paths: description: Response content: application/json: - schema: *530 + schema: *531 examples: - default: *531 + default: *532 '404': *7 x-github: githubCloudOnly: false @@ -76699,9 +76968,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#delete-a-deploy-key parameters: - - *324 - *325 - - *532 + - *326 + - *533 responses: '204': description: Response @@ -76721,8 +76990,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#list-labels-for-a-repository parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -76732,9 +77001,9 @@ paths: application/json: schema: type: array - items: *514 + items: *515 examples: - default: *515 + default: *516 headers: Link: *39 '404': *7 @@ -76755,8 +77024,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#create-a-label parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -76792,9 +77061,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *515 examples: - default: &533 + default: &534 value: id: 208045946 node_id: MDU6TGFiZWwyMDgwNDU5NDY= @@ -76826,8 +77095,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#get-a-label parameters: - - *324 - *325 + - *326 - name: name in: path required: true @@ -76838,9 +77107,9 @@ paths: description: Response content: application/json: - schema: *514 + schema: *515 examples: - default: *533 + default: *534 '404': *7 x-github: githubCloudOnly: false @@ -76857,8 +77126,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#update-a-label parameters: - - *324 - *325 + - *326 - name: name in: path required: true @@ -76897,7 +77166,7 @@ paths: description: Response content: application/json: - schema: *514 + schema: *515 examples: default: value: @@ -76923,8 +77192,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/labels#delete-a-label parameters: - - *324 - *325 + - *326 - name: name in: path required: true @@ -76950,8 +77219,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-languages parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -76987,10 +77256,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#enable-git-lfs-for-a-repository parameters: - - *324 - *325 + - *326 responses: - '202': *147 + '202': *151 '403': description: |- We will return a 403 with one of the following messages: @@ -77016,8 +77285,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/lfs#disable-git-lfs-for-a-repository parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -77043,9 +77312,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/licenses/licenses#get-the-license-for-a-repository parameters: - - *324 - *325 - - *414 + - *326 + - *415 responses: '200': description: Response @@ -77107,8 +77376,8 @@ paths: title: License Simple description: License Simple type: object - properties: *119 - required: *120 + properties: *123 + required: *124 nullable: true required: - _links @@ -77190,8 +77459,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -77256,8 +77525,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/branches/branches#merge-a-branch parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -77291,9 +77560,9 @@ paths: description: Successful Response (The resulting merge commit) content: application/json: - schema: *440 + schema: *441 examples: - default: *534 + default: *535 '204': description: Response when already merged '404': @@ -77318,8 +77587,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#list-milestones parameters: - - *324 - *325 + - *326 - name: state description: The state of the milestone. Either `open`, `closed`, or `all`. in: query @@ -77360,12 +77629,12 @@ paths: application/json: schema: type: array - items: &535 + items: &536 title: Milestone description: A collection of related issues and pull requests. type: object - properties: *444 - required: *445 + properties: *445 + required: *446 examples: default: value: @@ -77421,8 +77690,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#create-a-milestone parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -77462,9 +77731,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *536 examples: - default: &536 + default: &537 value: url: https://api.github.com/repos/octocat/Hello-World/milestones/1 html_url: https://github.com/octocat/Hello-World/milestones/v1.0 @@ -77523,9 +77792,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#get-a-milestone parameters: - - *324 - *325 - - &537 + - *326 + - &538 name: milestone_number description: The number that identifies the milestone. in: path @@ -77537,9 +77806,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *536 examples: - default: *536 + default: *537 '404': *7 x-github: githubCloudOnly: false @@ -77556,9 +77825,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#update-a-milestone parameters: - - *324 - *325 - - *537 + - *326 + - *538 requestBody: required: false content: @@ -77596,9 +77865,9 @@ paths: description: Response content: application/json: - schema: *535 + schema: *536 examples: - default: *536 + default: *537 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -77614,9 +77883,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/issues/milestones#delete-a-milestone parameters: - - *324 - *325 - - *537 + - *326 + - *538 responses: '204': description: Response @@ -77637,9 +77906,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: - - *324 - *325 - - *537 + - *326 + - *538 - *18 - *20 responses: @@ -77649,9 +77918,9 @@ paths: application/json: schema: type: array - items: *514 + items: *515 examples: - default: *515 + default: *516 headers: Link: *39 x-github: @@ -77670,12 +77939,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: - - *324 - *325 - - *538 + - *326 - *539 - - *108 - *540 + - *112 + - *541 - *18 - *20 responses: @@ -77685,9 +77954,9 @@ paths: application/json: schema: type: array - items: *131 + items: *135 examples: - default: *541 + default: *542 headers: Link: *39 x-github: @@ -77711,8 +77980,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/notifications#mark-repository-notifications-as-read parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -77770,14 +78039,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-a-apiname-pages-site parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: &542 + schema: &543 title: GitHub Pages description: The configuration for GitHub Pages for a repository. type: object @@ -77902,7 +78171,7 @@ paths: - custom_404 - public examples: - default: &543 + default: &544 value: url: https://api.github.com/repos/github/developer.github.com/pages status: built @@ -77943,8 +78212,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-apiname-pages-site parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -77998,11 +78267,11 @@ paths: description: Response content: application/json: - schema: *542 + schema: *543 examples: - default: *543 + default: *544 '422': *16 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78023,8 +78292,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -78110,7 +78379,7 @@ paths: description: Response '422': *16 '400': *15 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78131,14 +78400,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#delete-a-apiname-pages-site parameters: - - *324 - *325 + - *326 responses: '204': description: Response '422': *16 '404': *7 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78158,8 +78427,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#list-apiname-pages-builds parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -78169,7 +78438,7 @@ paths: application/json: schema: type: array - items: &544 + items: &545 title: Page Build description: Page Build type: object @@ -78263,8 +78532,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#request-a-apiname-pages-build parameters: - - *324 - *325 + - *326 responses: '201': description: Response @@ -78309,16 +78578,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-latest-pages-build parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *544 + schema: *545 examples: - default: &545 + default: &546 value: url: https://api.github.com/repos/github/developer.github.com/pages/builds/5472601 status: built @@ -78366,8 +78635,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#get-apiname-pages-build parameters: - - *324 - *325 + - *326 - name: build_id in: path required: true @@ -78378,9 +78647,9 @@ paths: description: Response content: application/json: - schema: *544 + schema: *545 examples: - default: *545 + default: *546 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -78400,8 +78669,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#create-a-github-pages-deployment parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -78507,9 +78776,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: - - *324 - *325 - - &546 + - *326 + - &547 name: pages_deployment_id description: The ID of the Pages deployment. You can also give the commit SHA of the deployment. @@ -78567,11 +78836,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pages/pages#cancel-a-github-pages-deployment parameters: - - *324 - *325 - - *546 + - *326 + - *547 responses: - '204': *190 + '204': *192 '404': *7 x-github: githubCloudOnly: false @@ -78596,8 +78865,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: - - *324 - *325 + - *326 responses: '200': description: Response @@ -78828,7 +79097,7 @@ paths: description: Empty response content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -78855,8 +79124,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: - - *324 - *325 + - *326 responses: '200': description: Private vulnerability reporting status @@ -78893,10 +79162,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: - - *324 - *325 + - *326 responses: - '204': *190 + '204': *192 '422': *15 x-github: githubCloudOnly: false @@ -78915,10 +79184,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: - - *324 - *325 + - *326 responses: - '204': *190 + '204': *192 '422': *15 x-github: githubCloudOnly: false @@ -78939,8 +79208,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-repository-projects parameters: - - *324 - *325 + - *326 - name: state description: Indicates the state of the projects to return. in: query @@ -78961,7 +79230,7 @@ paths: application/json: schema: type: array - items: *267 + items: *272 examples: default: value: @@ -79001,7 +79270,7 @@ paths: '401': *25 '403': *29 '404': *7 - '410': *335 + '410': *336 '422': *8 x-github: githubCloudOnly: false @@ -79021,8 +79290,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#create-a-repository-project parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -79048,13 +79317,13 @@ paths: description: Response content: application/json: - schema: *267 + schema: *272 examples: - default: *334 + default: *335 '401': *25 '403': *29 '404': *7 - '410': *335 + '410': *336 '422': *8 x-github: githubCloudOnly: false @@ -79074,8 +79343,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: - - *324 - *325 + - *326 responses: '200': description: Response @@ -79083,7 +79352,7 @@ paths: application/json: schema: type: array - items: *272 + items: *273 examples: default: value: @@ -79114,8 +79383,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -79127,7 +79396,7 @@ paths: type: array description: A list of custom property names and associated values to apply to the repositories. - items: *272 + items: *273 required: - properties examples: @@ -79177,8 +79446,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests parameters: - - *324 - *325 + - *326 - name: state description: Either `open`, `closed`, or `all` to filter by state. in: query @@ -79238,9 +79507,9 @@ paths: application/json: schema: type: array - items: *547 + items: *548 examples: - default: *548 + default: *549 headers: Link: *39 '304': *37 @@ -79272,8 +79541,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#create-a-pull-request parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -79338,7 +79607,7 @@ paths: description: Response content: application/json: - schema: &552 + schema: &553 type: object title: Pull Request description: Pull requests let you tell others about changes you've @@ -79449,8 +79718,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *444 - required: *445 + properties: *445 + required: *446 nullable: true active_lock_reason: type: string @@ -79495,7 +79764,7 @@ paths: nullable: true requested_teams: type: array - items: *296 + items: *297 nullable: true head: type: object @@ -79534,14 +79803,14 @@ paths: _links: type: object properties: - comments: *446 - commits: *446 - statuses: *446 - html: *446 - issue: *446 - review_comments: *446 - review_comment: *446 - self: *446 + comments: *447 + commits: *447 + statuses: *447 + html: *447 + issue: *447 + review_comments: *447 + review_comment: *447 + self: *447 required: - comments - commits @@ -79551,8 +79820,8 @@ paths: - review_comments - review_comment - self - author_association: *105 - auto_merge: *549 + author_association: *109 + auto_merge: *550 draft: description: Indicates whether or not the pull request is a draft. example: false @@ -79644,7 +79913,7 @@ paths: - merged_by - review_comments examples: - default: &553 + default: &554 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/1347 id: 1 @@ -80171,8 +80440,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/comments#list-review-comments-in-a-repository parameters: - - *324 - *325 + - *326 - name: sort in: query required: false @@ -80191,7 +80460,7 @@ paths: enum: - asc - desc - - *108 + - *112 - *18 - *20 responses: @@ -80201,9 +80470,9 @@ paths: application/json: schema: type: array - items: *550 + items: *551 examples: - default: &555 + default: &556 value: - url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -80280,17 +80549,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: - - *324 - *325 - - *117 + - *326 + - *121 responses: '200': description: Response content: application/json: - schema: *550 + schema: *551 examples: - default: &551 + default: &552 value: url: https://api.github.com/repos/octocat/Hello-World/pulls/comments/1 pull_request_review_id: 42 @@ -80365,9 +80634,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: - - *324 - *325 - - *117 + - *326 + - *121 requestBody: required: true content: @@ -80389,9 +80658,9 @@ paths: description: Response content: application/json: - schema: *550 + schema: *551 examples: - default: *551 + default: *552 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80407,9 +80676,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: - - *324 - *325 - - *117 + - *326 + - *121 responses: '204': description: Response @@ -80430,9 +80699,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: - - *324 - *325 - - *117 + - *326 + - *121 - 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. @@ -80458,9 +80727,9 @@ paths: application/json: schema: type: array - items: *313 + items: *314 examples: - default: *315 + default: *316 headers: Link: *39 '404': *7 @@ -80481,9 +80750,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: - - *324 - *325 - - *117 + - *326 + - *121 requestBody: required: true content: @@ -80515,16 +80784,16 @@ paths: description: Reaction exists content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 '201': description: Reaction created content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 '422': *16 x-github: githubCloudOnly: false @@ -80546,10 +80815,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-pull-request-comment-reaction parameters: - - *324 - *325 - - *117 - - *316 + - *326 + - *121 + - *317 responses: '204': description: Response @@ -80592,9 +80861,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#get-a-pull-request parameters: - - *324 - *325 - - &554 + - *326 + - &555 name: pull_number description: The number that identifies the pull request. in: path @@ -80607,9 +80876,9 @@ paths: to fetch diff and patch formats. content: application/json: - schema: *552 + schema: *553 examples: - default: *553 + default: *554 '304': *37 '404': *7 '406': @@ -80618,7 +80887,7 @@ paths: application/json: schema: *3 '500': *84 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -80644,9 +80913,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request parameters: - - *324 - *325 - - *554 + - *326 + - *555 requestBody: required: false content: @@ -80688,9 +80957,9 @@ paths: description: Response content: application/json: - schema: *552 + schema: *553 examples: - default: *553 + default: *554 '422': *16 '403': *29 x-github: @@ -80712,9 +80981,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: - - *324 - *325 - - *554 + - *326 + - *555 requestBody: required: true content: @@ -80774,21 +81043,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *242 + schema: *247 examples: - default: *429 + default: *430 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *242 + schema: *247 examples: - default: *429 + default: *430 '401': *25 '403': *29 '404': *7 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -80814,10 +81083,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: - - *324 - *325 - - *554 - - *128 + - *326 + - *555 + - *132 - name: direction description: The direction to sort results. Ignored without `sort` parameter. in: query @@ -80827,7 +81096,7 @@ paths: enum: - asc - desc - - *108 + - *112 - *18 - *20 responses: @@ -80837,9 +81106,9 @@ paths: application/json: schema: type: array - items: *550 + items: *551 examples: - default: *555 + default: *556 headers: Link: *39 x-github: @@ -80872,9 +81141,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: - - *324 - *325 - - *554 + - *326 + - *555 requestBody: required: true content: @@ -80979,7 +81248,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *551 examples: example-for-a-multi-line-comment: value: @@ -81067,10 +81336,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: - - *324 - *325 - - *554 - - *117 + - *326 + - *555 + - *121 requestBody: required: true content: @@ -81092,7 +81361,7 @@ paths: description: Response content: application/json: - schema: *550 + schema: *551 examples: default: value: @@ -81178,9 +81447,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-commits-on-a-pull-request parameters: - - *324 - *325 - - *554 + - *326 + - *555 - *18 - *20 responses: @@ -81190,9 +81459,9 @@ paths: application/json: schema: type: array - items: *440 + items: *441 examples: - default: *556 + default: *557 headers: Link: *39 x-github: @@ -81222,9 +81491,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#list-pull-requests-files parameters: - - *324 - *325 - - *554 + - *326 + - *555 - *18 - *20 responses: @@ -81234,7 +81503,7 @@ paths: application/json: schema: type: array - items: *455 + items: *456 examples: default: value: @@ -81253,7 +81522,7 @@ paths: Link: *39 '422': *16 '500': *84 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -81272,9 +81541,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: - - *324 - *325 - - *554 + - *326 + - *555 responses: '204': description: Response if pull request has been merged @@ -81297,9 +81566,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#merge-a-pull-request parameters: - - *324 - *325 - - *554 + - *326 + - *555 requestBody: required: false content: @@ -81410,9 +81679,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: - - *324 - *325 - - *554 + - *326 + - *555 responses: '200': description: Response @@ -81428,7 +81697,7 @@ paths: items: *19 teams: type: array - items: *238 + items: *243 required: - users - teams @@ -81487,9 +81756,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: - - *324 - *325 - - *554 + - *326 + - *555 requestBody: required: false content: @@ -81526,7 +81795,7 @@ paths: description: Response content: application/json: - schema: *547 + schema: *548 examples: default: value: @@ -82062,9 +82331,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: - - *324 - *325 - - *554 + - *326 + - *555 requestBody: required: true content: @@ -82098,7 +82367,7 @@ paths: description: Response content: application/json: - schema: *547 + schema: *548 examples: default: value: @@ -82603,9 +82872,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/reviews#list-reviews-for-a-pull-request parameters: - - *324 - *325 - - *554 + - *326 + - *555 - *18 - *20 responses: @@ -82615,7 +82884,7 @@ paths: application/json: schema: type: array - items: &557 + items: &558 title: Pull Request Review description: Pull Request Reviews are reviews on pull requests. type: object @@ -82684,7 +82953,7 @@ paths: type: string body_text: type: string - author_association: *105 + author_association: *109 required: - id - node_id @@ -82766,9 +83035,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: - - *324 - *325 - - *554 + - *326 + - *555 requestBody: required: false content: @@ -82854,9 +83123,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *558 examples: - default: &559 + default: &560 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -82919,10 +83188,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: - - *324 - *325 - - *554 - - &558 + - *326 + - *555 + - &559 name: review_id description: The unique identifier of the review. in: path @@ -82934,9 +83203,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *558 examples: - default: &560 + default: &561 value: id: 80 node_id: MDE3OlB1bGxSZXF1ZXN0UmV2aWV3ODA= @@ -82995,10 +83264,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: - - *324 - *325 - - *554 - - *558 + - *326 + - *555 + - *559 requestBody: required: true content: @@ -83021,7 +83290,7 @@ paths: description: Response content: application/json: - schema: *557 + schema: *558 examples: default: value: @@ -83083,18 +83352,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: - - *324 - *325 - - *554 - - *558 + - *326 + - *555 + - *559 responses: '200': description: Response content: application/json: - schema: *557 + schema: *558 examples: - default: *559 + default: *560 '422': *8 '404': *7 x-github: @@ -83121,10 +83390,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: - - *324 - *325 - - *554 - - *558 + - *326 + - *555 + - *559 - *18 - *20 responses: @@ -83203,13 +83472,13 @@ paths: type: string format: uri example: https://api.github.com/repos/octocat/Hello-World/pulls/1 - author_association: *105 + author_association: *109 _links: type: object properties: - self: *446 - html: *446 - pull_request: *446 + self: *447 + html: *447 + pull_request: *447 required: - self - html @@ -83218,7 +83487,7 @@ paths: type: string body_html: type: string - reactions: *106 + reactions: *110 side: description: The side of the first line of the range for a multi-line comment. @@ -83352,10 +83621,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: - - *324 - *325 - - *554 - - *558 + - *326 + - *555 + - *559 requestBody: required: true content: @@ -83383,7 +83652,7 @@ paths: description: Response content: application/json: - schema: *557 + schema: *558 examples: default: value: @@ -83446,10 +83715,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: - - *324 - *325 - - *554 - - *558 + - *326 + - *555 + - *559 requestBody: required: true content: @@ -83484,9 +83753,9 @@ paths: description: Response content: application/json: - schema: *557 + schema: *558 examples: - default: *560 + default: *561 '404': *7 '422': *8 '403': *29 @@ -83508,9 +83777,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/pulls/pulls#update-a-pull-request-branch parameters: - - *324 - *325 - - *554 + - *326 + - *555 requestBody: required: false content: @@ -83573,8 +83842,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#get-a-repository-readme parameters: - - *324 - *325 + - *326 - name: ref description: 'The name of the commit/branch/tag. Default: the repository’s default branch.' @@ -83587,9 +83856,9 @@ paths: description: Response content: application/json: - schema: *561 + schema: *562 examples: - default: &562 + default: &563 value: type: file encoding: base64 @@ -83631,8 +83900,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: - - *324 - *325 + - *326 - name: dir description: The alternate path to look for a README file in: path @@ -83652,9 +83921,9 @@ paths: description: Response content: application/json: - schema: *561 + schema: *562 examples: - default: *562 + default: *563 '404': *7 '422': *16 x-github: @@ -83676,8 +83945,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#list-releases parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -83687,7 +83956,7 @@ paths: application/json: schema: type: array - items: &563 + items: &564 title: Release description: A release. type: object @@ -83750,7 +84019,7 @@ paths: author: *19 assets: type: array - items: &564 + items: &565 title: Release Asset description: Data related to a release. type: object @@ -83821,7 +84090,7 @@ paths: description: The URL of the release discussion. type: string format: uri - reactions: *106 + reactions: *110 required: - assets_url - upload_url @@ -83931,8 +84200,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#create-a-release parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -84008,9 +84277,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: &567 + default: &568 value: url: https://api.github.com/repos/octocat/Hello-World/releases/1 html_url: https://github.com/octocat/Hello-World/releases/v1.0.0 @@ -84113,9 +84382,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#get-a-release-asset parameters: - - *324 - *325 - - &565 + - *326 + - &566 name: asset_id description: The unique identifier of the asset. in: path @@ -84127,9 +84396,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *565 examples: - default: &566 + default: &567 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 @@ -84163,7 +84432,7 @@ paths: type: User site_admin: false '404': *7 - '302': *457 + '302': *458 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84179,9 +84448,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#update-a-release-asset parameters: - - *324 - *325 - - *565 + - *326 + - *566 requestBody: required: false content: @@ -84209,9 +84478,9 @@ paths: description: Response content: application/json: - schema: *564 + schema: *565 examples: - default: *566 + default: *567 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84227,9 +84496,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#delete-a-release-asset parameters: - - *324 - *325 - - *565 + - *326 + - *566 responses: '204': description: Response @@ -84253,8 +84522,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -84339,16 +84608,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-the-latest-release parameters: - - *324 - *325 + - *326 responses: '200': description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: *567 + default: *568 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -84365,8 +84634,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release-by-tag-name parameters: - - *324 - *325 + - *326 - name: tag description: tag parameter in: path @@ -84379,9 +84648,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: *567 + default: *568 '404': *7 x-github: githubCloudOnly: false @@ -84403,9 +84672,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#get-a-release parameters: - - *324 - *325 - - &568 + - *326 + - &569 name: release_id description: The unique identifier of the release. in: path @@ -84419,9 +84688,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: *563 + schema: *564 examples: - default: *567 + default: *568 '401': description: Unauthorized x-github: @@ -84439,9 +84708,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#update-a-release parameters: - - *324 - *325 - - *568 + - *326 + - *569 requestBody: required: false content: @@ -84505,9 +84774,9 @@ paths: description: Response content: application/json: - schema: *563 + schema: *564 examples: - default: *567 + default: *568 '404': description: Not Found if the discussion category name is invalid content: @@ -84528,9 +84797,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/releases#delete-a-release parameters: - - *324 - *325 - - *568 + - *326 + - *569 responses: '204': description: Response @@ -84550,9 +84819,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/releases/assets#list-release-assets parameters: - - *324 - *325 - - *568 + - *326 + - *569 - *18 - *20 responses: @@ -84562,7 +84831,7 @@ paths: application/json: schema: type: array - items: *564 + items: *565 examples: default: value: @@ -84643,9 +84912,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: - - *324 - *325 - - *568 + - *326 + - *569 - name: name in: query required: true @@ -84671,7 +84940,7 @@ paths: description: Response for successful upload content: application/json: - schema: *564 + schema: *565 examples: response-for-successful-upload: value: @@ -84725,9 +84994,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#list-reactions-for-a-release parameters: - - *324 - *325 - - *568 + - *326 + - *569 - 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. @@ -84751,9 +85020,9 @@ paths: application/json: schema: type: array - items: *313 + items: *314 examples: - default: *315 + default: *316 headers: Link: *39 '404': *7 @@ -84774,9 +85043,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#create-reaction-for-a-release parameters: - - *324 - *325 - - *568 + - *326 + - *569 requestBody: required: true content: @@ -84806,16 +85075,16 @@ paths: description: Reaction exists content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 '201': description: Reaction created content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 '422': *16 x-github: githubCloudOnly: false @@ -84837,10 +85106,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/reactions/reactions#delete-a-release-reaction parameters: - - *324 - *325 - - *568 - - *316 + - *326 + - *569 + - *317 responses: '204': description: Response @@ -84864,9 +85133,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rules#get-rules-for-a-branch parameters: - - *324 - *325 - - *383 + - *326 + - *384 - *18 - *20 responses: @@ -84882,8 +85151,8 @@ paths: description: A repository rule with ruleset details. oneOf: - allOf: - - *569 - - &571 + - *570 + - &572 title: repository ruleset data for rule description: User-defined metadata to store domain-specific information limited to 8 keys with scalar values. @@ -84903,53 +85172,53 @@ paths: type: integer description: The ID of the ruleset that includes this rule. - allOf: - - *570 - *571 - - allOf: - *572 - - *571 - allOf: - *573 - - *571 + - *572 - allOf: - *574 - - *571 + - *572 - allOf: - *575 - - *571 + - *572 - allOf: - *576 - - *571 + - *572 - allOf: - *577 - - *571 + - *572 - allOf: - *578 - - *571 + - *572 - allOf: - *579 - - *571 + - *572 - allOf: - *580 - - *571 + - *572 - allOf: - *581 - - *571 + - *572 - allOf: - *582 - - *571 + - *572 - allOf: - *583 - - *571 + - *572 - allOf: - *584 - - *571 + - *572 - allOf: - *585 - - *571 + - *572 - allOf: - *586 - - *571 + - *572 + - allOf: + - *587 + - *572 examples: default: value: @@ -84988,8 +85257,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 - *18 - *20 - name: includes_parents @@ -85000,7 +85269,7 @@ paths: schema: type: boolean default: true - - *587 + - *588 responses: '200': description: Response @@ -85008,7 +85277,7 @@ paths: application/json: schema: type: array - items: *284 + items: *285 examples: default: value: @@ -85055,8 +85324,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 requestBody: description: Request body required: true @@ -85076,16 +85345,16 @@ paths: - tag - push default: branch - enforcement: *280 + enforcement: *281 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *281 - conditions: *278 + items: *282 + conditions: *279 rules: type: array description: An array of rules within the ruleset. - items: *283 + items: *284 required: - name - enforcement @@ -85116,9 +85385,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *285 examples: - default: &597 + default: &598 value: id: 42 name: super cool ruleset @@ -85165,12 +85434,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#list-repository-rule-suites parameters: - - *324 - *325 - - *588 + - *326 - *589 - *590 - *591 + - *592 - *18 - *20 responses: @@ -85178,9 +85447,9 @@ paths: description: Response content: application/json: - schema: *592 + schema: *593 examples: - default: *593 + default: *594 '404': *7 '500': *84 x-github: @@ -85201,17 +85470,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/rule-suites#get-a-repository-rule-suite parameters: - - *324 - *325 - - *594 + - *326 + - *595 responses: '200': description: Response content: application/json: - schema: *595 + schema: *596 examples: - default: *596 + default: *597 '404': *7 '500': *84 x-github: @@ -85239,8 +85508,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -85260,9 +85529,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *285 examples: - default: *597 + default: *598 '404': *7 '500': *84 put: @@ -85280,8 +85549,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -85306,16 +85575,16 @@ paths: - branch - tag - push - enforcement: *280 + enforcement: *281 bypass_actors: type: array description: The actors that can bypass the rules in this ruleset - items: *281 - conditions: *278 + items: *282 + conditions: *279 rules: description: An array of rules within the ruleset. type: array - items: *283 + items: *284 examples: default: value: @@ -85343,9 +85612,9 @@ paths: description: Response content: application/json: - schema: *284 + schema: *285 examples: - default: *597 + default: *598 '404': *7 '500': *84 delete: @@ -85363,8 +85632,8 @@ paths: category: repos subcategory: rules parameters: - - *324 - *325 + - *326 - name: ruleset_id description: The ID of the ruleset. in: path @@ -85392,20 +85661,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: - - *324 - *325 - - *286 + - *326 - *287 - *288 - *289 + - *290 - *78 - *20 - *18 - - *598 - *599 - - *290 + - *600 - *291 - *292 + - *293 responses: '200': description: Response @@ -85413,7 +85682,7 @@ paths: application/json: schema: type: array - items: &602 + items: &603 type: object properties: number: *85 @@ -85432,8 +85701,8 @@ paths: format: uri description: The REST API URL of the code locations for this alert. - state: *600 - resolution: *601 + state: *601 + resolution: *602 resolved_at: type: string format: date-time @@ -85617,7 +85886,7 @@ paths: '404': description: Repository is public or secret scanning is disabled for the repository - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85639,15 +85908,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: - - *324 - *325 - - *412 + - *326 + - *413 responses: '200': description: Response content: application/json: - schema: *602 + schema: *603 examples: default: value: @@ -85677,7 +85946,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -85698,9 +85967,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: - - *324 - *325 - - *412 + - *326 + - *413 requestBody: required: true content: @@ -85708,8 +85977,8 @@ paths: schema: type: object properties: - state: *600 - resolution: *601 + state: *601 + resolution: *602 resolution_comment: description: An optional comment when closing an alert. Cannot be updated or deleted. Must be `null` when changing `state` to `open`. @@ -85727,7 +85996,7 @@ paths: description: Response content: application/json: - schema: *602 + schema: *603 examples: default: value: @@ -85779,7 +86048,7 @@ paths: repository, or the resource is not found '422': description: State does not match the resolution or resolution comment - '503': *96 + '503': *100 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -85801,9 +86070,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: - - *324 - *325 - - *412 + - *326 + - *413 - *20 - *18 responses: @@ -85814,7 +86083,7 @@ paths: schema: type: array description: List of locations where the secret was detected - items: &762 + items: &763 type: object properties: type: @@ -86151,7 +86420,7 @@ paths: '404': description: Repository is public, or secret scanning is disabled for the repository, or the resource is not found - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -86173,8 +86442,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -86182,14 +86451,14 @@ paths: schema: type: object properties: - reason: &604 + reason: &605 description: The reason for bypassing push protection. type: string enum: - false_positive - used_in_tests - will_fix_later - placeholder_id: *603 + placeholder_id: *604 required: - reason - placeholder_id @@ -86206,7 +86475,7 @@ paths: schema: type: object properties: - reason: *604 + reason: *605 expire_at: type: string format: date-time @@ -86229,7 +86498,7 @@ paths: this repository. '422': description: Bad request, input data missing or incorrect. - '503': *96 + '503': *100 x-github: enabledForGitHubApps: true githubCloudOnly: false @@ -86249,13 +86518,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: - - *324 - *325 + - *326 responses: '404': description: Repository does not have GitHub Advanced Security or secret scanning enabled - '503': *96 + '503': *100 '200': description: Response content: @@ -86265,7 +86534,7 @@ paths: properties: incremental_scans: type: array - items: &605 + items: &606 description: Information on a single scan performed by secret scanning on the repository type: object @@ -86275,29 +86544,31 @@ 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 format: date-time description: The time that the scan was completed. Empty - if the scan is active + if the scan is running nullable: true started_at: type: string 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 + nullable: true pattern_update_scans: type: array - items: *605 + items: *606 backfill_scans: type: array - items: *605 + items: *606 custom_pattern_backfill_scans: type: array items: allOf: - - *605 + - *606 - type: object properties: pattern_name: @@ -86367,8 +86638,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/security-advisories/repository-advisories#list-repository-security-advisories parameters: - - *324 - *325 + - *326 - *78 - name: sort description: The property to sort the results by. @@ -86412,9 +86683,9 @@ paths: application/json: schema: type: array - items: *606 + items: *607 examples: - default: *607 + default: *608 '400': *15 '404': *7 x-github: @@ -86437,8 +86708,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -86511,7 +86782,7 @@ paths: login: type: string description: The username of the user credited. - type: *295 + type: *296 required: - login - type @@ -86598,9 +86869,9 @@ paths: description: Response content: application/json: - schema: *606 + schema: *607 examples: - default: &609 + default: &610 value: ghsa_id: GHSA-abcd-1234-efgh cve_id: CVE-2050-00000 @@ -86833,8 +87104,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -86938,7 +87209,7 @@ paths: description: Response content: application/json: - schema: *606 + schema: *607 examples: default: value: @@ -87085,17 +87356,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: - - *324 - *325 - - *608 + - *326 + - *609 responses: '200': description: Response content: application/json: - schema: *606 + schema: *607 examples: - default: *609 + default: *610 '403': *29 '404': *7 x-github: @@ -87119,9 +87390,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: - - *324 - *325 - - *608 + - *326 + - *609 requestBody: required: true content: @@ -87194,7 +87465,7 @@ paths: login: type: string description: The username of the user credited. - type: *295 + type: *296 required: - login - type @@ -87280,17 +87551,17 @@ paths: description: Response content: application/json: - schema: *606 + schema: *607 examples: - default: *609 - add_credit: *609 + default: *610 + add_credit: *610 '403': *29 '404': *7 '422': description: Validation failed, or the endpoint has been spammed. content: application/json: - schema: *144 + schema: *148 examples: invalid_state_transition: value: @@ -87321,11 +87592,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: - - *324 - *325 - - *608 + - *326 + - *609 responses: - '202': *147 + '202': *151 '400': *15 '403': *29 '404': *7 @@ -87350,17 +87621,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: - - *324 - *325 - - *608 + - *326 + - *609 responses: '202': description: Response content: application/json: - schema: *337 + schema: *338 examples: - default: *339 + default: *340 '400': *15 '422': *16 '403': *29 @@ -87386,8 +87657,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-stargazers parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -87486,8 +87757,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-activity parameters: - - *324 - *325 + - *326 responses: '200': description: Returns a weekly aggregate of the number of additions and deletions @@ -87496,7 +87767,7 @@ paths: application/json: schema: type: array - items: &610 + items: &611 title: Code Frequency Stat description: Code Frequency Stat type: array @@ -87508,8 +87779,8 @@ paths: - - 1302998400 - 1124 - -435 - '202': *147 - '204': *190 + '202': *151 + '204': *192 '422': description: Repository contains more than 10,000 commits x-github: @@ -87529,8 +87800,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: - - *324 - *325 + - *326 responses: '200': description: Response @@ -87578,8 +87849,8 @@ paths: - 0 total: 89 week: 1336280400 - '202': *147 - '204': *190 + '202': *151 + '204': *192 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87606,8 +87877,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-all-contributor-commit-activity parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -87680,8 +87951,8 @@ paths: a: 6898 d: 77 c: 10 - '202': *147 - '204': *190 + '202': *151 + '204': *192 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87703,8 +87974,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/statistics#get-the-weekly-commit-count parameters: - - *324 - *325 + - *326 responses: '200': description: The array order is oldest week (index 0) to most recent week. @@ -87858,8 +88129,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: - - *324 - *325 + - *326 responses: '200': description: For example, `[2, 14, 25]` indicates that there were 25 total @@ -87869,7 +88140,7 @@ paths: application/json: schema: type: array - items: *610 + items: *611 examples: default: value: @@ -87882,7 +88153,7 @@ paths: - - 0 - 2 - 21 - '204': *190 + '204': *192 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -87902,8 +88173,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/commits/statuses#create-a-commit-status parameters: - - *324 - *325 + - *326 - name: sha in: path required: true @@ -87957,7 +88228,7 @@ paths: description: Response content: application/json: - schema: *611 + schema: *612 examples: default: value: @@ -88011,8 +88282,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-watchers parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -88024,7 +88295,7 @@ paths: type: array items: *19 examples: - default: *241 + default: *246 headers: Link: *39 x-github: @@ -88044,14 +88315,14 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#get-a-repository-subscription parameters: - - *324 - *325 + - *326 responses: '200': description: if you subscribe to the repository content: application/json: - schema: &612 + schema: &613 title: Repository Invitation description: Repository invitations let you manage who you collaborate with. @@ -88119,8 +88390,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#set-a-repository-subscription parameters: - - *324 - *325 + - *326 requestBody: required: false content: @@ -88146,7 +88417,7 @@ paths: description: Response content: application/json: - schema: *612 + schema: *613 examples: default: value: @@ -88173,8 +88444,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#delete-a-repository-subscription parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -88194,8 +88465,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-tags parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -88274,8 +88545,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: - - *324 - *325 + - *326 responses: '200': description: Response @@ -88283,7 +88554,7 @@ paths: application/json: schema: type: array - items: &613 + items: &614 title: Tag protection description: Tag protection type: object @@ -88335,8 +88606,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: - - *324 - *325 + - *326 requestBody: required: true content: @@ -88359,7 +88630,7 @@ paths: description: Response content: application/json: - schema: *613 + schema: *614 examples: default: value: @@ -88390,8 +88661,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: - - *324 - *325 + - *326 - name: tag_protection_id description: The unique identifier of the tag protection. in: path @@ -88428,8 +88699,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-tar operationId: repos/download-tarball-archive parameters: - - *324 - *325 + - *326 - name: ref in: path required: true @@ -88465,8 +88736,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repository-teams parameters: - - *324 - *325 + - *326 - *18 - *20 responses: @@ -88476,9 +88747,9 @@ paths: application/json: schema: type: array - items: *238 + items: *243 examples: - default: *253 + default: *258 headers: Link: *39 '404': *7 @@ -88498,8 +88769,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-all-repository-topics parameters: - - *324 - *325 + - *326 - *20 - *18 responses: @@ -88507,7 +88778,7 @@ paths: description: Response content: application/json: - schema: &614 + schema: &615 title: Topic description: A topic aggregates entities that are related to a subject. type: object @@ -88519,7 +88790,7 @@ paths: required: - names examples: - default: &615 + default: &616 value: names: - octocat @@ -88542,8 +88813,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#replace-all-repository-topics parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -88574,9 +88845,9 @@ paths: description: Response content: application/json: - schema: *614 + schema: *615 examples: - default: *615 + default: *616 '404': *7 '422': *8 x-github: @@ -88597,9 +88868,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-repository-clones parameters: - - *324 - *325 - - &616 + - *326 + - &617 name: per description: The time frame to display results for. in: query @@ -88628,7 +88899,7 @@ paths: example: 128 clones: type: array - items: &617 + items: &618 title: Traffic type: object properties: @@ -88715,8 +88986,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-paths parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -88806,8 +89077,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-top-referral-sources parameters: - - *324 - *325 + - *326 responses: '200': description: Response @@ -88867,9 +89138,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/metrics/traffic#get-page-views parameters: - - *324 - *325 - - *616 + - *326 + - *617 responses: '200': description: Response @@ -88888,7 +89159,7 @@ paths: example: 3782 views: type: array - items: *617 + items: *618 required: - uniques - count @@ -88965,8 +89236,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#transfer-a-repository parameters: - - *324 - *325 + - *326 requestBody: required: true content: @@ -89002,7 +89273,7 @@ paths: description: Response content: application/json: - schema: *159 + schema: *163 examples: default: value: @@ -89240,8 +89511,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: - - *324 - *325 + - *326 responses: '204': description: Response if repository is enabled with vulnerability alerts @@ -89264,8 +89535,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#enable-vulnerability-alerts parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -89287,8 +89558,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#disable-vulnerability-alerts parameters: - - *324 - *325 + - *326 responses: '204': description: Response @@ -89314,8 +89585,8 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/repos/contents#download-a-repository-archive-zip operationId: repos/download-zipball-archive parameters: - - *324 - *325 + - *326 - name: ref in: path required: true @@ -89407,9 +89678,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *338 examples: - default: *339 + default: *340 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -89450,7 +89721,7 @@ paths: application/json: schema: type: array - items: *159 + items: *163 examples: default: value: @@ -89560,7 +89831,7 @@ paths: value: Engineering externalId: value: 8aa1a0c0-c4c3-4bc0-b4a5-2ef676900159 - - &625 + - &626 name: excludedAttributes description: Excludes the specified attribute from being returned in the results. Using this parameter can speed up response time. @@ -89569,7 +89840,7 @@ paths: schema: type: string example: members - - &630 + - &631 name: startIndex description: 'Used for pagination: the starting index of the first result to return when paginating through values.' @@ -89580,7 +89851,7 @@ paths: default: 1 format: int32 example: 1 - - &631 + - &632 name: count description: 'Used for pagination: the number of results to return per page.' in: query @@ -89622,7 +89893,7 @@ paths: Resources: type: array description: Information about each provisioned group. - items: &619 + items: &620 allOf: - type: object required: @@ -89697,7 +89968,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: &632 + meta: &633 type: object description: The metadata associated with the creation/updates to the user. @@ -89757,31 +90028,31 @@ paths: location: https://api.github.localhost/scim/v2/Groups/24b28bbb-5fc4-4686-a153-a020debb1155 startIndex: 1 itemsPerPage: 20 - '400': &620 + '400': &621 description: Bad request content: application/json: - schema: *618 + schema: *619 application/scim+json: - schema: *618 - '401': &621 + schema: *619 + '401': &622 description: Authorization failure - '403': &622 + '403': &623 description: Permission denied - '429': &623 + '429': &624 description: Too many requests content: application/json: - schema: *618 + schema: *619 application/scim+json: - schema: *618 - '500': &624 + schema: *619 + '500': &625 description: Internal server error content: application/json: - schema: *618 + schema: *619 application/scim+json: - schema: *618 + schema: *619 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89805,7 +90076,7 @@ paths: required: true content: application/json: - schema: &628 + schema: &629 type: object required: - schemas @@ -89861,9 +90132,9 @@ paths: description: Group has been created content: application/scim+json: - schema: *619 + schema: *620 examples: - group: &626 + group: &627 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:Group @@ -89882,13 +90153,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': *620 - '401': *621 - '403': *622 - '409': &629 + '400': *621 + '401': *622 + '403': *623 + '409': &630 description: Duplicate record detected - '429': *623 - '500': *624 + '429': *624 + '500': *625 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89905,7 +90176,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: - - &627 + - &628 name: scim_group_id description: A unique identifier of the SCIM group. in: path @@ -89913,22 +90184,22 @@ paths: schema: type: string example: 7fce0092-d52e-4f76-b727-3955bd72c939 - - *625 + - *626 - *40 responses: '200': description: Success, a group was found content: application/scim+json: - schema: *619 + schema: *620 examples: - default: *626 - '400': *620 - '401': *621 - '403': *622 + default: *627 + '400': *621 + '401': *622 + '403': *623 '404': *7 - '429': *623 - '500': *624 + '429': *624 + '500': *625 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -89947,13 +90218,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: - - *627 + - *628 - *40 requestBody: required: true content: application/json: - schema: *628 + schema: *629 examples: group: summary: Group @@ -89979,17 +90250,17 @@ paths: description: Group was updated content: application/scim+json: - schema: *619 + schema: *620 examples: - group: *626 - groupWithMembers: *626 - '400': *620 - '401': *621 - '403': *622 + group: *627 + groupWithMembers: *627 + '400': *621 + '401': *622 + '403': *623 '404': *7 - '409': *629 - '429': *623 - '500': *624 + '409': *630 + '429': *624 + '500': *625 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90013,13 +90284,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: - - *627 + - *628 - *40 requestBody: required: true content: application/json: - schema: &639 + schema: &640 type: object required: - Operations @@ -90079,17 +90350,17 @@ paths: description: Success, group was updated content: application/scim+json: - schema: *619 + schema: *620 examples: - updateGroup: *626 - addMembers: *626 - '400': *620 - '401': *621 - '403': *622 + updateGroup: *627 + addMembers: *627 + '400': *621 + '401': *622 + '403': *623 '404': *7 - '409': *629 - '429': *623 - '500': *624 + '409': *630 + '429': *624 + '500': *625 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90105,17 +90376,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: - - *627 + - *628 - *40 responses: '204': description: Group was deleted, no content - '400': *620 - '401': *621 - '403': *622 + '400': *621 + '401': *622 + '403': *623 '404': *7 - '429': *623 - '500': *624 + '429': *624 + '500': *625 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90149,8 +90420,8 @@ paths: value: userName eq 'E012345' externalId: value: externalId eq 'E012345' - - *630 - *631 + - *632 - *40 responses: '200': @@ -90183,7 +90454,7 @@ paths: Resources: type: array description: Information about each provisioned account. - items: &634 + items: &635 allOf: - type: object required: @@ -90262,7 +90533,7 @@ paths: description: Whether this email address is the primary address. example: true - roles: &633 + roles: &634 type: array description: The roles assigned to the user. items: @@ -90318,7 +90589,7 @@ paths: type: string description: Provisioned SCIM groups that the user is a member of. - meta: *632 + meta: *633 startIndex: type: integer description: A starting index for the returned page @@ -90355,11 +90626,11 @@ paths: primary: false startIndex: 1 itemsPerPage: 20 - '400': *620 - '401': *621 - '403': *622 - '429': *623 - '500': *624 + '400': *621 + '401': *622 + '403': *623 + '429': *624 + '500': *625 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90383,7 +90654,7 @@ paths: required: true content: application/json: - schema: &637 + schema: &638 type: object required: - schemas @@ -90465,9 +90736,9 @@ paths: type: boolean description: Whether this email address is the primary address. example: true - roles: *633 + roles: *634 examples: - user: &638 + user: &639 summary: User value: schemas: @@ -90514,9 +90785,9 @@ paths: description: User has been created content: application/scim+json: - schema: *634 + schema: *635 examples: - user: &635 + user: &636 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -90542,13 +90813,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: *635 - '400': *620 - '401': *621 - '403': *622 - '409': *629 - '429': *623 - '500': *624 + enterpriseOwner: *636 + '400': *621 + '401': *622 + '403': *623 + '409': *630 + '429': *624 + '500': *625 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90565,7 +90836,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: - - &636 + - &637 name: scim_user_id description: The unique identifier of the SCIM user. in: path @@ -90578,15 +90849,15 @@ paths: description: Success, a user was found content: application/scim+json: - schema: *634 + schema: *635 examples: - default: *635 - '400': *620 - '401': *621 - '403': *622 + default: *636 + '400': *621 + '401': *622 + '403': *623 '404': *7 - '429': *623 - '500': *624 + '429': *624 + '500': *625 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90608,30 +90879,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: - - *636 + - *637 - *40 requestBody: required: true content: application/json: - schema: *637 + schema: *638 examples: - user: *638 + user: *639 responses: '200': description: User was updated content: application/scim+json: - schema: *634 + schema: *635 examples: - user: *635 - '400': *620 - '401': *621 - '403': *622 + user: *636 + '400': *621 + '401': *622 + '403': *623 '404': *7 - '409': *629 - '429': *623 - '500': *624 + '409': *630 + '429': *624 + '500': *625 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90666,13 +90937,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: - - *636 + - *637 - *40 requestBody: required: true content: application/json: - schema: *639 + schema: *640 examples: userMultiValuedProperties: summary: Multi Valued Property @@ -90712,18 +90983,18 @@ paths: description: Success, user was updated content: application/scim+json: - schema: *634 - examples: - userMultiValuedProperties: *635 - userSingleValuedProperties: *635 - disableUser: *635 - '400': *620 - '401': *621 - '403': *622 + schema: *635 + examples: + userMultiValuedProperties: *636 + userSingleValuedProperties: *636 + disableUser: *636 + '400': *621 + '401': *622 + '403': *623 '404': *7 - '409': *629 - '429': *623 - '500': *624 + '409': *630 + '429': *624 + '500': *625 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90743,17 +91014,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: - - *636 + - *637 - *40 responses: '204': description: User was deleted, no content - '400': *620 - '401': *621 - '403': *622 + '400': *621 + '401': *622 + '403': *623 '404': *7 - '429': *623 - '500': *624 + '429': *624 + '500': *625 x-github: enabledForGitHubApps: true githubCloudOnly: true @@ -90786,7 +91057,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#list-scim-provisioned-identities parameters: - - *141 + - *145 - name: startIndex description: 'Used for pagination: the index of the first result to return.' in: query @@ -90840,7 +91111,7 @@ paths: example: 1 Resources: type: array - items: &640 + items: &641 title: SCIM /Users description: SCIM /Users provisioning endpoints type: object @@ -91071,22 +91342,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': *37 - '404': &641 + '404': &642 description: Resource not found content: application/json: - schema: *618 + schema: *619 application/scim+json: - schema: *618 - '403': &642 + schema: *619 + '403': &643 description: Forbidden content: application/json: - schema: *618 + schema: *619 application/scim+json: - schema: *618 - '400': *620 - '429': *623 + schema: *619 + '400': *621 + '429': *624 x-github: githubCloudOnly: true enabledForGitHubApps: true @@ -91106,15 +91377,15 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#provision-and-invite-a-scim-user parameters: - - *141 + - *145 responses: '201': description: Response content: application/scim+json: - schema: *640 + schema: *641 examples: - default: &643 + default: &644 value: schemas: - urn:ietf:params:scim:schemas:core:2.0:User @@ -91137,17 +91408,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': *37 - '404': *641 - '403': *642 - '500': *624 + '404': *642 + '403': *643 + '500': *625 '409': description: Conflict content: application/json: - schema: *618 + schema: *619 application/scim+json: - schema: *618 - '400': *620 + schema: *619 + '400': *621 requestBody: required: true content: @@ -91239,18 +91510,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: - - *141 - - *636 + - *145 + - *637 responses: '200': description: Response content: application/scim+json: - schema: *640 + schema: *641 examples: - default: *643 - '404': *641 - '403': *642 + default: *644 + '404': *642 + '403': *643 '304': *37 x-github: githubCloudOnly: true @@ -91273,19 +91544,19 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/scim/scim#update-a-provisioned-organization-membership parameters: - - *141 - - *636 + - *145 + - *637 responses: '200': description: Response content: application/scim+json: - schema: *640 + schema: *641 examples: - default: *643 + default: *644 '304': *37 - '404': *641 - '403': *642 + '404': *642 + '403': *643 requestBody: required: true content: @@ -91393,20 +91664,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: - - *141 - - *636 + - *145 + - *637 responses: '200': description: Response content: application/scim+json: - schema: *640 + schema: *641 examples: - default: *643 + default: *644 '304': *37 - '404': *641 - '403': *642 - '400': *620 + '404': *642 + '403': *643 + '400': *621 '429': description: Response content: @@ -91496,13 +91767,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: - - *141 - - *636 + - *145 + - *637 responses: '204': description: Response - '404': *641 - '403': *642 + '404': *642 + '403': *643 '304': *37 x-github: githubCloudOnly: true @@ -91617,7 +91888,7 @@ paths: html_url: type: string format: uri - repository: *159 + repository: *163 score: type: number file_size: @@ -91635,7 +91906,7 @@ paths: example: - 73..77 - 77..78 - text_matches: &644 + text_matches: &645 title: Search Result Text Matches type: array items: @@ -91749,7 +92020,7 @@ paths: releases_url: http://api.github.com/repos/octocat/Hello-World/releases{/id} score: 1 '304': *37 - '503': *96 + '503': *100 '422': *16 '403': *29 x-github: @@ -91798,7 +92069,7 @@ paths: enum: - author-date - committer-date - - &645 + - &646 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 @@ -91869,7 +92140,7 @@ paths: description: Metaproperties for Git author/committer information. type: object - properties: *381 + properties: *382 nullable: true comment_count: type: integer @@ -91889,7 +92160,7 @@ paths: url: type: string format: uri - verification: *492 + verification: *493 required: - author - committer @@ -91908,7 +92179,7 @@ paths: title: Git User description: Metaproperties for Git author/committer information. type: object - properties: *381 + properties: *382 nullable: true parents: type: array @@ -91921,12 +92192,12 @@ paths: type: string sha: type: string - repository: *159 + repository: *163 score: type: number node_id: type: string - text_matches: *644 + text_matches: *645 required: - sha - node_id @@ -92119,7 +92390,7 @@ paths: - interactions - created - updated - - *645 + - *646 - *18 - *20 responses: @@ -92238,8 +92509,8 @@ paths: title: Milestone description: A collection of related issues and pull requests. type: object - properties: *444 - required: *445 + properties: *445 + required: *446 nullable: true comments: type: integer @@ -92253,7 +92524,7 @@ paths: type: string format: date-time nullable: true - text_matches: *644 + text_matches: *645 pull_request: type: object properties: @@ -92286,7 +92557,7 @@ paths: type: string score: type: number - author_association: *105 + author_association: *109 draft: type: boolean repository: *57 @@ -92306,9 +92577,9 @@ paths: GitHub apps are first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 - reactions: *106 + properties: *107 + required: *108 + reactions: *110 required: - assignee - closed_at @@ -92424,7 +92695,7 @@ paths: locked: true author_association: COLLABORATOR state_reason: completed - '503': *96 + '503': *100 '422': *16 '304': *37 '403': *29 @@ -92477,7 +92748,7 @@ paths: enum: - created - updated - - *645 + - *646 - *18 - *20 responses: @@ -92521,7 +92792,7 @@ paths: nullable: true score: type: number - text_matches: *644 + text_matches: *645 required: - id - node_id @@ -92607,7 +92878,7 @@ paths: - forks - help-wanted-issues - updated - - *645 + - *646 - *18 - *20 responses: @@ -92826,8 +93097,8 @@ paths: title: License Simple description: License Simple type: object - properties: *119 - required: *120 + properties: *123 + required: *124 nullable: true permissions: type: object @@ -92846,7 +93117,7 @@ paths: - admin - pull - push - text_matches: *644 + text_matches: *645 temp_clone_token: type: string allow_merge_commit: @@ -93048,7 +93319,7 @@ paths: spdx_id: MIT node_id: MDc6TGljZW5zZW1pdA== html_url: https://api.github.com/licenses/mit - '503': *96 + '503': *100 '422': *16 '304': *37 x-github: @@ -93147,7 +93418,7 @@ paths: type: string format: uri nullable: true - text_matches: *644 + text_matches: *645 related: type: array nullable: true @@ -93340,7 +93611,7 @@ paths: - followers - repositories - joined - - *645 + - *646 - *18 - *20 responses: @@ -93444,7 +93715,7 @@ paths: hireable: type: boolean nullable: true - text_matches: *644 + text_matches: *645 blog: type: string nullable: true @@ -93503,7 +93774,7 @@ paths: events_url: https://api.github.com/users/mojombo/events{/privacy} site_admin: true '304': *37 - '503': *96 + '503': *100 '422': *16 x-github: githubCloudOnly: false @@ -93523,7 +93794,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#get-a-team-legacy parameters: - - &646 + - &647 name: team_id description: The unique identifier of the team. in: path @@ -93535,9 +93806,9 @@ paths: description: Response content: application/json: - schema: *305 + schema: *306 examples: - default: *306 + default: *307 '404': *7 x-github: githubCloudOnly: false @@ -93564,7 +93835,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#update-a-team-legacy parameters: - - *646 + - *647 requestBody: required: true content: @@ -93627,16 +93898,16 @@ paths: description: Response when the updated information already exists content: application/json: - schema: *305 + schema: *306 examples: - default: *306 + default: *307 '201': description: Response content: application/json: - schema: *305 + schema: *306 examples: - default: *306 + default: *307 '404': *7 '422': *16 '403': *29 @@ -93664,7 +93935,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#delete-a-team-legacy parameters: - - *646 + - *647 responses: '204': description: Response @@ -93695,7 +93966,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#list-discussions-legacy parameters: - - *646 + - *647 - *78 - *18 - *20 @@ -93706,9 +93977,9 @@ paths: application/json: schema: type: array - items: *307 + items: *308 examples: - default: *647 + default: *648 headers: Link: *39 x-github: @@ -93737,7 +94008,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#create-a-discussion-legacy parameters: - - *646 + - *647 requestBody: required: true content: @@ -93771,9 +94042,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *308 + default: *309 x-github: triggersNotification: true githubCloudOnly: false @@ -93800,16 +94071,16 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#get-a-discussion-legacy parameters: - - *646 - - *309 + - *647 + - *310 responses: '200': description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *308 + default: *309 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93834,8 +94105,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#update-a-discussion-legacy parameters: - - *646 - - *309 + - *647 + - *310 requestBody: required: false content: @@ -93858,9 +94129,9 @@ paths: description: Response content: application/json: - schema: *307 + schema: *308 examples: - default: *648 + default: *649 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -93885,8 +94156,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussions#delete-a-discussion-legacy parameters: - - *646 - - *309 + - *647 + - *310 responses: '204': description: Response @@ -93915,8 +94186,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#list-discussion-comments-legacy parameters: - - *646 - - *309 + - *647 + - *310 - *78 - *18 - *20 @@ -93927,9 +94198,9 @@ paths: application/json: schema: type: array - items: *310 + items: *311 examples: - default: *649 + default: *650 headers: Link: *39 x-github: @@ -93958,8 +94229,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#create-a-discussion-comment-legacy parameters: - - *646 - - *309 + - *647 + - *310 requestBody: required: true content: @@ -93981,9 +94252,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: *311 + default: *312 x-github: triggersNotification: true githubCloudOnly: false @@ -94010,17 +94281,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#get-a-discussion-comment-legacy parameters: - - *646 - - *309 - - *312 + - *647 + - *310 + - *313 responses: '200': description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: *311 + default: *312 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94045,9 +94316,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#update-a-discussion-comment-legacy parameters: - - *646 - - *309 - - *312 + - *647 + - *310 + - *313 requestBody: required: true content: @@ -94069,9 +94340,9 @@ paths: description: Response content: application/json: - schema: *310 + schema: *311 examples: - default: *650 + default: *651 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94096,9 +94367,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/discussion-comments#delete-a-discussion-comment-legacy parameters: - - *646 - - *309 - - *312 + - *647 + - *310 + - *313 responses: '204': description: Response @@ -94127,9 +94398,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: - - *646 - - *309 - - *312 + - *647 + - *310 + - *313 - 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. @@ -94155,9 +94426,9 @@ paths: application/json: schema: type: array - items: *313 + items: *314 examples: - default: *315 + default: *316 headers: Link: *39 x-github: @@ -94186,9 +94457,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: - - *646 - - *309 - - *312 + - *647 + - *310 + - *313 requestBody: required: true content: @@ -94220,9 +94491,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 x-github: githubCloudOnly: false enabledForGitHubApps: true @@ -94248,8 +94519,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: - - *646 - - *309 + - *647 + - *310 - 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. @@ -94275,9 +94546,9 @@ paths: application/json: schema: type: array - items: *313 + items: *314 examples: - default: *315 + default: *316 headers: Link: *39 x-github: @@ -94306,8 +94577,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: - - *646 - - *309 + - *647 + - *310 requestBody: required: true content: @@ -94339,9 +94610,9 @@ paths: description: Response content: application/json: - schema: *313 + schema: *314 examples: - default: *314 + default: *315 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -94365,7 +94636,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-pending-team-invitations-legacy parameters: - - *646 + - *647 - *18 - *20 responses: @@ -94375,9 +94646,9 @@ paths: application/json: schema: type: array - items: *235 + items: *240 examples: - default: *236 + default: *241 headers: Link: *39 x-github: @@ -94403,7 +94674,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#list-team-members-legacy parameters: - - *646 + - *647 - name: role description: Filters members returned by their role in the team. in: query @@ -94426,7 +94697,7 @@ paths: type: array items: *19 examples: - default: *241 + default: *246 headers: Link: *39 '404': *7 @@ -94454,8 +94725,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#get-team-member-legacy parameters: - - *646 - - *181 + - *647 + - *185 responses: '204': description: if user is a member @@ -94491,8 +94762,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#add-team-member-legacy parameters: - - *646 - - *181 + - *647 + - *185 responses: '204': description: Response @@ -94531,8 +94802,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/members#remove-team-member-legacy parameters: - - *646 - - *181 + - *647 + - *185 responses: '204': description: Response @@ -94568,16 +94839,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: - - *646 - - *181 + - *647 + - *185 responses: '200': description: Response content: application/json: - schema: *321 + schema: *322 examples: - response-if-user-is-a-team-maintainer: *651 + response-if-user-is-a-team-maintainer: *652 '404': *7 x-github: githubCloudOnly: false @@ -94610,8 +94881,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: - - *646 - - *181 + - *647 + - *185 requestBody: required: false content: @@ -94636,9 +94907,9 @@ paths: description: Response content: application/json: - schema: *321 + schema: *322 examples: - response-if-users-membership-with-team-is-now-pending: *652 + response-if-users-membership-with-team-is-now-pending: *653 '403': description: Forbidden if team synchronization is set up '422': @@ -94672,8 +94943,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: - - *646 - - *181 + - *647 + - *185 responses: '204': description: Response @@ -94702,7 +94973,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-projects-legacy parameters: - - *646 + - *647 - *18 - *20 responses: @@ -94712,9 +94983,9 @@ paths: application/json: schema: type: array - items: *322 + items: *323 examples: - default: *653 + default: *654 headers: Link: *39 '404': *7 @@ -94741,16 +95012,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: - - *646 - - *323 + - *647 + - *324 responses: '200': description: Response content: application/json: - schema: *322 + schema: *323 examples: - default: *654 + default: *655 '404': description: Not Found if project is not managed by this team x-github: @@ -94775,8 +95046,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: - - *646 - - *323 + - *647 + - *324 requestBody: required: false content: @@ -94844,8 +95115,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: - - *646 - - *323 + - *647 + - *324 responses: '204': description: Response @@ -94872,7 +95143,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-team-repositories-legacy parameters: - - *646 + - *647 - *18 - *20 responses: @@ -94882,9 +95153,9 @@ paths: application/json: schema: type: array - items: *159 + items: *163 examples: - default: *260 + default: *265 headers: Link: *39 '404': *7 @@ -94914,15 +95185,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: - - *646 - - *324 + - *647 - *325 + - *326 responses: '200': description: Alternative response with extra repository information content: application/json: - schema: *655 + schema: *656 examples: alternative-response-with-extra-repository-information: value: @@ -95073,9 +95344,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: - - *646 - - *324 + - *647 - *325 + - *326 requestBody: required: false content: @@ -95125,9 +95396,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: - - *646 - - *324 + - *647 - *325 + - *326 responses: '204': description: Response @@ -95156,15 +95427,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: - - *646 + - *647 responses: '200': description: Response content: application/json: - schema: *326 + schema: *327 examples: - default: *327 + default: *328 '403': *29 '404': *7 x-github: @@ -95191,7 +95462,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: - - *646 + - *647 requestBody: required: true content: @@ -95248,7 +95519,7 @@ paths: description: Response content: application/json: - schema: *326 + schema: *327 examples: default: value: @@ -95279,7 +95550,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/teams/teams#list-child-teams-legacy parameters: - - *646 + - *647 - *18 - *20 responses: @@ -95289,9 +95560,9 @@ paths: application/json: schema: type: array - items: *238 + items: *243 examples: - response-if-child-teams-exist: *656 + response-if-child-teams-exist: *657 headers: Link: *39 '404': *7 @@ -95324,7 +95595,7 @@ paths: application/json: schema: oneOf: - - &658 + - &659 title: Private User description: Private User type: object @@ -95527,7 +95798,7 @@ paths: - private_gists - total_private_repos - two_factor_authentication - - *657 + - *658 examples: response-with-public-and-private-profile-information: summary: Response with public and private profile information @@ -95680,7 +95951,7 @@ paths: description: Response content: application/json: - schema: *658 + schema: *659 examples: default: value: @@ -95759,7 +96030,7 @@ paths: type: array items: *19 examples: - default: *241 + default: *246 '304': *37 '404': *7 '403': *29 @@ -95782,7 +96053,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: - - *181 + - *185 responses: '204': description: If the user is blocked @@ -95810,7 +96081,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#block-a-user parameters: - - *181 + - *185 responses: '204': description: Response @@ -95834,7 +96105,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/blocking#unblock-a-user parameters: - - *181 + - *185 responses: '204': description: Response @@ -95883,9 +96154,9 @@ paths: type: integer codespaces: type: array - items: *242 + items: *247 examples: - default: *243 + default: *248 '304': *37 '500': *84 '401': *25 @@ -96024,21 +96295,21 @@ paths: description: Response when the codespace was successfully created content: application/json: - schema: *242 + schema: *247 examples: - default: *429 + default: *430 '202': description: Response when the codespace creation partially failed but is being retried in the background content: application/json: - schema: *242 + schema: *247 examples: - default: *429 + default: *430 '401': *25 '403': *29 '404': *7 - '503': *96 + '503': *100 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -96078,7 +96349,7 @@ paths: type: integer secrets: type: array - items: &659 + items: &660 title: Codespaces Secret description: Secrets for a GitHub Codespace. type: object @@ -96118,7 +96389,7 @@ paths: - visibility - selected_repositories_url examples: - default: *432 + default: *433 headers: Link: *39 x-github: @@ -96188,13 +96459,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: - - *169 + - *173 responses: '200': description: Response content: application/json: - schema: *659 + schema: *660 examples: default: value: @@ -96224,7 +96495,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: - - *169 + - *173 requestBody: required: true content: @@ -96269,7 +96540,7 @@ paths: description: Response after successfully creating a secret content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -96297,7 +96568,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: - - *169 + - *173 responses: '204': description: Response @@ -96322,7 +96593,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: - - *169 + - *173 responses: '200': description: Response @@ -96338,9 +96609,9 @@ paths: type: integer repositories: type: array - items: *159 + items: *163 examples: - default: *660 + default: *661 '401': *25 '403': *29 '404': *7 @@ -96365,7 +96636,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: - - *169 + - *173 requestBody: required: true content: @@ -96419,7 +96690,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: - - *169 + - *173 - name: repository_id in: path required: true @@ -96452,7 +96723,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: - - *169 + - *173 - name: repository_id in: path required: true @@ -96484,15 +96755,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: - - *244 + - *249 responses: '200': description: Response content: application/json: - schema: *242 + schema: *247 examples: - default: *429 + default: *430 '304': *37 '500': *84 '401': *25 @@ -96518,7 +96789,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: - - *244 + - *249 requestBody: required: false content: @@ -96548,9 +96819,9 @@ paths: description: Response content: application/json: - schema: *242 + schema: *247 examples: - default: *429 + default: *430 '401': *25 '403': *29 '404': *7 @@ -96572,9 +96843,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: - - *244 + - *249 responses: - '202': *147 + '202': *151 '304': *37 '500': *84 '401': *25 @@ -96601,13 +96872,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: - - *244 + - *249 responses: '202': description: Response content: application/json: - schema: &661 + schema: &662 type: object title: Fetches information about an export of a codespace. description: An export of a codespace. Also, latest export details @@ -96648,7 +96919,7 @@ paths: description: Web url for the exported branch example: https://github.com/octocat/hello-world/tree/:branch examples: - default: &662 + default: &663 value: state: succeeded completed_at: '2022-01-01T14:59:22Z' @@ -96680,7 +96951,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/codespaces#get-details-about-a-codespace-export parameters: - - *244 + - *249 - name: export_id in: path required: true @@ -96693,9 +96964,9 @@ paths: description: Response content: application/json: - schema: *661 + schema: *662 examples: - default: *662 + default: *663 '404': *7 x-github: githubCloudOnly: false @@ -96716,7 +96987,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/codespaces/machines#list-machine-types-for-a-codespace parameters: - - *244 + - *249 responses: '200': description: Response @@ -96732,9 +97003,9 @@ paths: type: integer machines: type: array - items: *663 + items: *664 examples: - default: *664 + default: *665 '304': *37 '500': *84 '401': *25 @@ -96763,7 +97034,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: - - *244 + - *249 requestBody: required: true content: @@ -96813,13 +97084,13 @@ paths: nullable: true owner: *19 billable_owner: *19 - repository: *337 + repository: *338 machine: type: object title: Codespace machine description: A description of the machine powering a codespace. - properties: *430 - required: *431 + properties: *431 + required: *432 nullable: true devcontainer_path: description: Path to devcontainer.json from repo root used to @@ -97593,15 +97864,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: - - *244 + - *249 responses: '200': description: Response content: application/json: - schema: *242 + schema: *247 examples: - default: *429 + default: *430 '304': *37 '500': *84 '400': *15 @@ -97613,7 +97884,7 @@ paths: schema: *3 '403': *29 '404': *7 - '409': *146 + '409': *150 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -97633,15 +97904,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: - - *244 + - *249 responses: '200': description: Response content: application/json: - schema: *242 + schema: *247 examples: - default: *429 + default: *430 '500': *84 '401': *25 '403': *29 @@ -97671,9 +97942,9 @@ paths: application/json: schema: type: array - items: *254 + items: *259 examples: - default: &677 + default: &678 value: - id: 197 name: hello_docker @@ -97774,7 +98045,7 @@ paths: application/json: schema: type: array - items: &665 + items: &666 title: Email description: Email type: object @@ -97839,9 +98110,9 @@ paths: application/json: schema: type: array - items: *665 + items: *666 examples: - default: &679 + default: &680 value: - email: octocat@github.com verified: true @@ -97916,7 +98187,7 @@ paths: application/json: schema: type: array - items: *665 + items: *666 examples: default: value: @@ -98026,7 +98297,7 @@ paths: type: array items: *19 examples: - default: *241 + default: *246 headers: Link: *39 '304': *37 @@ -98059,7 +98330,7 @@ paths: type: array items: *19 examples: - default: *241 + default: *246 headers: Link: *39 '304': *37 @@ -98081,7 +98352,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: - - *181 + - *185 responses: '204': description: if the person is followed by the authenticated user @@ -98111,7 +98382,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#follow-a-user parameters: - - *181 + - *185 responses: '204': description: Response @@ -98136,7 +98407,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#unfollow-a-user parameters: - - *181 + - *185 responses: '204': description: Response @@ -98172,7 +98443,7 @@ paths: application/json: schema: type: array - items: &666 + items: &667 title: GPG Key description: A unique encryption key type: object @@ -98303,7 +98574,7 @@ paths: - subkeys - revoked examples: - default: &690 + default: &691 value: - id: 3 name: Octocat's GPG Key @@ -98388,9 +98659,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *667 examples: - default: &667 + default: &668 value: id: 3 name: Octocat's GPG Key @@ -98447,7 +98718,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: - - &668 + - &669 name: gpg_key_id description: The unique identifier of the GPG key. in: path @@ -98459,9 +98730,9 @@ paths: description: Response content: application/json: - schema: *666 + schema: *667 examples: - default: *667 + default: *668 '404': *7 '304': *37 '403': *29 @@ -98484,7 +98755,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: - - *668 + - *669 responses: '204': description: Response @@ -98675,7 +98946,7 @@ paths: type: array items: *57 examples: - default: *669 + default: *670 headers: Link: *39 '404': *7 @@ -98700,7 +98971,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#add-a-repository-to-an-app-installation parameters: - *23 - - *154 + - *158 responses: '204': description: Response @@ -98726,7 +98997,7 @@ paths: url: https://docs.github.com/enterprise-cloud@latest//rest/apps/installations#remove-a-repository-from-an-app-installation parameters: - *23 - - *154 + - *158 responses: '204': description: Response @@ -98760,12 +99031,12 @@ paths: application/json: schema: anyOf: - - *233 + - *238 - type: object properties: {} additionalProperties: false examples: - default: *234 + default: *239 '204': description: Response when there are no restrictions x-github: @@ -98789,7 +99060,7 @@ paths: required: true content: application/json: - schema: *503 + schema: *504 examples: default: value: @@ -98800,7 +99071,7 @@ paths: description: Response content: application/json: - schema: *233 + schema: *238 examples: default: value: @@ -98881,7 +99152,7 @@ paths: - closed - all default: open - - *239 + - *244 - name: sort description: What to sort results by. in: query @@ -98894,7 +99165,7 @@ paths: - comments default: created - *78 - - *108 + - *112 - *18 - *20 responses: @@ -98904,9 +99175,9 @@ paths: application/json: schema: type: array - items: *118 + items: *122 examples: - default: *240 + default: *245 headers: Link: *39 '404': *7 @@ -98939,7 +99210,7 @@ paths: application/json: schema: type: array - items: &670 + items: &671 title: Key description: Key type: object @@ -99036,9 +99307,9 @@ paths: description: Response content: application/json: - schema: *670 + schema: *671 examples: - default: &671 + default: &672 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -99071,15 +99342,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: - - *532 + - *533 responses: '200': description: Response content: application/json: - schema: *670 + schema: *671 examples: - default: *671 + default: *672 '404': *7 '304': *37 '403': *29 @@ -99102,7 +99373,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: - - *532 + - *533 responses: '204': description: Response @@ -99135,7 +99406,7 @@ paths: application/json: schema: type: array - items: &672 + items: &673 title: User Marketplace Purchase description: User Marketplace Purchase type: object @@ -99192,7 +99463,7 @@ paths: - id - type - login - plan: *122 + plan: *126 required: - billing_cycle - next_billing_date @@ -99203,7 +99474,7 @@ paths: - account - plan examples: - default: &673 + default: &674 value: - billing_cycle: monthly next_billing_date: '2017-11-11T00:00:00Z' @@ -99265,9 +99536,9 @@ paths: application/json: schema: type: array - items: *672 + items: *673 examples: - default: *673 + default: *674 headers: Link: *39 '304': *37 @@ -99307,7 +99578,7 @@ paths: application/json: schema: type: array - items: *245 + items: *250 examples: default: value: @@ -99409,13 +99680,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: - - *141 + - *145 responses: '200': description: Response content: application/json: - schema: *245 + schema: *250 examples: default: value: @@ -99473,7 +99744,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: - - *141 + - *145 requestBody: required: true content: @@ -99498,7 +99769,7 @@ paths: description: Response content: application/json: - schema: *245 + schema: *250 examples: default: value: @@ -99566,7 +99837,7 @@ paths: application/json: schema: type: array - items: *247 + items: *252 examples: default: value: @@ -99819,7 +100090,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *252 examples: default: value: @@ -99999,7 +100270,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#get-a-user-migration-status parameters: - - *248 + - *253 - name: exclude in: query required: false @@ -100012,7 +100283,7 @@ paths: description: Response content: application/json: - schema: *247 + schema: *252 examples: default: value: @@ -100206,7 +100477,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#download-a-user-migration-archive parameters: - - *248 + - *253 responses: '302': description: Response @@ -100232,7 +100503,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#delete-a-user-migration-archive parameters: - - *248 + - *253 responses: '204': description: Response @@ -100261,8 +100532,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#unlock-a-user-repository parameters: - - *248 - - *674 + - *253 + - *675 responses: '204': description: Response @@ -100286,7 +100557,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/migrations/users#list-repositories-for-a-user-migration parameters: - - *248 + - *253 - *18 - *20 responses: @@ -100296,9 +100567,9 @@ paths: application/json: schema: type: array - items: *159 + items: *163 examples: - default: *260 + default: *265 headers: Link: *39 '404': *7 @@ -100335,7 +100606,7 @@ paths: type: array items: *52 examples: - default: *675 + default: *676 headers: Link: *39 '304': *37 @@ -100377,7 +100648,7 @@ paths: - docker - nuget - container - - *676 + - *677 - *20 - *18 responses: @@ -100387,10 +100658,10 @@ paths: application/json: schema: type: array - items: *254 + items: *259 examples: - default: *677 - '400': *678 + default: *678 + '400': *679 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -100410,16 +100681,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: - - *256 - - *257 + - *261 + - *262 responses: '200': description: Response content: application/json: - schema: *254 + schema: *259 examples: - default: &691 + default: &692 value: id: 40201 name: octo-name @@ -100532,8 +100803,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: - - *256 - - *257 + - *261 + - *262 responses: '204': description: Response @@ -100563,8 +100834,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: - - *256 - - *257 + - *261 + - *262 - name: token description: package token schema: @@ -100596,8 +100867,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: - - *256 - - *257 + - *261 + - *262 - *20 - *18 - name: state @@ -100617,7 +100888,7 @@ paths: application/json: schema: type: array - items: *258 + items: *263 examples: default: value: @@ -100666,15 +100937,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: - - *256 - - *257 - - *259 + - *261 + - *262 + - *264 responses: '200': description: Response content: application/json: - schema: *258 + schema: *263 examples: default: value: @@ -100710,9 +100981,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: - - *256 - - *257 - - *259 + - *261 + - *262 + - *264 responses: '204': description: Response @@ -100742,9 +101013,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: - - *256 - - *257 - - *259 + - *261 + - *262 + - *264 responses: '204': description: Response @@ -100800,7 +101071,7 @@ paths: description: Response content: application/json: - schema: *267 + schema: *272 examples: default: value: @@ -100869,9 +101140,9 @@ paths: application/json: schema: type: array - items: *665 + items: *666 examples: - default: *679 + default: *680 headers: Link: *39 '304': *37 @@ -100984,7 +101255,7 @@ paths: type: array items: *57 examples: - default: &686 + default: &687 summary: Default response value: - id: 1296269 @@ -101286,9 +101557,9 @@ paths: description: Response content: application/json: - schema: *337 + schema: *338 examples: - default: *339 + default: *340 headers: Location: example: https://api.github.com/repos/octocat/Hello-World @@ -101326,9 +101597,9 @@ paths: application/json: schema: type: array - items: *505 + items: *506 examples: - default: *680 + default: *681 headers: Link: *39 '304': *37 @@ -101351,12 +101622,12 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#accept-a-repository-invitation parameters: - - *237 + - *242 responses: '204': description: Response '403': *29 - '409': *146 + '409': *150 '404': *7 '304': *37 x-github: @@ -101374,11 +101645,11 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/collaborators/invitations#decline-a-repository-invitation parameters: - - *237 + - *242 responses: '204': description: Response - '409': *146 + '409': *150 '304': *37 '404': *7 '403': *29 @@ -101407,7 +101678,7 @@ paths: application/json: schema: type: array - items: &681 + items: &682 title: Social account description: Social media account type: object @@ -101422,7 +101693,7 @@ paths: - provider - url examples: - default: &682 + default: &683 value: - provider: twitter url: https://twitter.com/github @@ -101484,9 +101755,9 @@ paths: application/json: schema: type: array - items: *681 + items: *682 examples: - default: *682 + default: *683 '422': *16 '304': *37 '404': *7 @@ -101573,7 +101844,7 @@ paths: application/json: schema: type: array - items: &683 + items: &684 title: SSH Signing Key description: A public SSH key used to sign Git commits type: object @@ -101593,7 +101864,7 @@ paths: - title - created_at examples: - default: &692 + default: &693 value: - key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -101659,9 +101930,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *684 examples: - default: &684 + default: &685 value: key: 2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234 id: 2 @@ -101692,7 +101963,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: - - &685 + - &686 name: ssh_signing_key_id description: The unique identifier of the SSH signing key. in: path @@ -101704,9 +101975,9 @@ paths: description: Response content: application/json: - schema: *683 + schema: *684 examples: - default: *684 + default: *685 '404': *7 '304': *37 '403': *29 @@ -101729,7 +102000,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: - - *685 + - *686 responses: '204': description: Response @@ -101758,7 +102029,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: - - &693 + - &694 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 @@ -101783,11 +102054,11 @@ paths: type: array items: *57 examples: - default-response: *686 + default-response: *687 application/vnd.github.v3.star+json: schema: type: array - items: &694 + items: &695 title: Starred Repository description: Starred Repository type: object @@ -101943,8 +102214,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: - - *324 - *325 + - *326 responses: '204': description: Response if this repository is starred by you @@ -101972,8 +102243,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: - - *324 - *325 + - *326 responses: '204': description: Response @@ -101997,8 +102268,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: - - *324 - *325 + - *326 responses: '204': description: Response @@ -102031,9 +102302,9 @@ paths: application/json: schema: type: array - items: *159 + items: *163 examples: - default: *260 + default: *265 headers: Link: *39 '304': *37 @@ -102070,7 +102341,7 @@ paths: application/json: schema: type: array - items: *305 + items: *306 examples: default: value: @@ -102146,7 +102417,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user-using-their-id parameters: - - *124 + - *128 responses: '200': description: Response @@ -102154,10 +102425,10 @@ paths: application/json: schema: oneOf: + - *659 - *658 - - *657 examples: - default-response: &688 + default-response: &689 summary: Default response value: login: octocat @@ -102192,7 +102463,7 @@ paths: following: 0 created_at: '2008-01-14T04:33:35Z' updated_at: '2008-01-14T04:33:35Z' - response-with-git-hub-plan-information: &689 + response-with-git-hub-plan-information: &690 summary: Response with GitHub plan information value: login: octocat @@ -102252,7 +102523,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#list-users parameters: - - *687 + - *688 - *18 responses: '200': @@ -102263,7 +102534,7 @@ paths: type: array items: *19 examples: - default: *241 + default: *246 headers: Link: example: ; rel="next" @@ -102291,7 +102562,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-a-user parameters: - - *181 + - *185 responses: '200': description: Response @@ -102299,11 +102570,11 @@ paths: application/json: schema: oneOf: + - *659 - *658 - - *657 examples: - default-response: *688 - response-with-git-hub-plan-information: *689 + default-response: *689 + response-with-git-hub-plan-information: *690 '404': *7 x-github: githubCloudOnly: false @@ -102329,7 +102600,7 @@ paths: - *18 - *76 - *77 - - *181 + - *185 - name: subject_digest description: Subject Digest in: path @@ -102429,7 +102700,7 @@ paths: description: Response content: application/json: - schema: *170 + schema: *174 examples: default: value: @@ -102455,7 +102726,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: - - *181 + - *185 responses: '200': description: Response @@ -102463,9 +102734,9 @@ paths: application/json: schema: type: array - items: *254 + items: *259 examples: - default: *677 + default: *678 '403': *29 '401': *25 x-github: @@ -102488,7 +102759,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-events-for-the-authenticated-user parameters: - - *181 + - *185 - *18 - *20 responses: @@ -102498,7 +102769,7 @@ paths: application/json: schema: type: array - items: *130 + items: *134 examples: default: value: @@ -102569,8 +102840,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: - - *181 - - *141 + - *185 + - *145 - *18 - *20 responses: @@ -102580,7 +102851,7 @@ paths: application/json: schema: type: array - items: *130 + items: *134 examples: default: value: @@ -102659,7 +102930,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/events#list-public-events-for-a-user parameters: - - *181 + - *185 - *18 - *20 responses: @@ -102669,7 +102940,7 @@ paths: application/json: schema: type: array - items: *130 + items: *134 examples: default: value: @@ -102736,7 +103007,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-followers-of-a-user parameters: - - *181 + - *185 - *18 - *20 responses: @@ -102748,7 +103019,7 @@ paths: type: array items: *19 examples: - default: *241 + default: *246 headers: Link: *39 x-github: @@ -102767,7 +103038,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/followers#list-the-people-a-user-follows parameters: - - *181 + - *185 - *18 - *20 responses: @@ -102779,7 +103050,7 @@ paths: type: array items: *19 examples: - default: *241 + default: *246 headers: Link: *39 x-github: @@ -102798,7 +103069,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: - - *181 + - *185 - name: target_user in: path required: true @@ -102825,8 +103096,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/gists/gists#list-gists-for-a-user parameters: - - *181 - - *108 + - *185 + - *112 - *18 - *20 responses: @@ -102836,9 +103107,9 @@ paths: application/json: schema: type: array - items: *109 + items: *113 examples: - default: *110 + default: *114 headers: Link: *39 '422': *16 @@ -102859,7 +103130,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: - - *181 + - *185 - *18 - *20 responses: @@ -102869,9 +103140,9 @@ paths: application/json: schema: type: array - items: *666 + items: *667 examples: - default: *690 + default: *691 headers: Link: *39 x-github: @@ -102895,7 +103166,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/users#get-contextual-information-for-a-user parameters: - - *181 + - *185 - name: subject_type description: Identifies which additional information you'd like to receive about the person's hovercard. Can be `organization`, `repository`, `issue`, @@ -102967,7 +103238,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: - - *181 + - *185 responses: '200': description: Response @@ -102975,7 +103246,7 @@ paths: application/json: schema: *22 examples: - default: *502 + default: *503 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -102993,7 +103264,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/users/keys#list-public-keys-for-a-user parameters: - - *181 + - *185 - *18 - *20 responses: @@ -103041,7 +103312,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/orgs/orgs#list-organizations-for-a-user parameters: - - *181 + - *185 - *18 - *20 responses: @@ -103053,7 +103324,7 @@ paths: type: array items: *52 examples: - default: *675 + default: *676 headers: Link: *39 x-github: @@ -103092,8 +103363,8 @@ paths: - docker - nuget - container - - *676 - - *181 + - *677 + - *185 - *20 - *18 responses: @@ -103103,12 +103374,12 @@ paths: application/json: schema: type: array - items: *254 + items: *259 examples: - default: *677 + default: *678 '403': *29 '401': *25 - '400': *678 + '400': *679 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103128,17 +103399,17 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#get-a-package-for-a-user parameters: - - *256 - - *257 - - *181 + - *261 + - *262 + - *185 responses: '200': description: Response content: application/json: - schema: *254 + schema: *259 examples: - default: *691 + default: *692 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103159,9 +103430,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-a-package-for-a-user parameters: - - *256 - - *257 - - *181 + - *261 + - *262 + - *185 responses: '204': description: Response @@ -103193,9 +103464,9 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-a-package-for-a-user parameters: - - *256 - - *257 - - *181 + - *261 + - *262 + - *185 - name: token description: package token schema: @@ -103227,9 +103498,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: - - *256 - - *257 - - *181 + - *261 + - *262 + - *185 responses: '200': description: Response @@ -103237,7 +103508,7 @@ paths: application/json: schema: type: array - items: *258 + items: *263 examples: default: value: @@ -103295,16 +103566,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: - - *256 - - *257 - - *259 - - *181 + - *261 + - *262 + - *264 + - *185 responses: '200': description: Response content: application/json: - schema: *258 + schema: *263 examples: default: value: @@ -103339,10 +103610,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#delete-package-version-for-a-user parameters: - - *256 - - *257 - - *181 - - *259 + - *261 + - *262 + - *185 + - *264 responses: '204': description: Response @@ -103374,10 +103645,10 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/packages/packages#restore-package-version-for-a-user parameters: - - *256 - - *257 - - *181 - - *259 + - *261 + - *262 + - *185 + - *264 responses: '204': description: Response @@ -103400,7 +103671,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/projects/projects#list-user-projects parameters: - - *181 + - *185 - name: state description: Indicates the state of the projects to return. in: query @@ -103421,7 +103692,7 @@ paths: application/json: schema: type: array - items: *267 + items: *272 examples: default: value: @@ -103480,7 +103751,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: - - *181 + - *185 - *18 - *20 responses: @@ -103490,7 +103761,7 @@ paths: application/json: schema: type: array - items: *130 + items: *134 examples: default: value: @@ -103569,7 +103840,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: - - *181 + - *185 - *18 - *20 responses: @@ -103579,7 +103850,7 @@ paths: application/json: schema: type: array - items: *130 + items: *134 examples: default: value: @@ -103656,7 +103927,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#list-repositories-for-a-user parameters: - - *181 + - *185 - name: type description: Limit results to repositories of the specified type. in: query @@ -103699,9 +103970,9 @@ paths: application/json: schema: type: array - items: *159 + items: *163 examples: - default: *260 + default: *265 headers: Link: *39 x-github: @@ -103725,15 +103996,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: - - *181 + - *185 responses: '200': description: Response content: application/json: - schema: *297 + schema: *298 examples: - default: *298 + default: *299 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103755,15 +104026,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: - - *181 + - *185 responses: '200': description: Response content: application/json: - schema: *301 + schema: *302 examples: - default: *302 + default: *303 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103785,15 +104056,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: - - *181 + - *185 responses: '200': description: Response content: application/json: - schema: *303 + schema: *304 examples: - default: *304 + default: *305 x-github: githubCloudOnly: false enabledForGitHubApps: false @@ -103811,7 +104082,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: - - *181 + - *185 - *18 - *20 responses: @@ -103821,9 +104092,9 @@ paths: application/json: schema: type: array - items: *681 + items: *682 examples: - default: *682 + default: *683 headers: Link: *39 x-github: @@ -103843,7 +104114,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: - - *181 + - *185 - *18 - *20 responses: @@ -103853,9 +104124,9 @@ paths: application/json: schema: type: array - items: *683 + items: *684 examples: - default: *692 + default: *693 headers: Link: *39 x-github: @@ -103879,8 +104150,8 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/starring#list-repositories-starred-by-a-user parameters: - - *181 - - *693 + - *185 + - *694 - *78 - *18 - *20 @@ -103892,11 +104163,11 @@ paths: schema: anyOf: - type: array - items: *694 + items: *695 - type: array items: *57 examples: - default-response: *686 + default-response: *687 headers: Link: *39 x-github: @@ -103915,7 +104186,7 @@ paths: description: API method documentation url: https://docs.github.com/enterprise-cloud@latest//rest/activity/watching#list-repositories-watched-by-a-user parameters: - - *181 + - *185 - *18 - *20 responses: @@ -103925,9 +104196,9 @@ paths: application/json: schema: type: array - items: *159 + items: *163 examples: - default: *260 + default: *265 headers: Link: *39 x-github: @@ -104055,7 +104326,7 @@ x-webhooks: type: string enum: - disabled - enterprise: &695 + enterprise: &696 title: Enterprise description: |- An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured @@ -104113,7 +104384,7 @@ x-webhooks: - created_at - updated_at - avatar_url - installation: &696 + installation: &697 title: Simple Installation description: |- The GitHub App installation. Webhook payloads contain the `installation` property when the event is configured @@ -104132,7 +104403,7 @@ x-webhooks: required: - id - node_id - organization: &697 + organization: &698 title: Organization Simple description: |- A GitHub organization. Webhook payloads contain the `organization` property when the webhook is configured for an @@ -104192,13 +104463,13 @@ x-webhooks: - public_members_url - avatar_url - description - repository: &698 + repository: &699 title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: &735 + properties: &736 id: description: Unique identifier of the repository example: 42 @@ -104218,8 +104489,8 @@ x-webhooks: title: License Simple description: License Simple type: object - properties: *119 - required: *120 + properties: *123 + required: *124 nullable: true organization: title: Simple User @@ -104881,7 +105152,7 @@ x-webhooks: type: boolean description: Whether anonymous git access is enabled for this repository - required: &736 + required: &737 - archive_url - assignees_url - blobs_url @@ -105032,10 +105303,10 @@ x-webhooks: type: string enum: - enabled - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -105111,11 +105382,11 @@ x-webhooks: type: string enum: - created - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 - rule: &699 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + rule: &700 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) @@ -105338,11 +105609,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 - rule: *699 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + rule: *700 sender: *19 required: - action @@ -105525,11 +105796,11 @@ x-webhooks: - everyone required: - from - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 - rule: *699 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + rule: *700 sender: *19 required: - action @@ -105602,7 +105873,7 @@ x-webhooks: required: true content: application/json: - schema: &702 + schema: &703 title: Exemption request cancellation event type: object properties: @@ -105610,11 +105881,11 @@ x-webhooks: type: string enum: - cancelled - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 - exemption_request: &700 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + exemption_request: &701 title: Exemption Request description: A request from a user to be exempted from a set of rules. @@ -105764,7 +106035,7 @@ x-webhooks: type: array description: The responses to the exemption request. nullable: true - items: &701 + items: &702 title: Exemption response description: A response to an exemption request by a delegated bypasser. @@ -105869,7 +106140,7 @@ x-webhooks: required: true content: application/json: - schema: &703 + schema: &704 title: Exemption request completed event type: object properties: @@ -105877,11 +106148,11 @@ x-webhooks: type: string enum: - completed - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 - exemption_request: *700 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + exemption_request: *701 sender: *19 required: - action @@ -105953,7 +106224,7 @@ x-webhooks: required: true content: application/json: - schema: &704 + schema: &705 title: Exemption request created event type: object properties: @@ -105961,11 +106232,11 @@ x-webhooks: type: string enum: - created - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 - exemption_request: *700 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + exemption_request: *701 sender: *19 required: - action @@ -106037,7 +106308,7 @@ x-webhooks: required: true content: application/json: - schema: &705 + schema: &706 title: Exemption response dismissed event type: object properties: @@ -106045,12 +106316,12 @@ x-webhooks: type: string enum: - response_dismissed - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 - exemption_request: *700 - exemption_response: *701 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + exemption_request: *701 + exemption_response: *702 sender: *19 required: - action @@ -106124,7 +106395,7 @@ x-webhooks: required: true content: application/json: - schema: &706 + schema: &707 title: Exemption response submitted event type: object properties: @@ -106132,12 +106403,12 @@ x-webhooks: type: string enum: - response_submitted - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 - exemption_request: *700 - exemption_response: *701 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + exemption_request: *701 + exemption_response: *702 sender: *19 required: - action @@ -106210,7 +106481,7 @@ x-webhooks: required: true content: application/json: - schema: *702 + schema: *703 responses: '200': description: Return a 200 status to indicate that the data was received @@ -106277,7 +106548,7 @@ x-webhooks: required: true content: application/json: - schema: *703 + schema: *704 responses: '200': description: Return a 200 status to indicate that the data was received @@ -106344,7 +106615,7 @@ x-webhooks: required: true content: application/json: - schema: *704 + schema: *705 responses: '200': description: Return a 200 status to indicate that the data was received @@ -106411,7 +106682,7 @@ x-webhooks: required: true content: application/json: - schema: *705 + schema: *706 responses: '200': description: Return a 200 status to indicate that the data was received @@ -106479,7 +106750,7 @@ x-webhooks: required: true content: application/json: - schema: *706 + schema: *707 responses: '200': description: Return a 200 status to indicate that the data was received @@ -106557,7 +106828,7 @@ x-webhooks: type: string enum: - completed - check_run: &708 + check_run: &709 title: CheckRun description: A check performed on the code of a given code change type: object @@ -106571,8 +106842,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 check_suite: description: A suite of checks performed on the code of a given code change @@ -106620,8 +106891,8 @@ x-webhooks: type: string pull_requests: type: array - items: *394 - repository: *159 + items: *395 + repository: *163 status: example: completed type: string @@ -106658,7 +106929,7 @@ x-webhooks: - skipped - timed_out - action_required - deployment: *707 + deployment: *708 details_url: example: https://example.com type: string @@ -106708,7 +106979,7 @@ x-webhooks: - annotations_url pull_requests: type: array - items: *394 + items: *395 started_at: example: '2018-05-04T01:14:52Z' type: string @@ -106743,9 +107014,9 @@ x-webhooks: - output - app - pull_requests - installation: *696 - organization: *697 - repository: *698 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - check_run @@ -107138,10 +107409,10 @@ x-webhooks: type: string enum: - created - check_run: *708 - installation: *696 - organization: *697 - repository: *698 + check_run: *709 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - check_run @@ -107537,10 +107808,10 @@ x-webhooks: type: string enum: - requested_action - check_run: *708 - installation: *696 - organization: *697 - repository: *698 + check_run: *709 + installation: *697 + organization: *698 + repository: *699 requested_action: description: The action requested by the user. type: object @@ -107945,10 +108216,10 @@ x-webhooks: type: string enum: - rerequested - check_run: *708 - installation: *696 - organization: *697 - repository: *698 + check_run: *709 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - check_run @@ -108925,10 +109196,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -109598,10 +109869,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -110265,10 +110536,10 @@ x-webhooks: - latest_check_runs_count - check_runs_url - head_commit - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -110568,20 +110839,20 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: &709 + commit_oid: &710 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: *695 - installation: *696 - organization: *697 - ref: &710 + enterprise: *696 + installation: *697 + organization: *698 + ref: &711 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: *698 + repository: *699 sender: *19 required: - action @@ -110899,12 +111170,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *709 - enterprise: *695 - installation: *696 - organization: *697 - ref: *710 - repository: *698 + commit_oid: *710 + enterprise: *696 + installation: *697 + organization: *698 + ref: *711 + repository: *699 sender: *19 required: - action @@ -110999,7 +111270,7 @@ x-webhooks: nullable: true dismissed_by: nullable: true - dismissed_comment: *407 + dismissed_comment: *408 dismissed_reason: description: 'The reason for dismissing or closing the alert. Can be one of: `false positive`, `won''t fix`, and `used in @@ -111161,12 +111432,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *709 - enterprise: *695 - installation: *696 - organization: *697 - ref: *710 - repository: *698 + commit_oid: *710 + enterprise: *696 + installation: *697 + organization: *698 + ref: *711 + repository: *699 sender: *19 required: - action @@ -111487,12 +111758,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *709 - enterprise: *695 - installation: *696 - organization: *697 - ref: *710 - repository: *698 + commit_oid: *710 + enterprise: *696 + installation: *697 + organization: *698 + ref: *711 + repository: *699 sender: *19 required: - action @@ -111749,16 +112020,16 @@ x-webhooks: triggered by the `sender` and this value will be empty. type: string nullable: true - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 ref: 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 nullable: true - repository: *698 + repository: *699 sender: *19 required: - action @@ -111984,12 +112255,12 @@ x-webhooks: - dismissed_reason - rule - tool - commit_oid: *709 - enterprise: *695 - installation: *696 - organization: *697 - ref: *710 - repository: *698 + commit_oid: *710 + enterprise: *696 + installation: *697 + organization: *698 + ref: *711 + repository: *699 sender: *19 required: - action @@ -112246,10 +112517,10 @@ x-webhooks: - updated_at - author_association - body - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -112329,18 +112600,18 @@ x-webhooks: description: The repository's current description. type: string nullable: true - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 master_branch: description: The name of the repository's default branch (usually `main`). type: string - organization: *697 - pusher_type: &711 + organization: *698 + pusher_type: &712 description: The pusher type for the event. Can be either `user` or a deploy key. type: string - ref: &712 + ref: &713 description: The [`git ref`](https://docs.github.com/enterprise-cloud@latest//rest/git/refs#get-a-reference) resource. type: string @@ -112350,7 +112621,7 @@ x-webhooks: enum: - tag - branch - repository: *698 + repository: *699 sender: *19 required: - ref @@ -112432,10 +112703,10 @@ x-webhooks: type: string enum: - created - definition: *268 - enterprise: *695 - installation: *696 - organization: *697 + definition: *96 + enterprise: *696 + installation: *697 + organization: *698 sender: *19 required: - action @@ -112520,9 +112791,9 @@ x-webhooks: description: The name of the property that was deleted. required: - property_name - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 sender: *19 required: - action @@ -112599,10 +112870,10 @@ x-webhooks: type: string enum: - updated - definition: *268 - enterprise: *695 - installation: *696 - organization: *697 + definition: *96 + enterprise: *696 + installation: *697 + organization: *698 sender: *19 required: - action @@ -112679,19 +112950,19 @@ x-webhooks: type: string enum: - updated - enterprise: *695 - installation: *696 - repository: *698 - organization: *697 + enterprise: *696 + installation: *697 + repository: *699 + organization: *698 sender: *19 new_property_values: type: array description: The new custom property values for the repository. - items: *272 + items: *273 old_property_values: type: array description: The old custom property values for the repository. - items: *272 + items: *273 required: - action - repository @@ -112767,18 +113038,18 @@ x-webhooks: title: delete event type: object properties: - enterprise: *695 - installation: *696 - organization: *697 - pusher_type: *711 - ref: *712 + enterprise: *696 + installation: *697 + organization: *698 + pusher_type: *712 + ref: *713 ref_type: description: The type of Git ref object deleted in the repository. type: string enum: - tag - branch - repository: *698 + repository: *699 sender: *19 required: - ref @@ -112862,11 +113133,11 @@ x-webhooks: type: string enum: - auto_dismissed - alert: *461 - installation: *696 - organization: *697 - enterprise: *695 - repository: *698 + alert: *462 + installation: *697 + organization: *698 + enterprise: *696 + repository: *699 sender: *19 required: - action @@ -112950,11 +113221,11 @@ x-webhooks: type: string enum: - auto_reopened - alert: *461 - installation: *696 - organization: *697 - enterprise: *695 - repository: *698 + alert: *462 + installation: *697 + organization: *698 + enterprise: *696 + repository: *699 sender: *19 required: - action @@ -113038,11 +113309,11 @@ x-webhooks: type: string enum: - created - alert: *461 - installation: *696 - organization: *697 - enterprise: *695 - repository: *698 + alert: *462 + installation: *697 + organization: *698 + enterprise: *696 + repository: *699 sender: *19 required: - action @@ -113124,11 +113395,11 @@ x-webhooks: type: string enum: - dismissed - alert: *461 - installation: *696 - organization: *697 - enterprise: *695 - repository: *698 + alert: *462 + installation: *697 + organization: *698 + enterprise: *696 + repository: *699 sender: *19 required: - action @@ -113210,11 +113481,11 @@ x-webhooks: type: string enum: - fixed - alert: *461 - installation: *696 - organization: *697 - enterprise: *695 - repository: *698 + alert: *462 + installation: *697 + organization: *698 + enterprise: *696 + repository: *699 sender: *19 required: - action @@ -113297,11 +113568,11 @@ x-webhooks: type: string enum: - reintroduced - alert: *461 - installation: *696 - organization: *697 - enterprise: *695 - repository: *698 + alert: *462 + installation: *697 + organization: *698 + enterprise: *696 + repository: *699 sender: *19 required: - action @@ -113383,11 +113654,11 @@ x-webhooks: type: string enum: - reopened - alert: *461 - installation: *696 - organization: *697 - enterprise: *695 - repository: *698 + alert: *462 + installation: *697 + organization: *698 + enterprise: *696 + repository: *699 sender: *19 required: - action @@ -113464,9 +113735,9 @@ x-webhooks: type: string enum: - created - enterprise: *695 - installation: *696 - key: &713 + enterprise: *696 + installation: *697 + key: &714 description: The [`deploy key`](https://docs.github.com/enterprise-cloud@latest//rest/deploy-keys/deploy-keys#get-a-deploy-key) resource. type: object @@ -113502,8 +113773,8 @@ x-webhooks: - verified - created_at - read_only - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 required: - action @@ -113580,11 +113851,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *695 - installation: *696 - key: *713 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + key: *714 + organization: *698 + repository: *699 sender: *19 required: - action @@ -114145,12 +114416,12 @@ x-webhooks: - updated_at - statuses_url - repository_url - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 - workflow: &717 + workflow: &718 title: Workflow type: object nullable: true @@ -114876,13 +115147,13 @@ x-webhooks: description: The URL to review the deployment protection rule. type: string format: uri - deployment: *467 + deployment: *468 pull_requests: type: array - items: *552 - repository: *698 - organization: *697 - installation: *696 + items: *553 + repository: *699 + organization: *698 + installation: *697 sender: *19 responses: '200': @@ -114953,7 +115224,7 @@ x-webhooks: type: string enum: - approved - approver: &714 + approver: &715 type: object properties: avatar_url: @@ -114996,11 +115267,11 @@ x-webhooks: type: string comment: type: string - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 - reviewers: &715 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + reviewers: &716 type: array items: type: object @@ -115079,7 +115350,7 @@ x-webhooks: sender: *19 since: type: string - workflow_job_run: &716 + workflow_job_run: &717 type: object properties: conclusion: @@ -115810,18 +116081,18 @@ x-webhooks: type: string enum: - rejected - approver: *714 + approver: *715 comment: type: string - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 - reviewers: *715 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + reviewers: *716 sender: *19 since: type: string - workflow_job_run: *716 + workflow_job_run: *717 workflow_job_runs: type: array items: @@ -116525,13 +116796,13 @@ x-webhooks: type: string enum: - requested - enterprise: *695 + enterprise: *696 environment: type: string - installation: *696 - organization: *697 - repository: *698 - requestor: &722 + installation: *697 + organization: *698 + repository: *699 + requestor: &723 title: User type: object nullable: true @@ -118430,12 +118701,12 @@ x-webhooks: - updated_at - deployment_url - repository_url - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 - workflow: *717 + workflow: *718 workflow_run: title: Deployment Workflow Run type: object @@ -119115,7 +119386,7 @@ x-webhooks: type: string enum: - answered - answer: &720 + answer: &721 type: object properties: author_association: @@ -119272,7 +119543,7 @@ x-webhooks: - created_at - updated_at - body - discussion: &718 + discussion: &719 title: Discussion description: A Discussion in a repository. type: object @@ -119558,7 +119829,7 @@ x-webhooks: - id labels: type: array - items: *514 + items: *515 required: - repository_url - category @@ -119580,10 +119851,10 @@ x-webhooks: - author_association - active_lock_reason - body - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -119710,11 +119981,11 @@ x-webhooks: - from required: - category - discussion: *718 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -119797,11 +120068,11 @@ x-webhooks: type: string enum: - closed - discussion: *718 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -119883,7 +120154,7 @@ x-webhooks: type: string enum: - created - comment: &719 + comment: &720 type: object properties: author_association: @@ -120040,11 +120311,11 @@ x-webhooks: - updated_at - body - reactions - discussion: *718 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -120127,12 +120398,12 @@ x-webhooks: type: string enum: - deleted - comment: *719 - discussion: *718 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + comment: *720 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -120227,12 +120498,12 @@ x-webhooks: - from required: - body - comment: *719 - discussion: *718 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + comment: *720 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -120316,11 +120587,11 @@ x-webhooks: type: string enum: - created - discussion: *718 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -120402,11 +120673,11 @@ x-webhooks: type: string enum: - deleted - discussion: *718 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -120506,11 +120777,11 @@ x-webhooks: type: string required: - from - discussion: *718 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -120592,10 +120863,10 @@ x-webhooks: type: string enum: - labeled - discussion: *718 - enterprise: *695 - installation: *696 - label: &721 + discussion: *719 + enterprise: *696 + installation: *697 + label: &722 title: Label type: object properties: @@ -120627,8 +120898,8 @@ x-webhooks: - color - default - description - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 required: - action @@ -120711,11 +120982,11 @@ x-webhooks: type: string enum: - locked - discussion: *718 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -120797,11 +121068,11 @@ x-webhooks: type: string enum: - pinned - discussion: *718 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -120883,11 +121154,11 @@ x-webhooks: type: string enum: - reopened - discussion: *718 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -120972,16 +121243,16 @@ x-webhooks: changes: type: object properties: - new_discussion: *718 - new_repository: *698 + new_discussion: *719 + new_repository: *699 required: - new_discussion - new_repository - discussion: *718 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -121064,10 +121335,10 @@ x-webhooks: type: string enum: - unanswered - discussion: *718 - old_answer: *720 - organization: *697 - repository: *698 + discussion: *719 + old_answer: *721 + organization: *698 + repository: *699 sender: *19 required: - action @@ -121149,12 +121420,12 @@ x-webhooks: type: string enum: - unlabeled - discussion: *718 - enterprise: *695 - installation: *696 - label: *721 - organization: *697 - repository: *698 + discussion: *719 + enterprise: *696 + installation: *697 + label: *722 + organization: *698 + repository: *699 sender: *19 required: - action @@ -121237,11 +121508,11 @@ x-webhooks: type: string enum: - unlocked - discussion: *718 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -121323,11 +121594,11 @@ x-webhooks: type: string enum: - unpinned - discussion: *718 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + discussion: *719 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -121400,7 +121671,7 @@ x-webhooks: description: A user forks a repository. type: object properties: - enterprise: *695 + enterprise: *696 forkee: description: The created [`repository`](https://docs.github.com/enterprise-cloud@latest//rest/repos/repos#get-a-repository) resource. @@ -122060,9 +122331,9 @@ x-webhooks: type: integer watchers_count: type: integer - installation: *696 - organization: *697 - repository: *698 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - forkee @@ -122208,9 +122479,9 @@ x-webhooks: title: gollum event type: object properties: - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 pages: description: The pages that were updated. type: array @@ -122247,7 +122518,7 @@ x-webhooks: - action - sha - html_url - repository: *698 + repository: *699 sender: *19 required: - pages @@ -122323,10 +122594,10 @@ x-webhooks: type: string enum: - created - enterprise: *695 + enterprise: *696 installation: *22 - organization: *697 - repositories: &723 + organization: *698 + repositories: &724 description: An array of repository objects that the installation can access. type: array @@ -122352,8 +122623,8 @@ x-webhooks: - name - full_name - private - repository: *698 - requester: *722 + repository: *699 + requester: *723 sender: *19 required: - action @@ -122428,11 +122699,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *695 + enterprise: *696 installation: *22 - organization: *697 - repositories: *723 - repository: *698 + organization: *698 + repositories: *724 + repository: *699 requester: nullable: true sender: *19 @@ -122508,11 +122779,11 @@ x-webhooks: type: string enum: - new_permissions_accepted - enterprise: *695 + enterprise: *696 installation: *22 - organization: *697 - repositories: *723 - repository: *698 + organization: *698 + repositories: *724 + repository: *699 requester: nullable: true sender: *19 @@ -122588,10 +122859,10 @@ x-webhooks: type: string enum: - added - enterprise: *695 + enterprise: *696 installation: *22 - organization: *697 - repositories_added: &724 + organization: *698 + repositories_added: &725 description: An array of repository objects, which were added to the installation. type: array @@ -122637,15 +122908,15 @@ x-webhooks: private: description: Whether the repository is private or public. type: boolean - repository: *698 - repository_selection: &725 + repository: *699 + repository_selection: &726 description: Describe whether all repositories have been selected or there's a selection involved type: string enum: - all - selected - requester: *722 + requester: *723 sender: *19 required: - action @@ -122724,10 +122995,10 @@ x-webhooks: type: string enum: - removed - enterprise: *695 + enterprise: *696 installation: *22 - organization: *697 - repositories_added: *724 + organization: *698 + repositories_added: *725 repositories_removed: description: An array of repository objects, which were removed from the installation. @@ -122754,9 +123025,9 @@ x-webhooks: - name - full_name - private - repository: *698 - repository_selection: *725 - requester: *722 + repository: *699 + repository_selection: *726 + requester: *723 sender: *19 required: - action @@ -122835,11 +123106,11 @@ x-webhooks: type: string enum: - suspend - enterprise: *695 + enterprise: *696 installation: *22 - organization: *697 - repositories: *723 - repository: *698 + organization: *698 + repositories: *724 + repository: *699 requester: nullable: true sender: *19 @@ -123018,10 +123289,10 @@ x-webhooks: type: string required: - from - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 target_type: type: string @@ -123100,11 +123371,11 @@ x-webhooks: type: string enum: - unsuspend - enterprise: *695 + enterprise: *696 installation: *22 - organization: *697 - repositories: *723 - repository: *698 + organization: *698 + repositories: *724 + repository: *699 requester: nullable: true sender: *19 @@ -123228,8 +123499,8 @@ x-webhooks: first class actors within GitHub. type: object nullable: true - properties: *103 - required: *104 + properties: *107 + required: *108 reactions: title: Reactions type: object @@ -123356,8 +123627,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -124512,8 +124783,8 @@ x-webhooks: - state - locked - assignee - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 required: - action @@ -124593,7 +124864,7 @@ x-webhooks: type: string enum: - deleted - comment: &726 + comment: &727 title: issue comment description: The [comment](https://docs.github.com/enterprise-cloud@latest//rest/issues/comments#get-an-issue-comment) itself. @@ -124758,8 +125029,8 @@ x-webhooks: - performed_via_github_app - body - reactions - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -125912,8 +126183,8 @@ x-webhooks: - state - locked - assignee - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 required: - action @@ -125993,7 +126264,7 @@ x-webhooks: type: string enum: - edited - changes: &754 + changes: &755 description: The changes to the comment. type: object properties: @@ -126005,9 +126276,9 @@ x-webhooks: type: string required: - from - comment: *726 - enterprise: *695 - installation: *696 + comment: *727 + enterprise: *696 + installation: *697 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) the comment belongs to. @@ -127161,8 +127432,8 @@ x-webhooks: - state - locked - assignee - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 required: - action @@ -127244,10 +127515,10 @@ x-webhooks: type: string enum: - assigned - assignee: *722 - enterprise: *695 - installation: *696 - issue: &729 + assignee: *723 + enterprise: *696 + installation: *697 + issue: &730 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -128165,8 +128436,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 required: - action @@ -128246,8 +128517,8 @@ x-webhooks: type: string enum: - closed - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 issue: description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -129305,8 +129576,8 @@ x-webhooks: required: - state - closed_at - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 required: - action @@ -129385,8 +129656,8 @@ x-webhooks: type: string enum: - deleted - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -130297,8 +130568,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 required: - action @@ -130377,8 +130648,8 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -131292,7 +131563,7 @@ x-webhooks: format: uri user_view_type: type: string - milestone: &727 + milestone: &728 title: Milestone description: A collection of related issues and pull requests. type: object @@ -131430,8 +131701,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 required: - action @@ -131530,8 +131801,8 @@ x-webhooks: type: string required: - from - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -132449,9 +132720,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *721 - organization: *697 - repository: *698 + label: *722 + organization: *698 + repository: *699 sender: *19 required: - action @@ -132531,8 +132802,8 @@ x-webhooks: type: string enum: - labeled - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -133449,9 +133720,9 @@ x-webhooks: - active_lock_reason - body - reactions - label: *721 - organization: *697 - repository: *698 + label: *722 + organization: *698 + repository: *699 sender: *19 required: - action @@ -133531,8 +133802,8 @@ x-webhooks: type: string enum: - locked - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -134450,8 +134721,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 required: - action @@ -134530,8 +134801,8 @@ x-webhooks: type: string enum: - milestoned - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -135443,9 +135714,9 @@ x-webhooks: format: uri user_view_type: type: string - milestone: *727 - organization: *697 - repository: *698 + milestone: *728 + organization: *698 + repository: *699 sender: *19 required: - action @@ -136906,8 +137177,8 @@ x-webhooks: required: - old_issue - old_repository - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -137824,8 +138095,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 required: - action @@ -137905,9 +138176,9 @@ x-webhooks: type: string enum: - pinned - enterprise: *695 - installation: *696 - issue: &728 + enterprise: *696 + installation: *697 + issue: &729 title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) itself. @@ -138818,8 +139089,8 @@ x-webhooks: - active_lock_reason - body - reactions - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 required: - action @@ -138898,8 +139169,8 @@ x-webhooks: type: string enum: - reopened - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -139816,8 +140087,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 required: - action @@ -141279,11 +141550,11 @@ x-webhooks: required: - new_issue - new_repository - enterprise: *695 - installation: *696 - issue: *728 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + issue: *729 + organization: *698 + repository: *699 sender: *19 required: - action @@ -141364,7 +141635,7 @@ x-webhooks: type: string enum: - unassigned - assignee: &757 + assignee: &758 title: User type: object nullable: true @@ -141434,11 +141705,11 @@ x-webhooks: required: - login - id - enterprise: *695 - installation: *696 - issue: *729 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + issue: *730 + organization: *698 + repository: *699 sender: *19 required: - action @@ -141517,12 +141788,12 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *695 - installation: *696 - issue: *729 - label: *721 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + issue: *730 + label: *722 + organization: *698 + repository: *699 sender: *19 required: - action @@ -141602,8 +141873,8 @@ x-webhooks: type: string enum: - unlocked - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 issue: title: Issue description: The [issue](https://docs.github.com/enterprise-cloud@latest//rest/issues/issues#get-an-issue) @@ -142519,8 +142790,8 @@ x-webhooks: format: uri user_view_type: type: string - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 required: - action @@ -142600,11 +142871,11 @@ x-webhooks: type: string enum: - unpinned - enterprise: *695 - installation: *696 - issue: *728 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + issue: *729 + organization: *698 + repository: *699 sender: *19 required: - action @@ -142683,11 +142954,11 @@ x-webhooks: type: string enum: - created - enterprise: *695 - installation: *696 - label: *721 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + label: *722 + organization: *698 + repository: *699 sender: *19 required: - action @@ -142765,11 +143036,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *695 - installation: *696 - label: *721 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + label: *722 + organization: *698 + repository: *699 sender: *19 required: - action @@ -142879,11 +143150,11 @@ x-webhooks: type: string required: - from - enterprise: *695 - installation: *696 - label: *721 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + label: *722 + organization: *698 + repository: *699 sender: *19 required: - action @@ -142965,9 +143236,9 @@ x-webhooks: - cancelled effective_date: type: string - enterprise: *695 - installation: *696 - marketplace_purchase: &730 + enterprise: *696 + installation: *697 + marketplace_purchase: &731 title: Marketplace Purchase type: object required: @@ -143050,8 +143321,8 @@ x-webhooks: type: integer unit_count: type: integer - organization: *697 - previous_marketplace_purchase: &731 + organization: *698 + previous_marketplace_purchase: &732 title: Marketplace Purchase type: object properties: @@ -143131,7 +143402,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *698 + repository: *699 sender: *19 required: - action @@ -143211,10 +143482,10 @@ x-webhooks: - changed effective_date: type: string - enterprise: *695 - installation: *696 - marketplace_purchase: *730 - organization: *697 + enterprise: *696 + installation: *697 + marketplace_purchase: *731 + organization: *698 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -143297,7 +143568,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *698 + repository: *699 sender: *19 required: - action @@ -143379,10 +143650,10 @@ x-webhooks: - pending_change effective_date: type: string - enterprise: *695 - installation: *696 - marketplace_purchase: *730 - organization: *697 + enterprise: *696 + installation: *697 + marketplace_purchase: *731 + organization: *698 previous_marketplace_purchase: title: Marketplace Purchase type: object @@ -143464,7 +143735,7 @@ x-webhooks: - on_free_trial - free_trial_ends_on - plan - repository: *698 + repository: *699 sender: *19 required: - action @@ -143545,8 +143816,8 @@ x-webhooks: - pending_change_cancelled effective_date: type: string - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 marketplace_purchase: title: Marketplace Purchase type: object @@ -143628,9 +143899,9 @@ x-webhooks: type: integer unit_count: type: integer - organization: *697 - previous_marketplace_purchase: *731 - repository: *698 + organization: *698 + previous_marketplace_purchase: *732 + repository: *699 sender: *19 required: - action @@ -143710,12 +143981,12 @@ x-webhooks: - purchased effective_date: type: string - enterprise: *695 - installation: *696 - marketplace_purchase: *730 - organization: *697 - previous_marketplace_purchase: *731 - repository: *698 + enterprise: *696 + installation: *697 + marketplace_purchase: *731 + organization: *698 + previous_marketplace_purchase: *732 + repository: *699 sender: *19 required: - action @@ -143817,11 +144088,11 @@ x-webhooks: type: string required: - to - enterprise: *695 - installation: *696 - member: *722 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + member: *723 + organization: *698 + repository: *699 sender: *19 required: - action @@ -143921,11 +144192,11 @@ x-webhooks: to: type: string nullable: true - enterprise: *695 - installation: *696 - member: *722 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + member: *723 + organization: *698 + repository: *699 sender: *19 required: - action @@ -144004,11 +144275,11 @@ x-webhooks: type: string enum: - removed - enterprise: *695 - installation: *696 - member: *722 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + member: *723 + organization: *698 + repository: *699 sender: *19 required: - action @@ -144086,11 +144357,11 @@ x-webhooks: type: string enum: - added - enterprise: *695 - installation: *696 - member: *722 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + member: *723 + organization: *698 + repository: *699 scope: description: The scope of the membership. Currently, can only be `team`. @@ -144166,7 +144437,7 @@ x-webhooks: required: - login - id - team: &732 + team: &733 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -144356,11 +144627,11 @@ x-webhooks: type: string enum: - removed - enterprise: *695 - installation: *696 - member: *722 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + member: *723 + organization: *698 + repository: *699 scope: description: The scope of the membership. Currently, can only be `team`. @@ -144437,7 +144708,7 @@ x-webhooks: required: - login - id - team: *732 + team: *733 required: - action - scope @@ -144519,8 +144790,8 @@ x-webhooks: type: string enum: - checks_requested - installation: *696 - merge_group: &734 + installation: *697 + merge_group: &735 type: object title: Merge Group description: A group of pull requests that the merge queue has grouped @@ -144539,15 +144810,15 @@ x-webhooks: description: The full ref of the branch the merge group will be merged into. type: string - head_commit: *733 + head_commit: *734 required: - head_sha - head_ref - base_sha - base_ref - head_commit - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 required: - action @@ -144633,10 +144904,10 @@ x-webhooks: - merged - invalidated - dequeued - installation: *696 - merge_group: *734 - organization: *697 - repository: *698 + installation: *697 + merge_group: *735 + organization: *698 + repository: *699 sender: *19 required: - action @@ -144709,7 +144980,7 @@ x-webhooks: type: string enum: - deleted - enterprise: *695 + enterprise: *696 hook: description: 'The modified webhook. This will contain different keys based on the type of webhook it is: repository, organization, @@ -144817,16 +145088,16 @@ x-webhooks: hook_id: description: The id of the modified webhook. type: integer - installation: *696 - organization: *697 + installation: *697 + organization: *698 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *735 - required: *736 + properties: *736 + required: *737 nullable: true sender: *19 required: @@ -144907,11 +145178,11 @@ x-webhooks: type: string enum: - closed - enterprise: *695 - installation: *696 - milestone: *727 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + milestone: *728 + organization: *698 + repository: *699 sender: *19 required: - action @@ -144990,9 +145261,9 @@ x-webhooks: type: string enum: - created - enterprise: *695 - installation: *696 - milestone: &737 + enterprise: *696 + installation: *697 + milestone: &738 title: Milestone description: A collection of related issues and pull requests. type: object @@ -145129,8 +145400,8 @@ x-webhooks: - updated_at - due_on - closed_at - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 required: - action @@ -145209,11 +145480,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *695 - installation: *696 - milestone: *727 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + milestone: *728 + organization: *698 + repository: *699 sender: *19 required: - action @@ -145323,11 +145594,11 @@ x-webhooks: type: string required: - from - enterprise: *695 - installation: *696 - milestone: *727 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + milestone: *728 + organization: *698 + repository: *699 sender: *19 required: - action @@ -145407,11 +145678,11 @@ x-webhooks: type: string enum: - opened - enterprise: *695 - installation: *696 - milestone: *737 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + milestone: *738 + organization: *698 + repository: *699 sender: *19 required: - action @@ -145490,11 +145761,11 @@ x-webhooks: type: string enum: - blocked - blocked_user: *722 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + blocked_user: *723 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -145573,11 +145844,11 @@ x-webhooks: type: string enum: - unblocked - blocked_user: *722 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + blocked_user: *723 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -145656,9 +145927,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *695 - installation: *696 - membership: &738 + enterprise: *696 + installation: *697 + membership: &739 title: Membership description: The membership between the user and the organization. Not present when the action is `member_invited`. @@ -145750,8 +146021,8 @@ x-webhooks: - role - organization_url - user - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 required: - action @@ -145829,11 +146100,11 @@ x-webhooks: type: string enum: - member_added - enterprise: *695 - installation: *696 - membership: *738 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + membership: *739 + organization: *698 + repository: *699 sender: *19 required: - action @@ -145912,8 +146183,8 @@ x-webhooks: type: string enum: - member_invited - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 invitation: description: The invitation for the user or email if the action is `member_invited`. @@ -146029,10 +146300,10 @@ x-webhooks: - inviter - team_count - invitation_teams_url - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 - user: *722 + user: *723 required: - action - invitation @@ -146110,11 +146381,11 @@ x-webhooks: type: string enum: - member_removed - enterprise: *695 - installation: *696 - membership: *738 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + membership: *739 + organization: *698 + repository: *699 sender: *19 required: - action @@ -146201,11 +146472,11 @@ x-webhooks: properties: from: type: string - enterprise: *695 - installation: *696 - membership: *738 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + membership: *739 + organization: *698 + repository: *699 sender: *19 required: - action @@ -146281,9 +146552,9 @@ x-webhooks: type: string enum: - published - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 package: description: Information about the package. type: object @@ -146782,7 +147053,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: &739 + items: &740 title: Ruby Gems metadata type: object properties: @@ -146877,7 +147148,7 @@ x-webhooks: - owner - package_version - registry - repository: *698 + repository: *699 sender: *19 required: - action @@ -146953,9 +147224,9 @@ x-webhooks: type: string enum: - updated - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 package: description: Information about the package. type: object @@ -147308,7 +147579,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *739 + items: *740 source_url: type: string format: uri @@ -147378,7 +147649,7 @@ x-webhooks: - owner - package_version - registry - repository: *698 + repository: *699 sender: *19 required: - action @@ -147555,12 +147826,12 @@ x-webhooks: - duration - created_at - updated_at - enterprise: *695 + enterprise: *696 id: type: integer - installation: *696 - organization: *697 - repository: *698 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - id @@ -147640,7 +147911,7 @@ x-webhooks: type: string enum: - approved - personal_access_token_request: &740 + personal_access_token_request: &741 title: Personal Access Token Request description: Details of a Personal Access Token Request. type: object @@ -147786,10 +148057,10 @@ x-webhooks: - token_expired - token_expires_at - token_last_used_at - enterprise: *695 - organization: *697 + enterprise: *696 + organization: *698 sender: *19 - installation: *696 + installation: *697 required: - action - personal_access_token_request @@ -147868,11 +148139,11 @@ x-webhooks: type: string enum: - cancelled - personal_access_token_request: *740 - enterprise: *695 - organization: *697 + personal_access_token_request: *741 + enterprise: *696 + organization: *698 sender: *19 - installation: *696 + installation: *697 required: - action - personal_access_token_request @@ -147950,11 +148221,11 @@ x-webhooks: type: string enum: - created - personal_access_token_request: *740 - enterprise: *695 - organization: *697 + personal_access_token_request: *741 + enterprise: *696 + organization: *698 sender: *19 - installation: *696 + installation: *697 required: - action - personal_access_token_request @@ -148031,11 +148302,11 @@ x-webhooks: type: string enum: - denied - personal_access_token_request: *740 - organization: *697 - enterprise: *695 + personal_access_token_request: *741 + organization: *698 + enterprise: *696 sender: *19 - installation: *696 + installation: *697 required: - action - personal_access_token_request @@ -148139,7 +148410,7 @@ x-webhooks: id: description: Unique identifier of the webhook. type: integer - last_response: *741 + last_response: *742 name: description: The type of webhook. The only valid value is 'web'. type: string @@ -148171,8 +148442,8 @@ x-webhooks: hook_id: description: The ID of the webhook that triggered the ping. type: integer - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 zen: description: Random string of GitHub zen. @@ -148417,10 +148688,10 @@ x-webhooks: - from required: - note - enterprise: *695 - installation: *696 - organization: *697 - project_card: &742 + enterprise: *696 + installation: *697 + organization: *698 + project_card: &743 title: Project Card type: object properties: @@ -148539,7 +148810,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *698 + repository: *699 sender: *19 required: - action @@ -148620,11 +148891,11 @@ x-webhooks: type: string enum: - created - enterprise: *695 - installation: *696 - organization: *697 - project_card: *742 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + project_card: *743 + repository: *699 sender: *19 required: - action @@ -148704,9 +148975,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 project_card: title: Project Card type: object @@ -148834,8 +149105,8 @@ x-webhooks: The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *735 - required: *736 + properties: *736 + required: *737 nullable: true sender: *19 required: @@ -148929,11 +149200,11 @@ x-webhooks: - from required: - note - enterprise: *695 - installation: *696 - organization: *697 - project_card: *742 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + project_card: *743 + repository: *699 sender: *19 required: - action @@ -149027,9 +149298,9 @@ x-webhooks: - from required: - column_id - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 project_card: allOf: - title: Project Card @@ -149219,7 +149490,7 @@ x-webhooks: type: string required: - after_id - repository: *698 + repository: *699 sender: *19 required: - action @@ -149299,10 +149570,10 @@ x-webhooks: type: string enum: - closed - enterprise: *695 - installation: *696 - organization: *697 - project: &744 + enterprise: *696 + installation: *697 + organization: *698 + project: &745 title: Project type: object properties: @@ -149426,7 +149697,7 @@ x-webhooks: - creator - created_at - updated_at - repository: *698 + repository: *699 sender: *19 required: - action @@ -149506,10 +149777,10 @@ x-webhooks: type: string enum: - created - enterprise: *695 - installation: *696 - organization: *697 - project_column: &743 + enterprise: *696 + installation: *697 + organization: *698 + project_column: &744 title: Project Column type: object properties: @@ -149548,7 +149819,7 @@ x-webhooks: - name - created_at - updated_at - repository: *698 + repository: *699 sender: *19 required: - action @@ -149627,18 +149898,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *695 - installation: *696 - organization: *697 - project_column: *743 + enterprise: *696 + installation: *697 + organization: *698 + project_column: *744 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *735 - required: *736 + properties: *736 + required: *737 nullable: true sender: *19 required: @@ -149728,11 +149999,11 @@ x-webhooks: type: string required: - from - enterprise: *695 - installation: *696 - organization: *697 - project_column: *743 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + project_column: *744 + repository: *699 sender: *19 required: - action @@ -149812,11 +150083,11 @@ x-webhooks: type: string enum: - moved - enterprise: *695 - installation: *696 - organization: *697 - project_column: *743 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + project_column: *744 + repository: *699 sender: *19 required: - action @@ -149896,11 +150167,11 @@ x-webhooks: type: string enum: - created - enterprise: *695 - installation: *696 - organization: *697 - project: *744 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + project: *745 + repository: *699 sender: *19 required: - action @@ -149980,18 +150251,18 @@ x-webhooks: type: string enum: - deleted - enterprise: *695 - installation: *696 - organization: *697 - project: *744 + enterprise: *696 + installation: *697 + organization: *698 + project: *745 repository: title: Repository description: |- The repository on GitHub where the event occurred. Webhook payloads contain the `repository` property when the event occurs from activity in a repository. type: object - properties: *735 - required: *736 + properties: *736 + required: *737 nullable: true sender: *19 required: @@ -150093,11 +150364,11 @@ x-webhooks: type: string required: - from - enterprise: *695 - installation: *696 - organization: *697 - project: *744 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + project: *745 + repository: *699 sender: *19 required: - action @@ -150176,11 +150447,11 @@ x-webhooks: type: string enum: - reopened - enterprise: *695 - installation: *696 - organization: *697 - project: *744 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + project: *745 + repository: *699 sender: *19 required: - action @@ -150261,9 +150532,9 @@ x-webhooks: type: string enum: - closed - installation: *696 - organization: *697 - projects_v2: &745 + installation: *697 + organization: *698 + projects_v2: &746 title: Projects v2 Project description: A projects v2 project type: object @@ -150406,9 +150677,9 @@ x-webhooks: type: string enum: - created - installation: *696 - organization: *697 - projects_v2: *745 + installation: *697 + organization: *698 + projects_v2: *746 sender: *19 required: - action @@ -150489,9 +150760,9 @@ x-webhooks: type: string enum: - deleted - installation: *696 - organization: *697 - projects_v2: *745 + installation: *697 + organization: *698 + projects_v2: *746 sender: *19 required: - action @@ -150608,9 +150879,9 @@ x-webhooks: type: string to: type: string - installation: *696 - organization: *697 - projects_v2: *745 + installation: *697 + organization: *698 + projects_v2: *746 sender: *19 required: - action @@ -150693,7 +150964,7 @@ x-webhooks: type: string enum: - archived - changes: &749 + changes: &750 type: object properties: archived_at: @@ -150707,9 +150978,9 @@ x-webhooks: type: string nullable: true format: date-time - installation: *696 - organization: *697 - projects_v2_item: &746 + installation: *697 + organization: *698 + projects_v2_item: &747 title: Projects v2 Item description: An item belonging to a project type: object @@ -150843,9 +151114,9 @@ x-webhooks: nullable: true to: type: string - installation: *696 - organization: *697 - projects_v2_item: *746 + installation: *697 + organization: *698 + projects_v2_item: *747 sender: *19 required: - action @@ -150927,9 +151198,9 @@ x-webhooks: type: string enum: - created - installation: *696 - organization: *697 - projects_v2_item: *746 + installation: *697 + organization: *698 + projects_v2_item: *747 sender: *19 required: - action @@ -151010,9 +151281,9 @@ x-webhooks: type: string enum: - deleted - installation: *696 - organization: *697 - projects_v2_item: *746 + installation: *697 + organization: *698 + projects_v2_item: *747 sender: *19 required: - action @@ -151118,7 +151389,7 @@ x-webhooks: oneOf: - type: string - type: integer - - &747 + - &748 title: Projects v2 Single Select Option description: An option for a single select field type: object @@ -151136,7 +151407,7 @@ x-webhooks: required: - id - name - - &748 + - &749 title: Projects v2 Iteration Setting description: An iteration setting for an iteration field type: object @@ -151159,8 +151430,8 @@ x-webhooks: oneOf: - type: string - type: integer - - *747 - *748 + - *749 required: - field_value - type: object @@ -151176,9 +151447,9 @@ x-webhooks: nullable: true required: - body - installation: *696 - organization: *697 - projects_v2_item: *746 + installation: *697 + organization: *698 + projects_v2_item: *747 sender: *19 required: - action @@ -151273,9 +151544,9 @@ x-webhooks: to: type: string nullable: true - installation: *696 - organization: *697 - projects_v2_item: *746 + installation: *697 + organization: *698 + projects_v2_item: *747 sender: *19 required: - action @@ -151358,10 +151629,10 @@ x-webhooks: type: string enum: - restored - changes: *749 - installation: *696 - organization: *697 - projects_v2_item: *746 + changes: *750 + installation: *697 + organization: *698 + projects_v2_item: *747 sender: *19 required: - action @@ -151443,9 +151714,9 @@ x-webhooks: type: string enum: - reopened - installation: *696 - organization: *697 - projects_v2: *745 + installation: *697 + organization: *698 + projects_v2: *746 sender: *19 required: - action @@ -151526,9 +151797,9 @@ x-webhooks: type: string enum: - created - installation: *696 - organization: *697 - projects_v2_status_update: &750 + installation: *697 + organization: *698 + projects_v2_status_update: &751 title: Projects v2 Status Update description: An status update belonging to a project type: object @@ -151655,9 +151926,9 @@ x-webhooks: type: string enum: - deleted - installation: *696 - organization: *697 - projects_v2_status_update: *750 + installation: *697 + organization: *698 + projects_v2_status_update: *751 sender: *19 required: - action @@ -151793,9 +152064,9 @@ x-webhooks: type: string format: date nullable: true - installation: *696 - organization: *697 - projects_v2_status_update: *750 + installation: *697 + organization: *698 + projects_v2_status_update: *751 sender: *19 required: - action @@ -151866,10 +152137,10 @@ x-webhooks: title: public event type: object properties: - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - repository @@ -151946,13 +152217,13 @@ x-webhooks: type: string enum: - assigned - assignee: *722 - enterprise: *695 - installation: *696 - number: &751 + assignee: *723 + enterprise: *696 + installation: *697 + number: &752 description: The pull request number. type: integer - organization: *697 + organization: *698 pull_request: title: Pull Request type: object @@ -154235,7 +154506,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *698 + repository: *699 sender: *19 required: - action @@ -154317,11 +154588,11 @@ x-webhooks: type: string enum: - auto_merge_disabled - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 number: type: integer - organization: *697 + organization: *698 pull_request: title: Pull Request type: object @@ -156599,7 +156870,7 @@ x-webhooks: - draft reason: type: string - repository: *698 + repository: *699 sender: *19 required: - action @@ -156681,11 +156952,11 @@ x-webhooks: type: string enum: - auto_merge_enabled - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 number: type: integer - organization: *697 + organization: *698 pull_request: title: Pull Request type: object @@ -158963,7 +159234,7 @@ x-webhooks: - draft reason: type: string - repository: *698 + repository: *699 sender: *19 required: - action @@ -159045,13 +159316,13 @@ x-webhooks: type: string enum: - closed - enterprise: *695 - installation: *696 - number: *751 - organization: *697 - pull_request: &752 + enterprise: *696 + installation: *697 + number: *752 + organization: *698 + pull_request: &753 allOf: - - *552 + - *553 - type: object properties: allow_auto_merge: @@ -159113,7 +159384,7 @@ x-webhooks: Please use `squash_merge_commit_title` instead.** type: boolean default: false - repository: *698 + repository: *699 sender: *19 required: - action @@ -159194,12 +159465,12 @@ x-webhooks: type: string enum: - converted_to_draft - enterprise: *695 - installation: *696 - number: *751 - organization: *697 - pull_request: *752 - repository: *698 + enterprise: *696 + installation: *697 + number: *752 + organization: *698 + pull_request: *753 + repository: *699 sender: *19 required: - action @@ -159279,11 +159550,11 @@ x-webhooks: type: string enum: - demilestoned - enterprise: *695 - milestone: *535 - number: *751 - organization: *697 - pull_request: &753 + enterprise: *696 + milestone: *536 + number: *752 + organization: *698 + pull_request: &754 title: Pull Request type: object properties: @@ -161546,7 +161817,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *698 + repository: *699 sender: *19 required: - action @@ -161625,11 +161896,11 @@ x-webhooks: type: string enum: - dequeued - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 number: type: integer - organization: *697 + organization: *698 pull_request: title: Pull Request type: object @@ -163911,7 +164182,7 @@ x-webhooks: - BRANCH_PROTECTIONS - GIT_TREE_INVALID - INVALID_MERGE_COMMIT - repository: *698 + repository: *699 sender: *19 required: - action @@ -164035,12 +164306,12 @@ x-webhooks: type: string required: - from - enterprise: *695 - installation: *696 - number: *751 - organization: *697 - pull_request: *752 - repository: *698 + enterprise: *696 + installation: *697 + number: *752 + organization: *698 + pull_request: *753 + repository: *699 sender: *19 required: - action @@ -164120,11 +164391,11 @@ x-webhooks: type: string enum: - enqueued - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 number: type: integer - organization: *697 + organization: *698 pull_request: title: Pull Request type: object @@ -166391,7 +166662,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *698 + repository: *699 sender: *19 required: - action @@ -166471,11 +166742,11 @@ x-webhooks: type: string enum: - labeled - enterprise: *695 - installation: *696 - label: *721 - number: *751 - organization: *697 + enterprise: *696 + installation: *697 + label: *722 + number: *752 + organization: *698 pull_request: title: Pull Request type: object @@ -168757,7 +169028,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *698 + repository: *699 sender: *19 required: - action @@ -168838,10 +169109,10 @@ x-webhooks: type: string enum: - locked - enterprise: *695 - installation: *696 - number: *751 - organization: *697 + enterprise: *696 + installation: *697 + number: *752 + organization: *698 pull_request: title: Pull Request type: object @@ -171121,7 +171392,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *698 + repository: *699 sender: *19 required: - action @@ -171201,12 +171472,12 @@ x-webhooks: type: string enum: - milestoned - enterprise: *695 - milestone: *535 - number: *751 - organization: *697 - pull_request: *753 - repository: *698 + enterprise: *696 + milestone: *536 + number: *752 + organization: *698 + pull_request: *754 + repository: *699 sender: *19 required: - action @@ -171285,12 +171556,12 @@ x-webhooks: type: string enum: - opened - enterprise: *695 - installation: *696 - number: *751 - organization: *697 - pull_request: *752 - repository: *698 + enterprise: *696 + installation: *697 + number: *752 + organization: *698 + pull_request: *753 + repository: *699 sender: *19 required: - action @@ -171371,12 +171642,12 @@ x-webhooks: type: string enum: - ready_for_review - enterprise: *695 - installation: *696 - number: *751 - organization: *697 - pull_request: *752 - repository: *698 + enterprise: *696 + installation: *697 + number: *752 + organization: *698 + pull_request: *753 + repository: *699 sender: *19 required: - action @@ -171456,12 +171727,12 @@ x-webhooks: type: string enum: - reopened - enterprise: *695 - installation: *696 - number: *751 - organization: *697 - pull_request: *752 - repository: *698 + enterprise: *696 + installation: *697 + number: *752 + organization: *698 + pull_request: *753 + repository: *699 sender: *19 required: - action @@ -171827,9 +172098,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 pull_request: type: object properties: @@ -173999,7 +174270,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *698 + repository: *699 sender: *19 required: - action @@ -174079,7 +174350,7 @@ x-webhooks: type: string enum: - deleted - comment: &755 + comment: &756 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. @@ -174364,9 +174635,9 @@ x-webhooks: - start_side - side - reactions - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 pull_request: type: object properties: @@ -176524,7 +176795,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *698 + repository: *699 sender: *19 required: - action @@ -176604,11 +176875,11 @@ x-webhooks: type: string enum: - edited - changes: *754 - comment: *755 - enterprise: *695 - installation: *696 - organization: *697 + changes: *755 + comment: *756 + enterprise: *696 + installation: *697 + organization: *698 pull_request: type: object properties: @@ -178769,7 +179040,7 @@ x-webhooks: - _links - author_association - active_lock_reason - repository: *698 + repository: *699 sender: *19 required: - action @@ -178850,9 +179121,9 @@ x-webhooks: type: string enum: - dismissed - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 pull_request: title: Simple Pull Request type: object @@ -181025,7 +181296,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *698 + repository: *699 review: description: The review that was affected. type: object @@ -181268,9 +181539,9 @@ x-webhooks: type: string required: - from - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 pull_request: title: Simple Pull Request type: object @@ -183324,8 +183595,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *698 - review: &756 + repository: *699 + review: &757 description: The review that was affected. type: object properties: @@ -183554,12 +183825,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 number: description: The pull request number. type: integer - organization: *697 + organization: *698 pull_request: title: Pull Request type: object @@ -185842,7 +186113,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *698 + repository: *699 requested_reviewer: title: User type: object @@ -185926,12 +186197,12 @@ x-webhooks: type: string enum: - review_request_removed - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 number: description: The pull request number. type: integer - organization: *697 + organization: *698 pull_request: title: Pull Request type: object @@ -188221,7 +188492,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *698 + repository: *699 requested_team: title: Team description: Groups of organization members that gives permissions @@ -188413,12 +188684,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 number: description: The pull request number. type: integer - organization: *697 + organization: *698 pull_request: title: Pull Request type: object @@ -190703,7 +190974,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *698 + repository: *699 requested_reviewer: title: User type: object @@ -190788,12 +191059,12 @@ x-webhooks: type: string enum: - review_requested - enterprise: *695 - installation: *696 + enterprise: *696 + installation: *697 number: description: The pull request number. type: integer - organization: *697 + organization: *698 pull_request: title: Pull Request type: object @@ -193069,7 +193340,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *698 + repository: *699 requested_team: title: Team description: Groups of organization members that gives permissions @@ -193250,9 +193521,9 @@ x-webhooks: type: string enum: - submitted - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 pull_request: title: Simple Pull Request type: object @@ -195427,8 +195698,8 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *698 - review: *756 + repository: *699 + review: *757 sender: *19 required: - action @@ -195508,9 +195779,9 @@ x-webhooks: type: string enum: - resolved - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 pull_request: title: Simple Pull Request type: object @@ -197580,7 +197851,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *698 + repository: *699 sender: *19 thread: type: object @@ -197963,9 +198234,9 @@ x-webhooks: type: string enum: - unresolved - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 pull_request: title: Simple Pull Request type: object @@ -200021,7 +200292,7 @@ x-webhooks: - author_association - auto_merge - active_lock_reason - repository: *698 + repository: *699 sender: *19 thread: type: object @@ -200407,10 +200678,10 @@ x-webhooks: type: string before: type: string - enterprise: *695 - installation: *696 - number: *751 - organization: *697 + enterprise: *696 + installation: *697 + number: *752 + organization: *698 pull_request: title: Pull Request type: object @@ -202681,7 +202952,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *698 + repository: *699 sender: *19 required: - action @@ -202763,11 +203034,11 @@ x-webhooks: type: string enum: - unassigned - assignee: *757 - enterprise: *695 - installation: *696 - number: *751 - organization: *697 + assignee: *758 + enterprise: *696 + installation: *697 + number: *752 + organization: *698 pull_request: title: Pull Request type: object @@ -205050,7 +205321,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *698 + repository: *699 sender: *19 required: - action @@ -205129,11 +205400,11 @@ x-webhooks: type: string enum: - unlabeled - enterprise: *695 - installation: *696 - label: *721 - number: *751 - organization: *697 + enterprise: *696 + installation: *697 + label: *722 + number: *752 + organization: *698 pull_request: title: Pull Request type: object @@ -207406,7 +207677,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *698 + repository: *699 sender: *19 required: - action @@ -207487,10 +207758,10 @@ x-webhooks: type: string enum: - unlocked - enterprise: *695 - installation: *696 - number: *751 - organization: *697 + enterprise: *696 + installation: *697 + number: *752 + organization: *698 pull_request: title: Pull Request type: object @@ -209755,7 +210026,7 @@ x-webhooks: - auto_merge - active_lock_reason - draft - repository: *698 + repository: *699 sender: *19 required: - action @@ -209955,7 +210226,7 @@ x-webhooks: deleted: description: Whether this push deleted the `ref`. type: boolean - enterprise: *695 + enterprise: *696 forced: description: Whether this push was a force push of the `ref`. type: boolean @@ -210047,8 +210318,8 @@ x-webhooks: - url - author - committer - installation: *696 - organization: *697 + installation: *697 + organization: *698 pusher: title: Committer description: Metaproperties for Git author/committer information. @@ -210623,9 +210894,9 @@ x-webhooks: type: string enum: - published - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 registry_package: type: object properties: @@ -211071,7 +211342,7 @@ x-webhooks: type: string rubygems_metadata: type: array - items: *739 + items: *740 summary: type: string tag_name: @@ -211125,7 +211396,7 @@ x-webhooks: - owner - package_version - registry - repository: *698 + repository: *699 sender: *19 required: - action @@ -211203,9 +211474,9 @@ x-webhooks: type: string enum: - updated - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 registry_package: type: object properties: @@ -211513,7 +211784,7 @@ x-webhooks: - published_at rubygems_metadata: type: array - items: *739 + items: *740 summary: type: string tag_name: @@ -211562,7 +211833,7 @@ x-webhooks: - owner - package_version - registry - repository: *698 + repository: *699 sender: *19 required: - action @@ -211639,10 +211910,10 @@ x-webhooks: type: string enum: - created - enterprise: *695 - installation: *696 - organization: *697 - release: &758 + enterprise: *696 + installation: *697 + organization: *698 + release: &759 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -211947,7 +212218,7 @@ x-webhooks: - tarball_url - zipball_url - body - repository: *698 + repository: *699 sender: *19 required: - action @@ -212024,11 +212295,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *695 - installation: *696 - organization: *697 - release: *758 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + release: *759 + repository: *699 sender: *19 required: - action @@ -212136,11 +212407,11 @@ x-webhooks: type: boolean required: - to - enterprise: *695 - installation: *696 - organization: *697 - release: *758 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + release: *759 + repository: *699 sender: *19 required: - action @@ -212218,9 +212489,9 @@ x-webhooks: type: string enum: - prereleased - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 release: title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) @@ -212529,7 +212800,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *698 + repository: *699 sender: *19 required: - action @@ -212605,10 +212876,10 @@ x-webhooks: type: string enum: - published - enterprise: *695 - installation: *696 - organization: *697 - release: &759 + enterprise: *696 + installation: *697 + organization: *698 + release: &760 title: Release description: The [release](https://docs.github.com/enterprise-cloud@latest//rest/releases/releases/#get-a-release) object. @@ -212914,7 +213185,7 @@ x-webhooks: type: string nullable: true format: uri - repository: *698 + repository: *699 sender: *19 required: - action @@ -212990,11 +213261,11 @@ x-webhooks: type: string enum: - released - enterprise: *695 - installation: *696 - organization: *697 - release: *758 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + release: *759 + repository: *699 sender: *19 required: - action @@ -213070,11 +213341,11 @@ x-webhooks: type: string enum: - unpublished - enterprise: *695 - installation: *696 - organization: *697 - release: *759 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + release: *760 + repository: *699 sender: *19 required: - action @@ -213150,11 +213421,11 @@ x-webhooks: type: string enum: - published - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 - repository_advisory: *606 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + repository_advisory: *607 sender: *19 required: - action @@ -213230,11 +213501,11 @@ x-webhooks: type: string enum: - reported - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 - repository_advisory: *606 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + repository_advisory: *607 sender: *19 required: - action @@ -213310,10 +213581,10 @@ x-webhooks: type: string enum: - archived - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -213390,10 +213661,10 @@ x-webhooks: type: string enum: - created - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -213471,10 +213742,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -213558,10 +213829,10 @@ x-webhooks: additionalProperties: true description: The `client_payload` that was specified in the `POST /repos/{owner}/{repo}/dispatches` request body. - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -213673,10 +213944,10 @@ x-webhooks: nullable: true items: type: string - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -213748,10 +214019,10 @@ x-webhooks: title: repository_import event type: object properties: - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 status: type: string @@ -213832,10 +214103,10 @@ x-webhooks: type: string enum: - privatized - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -213912,10 +214183,10 @@ x-webhooks: type: string enum: - publicized - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -214009,10 +214280,10 @@ x-webhooks: - name required: - repository - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -214092,11 +214363,11 @@ x-webhooks: type: string enum: - created - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 - repository_ruleset: *284 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + repository_ruleset: *285 sender: *19 required: - action @@ -214174,11 +214445,11 @@ x-webhooks: type: string enum: - deleted - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 - repository_ruleset: *284 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + repository_ruleset: *285 sender: *19 required: - action @@ -214256,11 +214527,11 @@ x-webhooks: type: string enum: - edited - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 - repository_ruleset: *284 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + repository_ruleset: *285 changes: type: object properties: @@ -214279,16 +214550,16 @@ x-webhooks: properties: added: type: array - items: *278 + items: *279 deleted: type: array - items: *278 + items: *279 updated: type: array items: type: object properties: - condition: *278 + condition: *279 changes: type: object properties: @@ -214321,16 +214592,16 @@ x-webhooks: properties: added: type: array - items: *283 + items: *284 deleted: type: array - items: *283 + items: *284 updated: type: array items: type: object properties: - rule: *283 + rule: *284 changes: type: object properties: @@ -214564,10 +214835,10 @@ x-webhooks: - from required: - owner - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -214645,10 +214916,10 @@ x-webhooks: type: string enum: - unarchived - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -214726,7 +214997,7 @@ x-webhooks: type: string enum: - create - alert: &760 + alert: &761 title: Repository Vulnerability Alert Alert description: The security alert of the vulnerable dependency. type: object @@ -214847,10 +215118,10 @@ x-webhooks: type: string enum: - open - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -215056,10 +215327,10 @@ x-webhooks: type: string enum: - dismissed - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -215137,11 +215408,11 @@ x-webhooks: type: string enum: - reopen - alert: *760 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + alert: *761 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -215340,10 +215611,10 @@ x-webhooks: enum: - fixed - open - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -215421,7 +215692,7 @@ x-webhooks: type: string enum: - created - alert: &761 + alert: &762 type: object properties: number: *85 @@ -215527,10 +215798,10 @@ x-webhooks: description: Whether the detected secret was found in multiple repositories in the same organization or business. nullable: true - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -215611,11 +215882,11 @@ x-webhooks: type: string enum: - created - alert: *761 - installation: *696 - location: *762 - organization: *697 - repository: *698 + alert: *762 + installation: *697 + location: *763 + organization: *698 + repository: *699 sender: *19 required: - location @@ -215853,11 +216124,11 @@ x-webhooks: type: string enum: - publicly_leaked - alert: *761 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + alert: *762 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -215935,11 +216206,11 @@ x-webhooks: type: string enum: - reopened - alert: *761 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + alert: *762 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -216017,11 +216288,11 @@ x-webhooks: type: string enum: - resolved - alert: *761 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + alert: *762 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -216099,11 +216370,11 @@ x-webhooks: type: string enum: - validated - alert: *761 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + alert: *762 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -216179,11 +216450,11 @@ x-webhooks: type: string enum: - published - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 - security_advisory: &763 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + security_advisory: &764 description: The details of the security advisory, including summary, description, and severity. type: object @@ -216366,11 +216637,11 @@ x-webhooks: type: string enum: - updated - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 - security_advisory: *763 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 + security_advisory: *764 sender: *19 required: - action @@ -216443,10 +216714,10 @@ x-webhooks: type: string enum: - withdrawn - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 security_advisory: description: The details of the security advisory, including summary, description, and severity. @@ -216630,11 +216901,11 @@ x-webhooks: from: type: object properties: - security_and_analysis: *275 - enterprise: *695 - installation: *696 - organization: *697 - repository: *337 + security_and_analysis: *276 + enterprise: *696 + installation: *697 + organization: *698 + repository: *338 sender: *19 required: - changes @@ -216712,12 +216983,12 @@ x-webhooks: type: string enum: - cancelled - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 - sponsorship: &764 + sponsorship: &765 type: object properties: created_at: @@ -217018,12 +217289,12 @@ x-webhooks: type: string enum: - created - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 - sponsorship: *764 + sponsorship: *765 required: - action - sponsorship @@ -217111,12 +217382,12 @@ x-webhooks: type: string required: - from - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 - sponsorship: *764 + sponsorship: *765 required: - action - changes @@ -217193,17 +217464,17 @@ x-webhooks: type: string enum: - pending_cancellation - effective_date: &765 + effective_date: &766 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: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 - sponsorship: *764 + sponsorship: *765 required: - action - sponsorship @@ -217277,7 +217548,7 @@ x-webhooks: type: string enum: - pending_tier_change - changes: &766 + changes: &767 type: object properties: tier: @@ -217321,13 +217592,13 @@ x-webhooks: - from required: - tier - effective_date: *765 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + effective_date: *766 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 - sponsorship: *764 + sponsorship: *765 required: - action - changes @@ -217404,13 +217675,13 @@ x-webhooks: type: string enum: - tier_changed - changes: *766 - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + changes: *767 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 - sponsorship: *764 + sponsorship: *765 required: - action - changes @@ -217484,10 +217755,10 @@ x-webhooks: type: string enum: - created - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -217570,10 +217841,10 @@ x-webhooks: type: string enum: - deleted - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 starred_at: description: 'The time the star was created. This is a timestamp @@ -217992,15 +218263,15 @@ x-webhooks: status. type: string nullable: true - enterprise: *695 + enterprise: *696 id: description: The unique identifier of the status. type: integer - installation: *696 + installation: *697 name: type: string - organization: *697 - repository: *698 + organization: *698 + repository: *699 sender: *19 sha: description: The Commit SHA. @@ -218109,15 +218380,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *118 + parent_issue: *122 parent_issue_repo: *57 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *118 - installation: *696 - organization: *697 - repository: *698 + sub_issue: *122 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -218201,15 +218472,15 @@ x-webhooks: parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *118 + parent_issue: *122 parent_issue_repo: *57 sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *118 - installation: *696 - organization: *697 - repository: *698 + sub_issue: *122 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -218293,15 +218564,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *118 + sub_issue: *122 sub_issue_repo: *57 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *118 - installation: *696 - organization: *697 - repository: *698 + parent_issue: *122 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -218385,15 +218656,15 @@ x-webhooks: sub_issue_id: description: The ID of the sub-issue. type: number - sub_issue: *118 + sub_issue: *122 sub_issue_repo: *57 parent_issue_id: description: The ID of the parent issue. type: number - parent_issue: *118 - installation: *696 - organization: *697 - repository: *698 + parent_issue: *122 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -218470,12 +218741,12 @@ x-webhooks: title: team_add event type: object properties: - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 - team: &767 + team: &768 title: Team description: Groups of organization members that gives permissions on specified repositories. @@ -218665,9 +218936,9 @@ x-webhooks: type: string enum: - added_to_repository - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 repository: title: Repository description: A git repository @@ -219125,7 +219396,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *767 + team: *768 required: - action - team @@ -219201,9 +219472,9 @@ x-webhooks: type: string enum: - created - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 repository: title: Repository description: A git repository @@ -219661,7 +219932,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *767 + team: *768 required: - action - team @@ -219738,9 +220009,9 @@ x-webhooks: type: string enum: - deleted - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 repository: title: Repository description: A git repository @@ -220198,7 +220469,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *767 + team: *768 required: - action - team @@ -220342,9 +220613,9 @@ x-webhooks: - from required: - permissions - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 repository: title: Repository description: A git repository @@ -220802,7 +221073,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *767 + team: *768 required: - action - changes @@ -220880,9 +221151,9 @@ x-webhooks: type: string enum: - removed_from_repository - enterprise: *695 - installation: *696 - organization: *697 + enterprise: *696 + installation: *697 + organization: *698 repository: title: Repository description: A git repository @@ -221340,7 +221611,7 @@ x-webhooks: - topics - visibility sender: *19 - team: *767 + team: *768 required: - action - team @@ -221416,10 +221687,10 @@ x-webhooks: type: string enum: - started - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 required: - action @@ -221492,16 +221763,16 @@ x-webhooks: title: workflow_dispatch event type: object properties: - enterprise: *695 + enterprise: *696 inputs: type: object nullable: true additionalProperties: true - installation: *696 - organization: *697 + installation: *697 + organization: *698 ref: type: string - repository: *698 + repository: *699 sender: *19 workflow: type: string @@ -221583,10 +221854,10 @@ x-webhooks: type: string enum: - completed - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 workflow_job: allOf: @@ -221823,7 +222094,7 @@ x-webhooks: type: string required: - conclusion - deployment: *467 + deployment: *468 required: - action - repository @@ -221902,10 +222173,10 @@ x-webhooks: type: string enum: - in_progress - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 workflow_job: allOf: @@ -222165,7 +222436,7 @@ x-webhooks: required: - status - steps - deployment: *467 + deployment: *468 required: - action - repository @@ -222244,10 +222515,10 @@ x-webhooks: type: string enum: - queued - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 workflow_job: type: object @@ -222382,7 +222653,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *467 + deployment: *468 required: - action - repository @@ -222461,10 +222732,10 @@ x-webhooks: type: string enum: - waiting - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 workflow_job: type: object @@ -222600,7 +222871,7 @@ x-webhooks: - workflow_name - head_branch - created_at - deployment: *467 + deployment: *468 required: - action - repository @@ -222680,12 +222951,12 @@ x-webhooks: type: string enum: - completed - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 - workflow: *717 + workflow: *718 workflow_run: title: Workflow Run type: object @@ -223684,12 +223955,12 @@ x-webhooks: type: string enum: - in_progress - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 - workflow: *717 + workflow: *718 workflow_run: title: Workflow Run type: object @@ -224673,12 +224944,12 @@ x-webhooks: type: string enum: - requested - enterprise: *695 - installation: *696 - organization: *697 - repository: *698 + enterprise: *696 + installation: *697 + organization: *698 + repository: *699 sender: *19 - workflow: *717 + workflow: *718 workflow_run: title: Workflow Run type: object diff --git a/descriptions/ghec/ghec.2022-11-28.json b/descriptions/ghec/ghec.2022-11-28.json index aa961b4b29..7c38c5a5f6 100644 --- a/descriptions/ghec/ghec.2022-11-28.json +++ b/descriptions/ghec/ghec.2022-11-28.json @@ -5363,6 +5363,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", @@ -5887,7 +6177,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" ], @@ -5977,7 +6267,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" ], @@ -13399,6 +13689,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", @@ -13823,6 +14116,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", @@ -15272,7 +15568,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" ], @@ -15372,7 +15668,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" ], @@ -15474,7 +15770,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" ], @@ -15574,7 +15870,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" ], @@ -18123,6 +18419,9 @@ }, { "$ref": "#/components/parameters/api-insights-route-stats-sort" + }, + { + "$ref": "#/components/parameters/api-insights-api-route-substring" } ], "responses": { @@ -18182,6 +18481,9 @@ }, { "$ref": "#/components/parameters/api-insights-sort" + }, + { + "$ref": "#/components/parameters/api-insights-subject-name-substring" } ], "responses": { @@ -18553,6 +18855,9 @@ }, { "$ref": "#/components/parameters/api-insights-sort" + }, + { + "$ref": "#/components/parameters/api-insights-actor-name-substring" } ], "responses": { @@ -105709,6 +106014,90 @@ } } }, + "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" + ], + "example": "organization" + }, + "value_type": { + "type": "string", + "example": "single_select", + "enum": [ + "string", + "single_select", + "multi_select", + "true_false" + ], + "description": "The type of the value for the property" + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "nullable": true, + "description": "Default value of the property" + }, + "description": { + "type": "string", + "nullable": true, + "description": "Short description of the property" + }, + "allowed_values": { + "type": "array", + "items": { + "type": "string", + "maxLength": 75 + }, + "maxItems": 200, + "nullable": true, + "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", + "nullable": true, + "enum": [ + "org_actors", + "org_and_repo_actors" + ], + "example": "org_actors", + "description": "Who can edit the values of the property" + } + }, + "required": [ + "property_name", + "value_type" + ] + }, "nullable-alert-updated-at": { "type": "string", "description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", @@ -109726,6 +110115,28 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "nullable": true, + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -109839,6 +110250,27 @@ } } }, + "code-scanning-default-setup-options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -112671,90 +113103,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" - ], - "example": "organization" - }, - "value_type": { - "type": "string", - "example": "single_select", - "enum": [ - "string", - "single_select", - "multi_select", - "true_false" - ], - "description": "The type of the value for the property" - }, - "required": { - "type": "boolean", - "description": "Whether the property is required." - }, - "default_value": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "nullable": true, - "description": "Default value of the property" - }, - "description": { - "type": "string", - "nullable": true, - "description": "Short description of the property" - }, - "allowed_values": { - "type": "array", - "items": { - "type": "string", - "maxLength": 75 - }, - "maxItems": 200, - "nullable": true, - "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", - "nullable": true, - "enum": [ - "org_actors", - "org_and_repo_actors" - ], - "example": "org_actors", - "description": "Who can edit the values of the property" - } - }, - "required": [ - "property_name", - "value_type" - ] - }, "custom-property-value": { "title": "Custom Property Value", "description": "Custom property name and associated value", @@ -121397,6 +121745,20 @@ "not-configured" ] }, + "runner_type": { + "description": "Runner type to be used.", + "type": "string", + "enum": [ + "standard", + "labeled" + ] + }, + "runner_label": { + "nullable": true, + "description": "Runner label to be used if the runner type is labeled.", + "type": "string", + "example": "code-scanning" + }, "query_suite": { "description": "CodeQL query suite to be used.", "type": "string", @@ -130314,18 +130676,19 @@ }, "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", "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", "nullable": true }, "started_at": { "type": "string", "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", + "nullable": true } } }, @@ -278276,6 +278639,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": [ { @@ -281254,6 +281663,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", @@ -281285,6 +281698,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", @@ -281323,6 +281740,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", @@ -281352,6 +281773,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", @@ -283815,52 +284240,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": [ { @@ -306204,6 +306583,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", @@ -306687,6 +307075,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.", @@ -306707,6 +307104,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", @@ -306725,6 +307131,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.", @@ -306886,15 +307301,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", @@ -307933,6 +308339,9 @@ } } }, + "no_content": { + "description": "A header with no content is returned." + }, "get_all_cost_centers": { "description": "Response when getting cost centers", "content": { @@ -308075,9 +308484,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/ghec/ghec.2022-11-28.yaml b/descriptions/ghec/ghec.2022-11-28.yaml index c38096afe9..d5473717cc 100644 --- a/descriptions/ghec/ghec.2022-11-28.yaml +++ b/descriptions/ghec/ghec.2022-11-28.yaml @@ -3807,6 +3807,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 @@ -4164,6 +4378,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, @@ -4240,7 +4457,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. @@ -9709,6 +9926,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 @@ -10032,6 +10251,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 @@ -11117,13 +11338,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: @@ -11201,14 +11420,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: @@ -11288,13 +11504,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: @@ -11371,14 +11585,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: @@ -13236,6 +13447,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 @@ -13269,6 +13481,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 @@ -13487,6 +13700,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 @@ -76997,6 +77211,71 @@ 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 + example: organization + value_type: + type: string + example: single_select + enum: + - string + - single_select + - multi_select + - true_false + description: The type of the value for the property + required: + type: boolean + description: Whether the property is required. + default_value: + oneOf: + - type: string + - type: array + items: + type: string + nullable: true + description: Default value of the property + description: + type: string + nullable: true + description: Short description of the property + allowed_values: + type: array + items: + type: string + maxLength: 75 + maxItems: 200 + nullable: true + 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 + nullable: true + enum: + - org_actors + - org_and_repo_actors + example: org_actors + description: Who can edit the values of the property + required: + - property_name + - value_type nullable-alert-updated-at: type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -80122,6 +80401,24 @@ components: - enabled - disabled - not_set + code_scanning_default_setup_options: + type: object + description: Feature options for code scanning default setup + nullable: true + properties: + runner_type: + nullable: true + type: string + enum: + - standard + - labeled + - not_set + description: Whether to use labeled runners or standard GitHub runners. + runner_label: + nullable: true + type: string + 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 @@ -80206,6 +80503,23 @@ components: updated_at: type: string format: date-time + code-scanning-default-setup-options: + type: object + description: Feature options for code scanning default setup + nullable: true + properties: + runner_type: + type: string + enum: + - standard + - labeled + - not_set + description: Whether to use labeled runners or standard GitHub runners. + runner_label: + nullable: true + type: string + 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 @@ -82466,71 +82780,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 - example: organization - value_type: - type: string - example: single_select - enum: - - string - - single_select - - multi_select - - true_false - description: The type of the value for the property - required: - type: boolean - description: Whether the property is required. - default_value: - oneOf: - - type: string - - type: array - items: - type: string - nullable: true - description: Default value of the property - description: - type: string - nullable: true - description: Short description of the property - allowed_values: - type: array - items: - type: string - maxLength: 75 - maxItems: 200 - nullable: true - 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 - nullable: true - enum: - - org_actors - - org_and_repo_actors - example: org_actors - description: Who can edit the values of the property - required: - - property_name - - value_type custom-property-value: title: Custom Property Value description: Custom property name and associated value @@ -89266,6 +89515,17 @@ components: enum: - configured - not-configured + runner_type: + description: Runner type to be used. + type: string + enum: + - standard + - labeled + runner_label: + nullable: true + description: Runner label to be used if the runner type is labeled. + type: string + example: code-scanning query_suite: description: CodeQL query suite to be used. type: string @@ -96002,17 +96262,18 @@ 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 format: date-time description: The time that the scan was completed. Empty if the scan is - active + running nullable: true started_at: type: string 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 + nullable: true secret-scanning-scan-history: type: object properties: @@ -208176,6 +208437,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 @@ -210778,6 +211073,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 @@ -210805,6 +211103,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 @@ -210836,6 +211137,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 @@ -210860,6 +211164,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 @@ -212995,40 +213302,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 @@ -232242,6 +232515,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 @@ -232656,6 +232936,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. @@ -232672,6 +232960,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 @@ -232687,6 +232983,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. @@ -232826,13 +233130,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: | @@ -233673,6 +233970,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: @@ -233759,8 +234058,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/ghec/ghec.json b/descriptions/ghec/ghec.json index aa961b4b29..7c38c5a5f6 100644 --- a/descriptions/ghec/ghec.json +++ b/descriptions/ghec/ghec.json @@ -5363,6 +5363,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", @@ -5887,7 +6177,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" ], @@ -5977,7 +6267,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" ], @@ -13399,6 +13689,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", @@ -13823,6 +14116,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", @@ -15272,7 +15568,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" ], @@ -15372,7 +15668,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" ], @@ -15474,7 +15770,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" ], @@ -15574,7 +15870,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" ], @@ -18123,6 +18419,9 @@ }, { "$ref": "#/components/parameters/api-insights-route-stats-sort" + }, + { + "$ref": "#/components/parameters/api-insights-api-route-substring" } ], "responses": { @@ -18182,6 +18481,9 @@ }, { "$ref": "#/components/parameters/api-insights-sort" + }, + { + "$ref": "#/components/parameters/api-insights-subject-name-substring" } ], "responses": { @@ -18553,6 +18855,9 @@ }, { "$ref": "#/components/parameters/api-insights-sort" + }, + { + "$ref": "#/components/parameters/api-insights-actor-name-substring" } ], "responses": { @@ -105709,6 +106014,90 @@ } } }, + "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" + ], + "example": "organization" + }, + "value_type": { + "type": "string", + "example": "single_select", + "enum": [ + "string", + "single_select", + "multi_select", + "true_false" + ], + "description": "The type of the value for the property" + }, + "required": { + "type": "boolean", + "description": "Whether the property is required." + }, + "default_value": { + "oneOf": [ + { + "type": "string" + }, + { + "type": "array", + "items": { + "type": "string" + } + } + ], + "nullable": true, + "description": "Default value of the property" + }, + "description": { + "type": "string", + "nullable": true, + "description": "Short description of the property" + }, + "allowed_values": { + "type": "array", + "items": { + "type": "string", + "maxLength": 75 + }, + "maxItems": 200, + "nullable": true, + "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", + "nullable": true, + "enum": [ + "org_actors", + "org_and_repo_actors" + ], + "example": "org_actors", + "description": "Who can edit the values of the property" + } + }, + "required": [ + "property_name", + "value_type" + ] + }, "nullable-alert-updated-at": { "type": "string", "description": "The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.", @@ -109726,6 +110115,28 @@ "not_set" ] }, + "code_scanning_default_setup_options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "nullable": true, + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -109839,6 +110250,27 @@ } } }, + "code-scanning-default-setup-options": { + "type": "object", + "description": "Feature options for code scanning default setup", + "nullable": true, + "properties": { + "runner_type": { + "type": "string", + "enum": [ + "standard", + "labeled", + "not_set" + ], + "description": "Whether to use labeled runners or standard GitHub runners." + }, + "runner_label": { + "nullable": true, + "type": "string", + "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", @@ -112671,90 +113103,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" - ], - "example": "organization" - }, - "value_type": { - "type": "string", - "example": "single_select", - "enum": [ - "string", - "single_select", - "multi_select", - "true_false" - ], - "description": "The type of the value for the property" - }, - "required": { - "type": "boolean", - "description": "Whether the property is required." - }, - "default_value": { - "oneOf": [ - { - "type": "string" - }, - { - "type": "array", - "items": { - "type": "string" - } - } - ], - "nullable": true, - "description": "Default value of the property" - }, - "description": { - "type": "string", - "nullable": true, - "description": "Short description of the property" - }, - "allowed_values": { - "type": "array", - "items": { - "type": "string", - "maxLength": 75 - }, - "maxItems": 200, - "nullable": true, - "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", - "nullable": true, - "enum": [ - "org_actors", - "org_and_repo_actors" - ], - "example": "org_actors", - "description": "Who can edit the values of the property" - } - }, - "required": [ - "property_name", - "value_type" - ] - }, "custom-property-value": { "title": "Custom Property Value", "description": "Custom property name and associated value", @@ -121397,6 +121745,20 @@ "not-configured" ] }, + "runner_type": { + "description": "Runner type to be used.", + "type": "string", + "enum": [ + "standard", + "labeled" + ] + }, + "runner_label": { + "nullable": true, + "description": "Runner label to be used if the runner type is labeled.", + "type": "string", + "example": "code-scanning" + }, "query_suite": { "description": "CodeQL query suite to be used.", "type": "string", @@ -130314,18 +130676,19 @@ }, "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", "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", "nullable": true }, "started_at": { "type": "string", "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", + "nullable": true } } }, @@ -278276,6 +278639,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": [ { @@ -281254,6 +281663,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", @@ -281285,6 +281698,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", @@ -281323,6 +281740,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", @@ -281352,6 +281773,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", @@ -283815,52 +284240,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": [ { @@ -306204,6 +306583,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", @@ -306687,6 +307075,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.", @@ -306707,6 +307104,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", @@ -306725,6 +307131,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.", @@ -306886,15 +307301,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", @@ -307933,6 +308339,9 @@ } } }, + "no_content": { + "description": "A header with no content is returned." + }, "get_all_cost_centers": { "description": "Response when getting cost centers", "content": { @@ -308075,9 +308484,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/ghec/ghec.yaml b/descriptions/ghec/ghec.yaml index c38096afe9..d5473717cc 100644 --- a/descriptions/ghec/ghec.yaml +++ b/descriptions/ghec/ghec.yaml @@ -3807,6 +3807,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 @@ -4164,6 +4378,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, @@ -4240,7 +4457,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. @@ -9709,6 +9926,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 @@ -10032,6 +10251,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 @@ -11117,13 +11338,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: @@ -11201,14 +11420,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: @@ -11288,13 +11504,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: @@ -11371,14 +11585,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: @@ -13236,6 +13447,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 @@ -13269,6 +13481,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 @@ -13487,6 +13700,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 @@ -76997,6 +77211,71 @@ 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 + example: organization + value_type: + type: string + example: single_select + enum: + - string + - single_select + - multi_select + - true_false + description: The type of the value for the property + required: + type: boolean + description: Whether the property is required. + default_value: + oneOf: + - type: string + - type: array + items: + type: string + nullable: true + description: Default value of the property + description: + type: string + nullable: true + description: Short description of the property + allowed_values: + type: array + items: + type: string + maxLength: 75 + maxItems: 200 + nullable: true + 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 + nullable: true + enum: + - org_actors + - org_and_repo_actors + example: org_actors + description: Who can edit the values of the property + required: + - property_name + - value_type nullable-alert-updated-at: type: string description: 'The time that the alert was last updated in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.' @@ -80122,6 +80401,24 @@ components: - enabled - disabled - not_set + code_scanning_default_setup_options: + type: object + description: Feature options for code scanning default setup + nullable: true + properties: + runner_type: + nullable: true + type: string + enum: + - standard + - labeled + - not_set + description: Whether to use labeled runners or standard GitHub runners. + runner_label: + nullable: true + type: string + 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 @@ -80206,6 +80503,23 @@ components: updated_at: type: string format: date-time + code-scanning-default-setup-options: + type: object + description: Feature options for code scanning default setup + nullable: true + properties: + runner_type: + type: string + enum: + - standard + - labeled + - not_set + description: Whether to use labeled runners or standard GitHub runners. + runner_label: + nullable: true + type: string + 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 @@ -82466,71 +82780,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 - example: organization - value_type: - type: string - example: single_select - enum: - - string - - single_select - - multi_select - - true_false - description: The type of the value for the property - required: - type: boolean - description: Whether the property is required. - default_value: - oneOf: - - type: string - - type: array - items: - type: string - nullable: true - description: Default value of the property - description: - type: string - nullable: true - description: Short description of the property - allowed_values: - type: array - items: - type: string - maxLength: 75 - maxItems: 200 - nullable: true - 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 - nullable: true - enum: - - org_actors - - org_and_repo_actors - example: org_actors - description: Who can edit the values of the property - required: - - property_name - - value_type custom-property-value: title: Custom Property Value description: Custom property name and associated value @@ -89266,6 +89515,17 @@ components: enum: - configured - not-configured + runner_type: + description: Runner type to be used. + type: string + enum: + - standard + - labeled + runner_label: + nullable: true + description: Runner label to be used if the runner type is labeled. + type: string + example: code-scanning query_suite: description: CodeQL query suite to be used. type: string @@ -96002,17 +96262,18 @@ 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 format: date-time description: The time that the scan was completed. Empty if the scan is - active + running nullable: true started_at: type: string 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 + nullable: true secret-scanning-scan-history: type: object properties: @@ -208176,6 +208437,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 @@ -210778,6 +211073,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 @@ -210805,6 +211103,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 @@ -210836,6 +211137,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 @@ -210860,6 +211164,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 @@ -212995,40 +213302,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 @@ -232242,6 +232515,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 @@ -232656,6 +232936,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. @@ -232672,6 +232960,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 @@ -232687,6 +232983,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. @@ -232826,13 +233130,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: | @@ -233673,6 +233970,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: @@ -233759,8 +234058,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/ghes-3.15/dereferenced/ghes-3.15.2022-11-28.deref.json b/descriptions/ghes-3.15/dereferenced/ghes-3.15.2022-11-28.deref.json index ac71a3d61e..43bcfdeaa9 100644 --- a/descriptions/ghes-3.15/dereferenced/ghes-3.15.2022-11-28.deref.json +++ b/descriptions/ghes-3.15/dereferenced/ghes-3.15.2022-11-28.deref.json @@ -82619,10 +82619,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", @@ -82639,8 +82635,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", @@ -82654,10 +82648,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", @@ -82665,68 +82655,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" } ] } @@ -83191,10 +83124,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", @@ -83203,14 +83132,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" } } } @@ -83456,8 +83382,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", @@ -83490,8 +83414,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", @@ -84001,10 +83923,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", @@ -84013,14 +83931,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" } } } @@ -85060,10 +84975,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", @@ -85072,14 +84983,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" } } } @@ -217952,10 +217860,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", @@ -217964,19 +217868,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/ghes-3.15/dereferenced/ghes-3.15.2022-11-28.deref.yaml b/descriptions/ghes-3.15/dereferenced/ghes-3.15.2022-11-28.deref.yaml index a12f40114b..bd73699991 100644 --- a/descriptions/ghes-3.15/dereferenced/ghes-3.15.2022-11-28.deref.yaml +++ b/descriptions/ghes-3.15/dereferenced/ghes-3.15.2022-11-28.deref.yaml @@ -25442,9 +25442,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 @@ -25457,8 +25454,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 @@ -25471,9 +25466,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 @@ -25481,61 +25473,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': *43 '404': *26 x-github: @@ -25727,9 +25669,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 @@ -25738,13 +25677,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 @@ -25799,8 +25736,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 @@ -25827,8 +25762,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 @@ -54136,9 +54069,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 @@ -54147,17 +54077,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': *185 '304': *42 '403': *43 diff --git a/descriptions/ghes-3.15/dereferenced/ghes-3.15.deref.json b/descriptions/ghes-3.15/dereferenced/ghes-3.15.deref.json index ac71a3d61e..43bcfdeaa9 100644 --- a/descriptions/ghes-3.15/dereferenced/ghes-3.15.deref.json +++ b/descriptions/ghes-3.15/dereferenced/ghes-3.15.deref.json @@ -82619,10 +82619,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", @@ -82639,8 +82635,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", @@ -82654,10 +82648,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", @@ -82665,68 +82655,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" } ] } @@ -83191,10 +83124,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", @@ -83203,14 +83132,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" } } } @@ -83456,8 +83382,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", @@ -83490,8 +83414,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", @@ -84001,10 +83923,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", @@ -84013,14 +83931,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" } } } @@ -85060,10 +84975,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", @@ -85072,14 +84983,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" } } } @@ -217952,10 +217860,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", @@ -217964,19 +217868,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/ghes-3.15/dereferenced/ghes-3.15.deref.yaml b/descriptions/ghes-3.15/dereferenced/ghes-3.15.deref.yaml index a12f40114b..bd73699991 100644 --- a/descriptions/ghes-3.15/dereferenced/ghes-3.15.deref.yaml +++ b/descriptions/ghes-3.15/dereferenced/ghes-3.15.deref.yaml @@ -25442,9 +25442,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 @@ -25457,8 +25454,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 @@ -25471,9 +25466,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 @@ -25481,61 +25473,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': *43 '404': *26 x-github: @@ -25727,9 +25669,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 @@ -25738,13 +25677,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 @@ -25799,8 +25736,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 @@ -25827,8 +25762,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 @@ -54136,9 +54069,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 @@ -54147,17 +54077,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': *185 '304': *42 '403': *43 diff --git a/descriptions/ghes-3.15/ghes-3.15.2022-11-28.json b/descriptions/ghes-3.15/ghes-3.15.2022-11-28.json index 204f9ed0d6..bbe028a6d1 100644 --- a/descriptions/ghes-3.15/ghes-3.15.2022-11-28.json +++ b/descriptions/ghes-3.15/ghes-3.15.2022-11-28.json @@ -262603,10 +262603,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", @@ -262623,8 +262619,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", @@ -262638,10 +262632,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", @@ -262649,68 +262639,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" } ] }, @@ -262722,10 +262655,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", @@ -262734,14 +262663,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": { @@ -262755,8 +262681,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", @@ -262789,8 +262713,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", @@ -269942,10 +269864,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", @@ -269954,19 +269872,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/ghes-3.15/ghes-3.15.2022-11-28.yaml b/descriptions/ghes-3.15/ghes-3.15.2022-11-28.yaml index 17bda74614..47d1ed5e0a 100644 --- a/descriptions/ghes-3.15/ghes-3.15.2022-11-28.yaml +++ b/descriptions/ghes-3.15/ghes-3.15.2022-11-28.yaml @@ -196141,9 +196141,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 @@ -196156,8 +196153,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 @@ -196170,9 +196165,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 @@ -196180,61 +196172,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 @@ -196243,9 +196185,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 @@ -196254,13 +196193,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 @@ -196271,8 +196208,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 @@ -196299,8 +196234,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 @@ -202466,9 +202399,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 @@ -202477,17 +202407,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/ghes-3.15/ghes-3.15.json b/descriptions/ghes-3.15/ghes-3.15.json index 204f9ed0d6..bbe028a6d1 100644 --- a/descriptions/ghes-3.15/ghes-3.15.json +++ b/descriptions/ghes-3.15/ghes-3.15.json @@ -262603,10 +262603,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", @@ -262623,8 +262619,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", @@ -262638,10 +262632,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", @@ -262649,68 +262639,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" } ] }, @@ -262722,10 +262655,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", @@ -262734,14 +262663,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": { @@ -262755,8 +262681,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", @@ -262789,8 +262713,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", @@ -269942,10 +269864,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", @@ -269954,19 +269872,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/ghes-3.15/ghes-3.15.yaml b/descriptions/ghes-3.15/ghes-3.15.yaml index 17bda74614..47d1ed5e0a 100644 --- a/descriptions/ghes-3.15/ghes-3.15.yaml +++ b/descriptions/ghes-3.15/ghes-3.15.yaml @@ -196141,9 +196141,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 @@ -196156,8 +196153,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 @@ -196170,9 +196165,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 @@ -196180,61 +196172,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 @@ -196243,9 +196185,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 @@ -196254,13 +196193,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 @@ -196271,8 +196208,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 @@ -196299,8 +196234,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 @@ -202466,9 +202399,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 @@ -202477,17 +202407,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: