summaryrefslogtreecommitdiffstats
path: root/descriptions/ghes-3.15
diff options
context:
space:
mode:
authorgithub-openapi-bot <security+github-openapi-bot@github.com>2025-04-22 10:51:22 -0700
committergithub-openapi-bot <security+github-openapi-bot@github.com>2025-04-22 10:51:22 -0700
commit26e326c31d03e037acc130723b1b104a7233a96c (patch)
tree5888b6167280eef9d261902e1b64976ba145bd17 /descriptions/ghes-3.15
parenta3b90207333d17877bcbab612a4163337ed7148c (diff)
downloadrest-api-description-26e326c31d03e037acc130723b1b104a7233a96c.tar.gz
rest-api-description-26e326c31d03e037acc130723b1b104a7233a96c.zip
Update OpenAPI 3.0 Descriptions
Diffstat (limited to 'descriptions/ghes-3.15')
-rw-r--r--descriptions/ghes-3.15/dereferenced/ghes-3.15.2022-11-28.deref.json93
-rw-r--r--descriptions/ghes-3.15/dereferenced/ghes-3.15.2022-11-28.deref.yaml750
-rw-r--r--descriptions/ghes-3.15/dereferenced/ghes-3.15.deref.json93
-rw-r--r--descriptions/ghes-3.15/dereferenced/ghes-3.15.deref.yaml750
-rw-r--r--descriptions/ghes-3.15/ghes-3.15.2022-11-28.json53
-rw-r--r--descriptions/ghes-3.15/ghes-3.15.2022-11-28.yaml40
-rw-r--r--descriptions/ghes-3.15/ghes-3.15.json53
-rw-r--r--descriptions/ghes-3.15/ghes-3.15.yaml40
8 files changed, 988 insertions, 884 deletions
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 008b92131..8b8408f37 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
@@ -38980,6 +38980,27 @@
}
},
{
+ "name": "has",
+ "in": "query",
+ "description": "Filters the list of alerts based on whether the alert has a patch. If specified, only alerts with a patch will be returned.\nMultiple `has` filters can be chained to check if multiple properties are present.",
+ "schema": {
+ "oneOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "patch"
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
"name": "scope",
"in": "query",
"description": "The scope of the vulnerable dependency. If specified, only alerts with this scope will be returned.",
@@ -41861,19 +41882,6 @@
}
},
{
- "name": "advanced_security_product",
- "in": "query",
- "description": "The security feature to get GitHub Advanced Security active committers for.",
- "required": false,
- "schema": {
- "type": "string",
- "enum": [
- "code_security",
- "secret_protection"
- ]
- }
- },
- {
"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-server@3.15/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"",
"in": "query",
@@ -88279,6 +88287,27 @@
}
},
{
+ "name": "has",
+ "in": "query",
+ "description": "Filters the list of alerts based on whether the alert has a patch. If specified, only alerts with a patch will be returned.\nMultiple `has` filters can be chained to check if multiple properties are present.",
+ "schema": {
+ "oneOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "patch"
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
"name": "scope",
"in": "query",
"description": "The scope of the vulnerable dependency. If specified, only alerts with this scope will be returned.",
@@ -136445,19 +136474,6 @@
}
},
{
- "name": "advanced_security_product",
- "in": "query",
- "description": "The security feature to get GitHub Advanced Security active committers for.",
- "required": false,
- "schema": {
- "type": "string",
- "enum": [
- "code_security",
- "secret_protection"
- ]
- }
- },
- {
"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-server@3.15/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"",
"in": "query",
@@ -210087,7 +210103,7 @@
"/repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest": {
"post": {
"summary": "Rerequest a check run",
- "description": "Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, the `status` of the check suite it belongs to is reset to `queued` and the `conclusion` is cleared. The check run itself is not updated. GitHub apps recieving the [`check_run` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_run) with the `rerequested` action should then decide if the check run should be reset or updated and call the [update `check_run` endpoint](https://docs.github.com/enterprise-server@3.15/rest/checks/runs#update-a-check-run) to update the check_run if desired.\n\nFor more information about how to re-run GitHub Actions jobs, see \"[Re-run a job from a workflow run](https://docs.github.com/enterprise-server@3.15/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)\".\n\nOAuth apps and personal access tokens (classic) cannot use this endpoint.",
+ "description": "Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, the `status` of the check suite it belongs to is reset to `queued` and the `conclusion` is cleared. The check run itself is not updated. GitHub apps recieving the [`check_run` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_run) with the `rerequested` action should then decide if the check run should be reset or updated and call the [update `check_run` endpoint](https://docs.github.com/enterprise-server@3.15/rest/checks/runs#update-a-check-run) to update the check_run if desired.\n\nFor more information about how to re-run GitHub Actions jobs, see \"[Re-run a job from a workflow run](https://docs.github.com/enterprise-server@3.15/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)\".",
"tags": [
"checks"
],
@@ -217304,7 +217320,7 @@
"/repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest": {
"post": {
"summary": "Rerequest a check suite",
- "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nOAuth apps and personal access tokens (classic) cannot use this endpoint.",
+ "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.",
"tags": [
"checks"
],
@@ -240616,6 +240632,27 @@
}
},
{
+ "name": "has",
+ "in": "query",
+ "description": "Filters the list of alerts based on whether the alert has a patch. If specified, only alerts with a patch will be returned.\nMultiple `has` filters can be chained to check if multiple properties are present.",
+ "schema": {
+ "oneOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "patch"
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
"name": "manifest",
"in": "query",
"description": "A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned.",
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 c43195111..fd169d3fc 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
@@ -4333,7 +4333,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/apps/webhooks#list-deliveries-for-an-app-webhook
parameters:
- *4
- - &205
+ - &206
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
@@ -4349,7 +4349,7 @@ paths:
application/json:
schema:
type: array
- items: &206
+ items: &207
title: Simple webhook delivery
description: Delivery made by a webhook, without request and response
information.
@@ -4429,7 +4429,7 @@ paths:
- installation_id
- repository_id
examples:
- default: &207
+ default: &208
value:
- id: 12345678
guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516
@@ -4557,7 +4557,7 @@ paths:
description: Response
content:
application/json:
- schema: &208
+ schema: &209
title: Webhook delivery
description: Delivery made by a webhook.
type: object
@@ -4671,7 +4671,7 @@ paths:
- request
- response
examples:
- default: &209
+ default: &210
value:
id: 12345678
guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516
@@ -5248,7 +5248,7 @@ paths:
title: Repository
description: A repository on GitHub.
type: object
- properties: &245
+ properties: &246
id:
description: Unique identifier of the repository
example: 42
@@ -5677,7 +5677,7 @@ paths:
type: boolean
description: Whether anonymous git access is enabled for
this repository
- required: &246
+ required: &247
- archive_url
- assignees_url
- blobs_url
@@ -6700,7 +6700,7 @@ paths:
schema:
type: string
'422': *35
- '410': &239
+ '410': &240
description: Gone
content:
application/json:
@@ -13277,6 +13277,20 @@ paths:
schema:
type: string
- &194
+ name: has
+ in: query
+ description: |-
+ Filters the list of alerts based on whether the alert has a patch. If specified, only alerts with a patch will be returned.
+ Multiple `has` filters can be chained to check if multiple properties are present.
+ schema:
+ oneOf:
+ - type: string
+ - type: array
+ items:
+ type: string
+ enum:
+ - patch
+ - &195
name: scope
in: query
description: The scope of the vulnerable dependency. If specified, only alerts
@@ -13286,7 +13300,7 @@ paths:
enum:
- development
- runtime
- - &195
+ - &196
name: sort
in: query
description: |-
@@ -13302,7 +13316,7 @@ paths:
- *9
- *88
- *89
- - &196
+ - &197
name: first
description: |-
**Deprecated**. The number of results per page (max 100), starting from the first matching result.
@@ -13315,7 +13329,7 @@ paths:
minimum: 1
maximum: 100
default: 30
- - &197
+ - &198
name: last
description: |-
**Deprecated**. The number of results per page (max 100), starting from the last matching result.
@@ -13335,7 +13349,7 @@ paths:
application/json:
schema:
type: array
- items: &198
+ items: &199
type: object
description: A Dependabot alert.
properties:
@@ -13642,7 +13656,7 @@ paths:
- repository
additionalProperties: false
examples:
- default: &199
+ default: &200
value:
- number: 2
state: dismissed
@@ -13981,7 +13995,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise
parameters:
- *65
- - &256
+ - &257
name: state
in: query
description: Set to `open` or `resolved` to only list secret scanning alerts
@@ -13992,7 +14006,7 @@ paths:
enum:
- open
- resolved
- - &257
+ - &258
name: secret_type
in: query
description: A comma-separated list of secret types to return. All default
@@ -14002,7 +14016,7 @@ paths:
required: false
schema:
type: string
- - &258
+ - &259
name: resolution
in: query
description: A comma-separated list of resolutions. Only secret scanning alerts
@@ -14011,7 +14025,7 @@ paths:
required: false
schema:
type: string
- - &259
+ - &260
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.
@@ -14027,7 +14041,7 @@ paths:
- *4
- *88
- *89
- - &260
+ - &261
name: validity
in: query
description: A comma-separated list of validities that, when present, will
@@ -14043,7 +14057,7 @@ paths:
application/json:
schema:
type: array
- items: &261
+ items: &262
type: object
properties:
number: *93
@@ -14135,7 +14149,7 @@ paths:
- inactive
- unknown
examples:
- default: &262
+ default: &263
value:
- number: 2
created_at: '2020-11-06T18:48:51Z'
@@ -14389,17 +14403,6 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise
parameters:
- *65
- - &265
- name: advanced_security_product
- in: query
- description: The security feature to get GitHub Advanced Security active committers
- for.
- required: false
- schema:
- type: string
- enum:
- - code_security
- - secret_protection
- *4
- *5
responses:
@@ -17460,7 +17463,7 @@ paths:
- closed
- all
default: open
- - &210
+ - &211
name: labels
description: 'A list of comma separated label names. Example: `bug,ui,@high`'
in: query
@@ -17511,7 +17514,7 @@ paths:
type: array
items: *121
examples:
- default: &211
+ default: &212
value:
- id: 1
node_id: MDU6SXNzdWUx
@@ -20370,7 +20373,7 @@ paths:
title: Minimal Repository
description: Minimal Repository
type: object
- properties: &201
+ properties: &202
id:
type: integer
format: int64
@@ -20646,7 +20649,7 @@ paths:
web_commit_signoff_required:
type: boolean
example: false
- security_and_analysis: &247
+ security_and_analysis: &248
nullable: true
type: object
properties:
@@ -20694,7 +20697,7 @@ paths:
enum:
- enabled
- disabled
- required: &202
+ required: &203
- archive_url
- assignees_url
- blobs_url
@@ -26811,11 +26814,12 @@ paths:
- *193
- *194
- *195
+ - *196
- *9
- *88
- *89
- - *196
- *197
+ - *198
- *4
responses:
'200':
@@ -26824,9 +26828,9 @@ paths:
application/json:
schema:
type: array
- items: *198
+ items: *199
examples:
- default: *199
+ default: *200
'304': *42
'400': *34
'403': *43
@@ -26870,7 +26874,7 @@ paths:
type: integer
secrets:
type: array
- items: &200
+ items: &201
title: Dependabot Secret for an Organization
description: Secrets for GitHub Dependabot for an organization.
type: object
@@ -26994,7 +26998,7 @@ paths:
description: Response
content:
application/json:
- schema: *200
+ schema: *201
examples:
default:
value:
@@ -27291,7 +27295,7 @@ paths:
application/json:
schema:
type: array
- items: &221
+ items: &222
title: Package
description: A software package
type: object
@@ -27341,8 +27345,8 @@ paths:
title: Minimal Repository
description: Minimal Repository
type: object
- properties: *201
- required: *202
+ properties: *202
+ required: *203
nullable: true
created_at:
type: string
@@ -27361,7 +27365,7 @@ paths:
- created_at
- updated_at
examples:
- default: &222
+ default: &223
value:
- id: 197
name: hello_docker
@@ -27765,7 +27769,7 @@ paths:
application/json:
schema:
type: array
- items: &203
+ items: &204
title: Org Hook
description: Org Hook
type: object
@@ -27936,9 +27940,9 @@ paths:
description: Response
content:
application/json:
- schema: *203
+ schema: *204
examples:
- default: &204
+ default: &205
value:
id: 1
url: https://api.github.com/orgs/octocat/hooks/1
@@ -27992,9 +27996,9 @@ paths:
description: Response
content:
application/json:
- schema: *203
+ schema: *204
examples:
- default: *204
+ default: *205
'404': *26
x-github:
githubCloudOnly: false
@@ -28067,7 +28071,7 @@ paths:
description: Response
content:
application/json:
- schema: *203
+ schema: *204
examples:
default:
value:
@@ -28221,7 +28225,7 @@ paths:
- *135
- *3
- *4
- - *205
+ - *206
responses:
'200':
description: Response
@@ -28229,9 +28233,9 @@ paths:
application/json:
schema:
type: array
- items: *206
+ items: *207
examples:
- default: *207
+ default: *208
'400': *34
'422': *35
x-github:
@@ -28264,9 +28268,9 @@ paths:
description: Response
content:
application/json:
- schema: *208
+ schema: *209
examples:
- default: *209
+ default: *210
'400': *34
'422': *35
x-github:
@@ -28551,7 +28555,7 @@ paths:
- closed
- all
default: open
- - *210
+ - *211
- name: type
description: Can be the name of an issue type.
in: query
@@ -28582,7 +28586,7 @@ paths:
type: array
items: *121
examples:
- default: *211
+ default: *212
headers:
Link: *6
'404': *26
@@ -28640,7 +28644,7 @@ paths:
type: array
items: *19
examples:
- default: &220
+ default: &221
value:
- login: octocat
id: 1
@@ -28742,7 +28746,7 @@ paths:
description: Response
content:
application/json:
- schema: &212
+ schema: &213
title: Org Membership
description: Org Membership
type: object
@@ -28794,7 +28798,7 @@ paths:
- organization
- user
examples:
- response-if-user-has-an-active-admin-membership-with-organization: &213
+ response-if-user-has-an-active-admin-membership-with-organization: &214
summary: Response if user has an active admin membership with organization
value:
url: https://api.github.com/orgs/octocat/memberships/defunkt
@@ -28890,9 +28894,9 @@ paths:
description: Response
content:
application/json:
- schema: *212
+ schema: *213
examples:
- response-if-user-already-had-membership-with-organization: *213
+ response-if-user-already-had-membership-with-organization: *214
'422': *35
'403': *43
x-github:
@@ -28960,7 +28964,7 @@ paths:
application/json:
schema:
type: array
- items: &214
+ items: &215
title: Migration
description: A migration.
type: object
@@ -29292,7 +29296,7 @@ paths:
description: Response
content:
application/json:
- schema: *214
+ schema: *215
examples:
default:
value:
@@ -29471,7 +29475,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/migrations/orgs#get-an-organization-migration-status
parameters:
- *135
- - &215
+ - &216
name: migration_id
description: The unique identifier of the migration.
in: path
@@ -29498,7 +29502,7 @@ paths:
* `failed`, which means the migration failed.
content:
application/json:
- schema: *214
+ schema: *215
examples:
default:
value:
@@ -29668,7 +29672,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/migrations/orgs#download-an-organization-migration-archive
parameters:
- *135
- - *215
+ - *216
responses:
'302':
description: Response
@@ -29690,7 +29694,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/migrations/orgs#delete-an-organization-migration-archive
parameters:
- *135
- - *215
+ - *216
responses:
'204':
description: Response
@@ -29714,7 +29718,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/migrations/orgs#unlock-an-organization-repository
parameters:
- *135
- - *215
+ - *216
- name: repo_name
description: repo_name parameter
in: path
@@ -29742,7 +29746,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/migrations/orgs#list-repositories-in-an-organization-migration
parameters:
- *135
- - *215
+ - *216
- *4
- *5
responses:
@@ -29754,7 +29758,7 @@ paths:
type: array
items: *153
examples:
- default: &228
+ default: &229
value:
- id: 1296269
node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5
@@ -29963,7 +29967,7 @@ paths:
roles:
type: array
description: The list of organization roles available to the organization.
- items: &216
+ items: &217
title: Organization Role
description: Organization roles
type: object
@@ -30170,7 +30174,7 @@ paths:
description: Response
content:
application/json:
- schema: *216
+ schema: *217
examples:
default:
value:
@@ -30222,7 +30226,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team
parameters:
- *135
- - &217
+ - &218
name: team_slug
description: The slug of the team name.
in: path
@@ -30254,7 +30258,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/orgs/organization-roles#assign-an-organization-role-to-a-team
parameters:
- *135
- - *217
+ - *218
- *189
responses:
'204':
@@ -30285,7 +30289,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/orgs/organization-roles#remove-an-organization-role-from-a-team
parameters:
- *135
- - *217
+ - *218
- *189
responses:
'204':
@@ -30406,7 +30410,7 @@ paths:
description: Response
content:
application/json:
- schema: *216
+ schema: *217
examples:
default:
value:
@@ -30503,7 +30507,7 @@ paths:
description: Response
content:
application/json:
- schema: *216
+ schema: *217
examples:
default:
value:
@@ -30661,7 +30665,7 @@ paths:
description: Groups of organization members that gives permissions
on specified repositories.
type: object
- properties: &218
+ properties: &219
id:
description: Unique identifier of the team
type: integer
@@ -30715,7 +30719,7 @@ paths:
LDAP environment
example: uid=example,ou=users,dc=github,dc=com
type: string
- required: &219
+ required: &220
- id
- node_id
- url
@@ -30740,7 +30744,7 @@ paths:
- slug
- parent
examples:
- default: &264
+ default: &265
value:
- id: 1
node_id: MDQ6VGVhbTE=
@@ -30812,13 +30816,13 @@ paths:
inherited_from:
description: Team the user has gotten the role through
type: array
- items: &263
+ items: &264
title: Team Simple
description: Groups of organization members that gives permissions
on specified repositories.
type: object
- properties: *218
- required: *219
+ properties: *219
+ required: *220
name:
nullable: true
type: string
@@ -30913,7 +30917,7 @@ paths:
- type
- url
examples:
- default: *220
+ default: *221
headers:
Link: *6
'404':
@@ -30961,7 +30965,7 @@ paths:
type: array
items: *19
examples:
- default: *220
+ default: *221
headers:
Link: *6
x-github:
@@ -31139,9 +31143,9 @@ paths:
application/json:
schema:
type: array
- items: *221
+ items: *222
examples:
- default: *222
+ default: *223
'403': *43
'401': *41
'400': &597
@@ -31166,7 +31170,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#get-a-package-for-an-organization
parameters:
- - &223
+ - &224
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
@@ -31184,7 +31188,7 @@ paths:
- docker
- nuget
- container
- - &224
+ - &225
name: package_name
description: The name of the package.
in: path
@@ -31197,7 +31201,7 @@ paths:
description: Response
content:
application/json:
- schema: *221
+ schema: *222
examples:
default:
value:
@@ -31249,8 +31253,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#delete-a-package-for-an-organization
parameters:
- - *223
- *224
+ - *225
- *135
responses:
'204':
@@ -31283,8 +31287,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#restore-a-package-for-an-organization
parameters:
- - *223
- *224
+ - *225
- *135
- name: token
description: package token
@@ -31317,8 +31321,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization
parameters:
- - *223
- *224
+ - *225
- *135
- *5
- *4
@@ -31339,7 +31343,7 @@ paths:
application/json:
schema:
type: array
- items: &225
+ items: &226
title: Package Version
description: A version of a software package
type: object
@@ -31464,10 +31468,10 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#get-a-package-version-for-an-organization
parameters:
- - *223
- *224
+ - *225
- *135
- - &226
+ - &227
name: package_version_id
description: Unique identifier of the package version.
in: path
@@ -31479,7 +31483,7 @@ paths:
description: Response
content:
application/json:
- schema: *225
+ schema: *226
examples:
default:
value:
@@ -31515,10 +31519,10 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#delete-package-version-for-an-organization
parameters:
- - *223
- *224
+ - *225
- *135
- - *226
+ - *227
responses:
'204':
description: Response
@@ -31550,10 +31554,10 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#restore-package-version-for-an-organization
parameters:
- - *223
- *224
+ - *225
- *135
- - *226
+ - *227
responses:
'204':
description: Response
@@ -31583,7 +31587,7 @@ paths:
- *135
- *4
- *5
- - &229
+ - &230
name: sort
description: The property by which to sort the results.
in: query
@@ -31594,7 +31598,7 @@ paths:
- created_at
default: created_at
- *9
- - &230
+ - &231
name: owner
description: A list of owner usernames to use to filter the results.
in: query
@@ -31605,7 +31609,7 @@ paths:
items:
type: string
example: owner[]=octocat1,owner[]=octocat2
- - &231
+ - &232
name: repository
description: The name of the repository to use to filter the results.
in: query
@@ -31613,7 +31617,7 @@ paths:
schema:
type: string
example: Hello-World
- - &232
+ - &233
name: permission
description: The permission to use to filter the results.
in: query
@@ -31621,7 +31625,7 @@ paths:
schema:
type: string
example: issues_read
- - &233
+ - &234
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)
@@ -31631,7 +31635,7 @@ paths:
schema:
type: string
format: date-time
- - &234
+ - &235
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)
@@ -31641,7 +31645,7 @@ paths:
schema:
type: string
format: date-time
- - &235
+ - &236
name: token_id
description: The ID of the token
in: query
@@ -31653,7 +31657,7 @@ paths:
type: string
example: token_id[]=1,token_id[]=2
responses:
- '500': &227
+ '500': &228
description: Internal Error
content:
application/json:
@@ -31850,7 +31854,7 @@ paths:
action: deny
reason: Access is too broad.
responses:
- '500': *227
+ '500': *228
'422': *35
'404': *26
'403': *43
@@ -31911,7 +31915,7 @@ paths:
action: deny
reason: This request is denied because the access is too broad.
responses:
- '500': *227
+ '500': *228
'422': *35
'404': *26
'403': *43
@@ -31947,7 +31951,7 @@ paths:
- *4
- *5
responses:
- '500': *227
+ '500': *228
'404': *26
'403': *43
'200':
@@ -31958,7 +31962,7 @@ paths:
type: array
items: *153
examples:
- default: *228
+ default: *229
headers:
Link: *6
x-github:
@@ -31984,16 +31988,16 @@ paths:
- *135
- *4
- *5
- - *229
- - *9
- *230
+ - *9
- *231
- *232
- *233
- *234
- *235
+ - *236
responses:
- '500': *227
+ '500': *228
'422': *35
'404': *26
'403': *43
@@ -32175,7 +32179,7 @@ paths:
- 1296269
- 1296280
responses:
- '500': *227
+ '500': *228
'404': *26
'202': *141
'403': *43
@@ -32228,7 +32232,7 @@ paths:
value:
action: revoke
responses:
- '500': *227
+ '500': *228
'404': *26
'204': *186
'403': *43
@@ -32262,7 +32266,7 @@ paths:
- *4
- *5
responses:
- '500': *227
+ '500': *228
'404': *26
'403': *43
'200':
@@ -32273,7 +32277,7 @@ paths:
type: array
items: *153
examples:
- default: *228
+ default: *229
headers:
Link: *6
x-github:
@@ -32317,7 +32321,7 @@ paths:
application/json:
schema:
type: array
- items: &236
+ items: &237
type: object
properties:
id:
@@ -32361,9 +32365,9 @@ paths:
description: Response
content:
application/json:
- schema: *236
+ schema: *237
examples:
- default: &237
+ default: &238
value:
id: 42
name: Check Commits
@@ -32393,7 +32397,7 @@ paths:
description: Response
content:
application/json:
- schema: *236
+ schema: *237
examples:
default:
value:
@@ -32442,9 +32446,9 @@ paths:
description: Response
content:
application/json:
- schema: *236
+ schema: *237
examples:
- default: *237
+ default: *238
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -32485,7 +32489,7 @@ paths:
application/json:
schema:
type: array
- items: &238
+ items: &239
title: Project
description: Projects are a way to organize columns and cards of
work.
@@ -32658,7 +32662,7 @@ paths:
description: Response
content:
application/json:
- schema: *238
+ schema: *239
examples:
default:
value:
@@ -32696,7 +32700,7 @@ paths:
'401': *41
'403': *43
'404': *26
- '410': *239
+ '410': *240
'422': *27
x-github:
githubCloudOnly: false
@@ -32727,7 +32731,7 @@ paths:
application/json:
schema:
type: array
- items: &240
+ items: &241
title: Organization Custom Property
description: Custom property defined on an organization
type: object
@@ -32793,7 +32797,7 @@ paths:
- property_name
- value_type
examples:
- default: &241
+ default: &242
value:
- property_name: environment
url: https://api.github.com/orgs/github/properties/schema/environment
@@ -32852,7 +32856,7 @@ paths:
properties:
type: array
description: The array of custom properties to create or update.
- items: *240
+ items: *241
minItems: 1
maxItems: 100
required:
@@ -32882,9 +32886,9 @@ paths:
application/json:
schema:
type: array
- items: *240
+ items: *241
examples:
- default: *241
+ default: *242
'403': *43
'404': *26
x-github:
@@ -32906,7 +32910,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#get-a-custom-property-for-an-organization
parameters:
- *135
- - &242
+ - &243
name: custom_property_name
description: The custom property name
in: path
@@ -32918,9 +32922,9 @@ paths:
description: Response
content:
application/json:
- schema: *240
+ schema: *241
examples:
- default: &243
+ default: &244
value:
property_name: environment
url: https://api.github.com/orgs/github/properties/schema/environment
@@ -32955,7 +32959,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization
parameters:
- *135
- - *242
+ - *243
requestBody:
required: true
content:
@@ -33024,9 +33028,9 @@ paths:
description: Response
content:
application/json:
- schema: *240
+ schema: *241
examples:
- default: *243
+ default: *244
'403': *43
'404': *26
x-github:
@@ -33050,7 +33054,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization
parameters:
- *135
- - *242
+ - *243
responses:
'204': *186
'403': *43
@@ -33112,7 +33116,7 @@ paths:
example: octocat/Hello-World
properties:
type: array
- items: &244
+ items: &245
title: Custom Property Value
description: Custom property name and associated value
type: object
@@ -33199,7 +33203,7 @@ paths:
type: array
description: List of custom property names and associated values
to apply to the repositories.
- items: *244
+ items: *245
required:
- repository_names
- properties
@@ -33252,7 +33256,7 @@ paths:
type: array
items: *19
examples:
- default: *220
+ default: *221
headers:
Link: *6
x-github:
@@ -33393,7 +33397,7 @@ paths:
type: array
items: *153
examples:
- default: *228
+ default: *229
headers:
Link: *6
x-github:
@@ -33879,8 +33883,8 @@ paths:
title: Repository
description: A repository on GitHub.
type: object
- properties: *245
- required: *246
+ properties: *246
+ required: *247
nullable: true
temp_clone_token:
type: string
@@ -34016,7 +34020,7 @@ paths:
- key
- name
- html_url
- security_and_analysis: *247
+ security_and_analysis: *248
custom_properties:
type: object
description: The custom properties that were defined for the repository.
@@ -34690,7 +34694,7 @@ paths:
application/json:
schema:
type: array
- items: &254
+ items: &255
title: Repository ruleset
type: object
description: A set of rules to apply when specified conditions are
@@ -34723,7 +34727,7 @@ paths:
source:
type: string
description: The name of the source
- enforcement: &250
+ enforcement: &251
type: string
description: The enforcement level of the ruleset. `evaluate`
allows admins to test rules before enforcing them. Admins
@@ -34736,7 +34740,7 @@ paths:
bypass_actors:
type: array
description: The actors that can bypass the rules in this ruleset
- items: &251
+ items: &252
title: Repository Ruleset Bypass Actor
type: object
description: An actor that can bypass rules in a ruleset
@@ -34801,7 +34805,7 @@ paths:
conditions:
nullable: true
anyOf:
- - &248
+ - &249
title: Repository ruleset conditions for ref names
type: object
description: Parameters for a repository ruleset ref name
@@ -34825,7 +34829,7 @@ paths:
match.
items:
type: string
- - &252
+ - &253
title: Organization ruleset conditions
type: object
description: |-
@@ -34838,7 +34842,7 @@ paths:
description: Conditions to target repositories by name and
refs by name
allOf:
- - *248
+ - *249
- title: Repository ruleset conditions for repository names
type: object
description: Parameters for a repository name condition
@@ -34872,7 +34876,7 @@ paths:
description: Conditions to target repositories by id and
refs by name
allOf:
- - *248
+ - *249
- title: Repository ruleset conditions for repository IDs
type: object
description: Parameters for a repository ID condition
@@ -34894,7 +34898,7 @@ paths:
description: Conditions to target repositories by property
and refs by name
allOf:
- - *248
+ - *249
- title: Repository ruleset conditions for repository properties
type: object
description: Parameters for a repository property condition
@@ -34907,7 +34911,7 @@ paths:
description: The repository properties and values
to include. All of these properties must match
for the condition to pass.
- items: &249
+ items: &250
title: Repository ruleset property targeting
definition
type: object
@@ -34940,12 +34944,12 @@ paths:
description: The repository properties and values
to exclude. The condition will not pass if any
of these properties match.
- items: *249
+ items: *250
required:
- repository_property
rules:
type: array
- items: &253
+ items: &254
title: Repository Rule
type: object
description: A repository rule.
@@ -35559,7 +35563,7 @@ paths:
created_at: '2023-08-15T08:43:03Z'
updated_at: '2023-09-23T16:29:47Z'
'404': *26
- '500': *227
+ '500': *228
post:
summary: Create an organization repository ruleset
description: Create a repository ruleset for an organization.
@@ -35595,16 +35599,16 @@ paths:
- tag
- push
default: branch
- enforcement: *250
+ enforcement: *251
bypass_actors:
type: array
description: The actors that can bypass the rules in this ruleset
- items: *251
- conditions: *252
+ items: *252
+ conditions: *253
rules:
type: array
description: An array of rules within the ruleset.
- items: *253
+ items: *254
source_type:
type: string
description: The type of the source of the ruleset
@@ -35648,9 +35652,9 @@ paths:
description: Response
content:
application/json:
- schema: *254
+ schema: *255
examples:
- default: &255
+ default: &256
value:
id: 21
name: super cool ruleset
@@ -35690,7 +35694,7 @@ paths:
created_at: '2023-08-15T08:43:03Z'
updated_at: '2023-09-23T16:29:47Z'
'404': *26
- '500': *227
+ '500': *228
"/orgs/{org}/rulesets/rule-suites":
get:
summary: List organization rule suites
@@ -35841,7 +35845,7 @@ paths:
result: pass
evaluation_result: fail
'404': *26
- '500': *227
+ '500': *228
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -36010,7 +36014,7 @@ paths:
result: fail
rule_type: commit_message_pattern
'404': *26
- '500': *227
+ '500': *228
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -36048,11 +36052,11 @@ paths:
description: Response
content:
application/json:
- schema: *254
+ schema: *255
examples:
- default: *255
+ default: *256
'404': *26
- '500': *227
+ '500': *228
put:
summary: Update an organization repository ruleset
description: Update a ruleset for an organization.
@@ -36093,16 +36097,16 @@ paths:
- branch
- tag
- push
- enforcement: *250
+ enforcement: *251
bypass_actors:
type: array
description: The actors that can bypass the rules in this ruleset
- items: *251
- conditions: *252
+ items: *252
+ conditions: *253
rules:
description: An array of rules within the ruleset.
type: array
- items: *253
+ items: *254
examples:
default:
value:
@@ -36137,11 +36141,11 @@ paths:
description: Response
content:
application/json:
- schema: *254
+ schema: *255
examples:
- default: *255
+ default: *256
'404': *26
- '500': *227
+ '500': *228
delete:
summary: Delete an organization repository ruleset
description: Delete a ruleset for an organization.
@@ -36168,7 +36172,7 @@ paths:
'204':
description: Response
'404': *26
- '500': *227
+ '500': *228
"/orgs/{org}/secret-scanning/alerts":
get:
summary: List secret scanning alerts for an organization
@@ -36186,10 +36190,10 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization
parameters:
- *135
- - *256
- *257
- *258
- *259
+ - *260
- *9
- *5
- *4
@@ -36213,7 +36217,7 @@ paths:
required: false
schema:
type: string
- - *260
+ - *261
responses:
'200':
description: Response
@@ -36221,9 +36225,9 @@ paths:
application/json:
schema:
type: array
- items: *261
+ items: *262
examples:
- default: *262
+ default: *263
headers:
Link: *6
'404': *26
@@ -36257,9 +36261,9 @@ paths:
application/json:
schema:
type: array
- items: *263
+ items: *264
examples:
- default: *264
+ default: *265
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -36283,7 +36287,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/orgs/security-managers#add-a-security-manager-team
parameters:
- *135
- - *217
+ - *218
responses:
'204':
description: Response
@@ -36309,7 +36313,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/orgs/security-managers#remove-a-security-manager-team
parameters:
- *135
- - *217
+ - *218
responses:
'204':
description: Response
@@ -36338,7 +36342,6 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization
parameters:
- *135
- - *265
- *4
- *5
responses:
@@ -36435,8 +36438,8 @@ paths:
description: Groups of organization members that gives permissions
on specified repositories.
type: object
- properties: *218
- required: *219
+ properties: *219
+ required: *220
nullable: true
required:
- id
@@ -36451,7 +36454,7 @@ paths:
- slug
- parent
examples:
- default: *264
+ default: *265
headers:
Link: *6
'403': *43
@@ -36616,8 +36619,8 @@ paths:
description: Groups of organization members that gives permissions
on specified repositories.
type: object
- properties: *218
- required: *219
+ properties: *219
+ required: *220
nullable: true
members_count:
type: integer
@@ -36933,7 +36936,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/teams#get-a-team-by-name
parameters:
- *135
- - *217
+ - *218
responses:
'200':
description: Response
@@ -36963,7 +36966,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/teams#update-a-team
parameters:
- *135
- - *217
+ - *218
requestBody:
required: false
content:
@@ -37060,7 +37063,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/teams#delete-a-team
parameters:
- *135
- - *217
+ - *218
responses:
'204':
description: Response
@@ -37087,7 +37090,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/discussions#list-discussions
parameters:
- *135
- - *217
+ - *218
- *9
- *4
- *5
@@ -37278,7 +37281,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/discussions#create-a-discussion
parameters:
- *135
- - *217
+ - *218
requestBody:
required: true
content:
@@ -37387,7 +37390,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/discussions#get-a-discussion
parameters:
- *135
- - *217
+ - *218
- &272
name: discussion_number
description: The number that identifies the discussion.
@@ -37425,7 +37428,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/discussions#update-a-discussion
parameters:
- *135
- - *217
+ - *218
- *272
requestBody:
required: false
@@ -37522,7 +37525,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/discussions#delete-a-discussion
parameters:
- *135
- - *217
+ - *218
- *272
responses:
'204':
@@ -37550,7 +37553,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/discussion-comments#list-discussion-comments
parameters:
- *135
- - *217
+ - *218
- *272
- *9
- *4
@@ -37703,7 +37706,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/discussion-comments#create-a-discussion-comment
parameters:
- *135
- - *217
+ - *218
- *272
requestBody:
required: true
@@ -37795,7 +37798,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/discussion-comments#get-a-discussion-comment
parameters:
- *135
- - *217
+ - *218
- *272
- &275
name: comment_number
@@ -37834,7 +37837,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/discussion-comments#update-a-discussion-comment
parameters:
- *135
- - *217
+ - *218
- *272
- *275
requestBody:
@@ -37925,7 +37928,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/discussion-comments#delete-a-discussion-comment
parameters:
- *135
- - *217
+ - *218
- *272
- *275
responses:
@@ -37954,7 +37957,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment
parameters:
- *135
- - *217
+ - *218
- *272
- *275
- name: content
@@ -38076,7 +38079,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment
parameters:
- *135
- - *217
+ - *218
- *272
- *275
requestBody:
@@ -38168,7 +38171,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/reactions/reactions#delete-team-discussion-comment-reaction
parameters:
- *135
- - *217
+ - *218
- *272
- *275
- &279
@@ -38204,7 +38207,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/reactions/reactions#list-reactions-for-a-team-discussion
parameters:
- *135
- - *217
+ - *218
- *272
- name: content
description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.15/rest/reactions/reactions#about-reactions).
@@ -38260,7 +38263,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/reactions/reactions#create-reaction-for-a-team-discussion
parameters:
- *135
- - *217
+ - *218
- *272
requestBody:
required: true
@@ -38326,7 +38329,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/reactions/reactions#delete-team-discussion-reaction
parameters:
- *135
- - *217
+ - *218
- *272
- *279
responses:
@@ -38352,7 +38355,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team
parameters:
- *135
- - *217
+ - *218
responses:
'200':
description: Response
@@ -38380,7 +38383,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team
parameters:
- *135
- - *217
+ - *218
requestBody:
required: true
content:
@@ -38425,7 +38428,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team
parameters:
- *135
- - *217
+ - *218
responses:
'204':
description: Response
@@ -38449,7 +38452,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/members#list-team-members
parameters:
- *135
- - *217
+ - *218
- name: role
description: Filters members returned by their role in the team.
in: query
@@ -38472,7 +38475,7 @@ paths:
type: array
items: *19
examples:
- default: *220
+ default: *221
headers:
Link: *6
x-github:
@@ -38503,7 +38506,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/members#get-team-membership-for-a-user
parameters:
- *135
- - *217
+ - *218
- *8
responses:
'200':
@@ -38574,7 +38577,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/members#add-or-update-team-membership-for-a-user
parameters:
- *135
- - *217
+ - *218
- *8
requestBody:
required: false
@@ -38638,7 +38641,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/members#remove-team-membership-for-a-user
parameters:
- *135
- - *217
+ - *218
- *8
responses:
'204':
@@ -38665,7 +38668,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/teams#list-team-projects
parameters:
- *135
- - *217
+ - *218
- *4
- *5
responses:
@@ -38807,7 +38810,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/teams#check-team-permissions-for-a-project
parameters:
- *135
- - *217
+ - *218
- &286
name: project_id
description: The unique identifier of the project.
@@ -38885,7 +38888,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/teams#add-or-update-team-project-permissions
parameters:
- *135
- - *217
+ - *218
- *286
requestBody:
required: false
@@ -38953,7 +38956,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/teams#remove-a-project-from-a-team
parameters:
- *135
- - *217
+ - *218
- *286
responses:
'204':
@@ -38982,7 +38985,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/teams#list-team-repositories
parameters:
- *135
- - *217
+ - *218
- *4
- *5
responses:
@@ -38994,7 +38997,7 @@ paths:
type: array
items: *153
examples:
- default: *228
+ default: *229
headers:
Link: *6
x-github:
@@ -39024,7 +39027,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/teams#check-team-permissions-for-a-repository
parameters:
- *135
- - *217
+ - *218
- *287
- *288
responses:
@@ -39602,7 +39605,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/teams#add-or-update-team-repository-permissions
parameters:
- *135
- - *217
+ - *218
- *287
- *288
requestBody:
@@ -39650,7 +39653,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/teams#remove-a-repository-from-a-team
parameters:
- *135
- - *217
+ - *218
- *287
- *288
responses:
@@ -39677,7 +39680,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/teams#list-child-teams
parameters:
- *135
- - *217
+ - *218
- *4
- *5
responses:
@@ -40579,7 +40582,7 @@ paths:
description: Response
content:
application/json:
- schema: *238
+ schema: *239
examples:
default: &296
value:
@@ -40684,7 +40687,7 @@ paths:
description: Response
content:
application/json:
- schema: *238
+ schema: *239
examples:
default: *296
'404':
@@ -40707,7 +40710,7 @@ paths:
items:
type: string
'401': *41
- '410': *239
+ '410': *240
'422': *27
x-github:
githubCloudOnly: false
@@ -40751,7 +40754,7 @@ paths:
items:
type: string
'401': *41
- '410': *239
+ '410': *240
'404': *26
x-github:
githubCloudOnly: false
@@ -40802,7 +40805,7 @@ paths:
type: array
items: *19
examples:
- default: *220
+ default: *221
headers:
Link: *6
'404': *26
@@ -42352,7 +42355,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': *239
+ '410': *240
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -45642,7 +45645,7 @@ paths:
'204':
description: Response
'403': *43
- '500': *227
+ '500': *228
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -47036,7 +47039,7 @@ paths:
type: array
items: *19
examples:
- default: *220
+ default: *221
headers:
Link: *6
'404': *26
@@ -50127,7 +50130,7 @@ paths:
type: array
items: *289
examples:
- default: *264
+ default: *265
'404': *26
x-github:
githubCloudOnly: false
@@ -50187,7 +50190,7 @@ paths:
type: array
items: *289
examples:
- default: *264
+ default: *265
'422': *35
x-github:
githubCloudOnly: false
@@ -50248,7 +50251,7 @@ paths:
type: array
items: *289
examples:
- default: *264
+ default: *265
'422': *35
x-github:
githubCloudOnly: false
@@ -50308,7 +50311,7 @@ paths:
type: array
items: *289
examples:
- default: *264
+ default: *265
'422': *35
x-github:
githubCloudOnly: false
@@ -50342,7 +50345,7 @@ paths:
type: array
items: *19
examples:
- default: *220
+ default: *221
'404': *26
x-github:
githubCloudOnly: false
@@ -50401,7 +50404,7 @@ paths:
type: array
items: *19
examples:
- default: *220
+ default: *221
'422': *35
x-github:
githubCloudOnly: false
@@ -50461,7 +50464,7 @@ paths:
type: array
items: *19
examples:
- default: *220
+ default: *221
'422': *35
x-github:
githubCloudOnly: false
@@ -50521,7 +50524,7 @@ paths:
type: array
items: *19
examples:
- default: *220
+ default: *221
'422': *35
x-github:
githubCloudOnly: false
@@ -51835,8 +51838,6 @@ paths:
Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, the `status` of the check suite it belongs to is reset to `queued` and the `conclusion` is cleared. The check run itself is not updated. GitHub apps recieving the [`check_run` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_run) with the `rerequested` action should then decide if the check run should be reset or updated and call the [update `check_run` endpoint](https://docs.github.com/enterprise-server@3.15/rest/checks/runs#update-a-check-run) to update the check_run if desired.
For more information about how to re-run GitHub Actions jobs, see "[Re-run a job from a workflow run](https://docs.github.com/enterprise-server@3.15/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)".
-
- OAuth apps and personal access tokens (classic) cannot use this endpoint.
tags:
- checks
operationId: checks/rerequest-run
@@ -52835,10 +52836,10 @@ paths:
"/repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest":
post:
summary: Rerequest a check suite
- description: |-
- Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.
-
- OAuth apps and personal access tokens (classic) cannot use this endpoint.
+ description: Triggers GitHub to rerequest an existing check suite, without pushing
+ new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_suite)
+ event with the action `rerequested`. When a check suite is `rerequested`,
+ its `status` is reset to `queued` and the `conclusion` is cleared.
tags:
- checks
operationId: checks/rerequest-suite
@@ -55537,7 +55538,7 @@ paths:
sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e
headers:
Link: *6
- '500': *227
+ '500': *228
'400': *34
'404': *26
'409': *140
@@ -56688,7 +56689,7 @@ paths:
.....
'422': *35
'404': *26
- '500': *227
+ '500': *228
'503': *104
'409': *140
x-github:
@@ -57673,7 +57674,7 @@ paths:
patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@
module Test"
'404': *26
- '500': *227
+ '500': *228
'503': *104
x-github:
githubCloudOnly: false
@@ -58873,14 +58874,15 @@ paths:
- *191
- *192
- *193
+ - *194
- 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
- - *194
- *195
+ - *196
- *9
responses:
'200':
@@ -64653,7 +64655,7 @@ paths:
- *288
- *3
- *4
- - *205
+ - *206
responses:
'200':
description: Response
@@ -64661,9 +64663,9 @@ paths:
application/json:
schema:
type: array
- items: *206
+ items: *207
examples:
- default: *207
+ default: *208
'400': *34
'422': *35
x-github:
@@ -64691,9 +64693,9 @@ paths:
description: Response
content:
application/json:
- schema: *208
+ schema: *209
examples:
- default: *209
+ default: *210
'400': *34
'422': *35
x-github:
@@ -65274,7 +65276,7 @@ paths:
required: false
schema:
type: string
- - *210
+ - *211
- name: sort
description: What to sort results by.
in: query
@@ -65717,7 +65719,7 @@ paths:
'422': *35
'503': *104
'404': *26
- '410': *239
+ '410': *240
x-github:
triggersNotification: true
githubCloudOnly: false
@@ -66673,7 +66675,7 @@ paths:
author_association: COLLABORATOR
state_reason: completed
'404': *26
- '410': *239
+ '410': *240
'403': *43
x-github:
githubCloudOnly: false
@@ -66726,7 +66728,7 @@ paths:
default: *447
'301': *299
'404': *26
- '410': *239
+ '410': *240
'304': *42
x-github:
githubCloudOnly: false
@@ -66864,7 +66866,7 @@ paths:
'403': *43
'301': *299
'404': *26
- '410': *239
+ '410': *240
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -67040,7 +67042,7 @@ paths:
headers:
Link: *6
'404': *26
- '410': *239
+ '410': *240
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -67102,7 +67104,7 @@ paths:
schema:
type: string
'403': *43
- '410': *239
+ '410': *240
'422': *35
'404': *26
x-github:
@@ -67975,7 +67977,7 @@ paths:
color: red
headers:
Link: *6
- '410': *239
+ '410': *240
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -68071,7 +68073,7 @@ paths:
Link: *6
'301': *299
'404': *26
- '410': *239
+ '410': *240
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -68154,7 +68156,7 @@ paths:
default: *451
'301': *299
'404': *26
- '410': *239
+ '410': *240
'422': *35
x-github:
githubCloudOnly: false
@@ -68238,7 +68240,7 @@ paths:
default: *451
'301': *299
'404': *26
- '410': *239
+ '410': *240
'422': *35
x-github:
githubCloudOnly: false
@@ -68263,7 +68265,7 @@ paths:
description: Response
'301': *299
'404': *26
- '410': *239
+ '410': *240
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -68310,7 +68312,7 @@ paths:
default: true
'301': *299
'404': *26
- '410': *239
+ '410': *240
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -68360,7 +68362,7 @@ paths:
'204':
description: Response
'403': *43
- '410': *239
+ '410': *240
'404': *26
'422': *35
x-github:
@@ -68436,7 +68438,7 @@ paths:
headers:
Link: *6
'404': *26
- '410': *239
+ '410': *240
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -69370,7 +69372,7 @@ paths:
headers:
Link: *6
'404': *26
- '410': *239
+ '410': *240
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -71639,7 +71641,7 @@ paths:
application/json:
schema:
type: array
- items: *238
+ items: *239
examples:
default:
value:
@@ -71679,7 +71681,7 @@ paths:
'401': *41
'403': *43
'404': *26
- '410': *239
+ '410': *240
'422': *27
x-github:
githubCloudOnly: false
@@ -71729,13 +71731,13 @@ paths:
description: Response
content:
application/json:
- schema: *238
+ schema: *239
examples:
default: *296
'401': *41
'403': *43
'404': *26
- '410': *239
+ '410': *240
'422': *27
x-github:
githubCloudOnly: false
@@ -71767,7 +71769,7 @@ paths:
application/json:
schema:
type: array
- items: *244
+ items: *245
examples:
default:
value:
@@ -71811,7 +71813,7 @@ paths:
type: array
description: A list of custom property names and associated values
to apply to the repositories.
- items: *244
+ items: *245
required:
- properties
examples:
@@ -72179,7 +72181,7 @@ paths:
nullable: true
requested_teams:
type: array
- items: *263
+ items: *264
nullable: true
head:
type: object
@@ -73301,7 +73303,7 @@ paths:
content:
application/json:
schema: *24
- '500': *227
+ '500': *228
'503': *104
x-github:
githubCloudOnly: false
@@ -73840,7 +73842,7 @@ paths:
headers:
Link: *6
'422': *35
- '500': *227
+ '500': *228
'503': *104
x-github:
githubCloudOnly: false
@@ -77641,7 +77643,7 @@ paths:
application/json:
schema:
type: array
- items: *254
+ items: *255
examples:
default:
value:
@@ -77672,7 +77674,7 @@ paths:
created_at: '2023-08-15T08:43:03Z'
updated_at: '2023-09-23T16:29:47Z'
'404': *26
- '500': *227
+ '500': *228
post:
summary: Create a repository ruleset
description: Create a ruleset for a repository.
@@ -77709,16 +77711,16 @@ paths:
- tag
- push
default: branch
- enforcement: *250
+ enforcement: *251
bypass_actors:
type: array
description: The actors that can bypass the rules in this ruleset
- items: *251
- conditions: *248
+ items: *252
+ conditions: *249
rules:
type: array
description: An array of rules within the ruleset.
- items: *253
+ items: *254
required:
- name
- enforcement
@@ -77749,7 +77751,7 @@ paths:
description: Response
content:
application/json:
- schema: *254
+ schema: *255
examples:
default: &536
value:
@@ -77784,7 +77786,7 @@ paths:
created_at: '2023-07-15T08:43:03Z'
updated_at: '2023-08-23T16:29:47Z'
'404': *26
- '500': *227
+ '500': *228
"/repos/{owner}/{repo}/rulesets/rule-suites":
get:
summary: List repository rule suites
@@ -77815,7 +77817,7 @@ paths:
examples:
default: *532
'404': *26
- '500': *227
+ '500': *228
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -77846,7 +77848,7 @@ paths:
examples:
default: *535
'404': *26
- '500': *227
+ '500': *228
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -77893,11 +77895,11 @@ paths:
description: Response
content:
application/json:
- schema: *254
+ schema: *255
examples:
default: *536
'404': *26
- '500': *227
+ '500': *228
put:
summary: Update a repository ruleset
description: Update a ruleset for a repository.
@@ -77939,16 +77941,16 @@ paths:
- branch
- tag
- push
- enforcement: *250
+ enforcement: *251
bypass_actors:
type: array
description: The actors that can bypass the rules in this ruleset
- items: *251
- conditions: *248
+ items: *252
+ conditions: *249
rules:
description: An array of rules within the ruleset.
type: array
- items: *253
+ items: *254
examples:
default:
value:
@@ -77976,11 +77978,11 @@ paths:
description: Response
content:
application/json:
- schema: *254
+ schema: *255
examples:
default: *536
'404': *26
- '500': *227
+ '500': *228
delete:
summary: Delete a repository ruleset
description: Delete a ruleset for a repository.
@@ -78008,7 +78010,7 @@ paths:
'204':
description: Response
'404': *26
- '500': *227
+ '500': *228
"/repos/{owner}/{repo}/secret-scanning/alerts":
get:
summary: List secret scanning alerts for a repository
@@ -78027,16 +78029,16 @@ paths:
parameters:
- *287
- *288
- - *256
- *257
- *258
- *259
+ - *260
- *9
- *5
- *4
- *537
- *538
- - *260
+ - *261
responses:
'200':
description: Response
@@ -79466,7 +79468,7 @@ paths:
type: array
items: *19
examples:
- default: *220
+ default: *221
headers:
Link: *6
x-github:
@@ -79920,7 +79922,7 @@ paths:
type: array
items: *289
examples:
- default: *264
+ default: *265
headers:
Link: *6
'404': *26
@@ -84767,7 +84769,7 @@ paths:
type: array
items: *19
examples:
- default: *220
+ default: *221
headers:
Link: *6
'404': *26
@@ -85221,7 +85223,7 @@ paths:
type: array
items: *153
examples:
- default: *228
+ default: *229
headers:
Link: *6
'404': *26
@@ -85964,7 +85966,7 @@ paths:
application/json:
schema:
type: array
- items: *221
+ items: *222
examples:
default: &596
value:
@@ -86263,7 +86265,7 @@ paths:
type: array
items: *19
examples:
- default: *220
+ default: *221
headers:
Link: *6
'304': *42
@@ -86296,7 +86298,7 @@ paths:
type: array
items: *19
examples:
- default: *220
+ default: *221
headers:
Link: *6
'304': *42
@@ -87030,7 +87032,7 @@ paths:
- closed
- all
default: open
- - *210
+ - *211
- name: sort
description: What to sort results by.
in: query
@@ -87055,7 +87057,7 @@ paths:
type: array
items: *121
examples:
- default: *211
+ default: *212
headers:
Link: *6
'404': *26
@@ -87294,7 +87296,7 @@ paths:
application/json:
schema:
type: array
- items: *212
+ items: *213
examples:
default:
value:
@@ -87402,7 +87404,7 @@ paths:
description: Response
content:
application/json:
- schema: *212
+ schema: *213
examples:
default:
value:
@@ -87485,7 +87487,7 @@ paths:
description: Response
content:
application/json:
- schema: *212
+ schema: *213
examples:
default:
value:
@@ -87553,7 +87555,7 @@ paths:
application/json:
schema:
type: array
- items: *214
+ items: *215
examples:
default:
value:
@@ -87806,7 +87808,7 @@ paths:
description: Response
content:
application/json:
- schema: *214
+ schema: *215
examples:
default:
value:
@@ -87999,7 +88001,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/migrations/users#download-a-user-migration-archive
parameters:
- - *215
+ - *216
responses:
'302':
description: Response
@@ -88022,7 +88024,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/migrations/users#list-repositories-for-a-user-migration
parameters:
- - *215
+ - *216
- *4
- *5
responses:
@@ -88034,7 +88036,7 @@ paths:
type: array
items: *153
examples:
- default: *228
+ default: *229
headers:
Link: *6
'404': *26
@@ -88123,7 +88125,7 @@ paths:
application/json:
schema:
type: array
- items: *221
+ items: *222
examples:
default: *596
'400': *597
@@ -88146,14 +88148,14 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#get-a-package-for-the-authenticated-user
parameters:
- - *223
- *224
+ - *225
responses:
'200':
description: Response
content:
application/json:
- schema: *221
+ schema: *222
examples:
default: &609
value:
@@ -88268,8 +88270,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#delete-a-package-for-the-authenticated-user
parameters:
- - *223
- *224
+ - *225
responses:
'204':
description: Response
@@ -88299,8 +88301,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#restore-a-package-for-the-authenticated-user
parameters:
- - *223
- *224
+ - *225
- name: token
description: package token
schema:
@@ -88332,8 +88334,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user
parameters:
- - *223
- *224
+ - *225
- *5
- *4
- name: state
@@ -88353,7 +88355,7 @@ paths:
application/json:
schema:
type: array
- items: *225
+ items: *226
examples:
default:
value:
@@ -88402,15 +88404,15 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#get-a-package-version-for-the-authenticated-user
parameters:
- - *223
- *224
- - *226
+ - *225
+ - *227
responses:
'200':
description: Response
content:
application/json:
- schema: *225
+ schema: *226
examples:
default:
value:
@@ -88446,9 +88448,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#delete-a-package-version-for-the-authenticated-user
parameters:
- - *223
- *224
- - *226
+ - *225
+ - *227
responses:
'204':
description: Response
@@ -88478,9 +88480,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#restore-a-package-version-for-the-authenticated-user
parameters:
- - *223
- *224
- - *226
+ - *225
+ - *227
responses:
'204':
description: Response
@@ -88536,7 +88538,7 @@ paths:
description: Response
content:
application/json:
- schema: *238
+ schema: *239
examples:
default:
value:
@@ -89774,7 +89776,7 @@ paths:
type: array
items: *153
examples:
- default: *228
+ default: *229
headers:
Link: *6
'304': *42
@@ -90012,7 +90014,7 @@ paths:
type: array
items: *19
examples:
- default: *220
+ default: *221
headers:
Link:
example: <https://api.github.com/users?since=135>; rel="next"
@@ -90081,7 +90083,7 @@ paths:
application/json:
schema:
type: array
- items: *221
+ items: *222
examples:
default: *596
'403': *43
@@ -90366,7 +90368,7 @@ paths:
type: array
items: *19
examples:
- default: *220
+ default: *221
headers:
Link: *6
x-github:
@@ -90397,7 +90399,7 @@ paths:
type: array
items: *19
examples:
- default: *220
+ default: *221
headers:
Link: *6
x-github:
@@ -90721,7 +90723,7 @@ paths:
application/json:
schema:
type: array
- items: *221
+ items: *222
examples:
default: *596
'403': *43
@@ -90746,15 +90748,15 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#get-a-package-for-a-user
parameters:
- - *223
- *224
+ - *225
- *8
responses:
'200':
description: Response
content:
application/json:
- schema: *221
+ schema: *222
examples:
default: *609
x-github:
@@ -90777,8 +90779,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#delete-a-package-for-a-user
parameters:
- - *223
- *224
+ - *225
- *8
responses:
'204':
@@ -90811,8 +90813,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#restore-a-package-for-a-user
parameters:
- - *223
- *224
+ - *225
- *8
- name: token
description: package token
@@ -90845,8 +90847,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user
parameters:
- - *223
- *224
+ - *225
- *8
responses:
'200':
@@ -90855,7 +90857,7 @@ paths:
application/json:
schema:
type: array
- items: *225
+ items: *226
examples:
default:
value:
@@ -90913,16 +90915,16 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#get-a-package-version-for-a-user
parameters:
- - *223
- *224
- - *226
+ - *225
+ - *227
- *8
responses:
'200':
description: Response
content:
application/json:
- schema: *225
+ schema: *226
examples:
default:
value:
@@ -90957,10 +90959,10 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#delete-package-version-for-a-user
parameters:
- - *223
- *224
+ - *225
- *8
- - *226
+ - *227
responses:
'204':
description: Response
@@ -90992,10 +90994,10 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#restore-package-version-for-a-user
parameters:
- - *223
- *224
+ - *225
- *8
- - *226
+ - *227
responses:
'204':
description: Response
@@ -91042,7 +91044,7 @@ paths:
application/json:
schema:
type: array
- items: *238
+ items: *239
examples:
default:
value:
@@ -91325,7 +91327,7 @@ paths:
type: array
items: *153
examples:
- default: *228
+ default: *229
headers:
Link: *6
x-github:
@@ -91501,7 +91503,7 @@ paths:
type: array
items: *153
examples:
- default: *228
+ default: *229
headers:
Link: *6
x-github:
@@ -196952,7 +196954,7 @@ x-webhooks:
installation: *614
organization: *615
repository: *616
- repository_ruleset: *254
+ repository_ruleset: *255
sender: *19
required:
- action
@@ -197034,7 +197036,7 @@ x-webhooks:
installation: *614
organization: *615
repository: *616
- repository_ruleset: *254
+ repository_ruleset: *255
sender: *19
required:
- action
@@ -197116,7 +197118,7 @@ x-webhooks:
installation: *614
organization: *615
repository: *616
- repository_ruleset: *254
+ repository_ruleset: *255
changes:
type: object
properties:
@@ -197135,16 +197137,16 @@ x-webhooks:
properties:
added:
type: array
- items: *248
+ items: *249
deleted:
type: array
- items: *248
+ items: *249
updated:
type: array
items:
type: object
properties:
- condition: *248
+ condition: *249
changes:
type: object
properties:
@@ -197177,16 +197179,16 @@ x-webhooks:
properties:
added:
type: array
- items: *253
+ items: *254
deleted:
type: array
- items: *253
+ items: *254
updated:
type: array
items:
type: object
properties:
- rule: *253
+ rule: *254
changes:
type: object
properties:
@@ -199523,7 +199525,7 @@ x-webhooks:
from:
type: object
properties:
- security_and_analysis: *247
+ security_and_analysis: *248
enterprise: *613
installation: *614
organization: *615
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 008b92131..8b8408f37 100644
--- a/descriptions/ghes-3.15/dereferenced/ghes-3.15.deref.json
+++ b/descriptions/ghes-3.15/dereferenced/ghes-3.15.deref.json
@@ -38980,6 +38980,27 @@
}
},
{
+ "name": "has",
+ "in": "query",
+ "description": "Filters the list of alerts based on whether the alert has a patch. If specified, only alerts with a patch will be returned.\nMultiple `has` filters can be chained to check if multiple properties are present.",
+ "schema": {
+ "oneOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "patch"
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
"name": "scope",
"in": "query",
"description": "The scope of the vulnerable dependency. If specified, only alerts with this scope will be returned.",
@@ -41861,19 +41882,6 @@
}
},
{
- "name": "advanced_security_product",
- "in": "query",
- "description": "The security feature to get GitHub Advanced Security active committers for.",
- "required": false,
- "schema": {
- "type": "string",
- "enum": [
- "code_security",
- "secret_protection"
- ]
- }
- },
- {
"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-server@3.15/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"",
"in": "query",
@@ -88279,6 +88287,27 @@
}
},
{
+ "name": "has",
+ "in": "query",
+ "description": "Filters the list of alerts based on whether the alert has a patch. If specified, only alerts with a patch will be returned.\nMultiple `has` filters can be chained to check if multiple properties are present.",
+ "schema": {
+ "oneOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "patch"
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
"name": "scope",
"in": "query",
"description": "The scope of the vulnerable dependency. If specified, only alerts with this scope will be returned.",
@@ -136445,19 +136474,6 @@
}
},
{
- "name": "advanced_security_product",
- "in": "query",
- "description": "The security feature to get GitHub Advanced Security active committers for.",
- "required": false,
- "schema": {
- "type": "string",
- "enum": [
- "code_security",
- "secret_protection"
- ]
- }
- },
- {
"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-server@3.15/rest/using-the-rest-api/using-pagination-in-the-rest-api).\"",
"in": "query",
@@ -210087,7 +210103,7 @@
"/repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest": {
"post": {
"summary": "Rerequest a check run",
- "description": "Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, the `status` of the check suite it belongs to is reset to `queued` and the `conclusion` is cleared. The check run itself is not updated. GitHub apps recieving the [`check_run` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_run) with the `rerequested` action should then decide if the check run should be reset or updated and call the [update `check_run` endpoint](https://docs.github.com/enterprise-server@3.15/rest/checks/runs#update-a-check-run) to update the check_run if desired.\n\nFor more information about how to re-run GitHub Actions jobs, see \"[Re-run a job from a workflow run](https://docs.github.com/enterprise-server@3.15/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)\".\n\nOAuth apps and personal access tokens (classic) cannot use this endpoint.",
+ "description": "Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, the `status` of the check suite it belongs to is reset to `queued` and the `conclusion` is cleared. The check run itself is not updated. GitHub apps recieving the [`check_run` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_run) with the `rerequested` action should then decide if the check run should be reset or updated and call the [update `check_run` endpoint](https://docs.github.com/enterprise-server@3.15/rest/checks/runs#update-a-check-run) to update the check_run if desired.\n\nFor more information about how to re-run GitHub Actions jobs, see \"[Re-run a job from a workflow run](https://docs.github.com/enterprise-server@3.15/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)\".",
"tags": [
"checks"
],
@@ -217304,7 +217320,7 @@
"/repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest": {
"post": {
"summary": "Rerequest a check suite",
- "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nOAuth apps and personal access tokens (classic) cannot use this endpoint.",
+ "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.",
"tags": [
"checks"
],
@@ -240616,6 +240632,27 @@
}
},
{
+ "name": "has",
+ "in": "query",
+ "description": "Filters the list of alerts based on whether the alert has a patch. If specified, only alerts with a patch will be returned.\nMultiple `has` filters can be chained to check if multiple properties are present.",
+ "schema": {
+ "oneOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "patch"
+ ]
+ }
+ }
+ ]
+ }
+ },
+ {
"name": "manifest",
"in": "query",
"description": "A comma-separated list of full manifest paths. If specified, only alerts for these manifests will be returned.",
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 c43195111..fd169d3fc 100644
--- a/descriptions/ghes-3.15/dereferenced/ghes-3.15.deref.yaml
+++ b/descriptions/ghes-3.15/dereferenced/ghes-3.15.deref.yaml
@@ -4333,7 +4333,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/apps/webhooks#list-deliveries-for-an-app-webhook
parameters:
- *4
- - &205
+ - &206
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
@@ -4349,7 +4349,7 @@ paths:
application/json:
schema:
type: array
- items: &206
+ items: &207
title: Simple webhook delivery
description: Delivery made by a webhook, without request and response
information.
@@ -4429,7 +4429,7 @@ paths:
- installation_id
- repository_id
examples:
- default: &207
+ default: &208
value:
- id: 12345678
guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516
@@ -4557,7 +4557,7 @@ paths:
description: Response
content:
application/json:
- schema: &208
+ schema: &209
title: Webhook delivery
description: Delivery made by a webhook.
type: object
@@ -4671,7 +4671,7 @@ paths:
- request
- response
examples:
- default: &209
+ default: &210
value:
id: 12345678
guid: 0b989ba4-242f-11e5-81e1-c7b6966d2516
@@ -5248,7 +5248,7 @@ paths:
title: Repository
description: A repository on GitHub.
type: object
- properties: &245
+ properties: &246
id:
description: Unique identifier of the repository
example: 42
@@ -5677,7 +5677,7 @@ paths:
type: boolean
description: Whether anonymous git access is enabled for
this repository
- required: &246
+ required: &247
- archive_url
- assignees_url
- blobs_url
@@ -6700,7 +6700,7 @@ paths:
schema:
type: string
'422': *35
- '410': &239
+ '410': &240
description: Gone
content:
application/json:
@@ -13277,6 +13277,20 @@ paths:
schema:
type: string
- &194
+ name: has
+ in: query
+ description: |-
+ Filters the list of alerts based on whether the alert has a patch. If specified, only alerts with a patch will be returned.
+ Multiple `has` filters can be chained to check if multiple properties are present.
+ schema:
+ oneOf:
+ - type: string
+ - type: array
+ items:
+ type: string
+ enum:
+ - patch
+ - &195
name: scope
in: query
description: The scope of the vulnerable dependency. If specified, only alerts
@@ -13286,7 +13300,7 @@ paths:
enum:
- development
- runtime
- - &195
+ - &196
name: sort
in: query
description: |-
@@ -13302,7 +13316,7 @@ paths:
- *9
- *88
- *89
- - &196
+ - &197
name: first
description: |-
**Deprecated**. The number of results per page (max 100), starting from the first matching result.
@@ -13315,7 +13329,7 @@ paths:
minimum: 1
maximum: 100
default: 30
- - &197
+ - &198
name: last
description: |-
**Deprecated**. The number of results per page (max 100), starting from the last matching result.
@@ -13335,7 +13349,7 @@ paths:
application/json:
schema:
type: array
- items: &198
+ items: &199
type: object
description: A Dependabot alert.
properties:
@@ -13642,7 +13656,7 @@ paths:
- repository
additionalProperties: false
examples:
- default: &199
+ default: &200
value:
- number: 2
state: dismissed
@@ -13981,7 +13995,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-enterprise
parameters:
- *65
- - &256
+ - &257
name: state
in: query
description: Set to `open` or `resolved` to only list secret scanning alerts
@@ -13992,7 +14006,7 @@ paths:
enum:
- open
- resolved
- - &257
+ - &258
name: secret_type
in: query
description: A comma-separated list of secret types to return. All default
@@ -14002,7 +14016,7 @@ paths:
required: false
schema:
type: string
- - &258
+ - &259
name: resolution
in: query
description: A comma-separated list of resolutions. Only secret scanning alerts
@@ -14011,7 +14025,7 @@ paths:
required: false
schema:
type: string
- - &259
+ - &260
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.
@@ -14027,7 +14041,7 @@ paths:
- *4
- *88
- *89
- - &260
+ - &261
name: validity
in: query
description: A comma-separated list of validities that, when present, will
@@ -14043,7 +14057,7 @@ paths:
application/json:
schema:
type: array
- items: &261
+ items: &262
type: object
properties:
number: *93
@@ -14135,7 +14149,7 @@ paths:
- inactive
- unknown
examples:
- default: &262
+ default: &263
value:
- number: 2
created_at: '2020-11-06T18:48:51Z'
@@ -14389,17 +14403,6 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise
parameters:
- *65
- - &265
- name: advanced_security_product
- in: query
- description: The security feature to get GitHub Advanced Security active committers
- for.
- required: false
- schema:
- type: string
- enum:
- - code_security
- - secret_protection
- *4
- *5
responses:
@@ -17460,7 +17463,7 @@ paths:
- closed
- all
default: open
- - &210
+ - &211
name: labels
description: 'A list of comma separated label names. Example: `bug,ui,@high`'
in: query
@@ -17511,7 +17514,7 @@ paths:
type: array
items: *121
examples:
- default: &211
+ default: &212
value:
- id: 1
node_id: MDU6SXNzdWUx
@@ -20370,7 +20373,7 @@ paths:
title: Minimal Repository
description: Minimal Repository
type: object
- properties: &201
+ properties: &202
id:
type: integer
format: int64
@@ -20646,7 +20649,7 @@ paths:
web_commit_signoff_required:
type: boolean
example: false
- security_and_analysis: &247
+ security_and_analysis: &248
nullable: true
type: object
properties:
@@ -20694,7 +20697,7 @@ paths:
enum:
- enabled
- disabled
- required: &202
+ required: &203
- archive_url
- assignees_url
- blobs_url
@@ -26811,11 +26814,12 @@ paths:
- *193
- *194
- *195
+ - *196
- *9
- *88
- *89
- - *196
- *197
+ - *198
- *4
responses:
'200':
@@ -26824,9 +26828,9 @@ paths:
application/json:
schema:
type: array
- items: *198
+ items: *199
examples:
- default: *199
+ default: *200
'304': *42
'400': *34
'403': *43
@@ -26870,7 +26874,7 @@ paths:
type: integer
secrets:
type: array
- items: &200
+ items: &201
title: Dependabot Secret for an Organization
description: Secrets for GitHub Dependabot for an organization.
type: object
@@ -26994,7 +26998,7 @@ paths:
description: Response
content:
application/json:
- schema: *200
+ schema: *201
examples:
default:
value:
@@ -27291,7 +27295,7 @@ paths:
application/json:
schema:
type: array
- items: &221
+ items: &222
title: Package
description: A software package
type: object
@@ -27341,8 +27345,8 @@ paths:
title: Minimal Repository
description: Minimal Repository
type: object
- properties: *201
- required: *202
+ properties: *202
+ required: *203
nullable: true
created_at:
type: string
@@ -27361,7 +27365,7 @@ paths:
- created_at
- updated_at
examples:
- default: &222
+ default: &223
value:
- id: 197
name: hello_docker
@@ -27765,7 +27769,7 @@ paths:
application/json:
schema:
type: array
- items: &203
+ items: &204
title: Org Hook
description: Org Hook
type: object
@@ -27936,9 +27940,9 @@ paths:
description: Response
content:
application/json:
- schema: *203
+ schema: *204
examples:
- default: &204
+ default: &205
value:
id: 1
url: https://api.github.com/orgs/octocat/hooks/1
@@ -27992,9 +27996,9 @@ paths:
description: Response
content:
application/json:
- schema: *203
+ schema: *204
examples:
- default: *204
+ default: *205
'404': *26
x-github:
githubCloudOnly: false
@@ -28067,7 +28071,7 @@ paths:
description: Response
content:
application/json:
- schema: *203
+ schema: *204
examples:
default:
value:
@@ -28221,7 +28225,7 @@ paths:
- *135
- *3
- *4
- - *205
+ - *206
responses:
'200':
description: Response
@@ -28229,9 +28233,9 @@ paths:
application/json:
schema:
type: array
- items: *206
+ items: *207
examples:
- default: *207
+ default: *208
'400': *34
'422': *35
x-github:
@@ -28264,9 +28268,9 @@ paths:
description: Response
content:
application/json:
- schema: *208
+ schema: *209
examples:
- default: *209
+ default: *210
'400': *34
'422': *35
x-github:
@@ -28551,7 +28555,7 @@ paths:
- closed
- all
default: open
- - *210
+ - *211
- name: type
description: Can be the name of an issue type.
in: query
@@ -28582,7 +28586,7 @@ paths:
type: array
items: *121
examples:
- default: *211
+ default: *212
headers:
Link: *6
'404': *26
@@ -28640,7 +28644,7 @@ paths:
type: array
items: *19
examples:
- default: &220
+ default: &221
value:
- login: octocat
id: 1
@@ -28742,7 +28746,7 @@ paths:
description: Response
content:
application/json:
- schema: &212
+ schema: &213
title: Org Membership
description: Org Membership
type: object
@@ -28794,7 +28798,7 @@ paths:
- organization
- user
examples:
- response-if-user-has-an-active-admin-membership-with-organization: &213
+ response-if-user-has-an-active-admin-membership-with-organization: &214
summary: Response if user has an active admin membership with organization
value:
url: https://api.github.com/orgs/octocat/memberships/defunkt
@@ -28890,9 +28894,9 @@ paths:
description: Response
content:
application/json:
- schema: *212
+ schema: *213
examples:
- response-if-user-already-had-membership-with-organization: *213
+ response-if-user-already-had-membership-with-organization: *214
'422': *35
'403': *43
x-github:
@@ -28960,7 +28964,7 @@ paths:
application/json:
schema:
type: array
- items: &214
+ items: &215
title: Migration
description: A migration.
type: object
@@ -29292,7 +29296,7 @@ paths:
description: Response
content:
application/json:
- schema: *214
+ schema: *215
examples:
default:
value:
@@ -29471,7 +29475,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/migrations/orgs#get-an-organization-migration-status
parameters:
- *135
- - &215
+ - &216
name: migration_id
description: The unique identifier of the migration.
in: path
@@ -29498,7 +29502,7 @@ paths:
* `failed`, which means the migration failed.
content:
application/json:
- schema: *214
+ schema: *215
examples:
default:
value:
@@ -29668,7 +29672,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/migrations/orgs#download-an-organization-migration-archive
parameters:
- *135
- - *215
+ - *216
responses:
'302':
description: Response
@@ -29690,7 +29694,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/migrations/orgs#delete-an-organization-migration-archive
parameters:
- *135
- - *215
+ - *216
responses:
'204':
description: Response
@@ -29714,7 +29718,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/migrations/orgs#unlock-an-organization-repository
parameters:
- *135
- - *215
+ - *216
- name: repo_name
description: repo_name parameter
in: path
@@ -29742,7 +29746,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/migrations/orgs#list-repositories-in-an-organization-migration
parameters:
- *135
- - *215
+ - *216
- *4
- *5
responses:
@@ -29754,7 +29758,7 @@ paths:
type: array
items: *153
examples:
- default: &228
+ default: &229
value:
- id: 1296269
node_id: MDEwOlJlcG9zaXRvcnkxMjk2MjY5
@@ -29963,7 +29967,7 @@ paths:
roles:
type: array
description: The list of organization roles available to the organization.
- items: &216
+ items: &217
title: Organization Role
description: Organization roles
type: object
@@ -30170,7 +30174,7 @@ paths:
description: Response
content:
application/json:
- schema: *216
+ schema: *217
examples:
default:
value:
@@ -30222,7 +30226,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/orgs/organization-roles#remove-all-organization-roles-for-a-team
parameters:
- *135
- - &217
+ - &218
name: team_slug
description: The slug of the team name.
in: path
@@ -30254,7 +30258,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/orgs/organization-roles#assign-an-organization-role-to-a-team
parameters:
- *135
- - *217
+ - *218
- *189
responses:
'204':
@@ -30285,7 +30289,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/orgs/organization-roles#remove-an-organization-role-from-a-team
parameters:
- *135
- - *217
+ - *218
- *189
responses:
'204':
@@ -30406,7 +30410,7 @@ paths:
description: Response
content:
application/json:
- schema: *216
+ schema: *217
examples:
default:
value:
@@ -30503,7 +30507,7 @@ paths:
description: Response
content:
application/json:
- schema: *216
+ schema: *217
examples:
default:
value:
@@ -30661,7 +30665,7 @@ paths:
description: Groups of organization members that gives permissions
on specified repositories.
type: object
- properties: &218
+ properties: &219
id:
description: Unique identifier of the team
type: integer
@@ -30715,7 +30719,7 @@ paths:
LDAP environment
example: uid=example,ou=users,dc=github,dc=com
type: string
- required: &219
+ required: &220
- id
- node_id
- url
@@ -30740,7 +30744,7 @@ paths:
- slug
- parent
examples:
- default: &264
+ default: &265
value:
- id: 1
node_id: MDQ6VGVhbTE=
@@ -30812,13 +30816,13 @@ paths:
inherited_from:
description: Team the user has gotten the role through
type: array
- items: &263
+ items: &264
title: Team Simple
description: Groups of organization members that gives permissions
on specified repositories.
type: object
- properties: *218
- required: *219
+ properties: *219
+ required: *220
name:
nullable: true
type: string
@@ -30913,7 +30917,7 @@ paths:
- type
- url
examples:
- default: *220
+ default: *221
headers:
Link: *6
'404':
@@ -30961,7 +30965,7 @@ paths:
type: array
items: *19
examples:
- default: *220
+ default: *221
headers:
Link: *6
x-github:
@@ -31139,9 +31143,9 @@ paths:
application/json:
schema:
type: array
- items: *221
+ items: *222
examples:
- default: *222
+ default: *223
'403': *43
'401': *41
'400': &597
@@ -31166,7 +31170,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#get-a-package-for-an-organization
parameters:
- - &223
+ - &224
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
@@ -31184,7 +31188,7 @@ paths:
- docker
- nuget
- container
- - &224
+ - &225
name: package_name
description: The name of the package.
in: path
@@ -31197,7 +31201,7 @@ paths:
description: Response
content:
application/json:
- schema: *221
+ schema: *222
examples:
default:
value:
@@ -31249,8 +31253,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#delete-a-package-for-an-organization
parameters:
- - *223
- *224
+ - *225
- *135
responses:
'204':
@@ -31283,8 +31287,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#restore-a-package-for-an-organization
parameters:
- - *223
- *224
+ - *225
- *135
- name: token
description: package token
@@ -31317,8 +31321,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#list-package-versions-for-a-package-owned-by-an-organization
parameters:
- - *223
- *224
+ - *225
- *135
- *5
- *4
@@ -31339,7 +31343,7 @@ paths:
application/json:
schema:
type: array
- items: &225
+ items: &226
title: Package Version
description: A version of a software package
type: object
@@ -31464,10 +31468,10 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#get-a-package-version-for-an-organization
parameters:
- - *223
- *224
+ - *225
- *135
- - &226
+ - &227
name: package_version_id
description: Unique identifier of the package version.
in: path
@@ -31479,7 +31483,7 @@ paths:
description: Response
content:
application/json:
- schema: *225
+ schema: *226
examples:
default:
value:
@@ -31515,10 +31519,10 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#delete-package-version-for-an-organization
parameters:
- - *223
- *224
+ - *225
- *135
- - *226
+ - *227
responses:
'204':
description: Response
@@ -31550,10 +31554,10 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#restore-package-version-for-an-organization
parameters:
- - *223
- *224
+ - *225
- *135
- - *226
+ - *227
responses:
'204':
description: Response
@@ -31583,7 +31587,7 @@ paths:
- *135
- *4
- *5
- - &229
+ - &230
name: sort
description: The property by which to sort the results.
in: query
@@ -31594,7 +31598,7 @@ paths:
- created_at
default: created_at
- *9
- - &230
+ - &231
name: owner
description: A list of owner usernames to use to filter the results.
in: query
@@ -31605,7 +31609,7 @@ paths:
items:
type: string
example: owner[]=octocat1,owner[]=octocat2
- - &231
+ - &232
name: repository
description: The name of the repository to use to filter the results.
in: query
@@ -31613,7 +31617,7 @@ paths:
schema:
type: string
example: Hello-World
- - &232
+ - &233
name: permission
description: The permission to use to filter the results.
in: query
@@ -31621,7 +31625,7 @@ paths:
schema:
type: string
example: issues_read
- - &233
+ - &234
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)
@@ -31631,7 +31635,7 @@ paths:
schema:
type: string
format: date-time
- - &234
+ - &235
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)
@@ -31641,7 +31645,7 @@ paths:
schema:
type: string
format: date-time
- - &235
+ - &236
name: token_id
description: The ID of the token
in: query
@@ -31653,7 +31657,7 @@ paths:
type: string
example: token_id[]=1,token_id[]=2
responses:
- '500': &227
+ '500': &228
description: Internal Error
content:
application/json:
@@ -31850,7 +31854,7 @@ paths:
action: deny
reason: Access is too broad.
responses:
- '500': *227
+ '500': *228
'422': *35
'404': *26
'403': *43
@@ -31911,7 +31915,7 @@ paths:
action: deny
reason: This request is denied because the access is too broad.
responses:
- '500': *227
+ '500': *228
'422': *35
'404': *26
'403': *43
@@ -31947,7 +31951,7 @@ paths:
- *4
- *5
responses:
- '500': *227
+ '500': *228
'404': *26
'403': *43
'200':
@@ -31958,7 +31962,7 @@ paths:
type: array
items: *153
examples:
- default: *228
+ default: *229
headers:
Link: *6
x-github:
@@ -31984,16 +31988,16 @@ paths:
- *135
- *4
- *5
- - *229
- - *9
- *230
+ - *9
- *231
- *232
- *233
- *234
- *235
+ - *236
responses:
- '500': *227
+ '500': *228
'422': *35
'404': *26
'403': *43
@@ -32175,7 +32179,7 @@ paths:
- 1296269
- 1296280
responses:
- '500': *227
+ '500': *228
'404': *26
'202': *141
'403': *43
@@ -32228,7 +32232,7 @@ paths:
value:
action: revoke
responses:
- '500': *227
+ '500': *228
'404': *26
'204': *186
'403': *43
@@ -32262,7 +32266,7 @@ paths:
- *4
- *5
responses:
- '500': *227
+ '500': *228
'404': *26
'403': *43
'200':
@@ -32273,7 +32277,7 @@ paths:
type: array
items: *153
examples:
- default: *228
+ default: *229
headers:
Link: *6
x-github:
@@ -32317,7 +32321,7 @@ paths:
application/json:
schema:
type: array
- items: &236
+ items: &237
type: object
properties:
id:
@@ -32361,9 +32365,9 @@ paths:
description: Response
content:
application/json:
- schema: *236
+ schema: *237
examples:
- default: &237
+ default: &238
value:
id: 42
name: Check Commits
@@ -32393,7 +32397,7 @@ paths:
description: Response
content:
application/json:
- schema: *236
+ schema: *237
examples:
default:
value:
@@ -32442,9 +32446,9 @@ paths:
description: Response
content:
application/json:
- schema: *236
+ schema: *237
examples:
- default: *237
+ default: *238
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -32485,7 +32489,7 @@ paths:
application/json:
schema:
type: array
- items: &238
+ items: &239
title: Project
description: Projects are a way to organize columns and cards of
work.
@@ -32658,7 +32662,7 @@ paths:
description: Response
content:
application/json:
- schema: *238
+ schema: *239
examples:
default:
value:
@@ -32696,7 +32700,7 @@ paths:
'401': *41
'403': *43
'404': *26
- '410': *239
+ '410': *240
'422': *27
x-github:
githubCloudOnly: false
@@ -32727,7 +32731,7 @@ paths:
application/json:
schema:
type: array
- items: &240
+ items: &241
title: Organization Custom Property
description: Custom property defined on an organization
type: object
@@ -32793,7 +32797,7 @@ paths:
- property_name
- value_type
examples:
- default: &241
+ default: &242
value:
- property_name: environment
url: https://api.github.com/orgs/github/properties/schema/environment
@@ -32852,7 +32856,7 @@ paths:
properties:
type: array
description: The array of custom properties to create or update.
- items: *240
+ items: *241
minItems: 1
maxItems: 100
required:
@@ -32882,9 +32886,9 @@ paths:
application/json:
schema:
type: array
- items: *240
+ items: *241
examples:
- default: *241
+ default: *242
'403': *43
'404': *26
x-github:
@@ -32906,7 +32910,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#get-a-custom-property-for-an-organization
parameters:
- *135
- - &242
+ - &243
name: custom_property_name
description: The custom property name
in: path
@@ -32918,9 +32922,9 @@ paths:
description: Response
content:
application/json:
- schema: *240
+ schema: *241
examples:
- default: &243
+ default: &244
value:
property_name: environment
url: https://api.github.com/orgs/github/properties/schema/environment
@@ -32955,7 +32959,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#create-or-update-a-custom-property-for-an-organization
parameters:
- *135
- - *242
+ - *243
requestBody:
required: true
content:
@@ -33024,9 +33028,9 @@ paths:
description: Response
content:
application/json:
- schema: *240
+ schema: *241
examples:
- default: *243
+ default: *244
'403': *43
'404': *26
x-github:
@@ -33050,7 +33054,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/orgs/custom-properties#remove-a-custom-property-for-an-organization
parameters:
- *135
- - *242
+ - *243
responses:
'204': *186
'403': *43
@@ -33112,7 +33116,7 @@ paths:
example: octocat/Hello-World
properties:
type: array
- items: &244
+ items: &245
title: Custom Property Value
description: Custom property name and associated value
type: object
@@ -33199,7 +33203,7 @@ paths:
type: array
description: List of custom property names and associated values
to apply to the repositories.
- items: *244
+ items: *245
required:
- repository_names
- properties
@@ -33252,7 +33256,7 @@ paths:
type: array
items: *19
examples:
- default: *220
+ default: *221
headers:
Link: *6
x-github:
@@ -33393,7 +33397,7 @@ paths:
type: array
items: *153
examples:
- default: *228
+ default: *229
headers:
Link: *6
x-github:
@@ -33879,8 +33883,8 @@ paths:
title: Repository
description: A repository on GitHub.
type: object
- properties: *245
- required: *246
+ properties: *246
+ required: *247
nullable: true
temp_clone_token:
type: string
@@ -34016,7 +34020,7 @@ paths:
- key
- name
- html_url
- security_and_analysis: *247
+ security_and_analysis: *248
custom_properties:
type: object
description: The custom properties that were defined for the repository.
@@ -34690,7 +34694,7 @@ paths:
application/json:
schema:
type: array
- items: &254
+ items: &255
title: Repository ruleset
type: object
description: A set of rules to apply when specified conditions are
@@ -34723,7 +34727,7 @@ paths:
source:
type: string
description: The name of the source
- enforcement: &250
+ enforcement: &251
type: string
description: The enforcement level of the ruleset. `evaluate`
allows admins to test rules before enforcing them. Admins
@@ -34736,7 +34740,7 @@ paths:
bypass_actors:
type: array
description: The actors that can bypass the rules in this ruleset
- items: &251
+ items: &252
title: Repository Ruleset Bypass Actor
type: object
description: An actor that can bypass rules in a ruleset
@@ -34801,7 +34805,7 @@ paths:
conditions:
nullable: true
anyOf:
- - &248
+ - &249
title: Repository ruleset conditions for ref names
type: object
description: Parameters for a repository ruleset ref name
@@ -34825,7 +34829,7 @@ paths:
match.
items:
type: string
- - &252
+ - &253
title: Organization ruleset conditions
type: object
description: |-
@@ -34838,7 +34842,7 @@ paths:
description: Conditions to target repositories by name and
refs by name
allOf:
- - *248
+ - *249
- title: Repository ruleset conditions for repository names
type: object
description: Parameters for a repository name condition
@@ -34872,7 +34876,7 @@ paths:
description: Conditions to target repositories by id and
refs by name
allOf:
- - *248
+ - *249
- title: Repository ruleset conditions for repository IDs
type: object
description: Parameters for a repository ID condition
@@ -34894,7 +34898,7 @@ paths:
description: Conditions to target repositories by property
and refs by name
allOf:
- - *248
+ - *249
- title: Repository ruleset conditions for repository properties
type: object
description: Parameters for a repository property condition
@@ -34907,7 +34911,7 @@ paths:
description: The repository properties and values
to include. All of these properties must match
for the condition to pass.
- items: &249
+ items: &250
title: Repository ruleset property targeting
definition
type: object
@@ -34940,12 +34944,12 @@ paths:
description: The repository properties and values
to exclude. The condition will not pass if any
of these properties match.
- items: *249
+ items: *250
required:
- repository_property
rules:
type: array
- items: &253
+ items: &254
title: Repository Rule
type: object
description: A repository rule.
@@ -35559,7 +35563,7 @@ paths:
created_at: '2023-08-15T08:43:03Z'
updated_at: '2023-09-23T16:29:47Z'
'404': *26
- '500': *227
+ '500': *228
post:
summary: Create an organization repository ruleset
description: Create a repository ruleset for an organization.
@@ -35595,16 +35599,16 @@ paths:
- tag
- push
default: branch
- enforcement: *250
+ enforcement: *251
bypass_actors:
type: array
description: The actors that can bypass the rules in this ruleset
- items: *251
- conditions: *252
+ items: *252
+ conditions: *253
rules:
type: array
description: An array of rules within the ruleset.
- items: *253
+ items: *254
source_type:
type: string
description: The type of the source of the ruleset
@@ -35648,9 +35652,9 @@ paths:
description: Response
content:
application/json:
- schema: *254
+ schema: *255
examples:
- default: &255
+ default: &256
value:
id: 21
name: super cool ruleset
@@ -35690,7 +35694,7 @@ paths:
created_at: '2023-08-15T08:43:03Z'
updated_at: '2023-09-23T16:29:47Z'
'404': *26
- '500': *227
+ '500': *228
"/orgs/{org}/rulesets/rule-suites":
get:
summary: List organization rule suites
@@ -35841,7 +35845,7 @@ paths:
result: pass
evaluation_result: fail
'404': *26
- '500': *227
+ '500': *228
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -36010,7 +36014,7 @@ paths:
result: fail
rule_type: commit_message_pattern
'404': *26
- '500': *227
+ '500': *228
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -36048,11 +36052,11 @@ paths:
description: Response
content:
application/json:
- schema: *254
+ schema: *255
examples:
- default: *255
+ default: *256
'404': *26
- '500': *227
+ '500': *228
put:
summary: Update an organization repository ruleset
description: Update a ruleset for an organization.
@@ -36093,16 +36097,16 @@ paths:
- branch
- tag
- push
- enforcement: *250
+ enforcement: *251
bypass_actors:
type: array
description: The actors that can bypass the rules in this ruleset
- items: *251
- conditions: *252
+ items: *252
+ conditions: *253
rules:
description: An array of rules within the ruleset.
type: array
- items: *253
+ items: *254
examples:
default:
value:
@@ -36137,11 +36141,11 @@ paths:
description: Response
content:
application/json:
- schema: *254
+ schema: *255
examples:
- default: *255
+ default: *256
'404': *26
- '500': *227
+ '500': *228
delete:
summary: Delete an organization repository ruleset
description: Delete a ruleset for an organization.
@@ -36168,7 +36172,7 @@ paths:
'204':
description: Response
'404': *26
- '500': *227
+ '500': *228
"/orgs/{org}/secret-scanning/alerts":
get:
summary: List secret scanning alerts for an organization
@@ -36186,10 +36190,10 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/secret-scanning/secret-scanning#list-secret-scanning-alerts-for-an-organization
parameters:
- *135
- - *256
- *257
- *258
- *259
+ - *260
- *9
- *5
- *4
@@ -36213,7 +36217,7 @@ paths:
required: false
schema:
type: string
- - *260
+ - *261
responses:
'200':
description: Response
@@ -36221,9 +36225,9 @@ paths:
application/json:
schema:
type: array
- items: *261
+ items: *262
examples:
- default: *262
+ default: *263
headers:
Link: *6
'404': *26
@@ -36257,9 +36261,9 @@ paths:
application/json:
schema:
type: array
- items: *263
+ items: *264
examples:
- default: *264
+ default: *265
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -36283,7 +36287,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/orgs/security-managers#add-a-security-manager-team
parameters:
- *135
- - *217
+ - *218
responses:
'204':
description: Response
@@ -36309,7 +36313,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/orgs/security-managers#remove-a-security-manager-team
parameters:
- *135
- - *217
+ - *218
responses:
'204':
description: Response
@@ -36338,7 +36342,6 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization
parameters:
- *135
- - *265
- *4
- *5
responses:
@@ -36435,8 +36438,8 @@ paths:
description: Groups of organization members that gives permissions
on specified repositories.
type: object
- properties: *218
- required: *219
+ properties: *219
+ required: *220
nullable: true
required:
- id
@@ -36451,7 +36454,7 @@ paths:
- slug
- parent
examples:
- default: *264
+ default: *265
headers:
Link: *6
'403': *43
@@ -36616,8 +36619,8 @@ paths:
description: Groups of organization members that gives permissions
on specified repositories.
type: object
- properties: *218
- required: *219
+ properties: *219
+ required: *220
nullable: true
members_count:
type: integer
@@ -36933,7 +36936,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/teams#get-a-team-by-name
parameters:
- *135
- - *217
+ - *218
responses:
'200':
description: Response
@@ -36963,7 +36966,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/teams#update-a-team
parameters:
- *135
- - *217
+ - *218
requestBody:
required: false
content:
@@ -37060,7 +37063,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/teams#delete-a-team
parameters:
- *135
- - *217
+ - *218
responses:
'204':
description: Response
@@ -37087,7 +37090,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/discussions#list-discussions
parameters:
- *135
- - *217
+ - *218
- *9
- *4
- *5
@@ -37278,7 +37281,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/discussions#create-a-discussion
parameters:
- *135
- - *217
+ - *218
requestBody:
required: true
content:
@@ -37387,7 +37390,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/discussions#get-a-discussion
parameters:
- *135
- - *217
+ - *218
- &272
name: discussion_number
description: The number that identifies the discussion.
@@ -37425,7 +37428,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/discussions#update-a-discussion
parameters:
- *135
- - *217
+ - *218
- *272
requestBody:
required: false
@@ -37522,7 +37525,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/discussions#delete-a-discussion
parameters:
- *135
- - *217
+ - *218
- *272
responses:
'204':
@@ -37550,7 +37553,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/discussion-comments#list-discussion-comments
parameters:
- *135
- - *217
+ - *218
- *272
- *9
- *4
@@ -37703,7 +37706,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/discussion-comments#create-a-discussion-comment
parameters:
- *135
- - *217
+ - *218
- *272
requestBody:
required: true
@@ -37795,7 +37798,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/discussion-comments#get-a-discussion-comment
parameters:
- *135
- - *217
+ - *218
- *272
- &275
name: comment_number
@@ -37834,7 +37837,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/discussion-comments#update-a-discussion-comment
parameters:
- *135
- - *217
+ - *218
- *272
- *275
requestBody:
@@ -37925,7 +37928,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/discussion-comments#delete-a-discussion-comment
parameters:
- *135
- - *217
+ - *218
- *272
- *275
responses:
@@ -37954,7 +37957,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/reactions/reactions#list-reactions-for-a-team-discussion-comment
parameters:
- *135
- - *217
+ - *218
- *272
- *275
- name: content
@@ -38076,7 +38079,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/reactions/reactions#create-reaction-for-a-team-discussion-comment
parameters:
- *135
- - *217
+ - *218
- *272
- *275
requestBody:
@@ -38168,7 +38171,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/reactions/reactions#delete-team-discussion-comment-reaction
parameters:
- *135
- - *217
+ - *218
- *272
- *275
- &279
@@ -38204,7 +38207,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/reactions/reactions#list-reactions-for-a-team-discussion
parameters:
- *135
- - *217
+ - *218
- *272
- name: content
description: Returns a single [reaction type](https://docs.github.com/enterprise-server@3.15/rest/reactions/reactions#about-reactions).
@@ -38260,7 +38263,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/reactions/reactions#create-reaction-for-a-team-discussion
parameters:
- *135
- - *217
+ - *218
- *272
requestBody:
required: true
@@ -38326,7 +38329,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/reactions/reactions#delete-team-discussion-reaction
parameters:
- *135
- - *217
+ - *218
- *272
- *279
responses:
@@ -38352,7 +38355,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/external-groups#list-a-connection-between-an-external-group-and-a-team
parameters:
- *135
- - *217
+ - *218
responses:
'200':
description: Response
@@ -38380,7 +38383,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/external-groups#update-the-connection-between-an-external-group-and-a-team
parameters:
- *135
- - *217
+ - *218
requestBody:
required: true
content:
@@ -38425,7 +38428,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/external-groups#remove-the-connection-between-an-external-group-and-a-team
parameters:
- *135
- - *217
+ - *218
responses:
'204':
description: Response
@@ -38449,7 +38452,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/members#list-team-members
parameters:
- *135
- - *217
+ - *218
- name: role
description: Filters members returned by their role in the team.
in: query
@@ -38472,7 +38475,7 @@ paths:
type: array
items: *19
examples:
- default: *220
+ default: *221
headers:
Link: *6
x-github:
@@ -38503,7 +38506,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/members#get-team-membership-for-a-user
parameters:
- *135
- - *217
+ - *218
- *8
responses:
'200':
@@ -38574,7 +38577,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/members#add-or-update-team-membership-for-a-user
parameters:
- *135
- - *217
+ - *218
- *8
requestBody:
required: false
@@ -38638,7 +38641,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/members#remove-team-membership-for-a-user
parameters:
- *135
- - *217
+ - *218
- *8
responses:
'204':
@@ -38665,7 +38668,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/teams#list-team-projects
parameters:
- *135
- - *217
+ - *218
- *4
- *5
responses:
@@ -38807,7 +38810,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/teams#check-team-permissions-for-a-project
parameters:
- *135
- - *217
+ - *218
- &286
name: project_id
description: The unique identifier of the project.
@@ -38885,7 +38888,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/teams#add-or-update-team-project-permissions
parameters:
- *135
- - *217
+ - *218
- *286
requestBody:
required: false
@@ -38953,7 +38956,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/teams#remove-a-project-from-a-team
parameters:
- *135
- - *217
+ - *218
- *286
responses:
'204':
@@ -38982,7 +38985,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/teams#list-team-repositories
parameters:
- *135
- - *217
+ - *218
- *4
- *5
responses:
@@ -38994,7 +38997,7 @@ paths:
type: array
items: *153
examples:
- default: *228
+ default: *229
headers:
Link: *6
x-github:
@@ -39024,7 +39027,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/teams#check-team-permissions-for-a-repository
parameters:
- *135
- - *217
+ - *218
- *287
- *288
responses:
@@ -39602,7 +39605,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/teams#add-or-update-team-repository-permissions
parameters:
- *135
- - *217
+ - *218
- *287
- *288
requestBody:
@@ -39650,7 +39653,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/teams#remove-a-repository-from-a-team
parameters:
- *135
- - *217
+ - *218
- *287
- *288
responses:
@@ -39677,7 +39680,7 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/teams/teams#list-child-teams
parameters:
- *135
- - *217
+ - *218
- *4
- *5
responses:
@@ -40579,7 +40582,7 @@ paths:
description: Response
content:
application/json:
- schema: *238
+ schema: *239
examples:
default: &296
value:
@@ -40684,7 +40687,7 @@ paths:
description: Response
content:
application/json:
- schema: *238
+ schema: *239
examples:
default: *296
'404':
@@ -40707,7 +40710,7 @@ paths:
items:
type: string
'401': *41
- '410': *239
+ '410': *240
'422': *27
x-github:
githubCloudOnly: false
@@ -40751,7 +40754,7 @@ paths:
items:
type: string
'401': *41
- '410': *239
+ '410': *240
'404': *26
x-github:
githubCloudOnly: false
@@ -40802,7 +40805,7 @@ paths:
type: array
items: *19
examples:
- default: *220
+ default: *221
headers:
Link: *6
'404': *26
@@ -42352,7 +42355,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': *239
+ '410': *240
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -45642,7 +45645,7 @@ paths:
'204':
description: Response
'403': *43
- '500': *227
+ '500': *228
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -47036,7 +47039,7 @@ paths:
type: array
items: *19
examples:
- default: *220
+ default: *221
headers:
Link: *6
'404': *26
@@ -50127,7 +50130,7 @@ paths:
type: array
items: *289
examples:
- default: *264
+ default: *265
'404': *26
x-github:
githubCloudOnly: false
@@ -50187,7 +50190,7 @@ paths:
type: array
items: *289
examples:
- default: *264
+ default: *265
'422': *35
x-github:
githubCloudOnly: false
@@ -50248,7 +50251,7 @@ paths:
type: array
items: *289
examples:
- default: *264
+ default: *265
'422': *35
x-github:
githubCloudOnly: false
@@ -50308,7 +50311,7 @@ paths:
type: array
items: *289
examples:
- default: *264
+ default: *265
'422': *35
x-github:
githubCloudOnly: false
@@ -50342,7 +50345,7 @@ paths:
type: array
items: *19
examples:
- default: *220
+ default: *221
'404': *26
x-github:
githubCloudOnly: false
@@ -50401,7 +50404,7 @@ paths:
type: array
items: *19
examples:
- default: *220
+ default: *221
'422': *35
x-github:
githubCloudOnly: false
@@ -50461,7 +50464,7 @@ paths:
type: array
items: *19
examples:
- default: *220
+ default: *221
'422': *35
x-github:
githubCloudOnly: false
@@ -50521,7 +50524,7 @@ paths:
type: array
items: *19
examples:
- default: *220
+ default: *221
'422': *35
x-github:
githubCloudOnly: false
@@ -51835,8 +51838,6 @@ paths:
Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, the `status` of the check suite it belongs to is reset to `queued` and the `conclusion` is cleared. The check run itself is not updated. GitHub apps recieving the [`check_run` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_run) with the `rerequested` action should then decide if the check run should be reset or updated and call the [update `check_run` endpoint](https://docs.github.com/enterprise-server@3.15/rest/checks/runs#update-a-check-run) to update the check_run if desired.
For more information about how to re-run GitHub Actions jobs, see "[Re-run a job from a workflow run](https://docs.github.com/enterprise-server@3.15/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)".
-
- OAuth apps and personal access tokens (classic) cannot use this endpoint.
tags:
- checks
operationId: checks/rerequest-run
@@ -52835,10 +52836,10 @@ paths:
"/repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest":
post:
summary: Rerequest a check suite
- description: |-
- Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.
-
- OAuth apps and personal access tokens (classic) cannot use this endpoint.
+ description: Triggers GitHub to rerequest an existing check suite, without pushing
+ new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_suite)
+ event with the action `rerequested`. When a check suite is `rerequested`,
+ its `status` is reset to `queued` and the `conclusion` is cleared.
tags:
- checks
operationId: checks/rerequest-suite
@@ -55537,7 +55538,7 @@ paths:
sha: 6dcb09b5b57875f334f61aebed695e2e4193db5e
headers:
Link: *6
- '500': *227
+ '500': *228
'400': *34
'404': *26
'409': *140
@@ -56688,7 +56689,7 @@ paths:
.....
'422': *35
'404': *26
- '500': *227
+ '500': *228
'503': *104
'409': *140
x-github:
@@ -57673,7 +57674,7 @@ paths:
patch: "@@ -132,7 +132,7 @@ module Test @@ -1000,7 +1000,7 @@
module Test"
'404': *26
- '500': *227
+ '500': *228
'503': *104
x-github:
githubCloudOnly: false
@@ -58873,14 +58874,15 @@ paths:
- *191
- *192
- *193
+ - *194
- 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
- - *194
- *195
+ - *196
- *9
responses:
'200':
@@ -64653,7 +64655,7 @@ paths:
- *288
- *3
- *4
- - *205
+ - *206
responses:
'200':
description: Response
@@ -64661,9 +64663,9 @@ paths:
application/json:
schema:
type: array
- items: *206
+ items: *207
examples:
- default: *207
+ default: *208
'400': *34
'422': *35
x-github:
@@ -64691,9 +64693,9 @@ paths:
description: Response
content:
application/json:
- schema: *208
+ schema: *209
examples:
- default: *209
+ default: *210
'400': *34
'422': *35
x-github:
@@ -65274,7 +65276,7 @@ paths:
required: false
schema:
type: string
- - *210
+ - *211
- name: sort
description: What to sort results by.
in: query
@@ -65717,7 +65719,7 @@ paths:
'422': *35
'503': *104
'404': *26
- '410': *239
+ '410': *240
x-github:
triggersNotification: true
githubCloudOnly: false
@@ -66673,7 +66675,7 @@ paths:
author_association: COLLABORATOR
state_reason: completed
'404': *26
- '410': *239
+ '410': *240
'403': *43
x-github:
githubCloudOnly: false
@@ -66726,7 +66728,7 @@ paths:
default: *447
'301': *299
'404': *26
- '410': *239
+ '410': *240
'304': *42
x-github:
githubCloudOnly: false
@@ -66864,7 +66866,7 @@ paths:
'403': *43
'301': *299
'404': *26
- '410': *239
+ '410': *240
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -67040,7 +67042,7 @@ paths:
headers:
Link: *6
'404': *26
- '410': *239
+ '410': *240
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -67102,7 +67104,7 @@ paths:
schema:
type: string
'403': *43
- '410': *239
+ '410': *240
'422': *35
'404': *26
x-github:
@@ -67975,7 +67977,7 @@ paths:
color: red
headers:
Link: *6
- '410': *239
+ '410': *240
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -68071,7 +68073,7 @@ paths:
Link: *6
'301': *299
'404': *26
- '410': *239
+ '410': *240
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -68154,7 +68156,7 @@ paths:
default: *451
'301': *299
'404': *26
- '410': *239
+ '410': *240
'422': *35
x-github:
githubCloudOnly: false
@@ -68238,7 +68240,7 @@ paths:
default: *451
'301': *299
'404': *26
- '410': *239
+ '410': *240
'422': *35
x-github:
githubCloudOnly: false
@@ -68263,7 +68265,7 @@ paths:
description: Response
'301': *299
'404': *26
- '410': *239
+ '410': *240
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -68310,7 +68312,7 @@ paths:
default: true
'301': *299
'404': *26
- '410': *239
+ '410': *240
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -68360,7 +68362,7 @@ paths:
'204':
description: Response
'403': *43
- '410': *239
+ '410': *240
'404': *26
'422': *35
x-github:
@@ -68436,7 +68438,7 @@ paths:
headers:
Link: *6
'404': *26
- '410': *239
+ '410': *240
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -69370,7 +69372,7 @@ paths:
headers:
Link: *6
'404': *26
- '410': *239
+ '410': *240
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -71639,7 +71641,7 @@ paths:
application/json:
schema:
type: array
- items: *238
+ items: *239
examples:
default:
value:
@@ -71679,7 +71681,7 @@ paths:
'401': *41
'403': *43
'404': *26
- '410': *239
+ '410': *240
'422': *27
x-github:
githubCloudOnly: false
@@ -71729,13 +71731,13 @@ paths:
description: Response
content:
application/json:
- schema: *238
+ schema: *239
examples:
default: *296
'401': *41
'403': *43
'404': *26
- '410': *239
+ '410': *240
'422': *27
x-github:
githubCloudOnly: false
@@ -71767,7 +71769,7 @@ paths:
application/json:
schema:
type: array
- items: *244
+ items: *245
examples:
default:
value:
@@ -71811,7 +71813,7 @@ paths:
type: array
description: A list of custom property names and associated values
to apply to the repositories.
- items: *244
+ items: *245
required:
- properties
examples:
@@ -72179,7 +72181,7 @@ paths:
nullable: true
requested_teams:
type: array
- items: *263
+ items: *264
nullable: true
head:
type: object
@@ -73301,7 +73303,7 @@ paths:
content:
application/json:
schema: *24
- '500': *227
+ '500': *228
'503': *104
x-github:
githubCloudOnly: false
@@ -73840,7 +73842,7 @@ paths:
headers:
Link: *6
'422': *35
- '500': *227
+ '500': *228
'503': *104
x-github:
githubCloudOnly: false
@@ -77641,7 +77643,7 @@ paths:
application/json:
schema:
type: array
- items: *254
+ items: *255
examples:
default:
value:
@@ -77672,7 +77674,7 @@ paths:
created_at: '2023-08-15T08:43:03Z'
updated_at: '2023-09-23T16:29:47Z'
'404': *26
- '500': *227
+ '500': *228
post:
summary: Create a repository ruleset
description: Create a ruleset for a repository.
@@ -77709,16 +77711,16 @@ paths:
- tag
- push
default: branch
- enforcement: *250
+ enforcement: *251
bypass_actors:
type: array
description: The actors that can bypass the rules in this ruleset
- items: *251
- conditions: *248
+ items: *252
+ conditions: *249
rules:
type: array
description: An array of rules within the ruleset.
- items: *253
+ items: *254
required:
- name
- enforcement
@@ -77749,7 +77751,7 @@ paths:
description: Response
content:
application/json:
- schema: *254
+ schema: *255
examples:
default: &536
value:
@@ -77784,7 +77786,7 @@ paths:
created_at: '2023-07-15T08:43:03Z'
updated_at: '2023-08-23T16:29:47Z'
'404': *26
- '500': *227
+ '500': *228
"/repos/{owner}/{repo}/rulesets/rule-suites":
get:
summary: List repository rule suites
@@ -77815,7 +77817,7 @@ paths:
examples:
default: *532
'404': *26
- '500': *227
+ '500': *228
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -77846,7 +77848,7 @@ paths:
examples:
default: *535
'404': *26
- '500': *227
+ '500': *228
x-github:
githubCloudOnly: false
enabledForGitHubApps: true
@@ -77893,11 +77895,11 @@ paths:
description: Response
content:
application/json:
- schema: *254
+ schema: *255
examples:
default: *536
'404': *26
- '500': *227
+ '500': *228
put:
summary: Update a repository ruleset
description: Update a ruleset for a repository.
@@ -77939,16 +77941,16 @@ paths:
- branch
- tag
- push
- enforcement: *250
+ enforcement: *251
bypass_actors:
type: array
description: The actors that can bypass the rules in this ruleset
- items: *251
- conditions: *248
+ items: *252
+ conditions: *249
rules:
description: An array of rules within the ruleset.
type: array
- items: *253
+ items: *254
examples:
default:
value:
@@ -77976,11 +77978,11 @@ paths:
description: Response
content:
application/json:
- schema: *254
+ schema: *255
examples:
default: *536
'404': *26
- '500': *227
+ '500': *228
delete:
summary: Delete a repository ruleset
description: Delete a ruleset for a repository.
@@ -78008,7 +78010,7 @@ paths:
'204':
description: Response
'404': *26
- '500': *227
+ '500': *228
"/repos/{owner}/{repo}/secret-scanning/alerts":
get:
summary: List secret scanning alerts for a repository
@@ -78027,16 +78029,16 @@ paths:
parameters:
- *287
- *288
- - *256
- *257
- *258
- *259
+ - *260
- *9
- *5
- *4
- *537
- *538
- - *260
+ - *261
responses:
'200':
description: Response
@@ -79466,7 +79468,7 @@ paths:
type: array
items: *19
examples:
- default: *220
+ default: *221
headers:
Link: *6
x-github:
@@ -79920,7 +79922,7 @@ paths:
type: array
items: *289
examples:
- default: *264
+ default: *265
headers:
Link: *6
'404': *26
@@ -84767,7 +84769,7 @@ paths:
type: array
items: *19
examples:
- default: *220
+ default: *221
headers:
Link: *6
'404': *26
@@ -85221,7 +85223,7 @@ paths:
type: array
items: *153
examples:
- default: *228
+ default: *229
headers:
Link: *6
'404': *26
@@ -85964,7 +85966,7 @@ paths:
application/json:
schema:
type: array
- items: *221
+ items: *222
examples:
default: &596
value:
@@ -86263,7 +86265,7 @@ paths:
type: array
items: *19
examples:
- default: *220
+ default: *221
headers:
Link: *6
'304': *42
@@ -86296,7 +86298,7 @@ paths:
type: array
items: *19
examples:
- default: *220
+ default: *221
headers:
Link: *6
'304': *42
@@ -87030,7 +87032,7 @@ paths:
- closed
- all
default: open
- - *210
+ - *211
- name: sort
description: What to sort results by.
in: query
@@ -87055,7 +87057,7 @@ paths:
type: array
items: *121
examples:
- default: *211
+ default: *212
headers:
Link: *6
'404': *26
@@ -87294,7 +87296,7 @@ paths:
application/json:
schema:
type: array
- items: *212
+ items: *213
examples:
default:
value:
@@ -87402,7 +87404,7 @@ paths:
description: Response
content:
application/json:
- schema: *212
+ schema: *213
examples:
default:
value:
@@ -87485,7 +87487,7 @@ paths:
description: Response
content:
application/json:
- schema: *212
+ schema: *213
examples:
default:
value:
@@ -87553,7 +87555,7 @@ paths:
application/json:
schema:
type: array
- items: *214
+ items: *215
examples:
default:
value:
@@ -87806,7 +87808,7 @@ paths:
description: Response
content:
application/json:
- schema: *214
+ schema: *215
examples:
default:
value:
@@ -87999,7 +88001,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/migrations/users#download-a-user-migration-archive
parameters:
- - *215
+ - *216
responses:
'302':
description: Response
@@ -88022,7 +88024,7 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/migrations/users#list-repositories-for-a-user-migration
parameters:
- - *215
+ - *216
- *4
- *5
responses:
@@ -88034,7 +88036,7 @@ paths:
type: array
items: *153
examples:
- default: *228
+ default: *229
headers:
Link: *6
'404': *26
@@ -88123,7 +88125,7 @@ paths:
application/json:
schema:
type: array
- items: *221
+ items: *222
examples:
default: *596
'400': *597
@@ -88146,14 +88148,14 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#get-a-package-for-the-authenticated-user
parameters:
- - *223
- *224
+ - *225
responses:
'200':
description: Response
content:
application/json:
- schema: *221
+ schema: *222
examples:
default: &609
value:
@@ -88268,8 +88270,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#delete-a-package-for-the-authenticated-user
parameters:
- - *223
- *224
+ - *225
responses:
'204':
description: Response
@@ -88299,8 +88301,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#restore-a-package-for-the-authenticated-user
parameters:
- - *223
- *224
+ - *225
- name: token
description: package token
schema:
@@ -88332,8 +88334,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#list-package-versions-for-a-package-owned-by-the-authenticated-user
parameters:
- - *223
- *224
+ - *225
- *5
- *4
- name: state
@@ -88353,7 +88355,7 @@ paths:
application/json:
schema:
type: array
- items: *225
+ items: *226
examples:
default:
value:
@@ -88402,15 +88404,15 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#get-a-package-version-for-the-authenticated-user
parameters:
- - *223
- *224
- - *226
+ - *225
+ - *227
responses:
'200':
description: Response
content:
application/json:
- schema: *225
+ schema: *226
examples:
default:
value:
@@ -88446,9 +88448,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#delete-a-package-version-for-the-authenticated-user
parameters:
- - *223
- *224
- - *226
+ - *225
+ - *227
responses:
'204':
description: Response
@@ -88478,9 +88480,9 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#restore-a-package-version-for-the-authenticated-user
parameters:
- - *223
- *224
- - *226
+ - *225
+ - *227
responses:
'204':
description: Response
@@ -88536,7 +88538,7 @@ paths:
description: Response
content:
application/json:
- schema: *238
+ schema: *239
examples:
default:
value:
@@ -89774,7 +89776,7 @@ paths:
type: array
items: *153
examples:
- default: *228
+ default: *229
headers:
Link: *6
'304': *42
@@ -90012,7 +90014,7 @@ paths:
type: array
items: *19
examples:
- default: *220
+ default: *221
headers:
Link:
example: <https://api.github.com/users?since=135>; rel="next"
@@ -90081,7 +90083,7 @@ paths:
application/json:
schema:
type: array
- items: *221
+ items: *222
examples:
default: *596
'403': *43
@@ -90366,7 +90368,7 @@ paths:
type: array
items: *19
examples:
- default: *220
+ default: *221
headers:
Link: *6
x-github:
@@ -90397,7 +90399,7 @@ paths:
type: array
items: *19
examples:
- default: *220
+ default: *221
headers:
Link: *6
x-github:
@@ -90721,7 +90723,7 @@ paths:
application/json:
schema:
type: array
- items: *221
+ items: *222
examples:
default: *596
'403': *43
@@ -90746,15 +90748,15 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#get-a-package-for-a-user
parameters:
- - *223
- *224
+ - *225
- *8
responses:
'200':
description: Response
content:
application/json:
- schema: *221
+ schema: *222
examples:
default: *609
x-github:
@@ -90777,8 +90779,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#delete-a-package-for-a-user
parameters:
- - *223
- *224
+ - *225
- *8
responses:
'204':
@@ -90811,8 +90813,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#restore-a-package-for-a-user
parameters:
- - *223
- *224
+ - *225
- *8
- name: token
description: package token
@@ -90845,8 +90847,8 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#list-package-versions-for-a-package-owned-by-a-user
parameters:
- - *223
- *224
+ - *225
- *8
responses:
'200':
@@ -90855,7 +90857,7 @@ paths:
application/json:
schema:
type: array
- items: *225
+ items: *226
examples:
default:
value:
@@ -90913,16 +90915,16 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#get-a-package-version-for-a-user
parameters:
- - *223
- *224
- - *226
+ - *225
+ - *227
- *8
responses:
'200':
description: Response
content:
application/json:
- schema: *225
+ schema: *226
examples:
default:
value:
@@ -90957,10 +90959,10 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#delete-package-version-for-a-user
parameters:
- - *223
- *224
+ - *225
- *8
- - *226
+ - *227
responses:
'204':
description: Response
@@ -90992,10 +90994,10 @@ paths:
description: API method documentation
url: https://docs.github.com/enterprise-server@3.15/rest/packages/packages#restore-package-version-for-a-user
parameters:
- - *223
- *224
+ - *225
- *8
- - *226
+ - *227
responses:
'204':
description: Response
@@ -91042,7 +91044,7 @@ paths:
application/json:
schema:
type: array
- items: *238
+ items: *239
examples:
default:
value:
@@ -91325,7 +91327,7 @@ paths:
type: array
items: *153
examples:
- default: *228
+ default: *229
headers:
Link: *6
x-github:
@@ -91501,7 +91503,7 @@ paths:
type: array
items: *153
examples:
- default: *228
+ default: *229
headers:
Link: *6
x-github:
@@ -196952,7 +196954,7 @@ x-webhooks:
installation: *614
organization: *615
repository: *616
- repository_ruleset: *254
+ repository_ruleset: *255
sender: *19
required:
- action
@@ -197034,7 +197036,7 @@ x-webhooks:
installation: *614
organization: *615
repository: *616
- repository_ruleset: *254
+ repository_ruleset: *255
sender: *19
required:
- action
@@ -197116,7 +197118,7 @@ x-webhooks:
installation: *614
organization: *615
repository: *616
- repository_ruleset: *254
+ repository_ruleset: *255
changes:
type: object
properties:
@@ -197135,16 +197137,16 @@ x-webhooks:
properties:
added:
type: array
- items: *248
+ items: *249
deleted:
type: array
- items: *248
+ items: *249
updated:
type: array
items:
type: object
properties:
- condition: *248
+ condition: *249
changes:
type: object
properties:
@@ -197177,16 +197179,16 @@ x-webhooks:
properties:
added:
type: array
- items: *253
+ items: *254
deleted:
type: array
- items: *253
+ items: *254
updated:
type: array
items:
type: object
properties:
- rule: *253
+ rule: *254
changes:
type: object
properties:
@@ -199523,7 +199525,7 @@ x-webhooks:
from:
type: object
properties:
- security_and_analysis: *247
+ security_and_analysis: *248
enterprise: *613
installation: *614
organization: *615
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 0e3830a21..31dfe42f7 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
@@ -7644,6 +7644,9 @@
"$ref": "#/components/parameters/dependabot-alert-comma-separated-packages"
},
{
+ "$ref": "#/components/parameters/dependabot-alert-comma-separated-has"
+ },
+ {
"$ref": "#/components/parameters/dependabot-alert-scope"
},
{
@@ -7809,9 +7812,6 @@
"$ref": "#/components/parameters/enterprise"
},
{
- "$ref": "#/components/parameters/advanced-security-product"
- },
- {
"$ref": "#/components/parameters/per-page"
},
{
@@ -16998,6 +16998,9 @@
"$ref": "#/components/parameters/dependabot-alert-comma-separated-packages"
},
{
+ "$ref": "#/components/parameters/dependabot-alert-comma-separated-has"
+ },
+ {
"$ref": "#/components/parameters/dependabot-alert-scope"
},
{
@@ -23748,9 +23751,6 @@
"$ref": "#/components/parameters/org"
},
{
- "$ref": "#/components/parameters/advanced-security-product"
- },
- {
"$ref": "#/components/parameters/per-page"
},
{
@@ -36333,7 +36333,7 @@
"/repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest": {
"post": {
"summary": "Rerequest a check run",
- "description": "Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, the `status` of the check suite it belongs to is reset to `queued` and the `conclusion` is cleared. The check run itself is not updated. GitHub apps recieving the [`check_run` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_run) with the `rerequested` action should then decide if the check run should be reset or updated and call the [update `check_run` endpoint](https://docs.github.com/enterprise-server@3.15/rest/checks/runs#update-a-check-run) to update the check_run if desired.\n\nFor more information about how to re-run GitHub Actions jobs, see \"[Re-run a job from a workflow run](https://docs.github.com/enterprise-server@3.15/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)\".\n\nOAuth apps and personal access tokens (classic) cannot use this endpoint.",
+ "description": "Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, the `status` of the check suite it belongs to is reset to `queued` and the `conclusion` is cleared. The check run itself is not updated. GitHub apps recieving the [`check_run` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_run) with the `rerequested` action should then decide if the check run should be reset or updated and call the [update `check_run` endpoint](https://docs.github.com/enterprise-server@3.15/rest/checks/runs#update-a-check-run) to update the check_run if desired.\n\nFor more information about how to re-run GitHub Actions jobs, see \"[Re-run a job from a workflow run](https://docs.github.com/enterprise-server@3.15/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)\".",
"tags": [
"checks"
],
@@ -36723,7 +36723,7 @@
"/repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest": {
"post": {
"summary": "Rerequest a check suite",
- "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nOAuth apps and personal access tokens (classic) cannot use this endpoint.",
+ "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.",
"tags": [
"checks"
],
@@ -39932,6 +39932,9 @@
"$ref": "#/components/parameters/dependabot-alert-comma-separated-packages"
},
{
+ "$ref": "#/components/parameters/dependabot-alert-comma-separated-has"
+ },
+ {
"$ref": "#/components/parameters/dependabot-alert-comma-separated-manifests"
},
{
@@ -283736,6 +283739,27 @@
"type": "string"
}
},
+ "dependabot-alert-comma-separated-has": {
+ "name": "has",
+ "in": "query",
+ "description": "Filters the list of alerts based on whether the alert has a patch. If specified, only alerts with a patch will be returned.\nMultiple `has` filters can be chained to check if multiple properties are present.",
+ "schema": {
+ "oneOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "patch"
+ ]
+ }
+ }
+ ]
+ }
+ },
"dependabot-alert-scope": {
"name": "scope",
"in": "query",
@@ -283838,19 +283862,6 @@
"type": "string"
}
},
- "advanced-security-product": {
- "name": "advanced_security_product",
- "in": "query",
- "description": "The security feature to get GitHub Advanced Security active committers for.",
- "required": false,
- "schema": {
- "type": "string",
- "enum": [
- "code_security",
- "secret_protection"
- ]
- }
- },
"enterprise-security-product": {
"name": "security_product",
"in": "path",
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 3166bf045..0233f7ceb 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
@@ -5426,6 +5426,7 @@ paths:
- "$ref": "#/components/parameters/dependabot-alert-comma-separated-severities"
- "$ref": "#/components/parameters/dependabot-alert-comma-separated-ecosystems"
- "$ref": "#/components/parameters/dependabot-alert-comma-separated-packages"
+ - "$ref": "#/components/parameters/dependabot-alert-comma-separated-has"
- "$ref": "#/components/parameters/dependabot-alert-scope"
- "$ref": "#/components/parameters/dependabot-alert-sort"
- "$ref": "#/components/parameters/direction"
@@ -5524,7 +5525,6 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise
parameters:
- "$ref": "#/components/parameters/enterprise"
- - "$ref": "#/components/parameters/advanced-security-product"
- "$ref": "#/components/parameters/per-page"
- "$ref": "#/components/parameters/page"
responses:
@@ -12267,6 +12267,7 @@ paths:
- "$ref": "#/components/parameters/dependabot-alert-comma-separated-severities"
- "$ref": "#/components/parameters/dependabot-alert-comma-separated-ecosystems"
- "$ref": "#/components/parameters/dependabot-alert-comma-separated-packages"
+ - "$ref": "#/components/parameters/dependabot-alert-comma-separated-has"
- "$ref": "#/components/parameters/dependabot-alert-scope"
- "$ref": "#/components/parameters/dependabot-alert-sort"
- "$ref": "#/components/parameters/direction"
@@ -17181,7 +17182,6 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization
parameters:
- "$ref": "#/components/parameters/org"
- - "$ref": "#/components/parameters/advanced-security-product"
- "$ref": "#/components/parameters/per-page"
- "$ref": "#/components/parameters/page"
responses:
@@ -26346,8 +26346,6 @@ paths:
Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, the `status` of the check suite it belongs to is reset to `queued` and the `conclusion` is cleared. The check run itself is not updated. GitHub apps recieving the [`check_run` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_run) with the `rerequested` action should then decide if the check run should be reset or updated and call the [update `check_run` endpoint](https://docs.github.com/enterprise-server@3.15/rest/checks/runs#update-a-check-run) to update the check_run if desired.
For more information about how to re-run GitHub Actions jobs, see "[Re-run a job from a workflow run](https://docs.github.com/enterprise-server@3.15/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)".
-
- OAuth apps and personal access tokens (classic) cannot use this endpoint.
tags:
- checks
operationId: checks/rerequest-run
@@ -26610,10 +26608,10 @@ paths:
"/repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest":
post:
summary: Rerequest a check suite
- description: |-
- Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.
-
- OAuth apps and personal access tokens (classic) cannot use this endpoint.
+ description: Triggers GitHub to rerequest an existing check suite, without pushing
+ new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_suite)
+ event with the action `rerequested`. When a check suite is `rerequested`,
+ its `status` is reset to `queued` and the `conclusion` is cleared.
tags:
- checks
operationId: checks/rerequest-suite
@@ -29137,6 +29135,7 @@ paths:
- "$ref": "#/components/parameters/dependabot-alert-comma-separated-severities"
- "$ref": "#/components/parameters/dependabot-alert-comma-separated-ecosystems"
- "$ref": "#/components/parameters/dependabot-alert-comma-separated-packages"
+ - "$ref": "#/components/parameters/dependabot-alert-comma-separated-has"
- "$ref": "#/components/parameters/dependabot-alert-comma-separated-manifests"
- "$ref": "#/components/parameters/dependabot-alert-scope"
- "$ref": "#/components/parameters/dependabot-alert-sort"
@@ -214535,6 +214534,20 @@ components:
for these packages will be returned.
schema:
type: string
+ dependabot-alert-comma-separated-has:
+ name: has
+ in: query
+ description: |-
+ Filters the list of alerts based on whether the alert has a patch. If specified, only alerts with a patch will be returned.
+ Multiple `has` filters can be chained to check if multiple properties are present.
+ schema:
+ oneOf:
+ - type: string
+ - type: array
+ items:
+ type: string
+ enum:
+ - patch
dependabot-alert-scope:
name: scope
in: query
@@ -214634,17 +214647,6 @@ components:
required: false
schema:
type: string
- advanced-security-product:
- name: advanced_security_product
- in: query
- description: The security feature to get GitHub Advanced Security active committers
- for.
- required: false
- schema:
- type: string
- enum:
- - code_security
- - secret_protection
enterprise-security-product:
name: security_product
in: path
diff --git a/descriptions/ghes-3.15/ghes-3.15.json b/descriptions/ghes-3.15/ghes-3.15.json
index 0e3830a21..31dfe42f7 100644
--- a/descriptions/ghes-3.15/ghes-3.15.json
+++ b/descriptions/ghes-3.15/ghes-3.15.json
@@ -7644,6 +7644,9 @@
"$ref": "#/components/parameters/dependabot-alert-comma-separated-packages"
},
{
+ "$ref": "#/components/parameters/dependabot-alert-comma-separated-has"
+ },
+ {
"$ref": "#/components/parameters/dependabot-alert-scope"
},
{
@@ -7809,9 +7812,6 @@
"$ref": "#/components/parameters/enterprise"
},
{
- "$ref": "#/components/parameters/advanced-security-product"
- },
- {
"$ref": "#/components/parameters/per-page"
},
{
@@ -16998,6 +16998,9 @@
"$ref": "#/components/parameters/dependabot-alert-comma-separated-packages"
},
{
+ "$ref": "#/components/parameters/dependabot-alert-comma-separated-has"
+ },
+ {
"$ref": "#/components/parameters/dependabot-alert-scope"
},
{
@@ -23748,9 +23751,6 @@
"$ref": "#/components/parameters/org"
},
{
- "$ref": "#/components/parameters/advanced-security-product"
- },
- {
"$ref": "#/components/parameters/per-page"
},
{
@@ -36333,7 +36333,7 @@
"/repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest": {
"post": {
"summary": "Rerequest a check run",
- "description": "Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, the `status` of the check suite it belongs to is reset to `queued` and the `conclusion` is cleared. The check run itself is not updated. GitHub apps recieving the [`check_run` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_run) with the `rerequested` action should then decide if the check run should be reset or updated and call the [update `check_run` endpoint](https://docs.github.com/enterprise-server@3.15/rest/checks/runs#update-a-check-run) to update the check_run if desired.\n\nFor more information about how to re-run GitHub Actions jobs, see \"[Re-run a job from a workflow run](https://docs.github.com/enterprise-server@3.15/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)\".\n\nOAuth apps and personal access tokens (classic) cannot use this endpoint.",
+ "description": "Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, the `status` of the check suite it belongs to is reset to `queued` and the `conclusion` is cleared. The check run itself is not updated. GitHub apps recieving the [`check_run` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_run) with the `rerequested` action should then decide if the check run should be reset or updated and call the [update `check_run` endpoint](https://docs.github.com/enterprise-server@3.15/rest/checks/runs#update-a-check-run) to update the check_run if desired.\n\nFor more information about how to re-run GitHub Actions jobs, see \"[Re-run a job from a workflow run](https://docs.github.com/enterprise-server@3.15/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)\".",
"tags": [
"checks"
],
@@ -36723,7 +36723,7 @@
"/repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest": {
"post": {
"summary": "Rerequest a check suite",
- "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.\n\nOAuth apps and personal access tokens (classic) cannot use this endpoint.",
+ "description": "Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.",
"tags": [
"checks"
],
@@ -39932,6 +39932,9 @@
"$ref": "#/components/parameters/dependabot-alert-comma-separated-packages"
},
{
+ "$ref": "#/components/parameters/dependabot-alert-comma-separated-has"
+ },
+ {
"$ref": "#/components/parameters/dependabot-alert-comma-separated-manifests"
},
{
@@ -283736,6 +283739,27 @@
"type": "string"
}
},
+ "dependabot-alert-comma-separated-has": {
+ "name": "has",
+ "in": "query",
+ "description": "Filters the list of alerts based on whether the alert has a patch. If specified, only alerts with a patch will be returned.\nMultiple `has` filters can be chained to check if multiple properties are present.",
+ "schema": {
+ "oneOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "patch"
+ ]
+ }
+ }
+ ]
+ }
+ },
"dependabot-alert-scope": {
"name": "scope",
"in": "query",
@@ -283838,19 +283862,6 @@
"type": "string"
}
},
- "advanced-security-product": {
- "name": "advanced_security_product",
- "in": "query",
- "description": "The security feature to get GitHub Advanced Security active committers for.",
- "required": false,
- "schema": {
- "type": "string",
- "enum": [
- "code_security",
- "secret_protection"
- ]
- }
- },
"enterprise-security-product": {
"name": "security_product",
"in": "path",
diff --git a/descriptions/ghes-3.15/ghes-3.15.yaml b/descriptions/ghes-3.15/ghes-3.15.yaml
index 3166bf045..0233f7ceb 100644
--- a/descriptions/ghes-3.15/ghes-3.15.yaml
+++ b/descriptions/ghes-3.15/ghes-3.15.yaml
@@ -5426,6 +5426,7 @@ paths:
- "$ref": "#/components/parameters/dependabot-alert-comma-separated-severities"
- "$ref": "#/components/parameters/dependabot-alert-comma-separated-ecosystems"
- "$ref": "#/components/parameters/dependabot-alert-comma-separated-packages"
+ - "$ref": "#/components/parameters/dependabot-alert-comma-separated-has"
- "$ref": "#/components/parameters/dependabot-alert-scope"
- "$ref": "#/components/parameters/dependabot-alert-sort"
- "$ref": "#/components/parameters/direction"
@@ -5524,7 +5525,6 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/enterprise-admin/billing#get-github-advanced-security-active-committers-for-an-enterprise
parameters:
- "$ref": "#/components/parameters/enterprise"
- - "$ref": "#/components/parameters/advanced-security-product"
- "$ref": "#/components/parameters/per-page"
- "$ref": "#/components/parameters/page"
responses:
@@ -12267,6 +12267,7 @@ paths:
- "$ref": "#/components/parameters/dependabot-alert-comma-separated-severities"
- "$ref": "#/components/parameters/dependabot-alert-comma-separated-ecosystems"
- "$ref": "#/components/parameters/dependabot-alert-comma-separated-packages"
+ - "$ref": "#/components/parameters/dependabot-alert-comma-separated-has"
- "$ref": "#/components/parameters/dependabot-alert-scope"
- "$ref": "#/components/parameters/dependabot-alert-sort"
- "$ref": "#/components/parameters/direction"
@@ -17181,7 +17182,6 @@ paths:
url: https://docs.github.com/enterprise-server@3.15/rest/billing/billing#get-github-advanced-security-active-committers-for-an-organization
parameters:
- "$ref": "#/components/parameters/org"
- - "$ref": "#/components/parameters/advanced-security-product"
- "$ref": "#/components/parameters/per-page"
- "$ref": "#/components/parameters/page"
responses:
@@ -26346,8 +26346,6 @@ paths:
Triggers GitHub to rerequest an existing check run, without pushing new code to a repository. This endpoint will trigger the [`check_run` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_run) event with the action `rerequested`. When a check run is `rerequested`, the `status` of the check suite it belongs to is reset to `queued` and the `conclusion` is cleared. The check run itself is not updated. GitHub apps recieving the [`check_run` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_run) with the `rerequested` action should then decide if the check run should be reset or updated and call the [update `check_run` endpoint](https://docs.github.com/enterprise-server@3.15/rest/checks/runs#update-a-check-run) to update the check_run if desired.
For more information about how to re-run GitHub Actions jobs, see "[Re-run a job from a workflow run](https://docs.github.com/enterprise-server@3.15/rest/actions/workflow-runs#re-run-a-job-from-a-workflow-run)".
-
- OAuth apps and personal access tokens (classic) cannot use this endpoint.
tags:
- checks
operationId: checks/rerequest-run
@@ -26610,10 +26608,10 @@ paths:
"/repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest":
post:
summary: Rerequest a check suite
- description: |-
- Triggers GitHub to rerequest an existing check suite, without pushing new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_suite) event with the action `rerequested`. When a check suite is `rerequested`, its `status` is reset to `queued` and the `conclusion` is cleared.
-
- OAuth apps and personal access tokens (classic) cannot use this endpoint.
+ description: Triggers GitHub to rerequest an existing check suite, without pushing
+ new code to a repository. This endpoint will trigger the [`check_suite` webhook](https://docs.github.com/enterprise-server@3.15/webhooks/event-payloads/#check_suite)
+ event with the action `rerequested`. When a check suite is `rerequested`,
+ its `status` is reset to `queued` and the `conclusion` is cleared.
tags:
- checks
operationId: checks/rerequest-suite
@@ -29137,6 +29135,7 @@ paths:
- "$ref": "#/components/parameters/dependabot-alert-comma-separated-severities"
- "$ref": "#/components/parameters/dependabot-alert-comma-separated-ecosystems"
- "$ref": "#/components/parameters/dependabot-alert-comma-separated-packages"
+ - "$ref": "#/components/parameters/dependabot-alert-comma-separated-has"
- "$ref": "#/components/parameters/dependabot-alert-comma-separated-manifests"
- "$ref": "#/components/parameters/dependabot-alert-scope"
- "$ref": "#/components/parameters/dependabot-alert-sort"
@@ -214535,6 +214534,20 @@ components:
for these packages will be returned.
schema:
type: string
+ dependabot-alert-comma-separated-has:
+ name: has
+ in: query
+ description: |-
+ Filters the list of alerts based on whether the alert has a patch. If specified, only alerts with a patch will be returned.
+ Multiple `has` filters can be chained to check if multiple properties are present.
+ schema:
+ oneOf:
+ - type: string
+ - type: array
+ items:
+ type: string
+ enum:
+ - patch
dependabot-alert-scope:
name: scope
in: query
@@ -214634,17 +214647,6 @@ components:
required: false
schema:
type: string
- advanced-security-product:
- name: advanced_security_product
- in: query
- description: The security feature to get GitHub Advanced Security active committers
- for.
- required: false
- schema:
- type: string
- enum:
- - code_security
- - secret_protection
enterprise-security-product:
name: security_product
in: path