diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.json b/descriptions-next/api.github.com/api.github.com.2022-11-28.json index 725324071..987678a8a 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.json +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.json @@ -9836,7 +9836,7 @@ "type": "string" }, "image_id": { - "description": "The unique identifier of the runner image. To list all available images, use `GET /actions/hosted-runners/images/github-owned` or `GET /actions/hosted-runners/images/partner`.", + "description": "The unique identifier of the runner image. To list available images, use `GET /actions/hosted-runners/images/github-owned`, `GET /actions/hosted-runners/images/partner`, or `GET /actions/hosted-runners/images/custom`.", "type": "string" }, "image_version": { @@ -29216,6 +29216,9 @@ }, { "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/team-type" } ], "responses": { @@ -33489,6 +33492,9 @@ }, { "$ref": "#/components/parameters/artifact-name" + }, + { + "$ref": "#/components/parameters/direction" } ], "responses": { @@ -119965,25 +119971,6 @@ } } }, - "repository-rule-params-copilot-code-review-analysis-tool": { - "title": "CopilotCodeReviewAnalysisTool", - "description": "A tool that must provide code review results for this rule to pass.", - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of a code review analysis tool", - "enum": [ - "CodeQL", - "ESLint", - "PMD" - ] - } - }, - "required": [ - "name" - ] - }, "repository-rule": { "title": "Repository Rule", "type": "object", @@ -324886,6 +324873,21 @@ "type": "string" } }, + "team-type": { + "name": "team_type", + "description": "Filter team results by their type. For more information, see \"[What kind of team should I use?](https://docs.github.com/enterprise-cloud@latest/admin/concepts/enterprise-fundamentals/teams-in-an-enterprise#what-kind-of-team-should-i-use)\"", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "all", + "enterprise", + "organization" + ], + "default": "all" + } + }, "security-product": { "name": "security_product", "in": "path", diff --git a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml index c7a66e657..70d4abaf3 100644 --- a/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml +++ b/descriptions-next/api.github.com/api.github.com.2022-11-28.yaml @@ -7036,8 +7036,8 @@ paths: type: string image_id: description: The unique identifier of the runner image. To list - all available images, use `GET /actions/hosted-runners/images/github-owned` - or `GET /actions/hosted-runners/images/partner`. + available images, use `GET /actions/hosted-runners/images/github-owned`, + `GET /actions/hosted-runners/images/partner`, or `GET /actions/hosted-runners/images/custom`. type: string image_version: description: The version of the runner image to deploy. This is @@ -21100,6 +21100,7 @@ paths: - "$ref": "#/components/parameters/org" - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/team-type" responses: '200': description: Response @@ -24270,6 +24271,7 @@ paths: - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/page" - "$ref": "#/components/parameters/artifact-name" + - "$ref": "#/components/parameters/direction" responses: '200': description: Response @@ -87019,20 +87021,6 @@ components: type: boolean description: Copilot automatically reviews each new push to the pull request. - repository-rule-params-copilot-code-review-analysis-tool: - title: CopilotCodeReviewAnalysisTool - description: A tool that must provide code review results for this rule to pass. - type: object - properties: - name: - type: string - description: The name of a code review analysis tool - enum: - - CodeQL - - ESLint - - PMD - required: - - name repository-rule: title: Repository Rule type: object @@ -242922,6 +242910,19 @@ components: required: true schema: type: string + team-type: + name: team_type + description: Filter team results by their type. For more information, see "[What + kind of team should I use?](https://docs.github.com/enterprise-cloud@latest/admin/concepts/enterprise-fundamentals/teams-in-an-enterprise#what-kind-of-team-should-i-use)" + in: query + required: false + schema: + type: string + enum: + - all + - enterprise + - organization + default: all security-product: name: security_product in: path diff --git a/descriptions-next/api.github.com/api.github.com.json b/descriptions-next/api.github.com/api.github.com.json index 725324071..987678a8a 100644 --- a/descriptions-next/api.github.com/api.github.com.json +++ b/descriptions-next/api.github.com/api.github.com.json @@ -9836,7 +9836,7 @@ "type": "string" }, "image_id": { - "description": "The unique identifier of the runner image. To list all available images, use `GET /actions/hosted-runners/images/github-owned` or `GET /actions/hosted-runners/images/partner`.", + "description": "The unique identifier of the runner image. To list available images, use `GET /actions/hosted-runners/images/github-owned`, `GET /actions/hosted-runners/images/partner`, or `GET /actions/hosted-runners/images/custom`.", "type": "string" }, "image_version": { @@ -29216,6 +29216,9 @@ }, { "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/team-type" } ], "responses": { @@ -33489,6 +33492,9 @@ }, { "$ref": "#/components/parameters/artifact-name" + }, + { + "$ref": "#/components/parameters/direction" } ], "responses": { @@ -119965,25 +119971,6 @@ } } }, - "repository-rule-params-copilot-code-review-analysis-tool": { - "title": "CopilotCodeReviewAnalysisTool", - "description": "A tool that must provide code review results for this rule to pass.", - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of a code review analysis tool", - "enum": [ - "CodeQL", - "ESLint", - "PMD" - ] - } - }, - "required": [ - "name" - ] - }, "repository-rule": { "title": "Repository Rule", "type": "object", @@ -324886,6 +324873,21 @@ "type": "string" } }, + "team-type": { + "name": "team_type", + "description": "Filter team results by their type. For more information, see \"[What kind of team should I use?](https://docs.github.com/enterprise-cloud@latest/admin/concepts/enterprise-fundamentals/teams-in-an-enterprise#what-kind-of-team-should-i-use)\"", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "all", + "enterprise", + "organization" + ], + "default": "all" + } + }, "security-product": { "name": "security_product", "in": "path", diff --git a/descriptions-next/api.github.com/api.github.com.yaml b/descriptions-next/api.github.com/api.github.com.yaml index c7a66e657..70d4abaf3 100644 --- a/descriptions-next/api.github.com/api.github.com.yaml +++ b/descriptions-next/api.github.com/api.github.com.yaml @@ -7036,8 +7036,8 @@ paths: type: string image_id: description: The unique identifier of the runner image. To list - all available images, use `GET /actions/hosted-runners/images/github-owned` - or `GET /actions/hosted-runners/images/partner`. + available images, use `GET /actions/hosted-runners/images/github-owned`, + `GET /actions/hosted-runners/images/partner`, or `GET /actions/hosted-runners/images/custom`. type: string image_version: description: The version of the runner image to deploy. This is @@ -21100,6 +21100,7 @@ paths: - "$ref": "#/components/parameters/org" - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/team-type" responses: '200': description: Response @@ -24270,6 +24271,7 @@ paths: - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/page" - "$ref": "#/components/parameters/artifact-name" + - "$ref": "#/components/parameters/direction" responses: '200': description: Response @@ -87019,20 +87021,6 @@ components: type: boolean description: Copilot automatically reviews each new push to the pull request. - repository-rule-params-copilot-code-review-analysis-tool: - title: CopilotCodeReviewAnalysisTool - description: A tool that must provide code review results for this rule to pass. - type: object - properties: - name: - type: string - description: The name of a code review analysis tool - enum: - - CodeQL - - ESLint - - PMD - required: - - name repository-rule: title: Repository Rule type: object @@ -242922,6 +242910,19 @@ components: required: true schema: type: string + team-type: + name: team_type + description: Filter team results by their type. For more information, see "[What + kind of team should I use?](https://docs.github.com/enterprise-cloud@latest/admin/concepts/enterprise-fundamentals/teams-in-an-enterprise#what-kind-of-team-should-i-use)" + in: query + required: false + schema: + type: string + enum: + - all + - enterprise + - organization + default: all security-product: name: security_product in: path diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json index c0fe358bc..ed80f5070 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.json @@ -88870,7 +88870,7 @@ "type": "string" }, "image_id": { - "description": "The unique identifier of the runner image. To list all available images, use `GET /actions/hosted-runners/images/github-owned` or `GET /actions/hosted-runners/images/partner`.", + "description": "The unique identifier of the runner image. To list available images, use `GET /actions/hosted-runners/images/github-owned`, `GET /actions/hosted-runners/images/partner`, or `GET /actions/hosted-runners/images/custom`.", "type": "string" }, "image_version": { @@ -239181,6 +239181,21 @@ "type": "integer", "default": 1 } + }, + { + "name": "team_type", + "description": "Filter team results by their type. For more information, see \"[What kind of team should I use?](https://docs.github.com/enterprise-cloud@latest/admin/concepts/enterprise-fundamentals/teams-in-an-enterprise#what-kind-of-team-should-i-use)\"", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "all", + "enterprise", + "organization" + ], + "default": "all" + } } ], "responses": { @@ -272880,6 +272895,20 @@ "schema": { "type": "string" } + }, + { + "name": "direction", + "description": "The direction to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } } ], "responses": { diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml index 90ee26dc4..8a504ebb7 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.2022-11-28.deref.yaml @@ -21340,8 +21340,8 @@ paths: type: string image_id: description: The unique identifier of the runner image. To list - all available images, use `GET /actions/hosted-runners/images/github-owned` - or `GET /actions/hosted-runners/images/partner`. + available images, use `GET /actions/hosted-runners/images/github-owned`, + `GET /actions/hosted-runners/images/partner`, or `GET /actions/hosted-runners/images/custom`. type: string image_version: description: The version of the runner image to deploy. This is @@ -48124,6 +48124,18 @@ paths: - *65 - *17 - *19 + - name: team_type + description: Filter team results by their type. For more information, see + "[What kind of team should I use?](https://docs.github.com/enterprise-cloud@latest/admin/concepts/enterprise-fundamentals/teams-in-an-enterprise#what-kind-of-team-should-i-use)" + in: query + required: false + schema: + type: string + enum: + - all + - enterprise + - organization + default: all responses: '200': description: Response @@ -54510,6 +54522,7 @@ paths: - *17 - *19 - *351 + - *51 responses: '200': description: Response diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json index c0fe358bc..ed80f5070 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.json @@ -88870,7 +88870,7 @@ "type": "string" }, "image_id": { - "description": "The unique identifier of the runner image. To list all available images, use `GET /actions/hosted-runners/images/github-owned` or `GET /actions/hosted-runners/images/partner`.", + "description": "The unique identifier of the runner image. To list available images, use `GET /actions/hosted-runners/images/github-owned`, `GET /actions/hosted-runners/images/partner`, or `GET /actions/hosted-runners/images/custom`.", "type": "string" }, "image_version": { @@ -239181,6 +239181,21 @@ "type": "integer", "default": 1 } + }, + { + "name": "team_type", + "description": "Filter team results by their type. For more information, see \"[What kind of team should I use?](https://docs.github.com/enterprise-cloud@latest/admin/concepts/enterprise-fundamentals/teams-in-an-enterprise#what-kind-of-team-should-i-use)\"", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "all", + "enterprise", + "organization" + ], + "default": "all" + } } ], "responses": { @@ -272880,6 +272895,20 @@ "schema": { "type": "string" } + }, + { + "name": "direction", + "description": "The direction to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } } ], "responses": { diff --git a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml index 90ee26dc4..8a504ebb7 100644 --- a/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml +++ b/descriptions-next/api.github.com/dereferenced/api.github.com.deref.yaml @@ -21340,8 +21340,8 @@ paths: type: string image_id: description: The unique identifier of the runner image. To list - all available images, use `GET /actions/hosted-runners/images/github-owned` - or `GET /actions/hosted-runners/images/partner`. + available images, use `GET /actions/hosted-runners/images/github-owned`, + `GET /actions/hosted-runners/images/partner`, or `GET /actions/hosted-runners/images/custom`. type: string image_version: description: The version of the runner image to deploy. This is @@ -48124,6 +48124,18 @@ paths: - *65 - *17 - *19 + - name: team_type + description: Filter team results by their type. For more information, see + "[What kind of team should I use?](https://docs.github.com/enterprise-cloud@latest/admin/concepts/enterprise-fundamentals/teams-in-an-enterprise#what-kind-of-team-should-i-use)" + in: query + required: false + schema: + type: string + enum: + - all + - enterprise + - organization + default: all responses: '200': description: Response @@ -54510,6 +54522,7 @@ paths: - *17 - *19 - *351 + - *51 responses: '200': description: Response diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json index 11a1c1329..2bae013b5 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.json @@ -22312,7 +22312,7 @@ "type": "string" }, "image_id": { - "description": "The unique identifier of the runner image. To list all available images, use `GET /actions/hosted-runners/images/github-owned` or `GET /actions/hosted-runners/images/partner`.", + "description": "The unique identifier of the runner image. To list available images, use `GET /actions/hosted-runners/images/github-owned`, `GET /actions/hosted-runners/images/partner`, or `GET /actions/hosted-runners/images/custom`.", "type": "string" }, "image_version": { @@ -138915,7 +138915,7 @@ "type": "string" }, "image_id": { - "description": "The unique identifier of the runner image. To list all available images, use `GET /actions/hosted-runners/images/github-owned` or `GET /actions/hosted-runners/images/partner`.", + "description": "The unique identifier of the runner image. To list available images, use `GET /actions/hosted-runners/images/github-owned`, `GET /actions/hosted-runners/images/partner`, or `GET /actions/hosted-runners/images/custom`.", "type": "string" }, "image_version": { @@ -298499,6 +298499,21 @@ "type": "integer", "default": 1 } + }, + { + "name": "team_type", + "description": "Filter team results by their type. For more information, see \"[What kind of team should I use?](https://docs.github.com/enterprise-cloud@latest//enterprise-cloud@latest/admin/concepts/enterprise-fundamentals/teams-in-an-enterprise#what-kind-of-team-should-i-use)\"", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "all", + "enterprise", + "organization" + ], + "default": "all" + } } ], "responses": { @@ -333042,6 +333057,20 @@ "schema": { "type": "string" } + }, + { + "name": "direction", + "description": "The direction to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } } ], "responses": { diff --git a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml index 810802ae4..068ac153d 100644 --- a/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.2022-11-28.deref.yaml @@ -9041,8 +9041,8 @@ paths: type: string image_id: description: The unique identifier of the runner image. To list - all available images, use `GET /actions/hosted-runners/images/github-owned` - or `GET /actions/hosted-runners/images/partner`. + available images, use `GET /actions/hosted-runners/images/github-owned`, + `GET /actions/hosted-runners/images/partner`, or `GET /actions/hosted-runners/images/custom`. type: string image_version: description: The version of the runner image to deploy. This is @@ -35854,8 +35854,8 @@ paths: type: string image_id: description: The unique identifier of the runner image. To list - all available images, use `GET /actions/hosted-runners/images/github-owned` - or `GET /actions/hosted-runners/images/partner`. + available images, use `GET /actions/hosted-runners/images/github-owned`, + `GET /actions/hosted-runners/images/partner`, or `GET /actions/hosted-runners/images/custom`. type: string image_version: description: The version of the runner image to deploy. This is @@ -61226,6 +61226,18 @@ paths: - *85 - *17 - *19 + - name: team_type + description: Filter team results by their type. For more information, see + "[What kind of team should I use?](https://docs.github.com/enterprise-cloud@latest//enterprise-cloud@latest/admin/concepts/enterprise-fundamentals/teams-in-an-enterprise#what-kind-of-team-should-i-use)" + in: query + required: false + schema: + type: string + enum: + - all + - enterprise + - organization + default: all responses: '200': description: Response @@ -67847,6 +67859,7 @@ paths: - *17 - *19 - *471 + - *108 responses: '200': description: Response diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.json b/descriptions-next/ghec/dereferenced/ghec.deref.json index 11a1c1329..2bae013b5 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.json +++ b/descriptions-next/ghec/dereferenced/ghec.deref.json @@ -22312,7 +22312,7 @@ "type": "string" }, "image_id": { - "description": "The unique identifier of the runner image. To list all available images, use `GET /actions/hosted-runners/images/github-owned` or `GET /actions/hosted-runners/images/partner`.", + "description": "The unique identifier of the runner image. To list available images, use `GET /actions/hosted-runners/images/github-owned`, `GET /actions/hosted-runners/images/partner`, or `GET /actions/hosted-runners/images/custom`.", "type": "string" }, "image_version": { @@ -138915,7 +138915,7 @@ "type": "string" }, "image_id": { - "description": "The unique identifier of the runner image. To list all available images, use `GET /actions/hosted-runners/images/github-owned` or `GET /actions/hosted-runners/images/partner`.", + "description": "The unique identifier of the runner image. To list available images, use `GET /actions/hosted-runners/images/github-owned`, `GET /actions/hosted-runners/images/partner`, or `GET /actions/hosted-runners/images/custom`.", "type": "string" }, "image_version": { @@ -298499,6 +298499,21 @@ "type": "integer", "default": 1 } + }, + { + "name": "team_type", + "description": "Filter team results by their type. For more information, see \"[What kind of team should I use?](https://docs.github.com/enterprise-cloud@latest//enterprise-cloud@latest/admin/concepts/enterprise-fundamentals/teams-in-an-enterprise#what-kind-of-team-should-i-use)\"", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "all", + "enterprise", + "organization" + ], + "default": "all" + } } ], "responses": { @@ -333042,6 +333057,20 @@ "schema": { "type": "string" } + }, + { + "name": "direction", + "description": "The direction to sort the results by.", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "asc", + "desc" + ], + "default": "desc" + } } ], "responses": { diff --git a/descriptions-next/ghec/dereferenced/ghec.deref.yaml b/descriptions-next/ghec/dereferenced/ghec.deref.yaml index 810802ae4..068ac153d 100644 --- a/descriptions-next/ghec/dereferenced/ghec.deref.yaml +++ b/descriptions-next/ghec/dereferenced/ghec.deref.yaml @@ -9041,8 +9041,8 @@ paths: type: string image_id: description: The unique identifier of the runner image. To list - all available images, use `GET /actions/hosted-runners/images/github-owned` - or `GET /actions/hosted-runners/images/partner`. + available images, use `GET /actions/hosted-runners/images/github-owned`, + `GET /actions/hosted-runners/images/partner`, or `GET /actions/hosted-runners/images/custom`. type: string image_version: description: The version of the runner image to deploy. This is @@ -35854,8 +35854,8 @@ paths: type: string image_id: description: The unique identifier of the runner image. To list - all available images, use `GET /actions/hosted-runners/images/github-owned` - or `GET /actions/hosted-runners/images/partner`. + available images, use `GET /actions/hosted-runners/images/github-owned`, + `GET /actions/hosted-runners/images/partner`, or `GET /actions/hosted-runners/images/custom`. type: string image_version: description: The version of the runner image to deploy. This is @@ -61226,6 +61226,18 @@ paths: - *85 - *17 - *19 + - name: team_type + description: Filter team results by their type. For more information, see + "[What kind of team should I use?](https://docs.github.com/enterprise-cloud@latest//enterprise-cloud@latest/admin/concepts/enterprise-fundamentals/teams-in-an-enterprise#what-kind-of-team-should-i-use)" + in: query + required: false + schema: + type: string + enum: + - all + - enterprise + - organization + default: all responses: '200': description: Response @@ -67847,6 +67859,7 @@ paths: - *17 - *19 - *471 + - *108 responses: '200': description: Response diff --git a/descriptions-next/ghec/ghec.2022-11-28.json b/descriptions-next/ghec/ghec.2022-11-28.json index e3868c691..201327c24 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.json +++ b/descriptions-next/ghec/ghec.2022-11-28.json @@ -3439,7 +3439,7 @@ "type": "string" }, "image_id": { - "description": "The unique identifier of the runner image. To list all available images, use `GET /actions/hosted-runners/images/github-owned` or `GET /actions/hosted-runners/images/partner`.", + "description": "The unique identifier of the runner image. To list available images, use `GET /actions/hosted-runners/images/github-owned`, `GET /actions/hosted-runners/images/partner`, or `GET /actions/hosted-runners/images/custom`.", "type": "string" }, "image_version": { @@ -20505,7 +20505,7 @@ "type": "string" }, "image_id": { - "description": "The unique identifier of the runner image. To list all available images, use `GET /actions/hosted-runners/images/github-owned` or `GET /actions/hosted-runners/images/partner`.", + "description": "The unique identifier of the runner image. To list available images, use `GET /actions/hosted-runners/images/github-owned`, `GET /actions/hosted-runners/images/partner`, or `GET /actions/hosted-runners/images/custom`.", "type": "string" }, "image_version": { @@ -41881,6 +41881,9 @@ }, { "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/team-type" } ], "responses": { @@ -46468,6 +46471,9 @@ }, { "$ref": "#/components/parameters/artifact-name" + }, + { + "$ref": "#/components/parameters/direction" } ], "responses": { @@ -130387,25 +130393,6 @@ } } }, - "repository-rule-params-copilot-code-review-analysis-tool": { - "title": "CopilotCodeReviewAnalysisTool", - "description": "A tool that must provide code review results for this rule to pass.", - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of a code review analysis tool", - "enum": [ - "CodeQL", - "ESLint", - "PMD" - ] - } - }, - "required": [ - "name" - ] - }, "repository-rule": { "title": "Repository Rule", "type": "object", @@ -351446,6 +351433,21 @@ "type": "string" } }, + "team-type": { + "name": "team_type", + "description": "Filter team results by their type. For more information, see \"[What kind of team should I use?](https://docs.github.com/enterprise-cloud@latest//enterprise-cloud@latest/admin/concepts/enterprise-fundamentals/teams-in-an-enterprise#what-kind-of-team-should-i-use)\"", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "all", + "enterprise", + "organization" + ], + "default": "all" + } + }, "security-product": { "name": "security_product", "in": "path", diff --git a/descriptions-next/ghec/ghec.2022-11-28.yaml b/descriptions-next/ghec/ghec.2022-11-28.yaml index 341eaa3f8..a7cd01e76 100644 --- a/descriptions-next/ghec/ghec.2022-11-28.yaml +++ b/descriptions-next/ghec/ghec.2022-11-28.yaml @@ -2415,8 +2415,8 @@ paths: type: string image_id: description: The unique identifier of the runner image. To list - all available images, use `GET /actions/hosted-runners/images/github-owned` - or `GET /actions/hosted-runners/images/partner`. + available images, use `GET /actions/hosted-runners/images/github-owned`, + `GET /actions/hosted-runners/images/partner`, or `GET /actions/hosted-runners/images/custom`. type: string image_version: description: The version of the runner image to deploy. This is @@ -14704,8 +14704,8 @@ paths: type: string image_id: description: The unique identifier of the runner image. To list - all available images, use `GET /actions/hosted-runners/images/github-owned` - or `GET /actions/hosted-runners/images/partner`. + available images, use `GET /actions/hosted-runners/images/github-owned`, + `GET /actions/hosted-runners/images/partner`, or `GET /actions/hosted-runners/images/custom`. type: string image_version: description: The version of the runner image to deploy. This is @@ -30231,6 +30231,7 @@ paths: - "$ref": "#/components/parameters/org" - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/team-type" responses: '200': description: Response @@ -33635,6 +33636,7 @@ paths: - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/page" - "$ref": "#/components/parameters/artifact-name" + - "$ref": "#/components/parameters/direction" responses: '200': description: Response @@ -94359,20 +94361,6 @@ components: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - repository-rule-params-copilot-code-review-analysis-tool: - title: CopilotCodeReviewAnalysisTool - description: A tool that must provide code review results for this rule to pass. - type: object - properties: - name: - type: string - description: The name of a code review analysis tool - enum: - - CodeQL - - ESLint - - PMD - required: - - name repository-rule: title: Repository Rule type: object @@ -262121,6 +262109,19 @@ components: required: false schema: type: string + team-type: + name: team_type + description: Filter team results by their type. For more information, see "[What + kind of team should I use?](https://docs.github.com/enterprise-cloud@latest//enterprise-cloud@latest/admin/concepts/enterprise-fundamentals/teams-in-an-enterprise#what-kind-of-team-should-i-use)" + in: query + required: false + schema: + type: string + enum: + - all + - enterprise + - organization + default: all security-product: name: security_product in: path diff --git a/descriptions-next/ghec/ghec.json b/descriptions-next/ghec/ghec.json index e3868c691..201327c24 100644 --- a/descriptions-next/ghec/ghec.json +++ b/descriptions-next/ghec/ghec.json @@ -3439,7 +3439,7 @@ "type": "string" }, "image_id": { - "description": "The unique identifier of the runner image. To list all available images, use `GET /actions/hosted-runners/images/github-owned` or `GET /actions/hosted-runners/images/partner`.", + "description": "The unique identifier of the runner image. To list available images, use `GET /actions/hosted-runners/images/github-owned`, `GET /actions/hosted-runners/images/partner`, or `GET /actions/hosted-runners/images/custom`.", "type": "string" }, "image_version": { @@ -20505,7 +20505,7 @@ "type": "string" }, "image_id": { - "description": "The unique identifier of the runner image. To list all available images, use `GET /actions/hosted-runners/images/github-owned` or `GET /actions/hosted-runners/images/partner`.", + "description": "The unique identifier of the runner image. To list available images, use `GET /actions/hosted-runners/images/github-owned`, `GET /actions/hosted-runners/images/partner`, or `GET /actions/hosted-runners/images/custom`.", "type": "string" }, "image_version": { @@ -41881,6 +41881,9 @@ }, { "$ref": "#/components/parameters/page" + }, + { + "$ref": "#/components/parameters/team-type" } ], "responses": { @@ -46468,6 +46471,9 @@ }, { "$ref": "#/components/parameters/artifact-name" + }, + { + "$ref": "#/components/parameters/direction" } ], "responses": { @@ -130387,25 +130393,6 @@ } } }, - "repository-rule-params-copilot-code-review-analysis-tool": { - "title": "CopilotCodeReviewAnalysisTool", - "description": "A tool that must provide code review results for this rule to pass.", - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of a code review analysis tool", - "enum": [ - "CodeQL", - "ESLint", - "PMD" - ] - } - }, - "required": [ - "name" - ] - }, "repository-rule": { "title": "Repository Rule", "type": "object", @@ -351446,6 +351433,21 @@ "type": "string" } }, + "team-type": { + "name": "team_type", + "description": "Filter team results by their type. For more information, see \"[What kind of team should I use?](https://docs.github.com/enterprise-cloud@latest//enterprise-cloud@latest/admin/concepts/enterprise-fundamentals/teams-in-an-enterprise#what-kind-of-team-should-i-use)\"", + "in": "query", + "required": false, + "schema": { + "type": "string", + "enum": [ + "all", + "enterprise", + "organization" + ], + "default": "all" + } + }, "security-product": { "name": "security_product", "in": "path", diff --git a/descriptions-next/ghec/ghec.yaml b/descriptions-next/ghec/ghec.yaml index 341eaa3f8..a7cd01e76 100644 --- a/descriptions-next/ghec/ghec.yaml +++ b/descriptions-next/ghec/ghec.yaml @@ -2415,8 +2415,8 @@ paths: type: string image_id: description: The unique identifier of the runner image. To list - all available images, use `GET /actions/hosted-runners/images/github-owned` - or `GET /actions/hosted-runners/images/partner`. + available images, use `GET /actions/hosted-runners/images/github-owned`, + `GET /actions/hosted-runners/images/partner`, or `GET /actions/hosted-runners/images/custom`. type: string image_version: description: The version of the runner image to deploy. This is @@ -14704,8 +14704,8 @@ paths: type: string image_id: description: The unique identifier of the runner image. To list - all available images, use `GET /actions/hosted-runners/images/github-owned` - or `GET /actions/hosted-runners/images/partner`. + available images, use `GET /actions/hosted-runners/images/github-owned`, + `GET /actions/hosted-runners/images/partner`, or `GET /actions/hosted-runners/images/custom`. type: string image_version: description: The version of the runner image to deploy. This is @@ -30231,6 +30231,7 @@ paths: - "$ref": "#/components/parameters/org" - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/page" + - "$ref": "#/components/parameters/team-type" responses: '200': description: Response @@ -33635,6 +33636,7 @@ paths: - "$ref": "#/components/parameters/per-page" - "$ref": "#/components/parameters/page" - "$ref": "#/components/parameters/artifact-name" + - "$ref": "#/components/parameters/direction" responses: '200': description: Response @@ -94359,20 +94361,6 @@ components: - merge_method - min_entries_to_merge - min_entries_to_merge_wait_minutes - repository-rule-params-copilot-code-review-analysis-tool: - title: CopilotCodeReviewAnalysisTool - description: A tool that must provide code review results for this rule to pass. - type: object - properties: - name: - type: string - description: The name of a code review analysis tool - enum: - - CodeQL - - ESLint - - PMD - required: - - name repository-rule: title: Repository Rule type: object @@ -262121,6 +262109,19 @@ components: required: false schema: type: string + team-type: + name: team_type + description: Filter team results by their type. For more information, see "[What + kind of team should I use?](https://docs.github.com/enterprise-c{"code":"deadline_exceeded","msg":"operation timed out"}